From: Magnus Damm <magnus.damm@gmail.com>
To: linux-sh@vger.kernel.org
Subject: [PATCH] ARM: mach-shmobile: sh7372 SCIF platform data update
Date: Tue, 02 Aug 2011 09:49:52 +0000 [thread overview]
Message-ID: <20110802094952.2785.67371.sendpatchset@t400s> (raw)
From: Magnus Damm <damm@opensource.se>
Add .regtype members to the sh7372 SCIF platform data.
Signed-off-by: Magnus Damm <damm@opensource.se>
---
Tested on AP4EVB, fixes no-console-on-boot issue.
arch/arm/mach-shmobile/setup-sh7372.c | 7 +++++++
1 file changed, 7 insertions(+)
--- 0001/arch/arm/mach-shmobile/setup-sh7372.c
+++ work/arch/arm/mach-shmobile/setup-sh7372.c 2011-08-02 18:19:47.000000000 +0900
@@ -44,6 +44,7 @@ static struct plat_sci_port scif0_platfo
.type = PORT_SCIFA,
.irqs = { evt2irq(0x0c00), evt2irq(0x0c00),
evt2irq(0x0c00), evt2irq(0x0c00) },
+ .regtype = SCIx_SCIFA_REGTYPE,
};
static struct platform_device scif0_device = {
@@ -63,6 +64,7 @@ static struct plat_sci_port scif1_platfo
.type = PORT_SCIFA,
.irqs = { evt2irq(0x0c20), evt2irq(0x0c20),
evt2irq(0x0c20), evt2irq(0x0c20) },
+ .regtype = SCIx_SCIFA_REGTYPE,
};
static struct platform_device scif1_device = {
@@ -82,6 +84,7 @@ static struct plat_sci_port scif2_platfo
.type = PORT_SCIFA,
.irqs = { evt2irq(0x0c40), evt2irq(0x0c40),
evt2irq(0x0c40), evt2irq(0x0c40) },
+ .regtype = SCIx_SCIFA_REGTYPE,
};
static struct platform_device scif2_device = {
@@ -101,6 +104,7 @@ static struct plat_sci_port scif3_platfo
.type = PORT_SCIFA,
.irqs = { evt2irq(0x0c60), evt2irq(0x0c60),
evt2irq(0x0c60), evt2irq(0x0c60) },
+ .regtype = SCIx_SCIFA_REGTYPE,
};
static struct platform_device scif3_device = {
@@ -120,6 +124,7 @@ static struct plat_sci_port scif4_platfo
.type = PORT_SCIFA,
.irqs = { evt2irq(0x0d20), evt2irq(0x0d20),
evt2irq(0x0d20), evt2irq(0x0d20) },
+ .regtype = SCIx_SCIFA_REGTYPE,
};
static struct platform_device scif4_device = {
@@ -139,6 +144,7 @@ static struct plat_sci_port scif5_platfo
.type = PORT_SCIFA,
.irqs = { evt2irq(0x0d40), evt2irq(0x0d40),
evt2irq(0x0d40), evt2irq(0x0d40) },
+ .regtype = SCIx_SCIFA_REGTYPE,
};
static struct platform_device scif5_device = {
@@ -158,6 +164,7 @@ static struct plat_sci_port scif6_platfo
.type = PORT_SCIFB,
.irqs = { evt2irq(0x0d60), evt2irq(0x0d60),
evt2irq(0x0d60), evt2irq(0x0d60) },
+ .regtype = SCIx_SCIFB_REGTYPE,
};
static struct platform_device scif6_device = {
next reply other threads:[~2011-08-02 9:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-02 9:49 Magnus Damm [this message]
2011-08-03 3:27 ` [PATCH] ARM: mach-shmobile: sh7372 SCIF platform data update Simon Horman
2011-08-03 3:38 ` Paul Mundt
2011-08-03 4:00 ` Simon Horman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110802094952.2785.67371.sendpatchset@t400s \
--to=magnus.damm@gmail.com \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox