Skip to contentSkip to conversation

ARM: mach-shmobile: sh7372 SCIF platform data update

PATCH In review Magnus Damm 3 participants 4 messages Aug 2, 2011 – Aug 3, 2011

Subsystems (4)
lore
Share & tools
lore

Magnus Damm

author maintainer
#0 lore raw

PATCH 1/1 ARM: mach-shmobile: sh7372 SCIF platform data update

From: Magnus Damm <[email protected]>

Add .regtype members to the sh7372 SCIF platform data.

---

Tested on AP4EVB, fixes no-console-on-boot issue.

 arch/arm/mach-shmobile/setup-sh7372.c |    7 +++++++
 1 file changed, 7 insertions(+)
arch/arm/mach-shmobile/setup-sh7372.c +7 -0
@@ -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 = {
#3 lore raw
In reply to Magnus Damm
Quoted 4 lines · Paul Mundt
Quoted 3 lines · Simon Horman
Quoted 2 lines · Magnus Damm

From: Magnus Damm <[email protected]>

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

Add .regtype members to the sh7372 SCIF platform data.

This has since been fixed elsewhere. It turns out I fumbled the error checking from the default probe path.

Ok, let me know if there is an alternate patch/tree you would like me to test.