Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt/bindings: Add bindings for Layerscape SCFG MSI

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>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>

authored by

Minghuan Lian and committed by
Marc Zyngier
5e79cb29 287e9357

+30
+30
Documentation/devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt
··· 1 + * Freescale Layerscape SCFG PCIe MSI controller 2 + 3 + Required properties: 4 + 5 + - compatible: should be "fsl,<soc-name>-msi" to identify 6 + Layerscape PCIe MSI controller block such as: 7 + "fsl,1s1021a-msi" 8 + "fsl,1s1043a-msi" 9 + - msi-controller: indicates that this is a PCIe MSI controller node 10 + - reg: physical base address of the controller and length of memory mapped. 11 + - interrupts: an interrupt to the parent interrupt controller. 12 + 13 + Optional properties: 14 + - interrupt-parent: the phandle to the parent interrupt controller. 15 + 16 + This interrupt controller hardware is a second level interrupt controller that 17 + is hooked to a parent interrupt controller: e.g: ARM GIC for ARM-based 18 + platforms. If interrupt-parent is not provided, the default parent interrupt 19 + controller will be used. 20 + Each PCIe node needs to have property msi-parent that points to 21 + MSI controller node 22 + 23 + Examples: 24 + 25 + msi1: msi-controller@1571000 { 26 + compatible = "fsl,1s1043a-msi"; 27 + reg = <0x0 0x1571000 0x0 0x8>, 28 + msi-controller; 29 + interrupts = <0 116 0x4>; 30 + };