]> Git Repo - J-linux.git/commitdiff
arm64: dts: renesas: rzg3s-smarc: Use interrupts-extended for gpio-keys
authorGeert Uytterhoeven <[email protected]>
Fri, 4 Oct 2024 12:53:02 +0000 (14:53 +0200)
committerGeert Uytterhoeven <[email protected]>
Mon, 14 Oct 2024 08:16:17 +0000 (10:16 +0200)
Use the more concise interrupts-extended property to fully describe the
interrupts.

Signed-off-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Niklas Söderlund <[email protected]>
Reviewed-by: Lad Prabhakar <[email protected]>
Tested-by: Lad Prabhakar <[email protected]>
Reviewed-by: Claudiu Beznea <[email protected]>
Tested-by: Claudiu Beznea <[email protected]>
Link: https://lore.kernel.org/6214cd8ed068e3fc60a7b972093e4d99cdc0be1a.1728045620.git.geert+renesas@glider.be
arch/arm64/boot/dts/renesas/rzg3s-smarc.dtsi

index 7945d44e6ee159f4ad723b7a378833552078c2d3..4509151344c430de9a24ea015ebef09e003c90cc 100644 (file)
@@ -20,8 +20,7 @@
                compatible = "gpio-keys";
 
                key-1 {
-                       interrupts = <RZG2L_GPIO(18, 0) IRQ_TYPE_EDGE_FALLING>;
-                       interrupt-parent = <&pinctrl>;
+                       interrupts-extended = <&pinctrl RZG2L_GPIO(18, 0) IRQ_TYPE_EDGE_FALLING>;
                        linux,code = <KEY_1>;
                        label = "USER_SW1";
                        wakeup-source;
@@ -29,8 +28,7 @@
                };
 
                key-2 {
-                       interrupts = <RZG2L_GPIO(0, 1) IRQ_TYPE_EDGE_FALLING>;
-                       interrupt-parent = <&pinctrl>;
+                       interrupts-extended = <&pinctrl RZG2L_GPIO(0, 1) IRQ_TYPE_EDGE_FALLING>;
                        linux,code = <KEY_2>;
                        label = "USER_SW2";
                        wakeup-source;
@@ -38,8 +36,7 @@
                };
 
                key-3 {
-                       interrupts = <RZG2L_GPIO(0, 3) IRQ_TYPE_EDGE_FALLING>;
-                       interrupt-parent = <&pinctrl>;
+                       interrupts-extended = <&pinctrl RZG2L_GPIO(0, 3) IRQ_TYPE_EDGE_FALLING>;
                        linux,code = <KEY_3>;
                        label = "USER_SW3";
                        wakeup-source;
This page took 0.124182 seconds and 4 git commands to generate.