[PATCH] ppc/85xx: specify interrupt for pq3-localbus devices

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE5541d

4 messages, 3 authors, 2011-06-22 · open the first message on its own page

[PATCH] ppc/85xx: specify interrupt for pq3-localbus devices

From: Dmitry Eremin-Solenikov <hidden>
Date: 2011-06-01 15:15:18

fsl-lbc driver requires an interrupt to bind to localbus device.
Populate 85xx boards' dts trees with lbc interrupt info.

Signed-off-by: Dmitry Eremin-Solenikov <redacted>
---
 arch/powerpc/boot/dts/mpc8568mds.dts       |    2 ++
 arch/powerpc/boot/dts/socrates.dts         |    2 ++
 arch/powerpc/boot/dts/tqm8540.dts          |    2 ++
 arch/powerpc/boot/dts/tqm8548-bigflash.dts |    2 ++
 arch/powerpc/boot/dts/tqm8548.dts          |    2 ++
 arch/powerpc/boot/dts/tqm8560.dts          |    2 ++
 arch/powerpc/boot/dts/xpedite5200.dts      |    2 ++
 arch/powerpc/boot/dts/xpedite5200_xmon.dts |    2 ++
 8 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/boot/dts/mpc8568mds.dts b/arch/powerpc/boot/dts/mpc8568mds.dts
index 30cf0e0..647daf8 100644
--- a/arch/powerpc/boot/dts/mpc8568mds.dts
+++ b/arch/powerpc/boot/dts/mpc8568mds.dts
@@ -60,6 +60,8 @@
 		compatible = "fsl,mpc8568-localbus", "fsl,pq3-localbus",
 			     "simple-bus";
 		reg = <0xe0005000 0x1000>;
+		interrupt-parent = <&mpic>;
+		interrupts = <19 2>;
 
 		ranges = <0x0 0x0 0xfe000000 0x02000000
 			  0x1 0x0 0xf8000000 0x00008000
diff --git a/arch/powerpc/boot/dts/socrates.dts b/arch/powerpc/boot/dts/socrates.dts
index feb4ef6..38c3540 100644
--- a/arch/powerpc/boot/dts/socrates.dts
+++ b/arch/powerpc/boot/dts/socrates.dts
@@ -240,6 +240,8 @@
 		#address-cells = <2>;
 		#size-cells = <1>;
 		reg = <0xe0005000 0x40>;
+		interrupt-parent = <&mpic>;
+		interrupts = <19 2>;
 
 		ranges = <0 0 0xfc000000 0x04000000
 			  2 0 0xc8000000 0x04000000
diff --git a/arch/powerpc/boot/dts/tqm8540.dts b/arch/powerpc/boot/dts/tqm8540.dts
index e028457..0a4cedb 100644
--- a/arch/powerpc/boot/dts/tqm8540.dts
+++ b/arch/powerpc/boot/dts/tqm8540.dts
@@ -283,6 +283,8 @@
 		compatible = "fsl,mpc8540-localbus", "fsl,pq3-localbus",
 			     "simple-bus";
 		reg = <0xe0005000 0x1000>;
+		interrupt-parent = <&mpic>;
+		interrupts = <19 2>;
 
 		ranges = <0x0 0x0 0xfe000000 0x02000000>;
 
diff --git a/arch/powerpc/boot/dts/tqm8548-bigflash.dts b/arch/powerpc/boot/dts/tqm8548-bigflash.dts
index 5dbb36e..9452c3c 100644
--- a/arch/powerpc/boot/dts/tqm8548-bigflash.dts
+++ b/arch/powerpc/boot/dts/tqm8548-bigflash.dts
@@ -346,6 +346,8 @@
 		#address-cells = <2>;
 		#size-cells = <1>;
 		reg = <0xa0005000 0x100>;	// BRx, ORx, etc.
+		interrupt-parent = <&mpic>;
+		interrupts = <19 2>;
 
 		ranges = <
 			0 0x0 0xfc000000 0x04000000	// NOR FLASH bank 1
diff --git a/arch/powerpc/boot/dts/tqm8548.dts b/arch/powerpc/boot/dts/tqm8548.dts
index a050ae4..619776f 100644
--- a/arch/powerpc/boot/dts/tqm8548.dts
+++ b/arch/powerpc/boot/dts/tqm8548.dts
@@ -346,6 +346,8 @@
 		#address-cells = <2>;
 		#size-cells = <1>;
 		reg = <0xe0005000 0x100>;	// BRx, ORx, etc.
+		interrupt-parent = <&mpic>;
+		interrupts = <19 2>;
 
 		ranges = <
 			0 0x0 0xfc000000 0x04000000	// NOR FLASH bank 1
diff --git a/arch/powerpc/boot/dts/tqm8560.dts b/arch/powerpc/boot/dts/tqm8560.dts
index 22ec39b..7665a16 100644
--- a/arch/powerpc/boot/dts/tqm8560.dts
+++ b/arch/powerpc/boot/dts/tqm8560.dts
@@ -312,6 +312,8 @@
 		#address-cells = <2>;
 		#size-cells = <1>;
 		reg = <0xe0005000 0x100>;	// BRx, ORx, etc.
+		interrupt-parent = <&mpic>;
+		interrupts = <19 2>;
 
 		ranges = <
 			0 0x0 0xfc000000 0x04000000	// NOR FLASH bank 1
