diff options
author | Jason Cooper <jason@lakedaemon.net> | 2014-09-14 03:53:17 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-09-14 03:53:17 -0400 |
commit | 1fc9d96ec63e7e071f22b89c268145d50720d667 (patch) | |
tree | fb673039eabc9612e6f6209e88a762dcbf8ca919 /Documentation/devicetree/bindings/interrupt-controller | |
parent | 705bc96c2c15313c0677607f6e81800f4d2b4534 (diff) | |
parent | 8703ec19c706eb4d9f2848d50e9fc41d73eb4a40 (diff) |
Merge branch 'irqchip/keystone' into irqchip/core
Diffstat (limited to 'Documentation/devicetree/bindings/interrupt-controller')
-rw-r--r-- | Documentation/devicetree/bindings/interrupt-controller/ti,keystone-irq.txt | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/interrupt-controller/ti,keystone-irq.txt b/Documentation/devicetree/bindings/interrupt-controller/ti,keystone-irq.txt new file mode 100644 index 000000000000..d9bb106bdd16 --- /dev/null +++ b/Documentation/devicetree/bindings/interrupt-controller/ti,keystone-irq.txt | |||
@@ -0,0 +1,36 @@ | |||
1 | Keystone 2 IRQ controller IP | ||
2 | |||
3 | On Keystone SOCs, DSP cores can send interrupts to ARM | ||
4 | host using the IRQ controller IP. It provides 28 IRQ signals to ARM. | ||
5 | The IRQ handler running on HOST OS can identify DSP signal source by | ||
6 | analyzing SRCCx bits in IPCARx registers. This is one of the component | ||
7 | used by the IPC mechanism used on Keystone SOCs. | ||
8 | |||
9 | Required Properties: | ||
10 | - compatible: should be "ti,keystone-irq" | ||
11 | - ti,syscon-dev : phandle and offset pair. The phandle to syscon used to | ||
12 | access device control registers and the offset inside | ||
13 | device control registers range. | ||
14 | - interrupt-controller : Identifies the node as an interrupt controller | ||
15 | - #interrupt-cells : Specifies the number of cells needed to encode interrupt | ||
16 | source should be 1. | ||
17 | - interrupts: interrupt reference to primary interrupt controller | ||
18 | |||
19 | Please refer to interrupts.txt in this directory for details of the common | ||
20 | Interrupt Controllers bindings used by client devices. | ||
21 | |||
22 | Example: | ||
23 | kirq0: keystone_irq0@026202a0 { | ||
24 | compatible = "ti,keystone-irq"; | ||
25 | ti,syscon-dev = <&devctrl 0x2a0>; | ||
26 | interrupts = <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>; | ||
27 | interrupt-controller; | ||
28 | #interrupt-cells = <1>; | ||
29 | }; | ||
30 | |||
31 | dsp0: dsp0 { | ||
32 | compatible = "linux,rproc-user"; | ||
33 | ... | ||
34 | interrupt-parent = <&kirq0>; | ||
35 | interrupts = <10 2>; | ||
36 | }; | ||