diff options
author | Alexander Stein <alexander.stein@ew.tq-group.com> | 2023-08-10 16:37:27 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2023-08-12 09:45:11 +0800 |
commit | db92a8d917c7d959584cc15f838a134c1b115915 (patch) | |
tree | 0db60176d26ac748fbc99c55ba186f28c52ab3ee | |
parent | 1d6500cd39f11de616540c13eb3dd08903380f59 (diff) | |
download | linux-stable-db92a8d917c7d959584cc15f838a134c1b115915.tar.gz linux-stable-db92a8d917c7d959584cc15f838a134c1b115915.tar.bz2 linux-stable-db92a8d917c7d959584cc15f838a134c1b115915.zip |
ARM: dts: imx6qdl: mba6: Fix gpio-keys button node names
Numbers are separated by dashes. Fixes the warnings:
arch/arm/boot/dts/nxp/imx/imx6q-mba6a.dtb: gpio-buttons: '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>
-rw-r--r-- | arch/arm/boot/dts/nxp/imx/imx6qdl-mba6.dtsi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6.dtsi b/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6.dtsi index 7d032d1f3b47..da0f8dae1ea8 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6qdl-mba6.dtsi @@ -36,21 +36,21 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpiobuttons>; - button1 { + button-1 { label = "s6"; linux,code = <KEY_F6>; gpios = <&gpio7 13 GPIO_ACTIVE_LOW>; wakeup-source; }; - button2 { + button-2 { label = "s7"; linux,code = <KEY_F7>; gpios = <&gpio7 12 GPIO_ACTIVE_LOW>; wakeup-source; }; - button3 { + button-3 { label = "s8"; linux,code = <KEY_F8>; gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; |