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

dt-bindings: mtk-cirq: Add binding document

This commit adds the device tree binding document for
the mediatek cirq.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Youlin Pei <youlin.pei@mediatek.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>

authored by

Youlin Pei and committed by
Marc Zyngier
f59dd407 c2c8661f

+35
+35
Documentation/devicetree/bindings/interrupt-controller/mediatek,cirq.txt
··· 1 + * Mediatek 27xx cirq 2 + 3 + In Mediatek SOCs, the CIRQ is a low power interrupt controller designed to 4 + work outside MCUSYS which comprises with Cortex-Ax cores,CCI and GIC. 5 + The external interrupts (outside MCUSYS) will feed through CIRQ and connect 6 + to GIC in MCUSYS. When CIRQ is enabled, it will record the edge-sensitive 7 + interrupts and generate a pulse signal to parent interrupt controller when 8 + flush command is executed. With CIRQ, MCUSYS can be completely turned off 9 + to improve the system power consumption without losing interrupts. 10 + 11 + Required properties: 12 + - compatible: should be one of 13 + - "mediatek,mt2701-cirq" for mt2701 CIRQ 14 + - "mediatek,mt8135-cirq" for mt8135 CIRQ 15 + - "mediatek,mt8173-cirq" for mt8173 CIRQ 16 + and "mediatek,cirq" as a fallback. 17 + - interrupt-controller : Identifies the node as an interrupt controller. 18 + - #interrupt-cells : Use the same format as specified by GIC in arm,gic.txt. 19 + - interrupt-parent: phandle of irq parent for cirq. The parent must 20 + use the same interrupt-cells format as GIC. 21 + - reg: Physical base address of the cirq registers and length of memory 22 + mapped region. 23 + - mediatek,ext-irq-range: Identifies external irq number range in different 24 + SOCs. 25 + 26 + Example: 27 + cirq: interrupt-controller@10204000 { 28 + compatible = "mediatek,mt2701-cirq", 29 + "mediatek,mtk-cirq"; 30 + interrupt-controller; 31 + #interrupt-cells = <3>; 32 + interrupt-parent = <&sysirq>; 33 + reg = <0 0x10204000 0 0x400>; 34 + mediatek,ext-irq-start = <32 200>; 35 + };