diff --git a/arch/powerpc/boot/dts/xpedite5200.dts b/arch/powerpc/boot/dts/xpedite5200.dts
index a0cf53f..c41a80c 100644
--- a/arch/powerpc/boot/dts/xpedite5200.dts
+++ b/arch/powerpc/boot/dts/xpedite5200.dts
@@ -374,6 +374,8 @@
 		#address-cells = <2>;
 		#size-cells = <1>;
 		reg = <0xef005000 0x100>;	// BRx, ORx, etc.
+		interrupt-parent = <&mpic>;
+		interrupts = <19 2>;
 
 		ranges = <
 			0 0x0 0xfc000000 0x04000000	// NOR boot flash
diff --git a/arch/powerpc/boot/dts/xpedite5200_xmon.dts b/arch/powerpc/boot/dts/xpedite5200_xmon.dts
index c5b2975..c0efcbb 100644
--- a/arch/powerpc/boot/dts/xpedite5200_xmon.dts
+++ b/arch/powerpc/boot/dts/xpedite5200_xmon.dts
@@ -378,6 +378,8 @@
 		#address-cells = <2>;
 		#size-cells = <1>;
 		reg = <0xef005000 0x100>;	// BRx, ORx, etc.
+		interrupt-parent = <&mpic>;
+		interrupts = <19 2>;
 
 		ranges = <
 			0 0x0 0xf8000000 0x08000000	// NOR boot flash
-- 
1.7.4.4

Re: [PATCH] ppc/85xx: specify interrupt for pq3-localbus devices

From: Dmitry Eremin-Solenikov <hidden>
Date: 2011-06-09 15:01:14

Sorry, if I'm being too noisy, what about this patch?

On 6/1/11, Dmitry Eremin-Solenikov [off-list ref] wrote:
fsl-lbc driver requires an interrupt to bind to localbus device.
Populate 85xx boards' dts trees with lbc interrupt info.

Signed-off-by: Dmitry Eremin-Solenikov <redacted>
---
 arch/powerpc/boot/dts/mpc8568mds.dts       |    2 ++
 arch/powerpc/boot/dts/socrates.dts         |    2 ++
 arch/powerpc/boot/dts/tqm8540.dts          |    2 ++
 arch/powerpc/boot/dts/tqm8548-bigflash.dts |    2 ++
 arch/powerpc/boot/dts/tqm8548.dts          |    2 ++
 arch/powerpc/boot/dts/tqm8560.dts          |    2 ++
 arch/powerpc/boot/dts/xpedite5200.dts      |    2 ++
 arch/powerpc/boot/dts/xpedite5200_xmon.dts |    2 ++
 8 files changed, 16 insertions(+), 0 deletions(-)

-- 
With best wishes
Dmitry

Re: [PATCH] ppc/85xx: specify interrupt for pq3-localbus devices

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2011-06-09 20:47:00

On Thu, 2011-06-09 at 19:01 +0400, Dmitry Eremin-Solenikov wrote:
Sorry, if I'm being too noisy, what about this patch?
Just wait til somebody has a chance to pick it up. I have been too busy
lately and it looks like others as well. It shouldn't get lost, it's
tracked on patchwork.

Cheers,
Ben.
On 6/1/11, Dmitry Eremin-Solenikov [off-list ref] wrote:
quoted
fsl-lbc driver requires an interrupt to bind to localbus device.
Populate 85xx boards' dts trees with lbc interrupt info.

Signed-off-by: Dmitry Eremin-Solenikov <redacted>
---
 arch/powerpc/boot/dts/mpc8568mds.dts       |    2 ++
 arch/powerpc/boot/dts/socrates.dts         |    2 ++
 arch/powerpc/boot/dts/tqm8540.dts          |    2 ++
 arch/powerpc/boot/dts/tqm8548-bigflash.dts |    2 ++
 arch/powerpc/boot/dts/tqm8548.dts          |    2 ++
 arch/powerpc/boot/dts/tqm8560.dts          |    2 ++
 arch/powerpc/boot/dts/xpedite5200.dts      |    2 ++
 arch/powerpc/boot/dts/xpedite5200_xmon.dts |    2 ++
 8 files changed, 16 insertions(+), 0 deletions(-)

Re: [PATCH] ppc/85xx: specify interrupt for pq3-localbus devices

From: Kumar Gala <hidden>
Date: 2011-06-22 11:30:29

On Jun 1, 2011, at 10:15 AM, Dmitry Eremin-Solenikov wrote:
fsl-lbc driver requires an interrupt to bind to localbus device.
Populate 85xx boards' dts trees with lbc interrupt info.

Signed-off-by: Dmitry Eremin-Solenikov <redacted>
---
arch/powerpc/boot/dts/mpc8568mds.dts       |    2 ++
arch/powerpc/boot/dts/socrates.dts         |    2 ++
arch/powerpc/boot/dts/tqm8540.dts          |    2 ++
arch/powerpc/boot/dts/tqm8548-bigflash.dts |    2 ++
arch/powerpc/boot/dts/tqm8548.dts          |    2 ++
arch/powerpc/boot/dts/tqm8560.dts          |    2 ++
arch/powerpc/boot/dts/xpedite5200.dts      |    2 ++
arch/powerpc/boot/dts/xpedite5200_xmon.dts |    2 ++
8 files changed, 16 insertions(+), 0 deletions(-)
applied to next

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help