ARM: dts: imx6ul: mba6ulx: Fix gpio-keys button node names
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Wed, 16 Aug 2023 07:54:52 +0000 (09:54 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sun, 24 Sep 2023 13:22:10 +0000 (21:22 +0800)
Numbers are separated by dashes. Fixes the warnings:
arch/arm/boot/dts/nxp/imx/imx6ull-tqma6ull2-mba6ulx.dtb: gpio-keys:
'button1', 'button2', 'button3' do not match any of the regexes:
'^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switch))$', 'pinctrl-[0-9]+'
 from schema $id: http://devicetree.org/schemas/input/gpio-keys.yaml#

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/mba6ulx.dtsi

index 632ceadcca411d171fc8e625a2fcc2a2753549fd..5a8b867d7d793132bbeb75de5b4f57f53f67acf5 100644 (file)
                pinctrl-names = "default";
                pinctrl-0 = <&pinctrl_buttons>;
 
-               button1 {
+               button-1 {
                        label = "s14";
                        linux,code = <KEY_1>;
                        gpios = <&expander_in0 0 GPIO_ACTIVE_LOW>;
                        wakeup-source;
                };
 
-               button2 {
+               button-2 {
                        label = "s6";
                        linux,code = <KEY_2>;
                        gpios = <&expander_in0 1 GPIO_ACTIVE_LOW>;
                        wakeup-source;
                };
 
-               button3 {
+               button-3 {
                        label = "s7";
                        linux,code = <KEY_3>;
                        gpios = <&expander_in0 2 GPIO_ACTIVE_LOW>;