]> Git Repo - linux.git/commitdiff
Documentation: brcmstb-l2: Add Broadcom STB Level-2 interrupt controller binding
authorFlorian Fainelli <[email protected]>
Sat, 24 May 2014 00:40:54 +0000 (17:40 -0700)
committerJason Cooper <[email protected]>
Tue, 27 May 2014 14:43:36 +0000 (14:43 +0000)
This patch adds the Device Tree binding document for the Broadcom
Set-top-box Level 2 interrupt controller hardware.

Signed-off-by: Brian Norris <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Florian Fainelli <[email protected]>
Signed-off-by: Jason Cooper <[email protected]>
Documentation/devicetree/bindings/interrupt-controller/brcm,l2-intc.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/interrupt-controller/brcm,l2-intc.txt b/Documentation/devicetree/bindings/interrupt-controller/brcm,l2-intc.txt
new file mode 100644 (file)
index 0000000..448273a
--- /dev/null
@@ -0,0 +1,29 @@
+Broadcom Generic Level 2 Interrupt Controller
+
+Required properties:
+
+- compatible: should be "brcm,l2-intc"
+- reg: specifies the base physical address and size of the registers
+- interrupt-controller: identifies the node as an interrupt controller
+- #interrupt-cells: specifies the number of cells needed to encode an
+  interrupt source. Should be 1.
+- interrupt-parent: specifies the phandle to the parent interrupt controller
+  this controller is cacaded from
+- interrupts: specifies the interrupt line in the interrupt-parent irq space
+  to be used for cascading
+
+Optional properties:
+
+- brcm,irq-can-wake: If present, this means the L2 controller can be used as a
+  wakeup source for system suspend/resume.
+
+Example:
+
+hif_intr2_intc: interrupt-controller@f0441000 {
+       compatible = "brcm,l2-intc";
+       reg = <0xf0441000 0x30>;
+       interrupt-controller;
+       #interrupt-cells = <1>;
+       interrupt-parent = <&intc>;
+       interrupts = <0x0 0x20 0x0>;
+};
This page took 0.056749 seconds and 4 git commands to generate.