Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: IDU-intc: Add support for edge-triggered interrupts

This updates the documentation for supporting an optional extra interrupt
cell to specify edge vs level triggered.

Signed-off-by: Mischa Jonker <mischa.jonker@synopsys.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>

authored by

Mischa Jonker and committed by
Vineet Gupta
d85f6b93 01449985

+13 -4
+13 -4
Documentation/devicetree/bindings/interrupt-controller/snps,archs-idu-intc.txt
··· 8 8 9 9 - compatible: "snps,archs-idu-intc" 10 10 - interrupt-controller: This is an interrupt controller. 11 - - #interrupt-cells: Must be <1>. 11 + - #interrupt-cells: Must be <1> or <2>. 12 12 13 - Value of the cell specifies the "common" IRQ from peripheral to IDU. Number N 14 - of the particular interrupt line of IDU corresponds to the line N+24 of the 15 - 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. 16 + 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. 16 25 17 26 The interrupt controller is accessed via the special ARC AUX register 18 27 interface, hence "reg" property is not specified.