forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.txt
....@@ -1,20 +1,30 @@
11 * ARC-HS Interrupt Distribution Unit
22
3
- This optional 2nd level interrupt controller can be used in SMP configurations for
4
- dynamic IRQ routing, load balancing of common/external IRQs towards core intc.
3
+ This optional 2nd level interrupt controller can be used in SMP configurations
4
+ for dynamic IRQ routing, load balancing of common/external IRQs towards core
5
+ intc.
56
67 Properties:
78
89 - compatible: "snps,archs-idu-intc"
910 - interrupt-controller: This is an interrupt controller.
10
-- #interrupt-cells: Must be <1>.
11
+- #interrupt-cells: Must be <1> or <2>.
1112
12
- Value of the cell specifies the "common" IRQ from peripheral to IDU. Number N
13
- of the particular interrupt line of IDU corresponds to the line N+24 of the
14
- core interrupt controller.
13
+ Value of the first cell specifies the "common" IRQ from peripheral to IDU.
14
+ Number N of the particular interrupt line of IDU corresponds to the line N+24
15
+ of the core interrupt controller.
1516
16
- intc accessed via the special ARC AUX register interface, hence "reg" property
17
- is not specified.
17
+ The (optional) second cell specifies any of the following flags:
18
+ - bits[3:0] trigger type and level flags
19
+ 1 = low-to-high edge triggered
20
+ 2 = NOT SUPPORTED (high-to-low edge triggered)
21
+ 4 = active high level-sensitive <<< DEFAULT
22
+ 8 = NOT SUPPORTED (active low level-sensitive)
23
+ When no second cell is specified, the interrupt is assumed to be level
24
+ sensitive.
25
+
26
+ The interrupt controller is accessed via the special ARC AUX register
27
+ interface, hence "reg" property is not specified.
1828
1929 Example:
2030 core_intc: core-interrupt-controller {