ARM: mach-shmobile: sh7372 SCIF platform data update
Magnus Damm
maintainerPATCH 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 = {
Quoted 5 lines · Magnus Damm
From: Magnus Damm <[email protected]>
Add .regtype members to the sh7372 SCIF platform data.
Signed-off-by Magnus Damm <[email protected]>
Quoted 8 lines · Simon Horman
Quoted 5 lines · Magnus Damm
From: Magnus Damm <[email protected]>
Add .regtype members to the sh7372 SCIF platform data.
Signed-off-by Magnus Damm <[email protected]>Tested-by Simon Horman <[email protected]>
This has since been fixed elsewhere. It turns out I fumbled the error checking from the default probe path.
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.
Signed-off-by Magnus Damm <[email protected]>Tested-by Simon Horman <[email protected]>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.