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

ARM: dts: mediatek: align gpio-key node names with dtschema

The node names should be generic and DT schema expects certain pattern
(e.g. with key/button/switch).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220616005333.18491-18-krzysztof.kozlowski@linaro.org
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>

authored by

Krzysztof Kozlowski and committed by
Matthias Brugger
4da8b5e9 c4218e8c

+10 -10
+2 -2
arch/arm/boot/dts/mt7623a-rfb-emmc.dts
··· 45 45 pinctrl-names = "default"; 46 46 pinctrl-0 = <&key_pins_a>; 47 47 48 - factory { 48 + button-factory { 49 49 label = "factory"; 50 50 linux,code = <BTN_0>; 51 51 gpios = <&pio 256 GPIO_ACTIVE_LOW>; 52 52 }; 53 53 54 - wps { 54 + button-wps { 55 55 label = "wps"; 56 56 linux,code = <KEY_WPS_BUTTON>; 57 57 gpios = <&pio 257 GPIO_ACTIVE_HIGH>;
+2 -2
arch/arm/boot/dts/mt7623a-rfb-nand.dts
··· 45 45 pinctrl-names = "default"; 46 46 pinctrl-0 = <&key_pins_a>; 47 47 48 - factory { 48 + button-factory { 49 49 label = "factory"; 50 50 linux,code = <BTN_0>; 51 51 gpios = <&pio 256 GPIO_ACTIVE_LOW>; 52 52 }; 53 53 54 - wps { 54 + button-wps { 55 55 label = "wps"; 56 56 linux,code = <KEY_WPS_BUTTON>; 57 57 gpios = <&pio 257 GPIO_ACTIVE_HIGH>;
+2 -2
arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
··· 91 91 pinctrl-names = "default"; 92 92 pinctrl-0 = <&key_pins_a>; 93 93 94 - factory { 94 + button-factory { 95 95 label = "factory"; 96 96 linux,code = <BTN_0>; 97 97 gpios = <&pio 256 GPIO_ACTIVE_LOW>; 98 98 }; 99 99 100 - wps { 100 + button-wps { 101 101 label = "wps"; 102 102 linux,code = <KEY_WPS_BUTTON>; 103 103 gpios = <&pio 257 GPIO_ACTIVE_HIGH>;
+2 -2
arch/arm/boot/dts/mt7623n-rfb-emmc.dts
··· 60 60 pinctrl-names = "default"; 61 61 pinctrl-0 = <&key_pins_a>; 62 62 63 - factory { 63 + button-factory { 64 64 label = "factory"; 65 65 linux,code = <BTN_0>; 66 66 gpios = <&pio 256 GPIO_ACTIVE_LOW>; 67 67 }; 68 68 69 - wps { 69 + button-wps { 70 70 label = "wps"; 71 71 linux,code = <KEY_WPS_BUTTON>; 72 72 gpios = <&pio 257 GPIO_ACTIVE_HIGH>;
+2 -2
arch/arm/boot/dts/mt7629-rfb.dts
··· 23 23 gpio-keys { 24 24 compatible = "gpio-keys"; 25 25 26 - reset { 26 + button-reset { 27 27 label = "factory"; 28 28 linux,code = <KEY_RESTART>; 29 29 gpios = <&pio 60 GPIO_ACTIVE_LOW>; 30 30 }; 31 31 32 - wps { 32 + button-wps { 33 33 label = "wps"; 34 34 linux,code = <KEY_WPS_BUTTON>; 35 35 gpios = <&pio 58 GPIO_ACTIVE_LOW>;