]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: renesas: r9a09g077: Add GPIO IRQ support
authorCosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
Fri, 5 Dec 2025 15:02:31 +0000 (17:02 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 9 Jan 2026 10:46:50 +0000 (11:46 +0100)
The Renesas RZ/T2H (R9A09G077) SoC includes pins which can be routed via
the ICU to generate interrupts.

Add support for using the pin controller as an interrupt chip.

Signed-off-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20251205150234.2958140-6-cosmin-gabriel.tanislav.xa@renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r9a09g077.dtsi

index fa3e667e77e01958d2fafe4ac820452c93bd8cb5..27a260ccda042d1dae96e35fa2992c62bf408138 100644 (file)
                        gpio-controller;
                        #gpio-cells = <2>;
                        gpio-ranges = <&pinctrl 0 0 288>;
+                       #interrupt-cells = <2>;
+                       interrupt-controller;
+                       interrupt-parent = <&icu>;
                        power-domains = <&cpg>;
                };