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

devicetree: document Ingenic SoC interrupt controller binding

Add binding documentation for Ingenic SoC interrupt controllers.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Acked-by: Rob Herring <robh@kernel.org>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: devicetree@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/10134/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Paul Burton and committed by
Ralf Baechle
5f408ebf 0e81db8f

+28
+28
Documentation/devicetree/bindings/interrupt-controller/ingenic,intc.txt
··· 1 + Ingenic SoC Interrupt Controller 2 + 3 + Required properties: 4 + 5 + - compatible : should be "ingenic,<socname>-intc". Valid strings are: 6 + ingenic,jz4740-intc 7 + ingenic,jz4770-intc 8 + ingenic,jz4775-intc 9 + ingenic,jz4780-intc 10 + - reg : Specifies base physical address and size of the registers. 11 + - interrupt-controller : Identifies the node as an interrupt controller 12 + - #interrupt-cells : Specifies the number of cells needed to encode an 13 + interrupt source. The value shall be 1. 14 + - interrupt-parent : phandle of the CPU interrupt controller. 15 + - interrupts : Specifies the CPU interrupt the controller is connected to. 16 + 17 + Example: 18 + 19 + intc: interrupt-controller@10001000 { 20 + compatible = "ingenic,jz4740-intc"; 21 + reg = <0x10001000 0x14>; 22 + 23 + interrupt-controller; 24 + #interrupt-cells = <1>; 25 + 26 + interrupt-parent = <&cpuintc>; 27 + interrupts = <2>; 28 + };