ARM: dts: renesas: Use proper node names for keys
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 26 Sep 2024 11:07:19 +0000 (13:07 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 7 Oct 2024 08:42:46 +0000 (10:42 +0200)
Avoids 'keyboard: 'four', 'one', 'three', 'two' do not match any of the
regexes: ...

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20240926110718.20519-6-wsa+renesas@sang-engineering.com
Link: https://lore.kernel.org/20240926110718.20519-7-wsa+renesas@sang-engineering.com
Link: https://lore.kernel.org/20240926110718.20519-8-wsa+renesas@sang-engineering.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm/boot/dts/renesas/emev2-kzm9d.dts
arch/arm/boot/dts/renesas/r8a7790-lager.dts
arch/arm/boot/dts/renesas/r8a7794-alt.dts

index 89495dd373585e94b6f7605686d1c83f75d4c918..4e797ac27628b1fccf8b9221300efe0773cd001c 100644 (file)
 
        gpio_keys {
                compatible = "gpio-keys";
-               one {
+               key-1 {
                        debounce-interval = <50>;
                        wakeup-source;
                        label = "DSW2-1";
                        linux,code = <KEY_1>;
                        gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
                };
-               two {
+               key-2 {
                        debounce-interval = <50>;
                        wakeup-source;
                        label = "DSW2-2";
                        linux,code = <KEY_2>;
                        gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
                };
-               three {
+               key-3 {
                        debounce-interval = <50>;
                        wakeup-source;
                        label = "DSW2-3";
                        linux,code = <KEY_3>;
                        gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
                };
-               four {
+               key-4 {
                        debounce-interval = <50>;
                        wakeup-source;
                        label = "DSW2-4";
index 8590981245a62057c2b61370e57a7627f36496e8..d4e8140a762af738b9a6d24861fcff27cc943f1b 100644 (file)
                pinctrl-0 = <&keyboard_pins>;
                pinctrl-names = "default";
 
-               one {
+               key-1 {
                        linux,code = <KEY_1>;
                        label = "SW2-1";
                        wakeup-source;
                        debounce-interval = <20>;
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
                };
-               two {
+               key-2 {
                        linux,code = <KEY_2>;
                        label = "SW2-2";
                        wakeup-source;
                        debounce-interval = <20>;
                        gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
                };
-               three {
+               key-3 {
                        linux,code = <KEY_3>;
                        label = "SW2-3";
                        wakeup-source;
                        debounce-interval = <20>;
                        gpios = <&gpio1 26 GPIO_ACTIVE_LOW>;
                };
-               four {
+               key-4 {
                        linux,code = <KEY_4>;
                        label = "SW2-4";
                        wakeup-source;
index b5ecafbb2e4de582e4449e7abba6217d4e35dcdb..ac541c2af79851c6c54954e6ba79ac5c8f3be7e1 100644 (file)
                pinctrl-0 = <&keyboard_pins>;
                pinctrl-names = "default";
 
-               one {
+               key-1 {
                        linux,code = <KEY_1>;
                        label = "SW2-1";
                        wakeup-source;
                        debounce-interval = <20>;
                        gpios = <&gpio3 9 GPIO_ACTIVE_LOW>;
                };
-               two {
+               key-2 {
                        linux,code = <KEY_2>;
                        label = "SW2-2";
                        wakeup-source;
                        debounce-interval = <20>;
                        gpios = <&gpio3 10 GPIO_ACTIVE_LOW>;
                };
-               three {
+               key-3 {
                        linux,code = <KEY_3>;
                        label = "SW2-3";
                        wakeup-source;
                        debounce-interval = <20>;
                        gpios = <&gpio3 11 GPIO_ACTIVE_LOW>;
                };
-               four {
+               key-4 {
                        linux,code = <KEY_4>;
                        label = "SW2-4";
                        wakeup-source;