diff options
author | Amelie Delaunay <amelie.delaunay@foss.st.com> | 2023-01-16 12:57:27 +0100 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@foss.st.com> | 2023-01-17 14:52:48 +0100 |
commit | a12154058f756871b74b8d1e62aa6fd16d762a97 (patch) | |
tree | f2ce3f21f9fb37037126e86409595bfdcbd89f36 /arch/arm/boot/dts | |
parent | a9060c1326bc886029aa34786deb2a75797000a8 (diff) | |
download | linux-stable-a12154058f756871b74b8d1e62aa6fd16d762a97.tar.gz linux-stable-a12154058f756871b74b8d1e62aa6fd16d762a97.tar.bz2 linux-stable-a12154058f756871b74b8d1e62aa6fd16d762a97.zip |
ARM: dts: stm32: Fix User button on stm32mp135f-dk
This patch fixes the following dtbs_check warning on stm32mp135f-dk:
arch/arm/boot/dts/stm32mp135f-dk.dtb: gpio-keys: 'user-pa13' does 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: Documentation/devicetree/bindings/input/gpio-keys.yaml
It renames user-pa13 node into button-user so that it matches gpio-keys
bindings.
Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/stm32mp135f-dk.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/stm32mp135f-dk.dts b/arch/arm/boot/dts/stm32mp135f-dk.dts index 338b4f633ee3..c40686cb2b9a 100644 --- a/arch/arm/boot/dts/stm32mp135f-dk.dts +++ b/arch/arm/boot/dts/stm32mp135f-dk.dts @@ -40,7 +40,7 @@ gpio-keys { compatible = "gpio-keys"; - user-pa13 { + button-user { label = "User-PA13"; linux,code = <BTN_1>; gpios = <&gpioa 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; |