aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/interrupt-controller
diff options
context:
space:
mode:
authorYuriy Kolerov <yuriy.kolerov@synopsys.com>2017-02-01 19:13:32 -0500
committerVineet Gupta <vgupta@synopsys.com>2017-02-06 12:37:57 -0500
commitec69b269d87c123a66bbcdc31cd5918db4ce442a (patch)
tree5e1d15a098ca000aa37ed2dd3ad702ea319d8742 /Documentation/devicetree/bindings/interrupt-controller
parentfc73965ed0aa360d1c1813fcdb078533cbab03e3 (diff)
ARCv2: IDU-intc: Delete deprecated parameters in Device Trees
No need for specifying a list of interrupts in the declaration of IDU interrupt controller anymore since the kernel can obtain a number of supported interrupts from the build register. Also delete support of the second parameter for devices which are connected to IDU because it is not used anywhere. Signed-off-by: Yuriy Kolerov <yuriy.kolerov@synopsys.com> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'Documentation/devicetree/bindings/interrupt-controller')
-rw-r--r--Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.txt24
1 files changed, 6 insertions, 18 deletions
diff --git a/Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.txt b/Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.txt
index 944657684d73..8b46a34e05f1 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.txt
+++ b/Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.txt
@@ -8,15 +8,11 @@ Properties:
8- compatible: "snps,archs-idu-intc" 8- compatible: "snps,archs-idu-intc"
9- interrupt-controller: This is an interrupt controller. 9- interrupt-controller: This is an interrupt controller.
10- interrupt-parent: <reference to parent core intc> 10- interrupt-parent: <reference to parent core intc>
11- #interrupt-cells: Must be <2>. 11- #interrupt-cells: Must be <1>.
12- interrupts: <...> specifies the upstream core irqs
13 12
14 First cell specifies the "common" IRQ from peripheral to IDU 13 Value of the cell specifies the "common" IRQ from peripheral to IDU. Number N
15 Second cell specifies the irq distribution mode to cores 14 of the particular interrupt line of IDU corresponds to the line N+24 of the
16 0=Round Robin; 1=cpu0, 2=cpu1, 4=cpu2, 8=cpu3 15 core interrupt controller.
17
18 The second cell in interrupts property is deprecated and may be ignored by
19 the kernel.
20 16
21 intc accessed via the special ARC AUX register interface, hence "reg" property 17 intc accessed via the special ARC AUX register interface, hence "reg" property
22 is not specified. 18 is not specified.
@@ -32,18 +28,10 @@ Example:
32 compatible = "snps,archs-idu-intc"; 28 compatible = "snps,archs-idu-intc";
33 interrupt-controller; 29 interrupt-controller;
34 interrupt-parent = <&core_intc>; 30 interrupt-parent = <&core_intc>;
35 31 #interrupt-cells = <1>;
36 /*
37 * <hwirq distribution>
38 * distribution: 0=RR; 1=cpu0, 2=cpu1, 4=cpu2, 8=cpu3
39 */
40 #interrupt-cells = <2>;
41
42 /* upstream core irqs: downstream these are "COMMON" irq 0,1.. */
43 interrupts = <24 25 26 27 28 29 30 31>;
44 }; 32 };
45 33
46 some_device: serial@c0fc1000 { 34 some_device: serial@c0fc1000 {
47 interrupt-parent = <&idu_intc>; 35 interrupt-parent = <&idu_intc>;
48 interrupts = <0 0>; /* upstream idu IRQ #24, Round Robin */ 36 interrupts = <0>; /* upstream idu IRQ #24 */
49 }; 37 };