]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
dt-bindings: Add description of Socionext EXIU interrupt controller
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 6 Nov 2017 18:34:36 +0000 (18:34 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 7 Nov 2017 11:17:35 +0000 (11:17 +0000)
Add a description of the External Interrupt Unit (EXIU) interrupt
controller as found on the Socionext SynQuacer SoC.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Documentation/devicetree/bindings/interrupt-controller/socionext,synquacer-exiu.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/interrupt-controller/socionext,synquacer-exiu.txt b/Documentation/devicetree/bindings/interrupt-controller/socionext,synquacer-exiu.txt
new file mode 100644 (file)
index 0000000..8b2faef
--- /dev/null
@@ -0,0 +1,32 @@
+Socionext SynQuacer External Interrupt Unit (EXIU)
+
+The Socionext Synquacer SoC has an external interrupt unit (EXIU)
+that forwards a block of 32 configurable input lines to 32 adjacent
+level-high type GICv3 SPIs.
+
+Required properties:
+
+- compatible           : Should be "socionext,synquacer-exiu".
+- reg                  : Specifies base physical address and size of the
+                         control registers.
+- interrupt-controller : Identifies the node as an interrupt controller.
+- #interrupt-cells     : Specifies the number of cells needed to encode an
+                         interrupt source. The value must be 3.
+- interrupt-parent     : phandle of the GIC these interrupts are routed to.
+- socionext,spi-base   : The SPI number of the first SPI of the 32 adjacent
+                         ones the EXIU forwards its interrups to.
+
+Notes:
+
+- Only SPIs can use the EXIU as an interrupt parent.
+
+Example:
+
+       exiu: interrupt-controller@510c0000 {
+               compatible = "socionext,synquacer-exiu";
+               reg = <0x0 0x510c0000 0x0 0x20>;
+               interrupt-controller;
+               interrupt-parent = <&gic>;
+               #interrupt-cells = <3>;
+               socionext,spi-base = <112>;
+       };