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

ARM: dts: omap: correct gpio-keys properties

gpio-keys children do not use unit addresses.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220616005333.18491-33-krzysztof.kozlowski@linaro.org

+8 -20
-2
arch/arm/boot/dts/am335x-evm.dts
··· 94 94 95 95 gpio_keys: volume-keys { 96 96 compatible = "gpio-keys"; 97 - #address-cells = <1>; 98 - #size-cells = <0>; 99 97 autorepeat; 100 98 101 99 switch-9 {
-2
arch/arm/boot/dts/am335x-guardian.dts
··· 33 33 pinctrl-names = "default"; 34 34 pinctrl-0 = <&guardian_button_pins>; 35 35 compatible = "gpio-keys"; 36 - #address-cells = <1>; 37 - #size-cells = <0>; 38 36 39 37 select-button { 40 38 label = "guardian-select-button";
+1 -3
arch/arm/boot/dts/am335x-moxa-uc-2100-common.dtsi
··· 166 166 &buttons { 167 167 pinctrl-names = "default"; 168 168 pinctrl-0 = <&push_button_pins>; 169 - #address-cells = <1>; 170 - #size-cells = <0>; 171 169 172 - button@0 { 170 + button-0 { 173 171 label = "push_button"; 174 172 linux,code = <0x100>; 175 173 gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
+1 -3
arch/arm/boot/dts/am335x-moxa-uc-8100-common.dtsi
··· 378 378 &buttons { 379 379 pinctrl-names = "default"; 380 380 pinctrl-0 = <&push_button_pins>; 381 - #address-cells = <1>; 382 - #size-cells = <0>; 383 381 384 - button@0 { 382 + button-0 { 385 383 label = "push_button"; 386 384 linux,code = <0x100>; 387 385 gpios = <&gpio3 21 GPIO_ACTIVE_LOW>;
+2 -2
arch/arm/boot/dts/am335x-pcm-953.dtsi
··· 54 54 pinctrl-names = "default"; 55 55 pinctrl-0 = <&user_buttons_pins>; 56 56 57 - button@0 { 57 + button-0 { 58 58 label = "home"; 59 59 linux,code = <KEY_HOME>; 60 60 gpios = <&gpio3 7 GPIO_ACTIVE_HIGH>; 61 61 wakeup-source; 62 62 }; 63 63 64 - button@1 { 64 + button-1 { 65 65 label = "menu"; 66 66 linux,code = <KEY_MENU>; 67 67 gpios = <&gpio3 8 GPIO_ACTIVE_HIGH>;
+3 -5
arch/arm/boot/dts/am335x-pepper.dts
··· 596 596 &buttons { 597 597 pinctrl-names = "default"; 598 598 pinctrl-0 = <&user_buttons_pins>; 599 - #address-cells = <1>; 600 - #size-cells = <0>; 601 599 602 - button0 { 600 + button-0 { 603 601 label = "home"; 604 602 linux,code = <KEY_HOME>; 605 603 gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; 606 604 wakeup-source; 607 605 }; 608 606 609 - button1 { 607 + button-1 { 610 608 label = "menu"; 611 609 linux,code = <KEY_MENU>; 612 610 gpios = <&gpio1 23 GPIO_ACTIVE_LOW>; 613 611 wakeup-source; 614 612 }; 615 613 616 - buttons2 { 614 + button-2 { 617 615 label = "power"; 618 616 linux,code = <KEY_POWER>; 619 617 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
+1 -3
arch/arm/boot/dts/am437x-idk-evm.dts
··· 102 102 compatible = "gpio-keys"; 103 103 pinctrl-names = "default"; 104 104 pinctrl-0 = <&gpio_keys_pins_default>; 105 - #address-cells = <1>; 106 - #size-cells = <0>; 107 105 108 - switch0 { 106 + switch-0 { 109 107 label = "power-button"; 110 108 linux,code = <KEY_POWER>; 111 109 gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;