All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2 v5] dt/bindings: Add bindings for Layerscape SCFG MSI
@ 2016-03-07  3:36 ` Minghuan Lian
  0 siblings, 0 replies; 24+ messages in thread
From: Minghuan Lian @ 2016-03-07  3:36 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel
  Cc: Marc Zyngier, Thomas Gleixner, Jason Cooper, Roy Zang,
	Mingkai Hu, Stuart Yoder, Yang-Leo Li, Minghuan Lian

Some Layerscape SoCs use a simple MSI controller implementation.
It contains only two SCFG register to trigger and describe a
group 32 MSI interrupts. The patch adds bindings to describe
the controller.

Signed-off-by: Minghuan Lian <Minghuan.Lian@nxp.com>
---
change log:
v4: add interrupt-parent description
v3-v1: no change
 
 .../interrupt-controller/fsl,ls-scfg-msi.txt       | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt

diff --git a/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt b/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt
new file mode 100644
index 0000000..9e38949
--- /dev/null
+++ b/Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt
@@ -0,0 +1,30 @@
+* Freescale Layerscape SCFG PCIe MSI controller
+
+Required properties:
+
+- compatible: should be "fsl,<soc-name>-msi" to identify
+	      Layerscape PCIe MSI controller block such as:
+              "fsl,1s1021a-msi"
+              "fsl,1s1043a-msi"
+- msi-controller: indicates that this is a PCIe MSI controller node
+- reg: physical base address of the controller and length of memory mapped.
+- interrupts: an interrupt to the parent interrupt controller.
+
+Optional properties:
+- interrupt-parent: the phandle to the parent interrupt controller.
+
+This interrupt controller hardware is a second level interrupt controller that
+is hooked to a parent interrupt controller: e.g: ARM GIC for ARM-based
+platforms. If interrupt-parent is not provided, the default parent interrupt
+controller will be used.
+Each PCIe node needs to have property msi-parent that points to
+MSI controller node
+
+Examples:
+
+	msi1: msi-controller@1571000 {
+		compatible = "fsl,1s1043a-msi";
+		reg = <0x0 0x1571000 0x0 0x8>,
+		msi-controller;
+		interrupts = <0 116 0x4>;
+	};
-- 
1.9.1

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

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

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-07  3:36 [PATCH 1/2 v5] dt/bindings: Add bindings for Layerscape SCFG MSI Minghuan Lian
2016-03-07  3:36 ` Minghuan Lian
2016-03-07  3:36 ` [PATCH 2/2 v5] irqchip/Layerscape: Add SCFG MSI controller support Minghuan Lian
2016-03-07  3:36   ` Minghuan Lian
2016-03-07  9:50   ` Marc Zyngier
2016-03-07  9:50     ` Marc Zyngier
2016-04-22  5:33     ` Leo Li
2016-04-22  5:33       ` Leo Li
2016-04-22  7:43       ` Marc Zyngier
2016-04-22  7:43         ` Marc Zyngier
2016-04-22  7:53         ` Minghuan Lian
2016-04-22  7:53           ` Minghuan Lian
2016-04-22  7:58           ` Marc Zyngier
2016-04-22  7:58             ` Marc Zyngier
2016-03-23  9:18   ` Alexander Stein
2016-03-23  9:18     ` Alexander Stein
2016-03-23 10:50     ` Minghuan Lian
2016-03-23 10:50       ` Minghuan Lian
2016-03-23 11:08     ` Marc Zyngier
2016-03-23 11:19       ` Alexander Stein
2016-03-23 11:19         ` Alexander Stein
2016-03-23 11:36         ` Marc Zyngier
2016-03-09  8:57 ` [PATCH 1/2 v5] dt/bindings: Add bindings for Layerscape SCFG MSI Minghuan Lian
2016-03-09  8:57   ` Minghuan Lian

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.