SUPERH platform development
 help / color / mirror / Atom feed
* [PATCH] ARM: mach-shmobile: sh7372 SCIF platform data update
@ 2011-08-02  9:49 Magnus Damm
  2011-08-03  3:27 ` Simon Horman
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Magnus Damm @ 2011-08-02  9:49 UTC (permalink / raw)
  To: linux-sh

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 = {

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: mach-shmobile: sh7372 SCIF platform data update
  2011-08-02  9:49 [PATCH] ARM: mach-shmobile: sh7372 SCIF platform data update Magnus Damm
@ 2011-08-03  3:27 ` Simon Horman
  2011-08-03  3:38 ` Paul Mundt
  2011-08-03  4:00 ` Simon Horman
  2 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2011-08-03  3:27 UTC (permalink / raw)
  To: linux-sh

On Tue, Aug 02, 2011 at 06:49:52PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
> 
> Add .regtype members to the sh7372 SCIF platform data.
> 
> Signed-off-by: Magnus Damm <damm@opensource.se>

Tested-by: Simon Horman <horms@verge.net.au>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: mach-shmobile: sh7372 SCIF platform data update
  2011-08-02  9:49 [PATCH] ARM: mach-shmobile: sh7372 SCIF platform data update Magnus Damm
  2011-08-03  3:27 ` Simon Horman
@ 2011-08-03  3:38 ` Paul Mundt
  2011-08-03  4:00 ` Simon Horman
  2 siblings, 0 replies; 4+ messages in thread
From: Paul Mundt @ 2011-08-03  3:38 UTC (permalink / raw)
  To: linux-sh

On Wed, Aug 03, 2011 at 12:27:40PM +0900, Simon Horman wrote:
> On Tue, Aug 02, 2011 at 06:49:52PM +0900, Magnus Damm wrote:
> > From: Magnus Damm <damm@opensource.se>
> > 
> > Add .regtype members to the sh7372 SCIF platform data.
> > 
> > Signed-off-by: Magnus Damm <damm@opensource.se>
> 
> Tested-by: Simon Horman <horms@verge.net.au>

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: mach-shmobile: sh7372 SCIF platform data update
  2011-08-02  9:49 [PATCH] ARM: mach-shmobile: sh7372 SCIF platform data update Magnus Damm
  2011-08-03  3:27 ` Simon Horman
  2011-08-03  3:38 ` Paul Mundt
@ 2011-08-03  4:00 ` Simon Horman
  2 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2011-08-03  4:00 UTC (permalink / raw)
  To: linux-sh

On Wed, Aug 03, 2011 at 12:38:45PM +0900, Paul Mundt wrote:
> On Wed, Aug 03, 2011 at 12:27:40PM +0900, Simon Horman wrote:
> > On Tue, Aug 02, 2011 at 06:49:52PM +0900, Magnus Damm wrote:
> > > From: Magnus Damm <damm@opensource.se>
> > > 
> > > Add .regtype members to the sh7372 SCIF platform data.
> > > 
> > > Signed-off-by: Magnus Damm <damm@opensource.se>
> > 
> > Tested-by: Simon Horman <horms@verge.net.au>
> 
> 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-08-03  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-02  9:49 [PATCH] ARM: mach-shmobile: sh7372 SCIF platform data update Magnus Damm
2011-08-03  3:27 ` Simon Horman
2011-08-03  3:38 ` Paul Mundt
2011-08-03  4:00 ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox