linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: ls1021a: add SCFG MSI dts node
@ 2016-04-06 11:02 Minghuan Lian
  2016-04-06 12:00 ` Alexander Stein
  2016-04-12  7:52 ` Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Minghuan Lian @ 2016-04-06 11:02 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel, devicetree
  Cc: Shawn Guo, Marc Zyngier, Rob Herring, Mingkai Hu, Stuart Yoder,
	Yang-Leo Li, Minghuan Lian

Add SCFG MSI dts node and add msi-parent property to PCIe dts node
that points to the corresponding MSI node.

Signed-off-by: Minghuan Lian <Minghuan.Lian@nxp.com>
---
 arch/arm/boot/dts/ls1021a.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index 726372d..c0dee50 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -119,6 +119,20 @@
 
 		};
 
+		msi1: msi-controller@1570e00 {
+			compatible = "fsl,1s1021a-msi";
+			reg = <0x0 0x1570e00 0x0 0x8>;
+			msi-controller;
+			interrupts =  <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>;
+		};
+
+		msi2: msi-controller@1570e08 {
+			compatible = "fsl,1s1021a-msi";
+			reg = <0x0 0x1570e08 0x0 0x8>;
+			msi-controller;
+			interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>;
+		};
+
 		ifc: ifc@1530000 {
 			compatible = "fsl,ifc", "simple-bus";
 			reg = <0x0 0x1530000 0x0 0x10000>;
@@ -587,6 +601,7 @@
 			bus-range = <0x0 0xff>;
 			ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000   /* downstream I/O */
 				  0x82000000 0x0 0x40000000 0x40 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
+			msi-parent = <&msi1>;
 			#interrupt-cells = <1>;
 			interrupt-map-mask = <0 0 0 7>;
 			interrupt-map = <0000 0 0 1 &gic GIC_SPI 91  IRQ_TYPE_LEVEL_HIGH>,
@@ -609,6 +624,7 @@
 			bus-range = <0x0 0xff>;
 			ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000   /* downstream I/O */
 				  0x82000000 0x0 0x40000000 0x48 0x40000000 0x0 0x40000000>; /* non-prefetchable memory */
+			msi-parent = <&msi2>;
 			#interrupt-cells = <1>;
 			interrupt-map-mask = <0 0 0 7>;
 			interrupt-map = <0000 0 0 1 &gic GIC_SPI 92  IRQ_TYPE_LEVEL_HIGH>,
-- 
1.9.1

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

* Re: [PATCH] ARM: dts: ls1021a: add SCFG MSI dts node
  2016-04-06 11:02 [PATCH] ARM: dts: ls1021a: add SCFG MSI dts node Minghuan Lian
@ 2016-04-06 12:00 ` Alexander Stein
  2016-04-12  7:52 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Stein @ 2016-04-06 12:00 UTC (permalink / raw)
  To: linux-kernel
  Cc: Minghuan Lian, linux-arm-kernel, devicetree, Shawn Guo,
	Marc Zyngier, Rob Herring, Mingkai Hu, Stuart Yoder, Yang-Leo Li

On Wednesday 06 April 2016 19:02:07, Minghuan Lian wrote:
> Add SCFG MSI dts node and add msi-parent property to PCIe dts node
> that points to the corresponding MSI node.
> 
> Signed-off-by: Minghuan Lian <Minghuan.Lian@nxp.com>
> ---
>  arch/arm/boot/dts/ls1021a.dtsi | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)

Tested-by: Alexander Stein <alexander.stein@systec-electronic.com>

Best regards,
Alexander

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

* Re: [PATCH] ARM: dts: ls1021a: add SCFG MSI dts node
  2016-04-06 11:02 [PATCH] ARM: dts: ls1021a: add SCFG MSI dts node Minghuan Lian
  2016-04-06 12:00 ` Alexander Stein
@ 2016-04-12  7:52 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2016-04-12  7:52 UTC (permalink / raw)
  To: Minghuan Lian
  Cc: linux-arm-kernel, linux-kernel, devicetree, Marc Zyngier,
	Stuart Yoder, Yang-Leo Li, Mingkai Hu

On Wed, Apr 06, 2016 at 07:02:07PM +0800, Minghuan Lian wrote:
> Add SCFG MSI dts node and add msi-parent property to PCIe dts node
> that points to the corresponding MSI node.
> 
> Signed-off-by: Minghuan Lian <Minghuan.Lian@nxp.com>

Applied, thanks.

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

end of thread, other threads:[~2016-04-12  7:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-06 11:02 [PATCH] ARM: dts: ls1021a: add SCFG MSI dts node Minghuan Lian
2016-04-06 12:00 ` Alexander Stein
2016-04-12  7:52 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).