diff options
author | Raymond Hackley <raymondhackley@protonmail.com> | 2023-10-17 10:18:14 +0000 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-10-18 08:22:23 +0200 |
commit | 4a48fa417abc5b86da393c93ab63a9160076a248 (patch) | |
tree | e1f556ee0d2229a5c6cb4ace864ccd00f8d5b797 /arch/arm | |
parent | 25e20eedc1d63dcdf6f781588e8dbc37cd0aad16 (diff) |
ARM: dts: samsung: exynos4412-midas: use Linux event codes for input keys
Use event codes with linux-event-codes.h included for input keys on
midas.
Signed-off-by: Raymond Hackley <raymondhackley@protonmail.com>
Link: https://lore.kernel.org/r/20231017101647.62770-1-raymondhackley@protonmail.com
[krzysztof: drop header include, because it is already provided by
dt-bindings/input/input.h]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/samsung/exynos4412-midas.dtsi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/samsung/exynos4412-midas.dtsi b/arch/arm/boot/dts/samsung/exynos4412-midas.dtsi index 2a67fcc07041..3d5aace668dc 100644 --- a/arch/arm/boot/dts/samsung/exynos4412-midas.dtsi +++ b/arch/arm/boot/dts/samsung/exynos4412-midas.dtsi @@ -137,21 +137,21 @@ key-down { gpios = <&gpx3 3 GPIO_ACTIVE_LOW>; - linux,code = <114>; + linux,code = <KEY_VOLUMEDOWN>; label = "volume down"; debounce-interval = <10>; }; key-up { gpios = <&gpx2 2 GPIO_ACTIVE_LOW>; - linux,code = <115>; + linux,code = <KEY_VOLUMEUP>; label = "volume up"; debounce-interval = <10>; }; key-power { gpios = <&gpx2 7 GPIO_ACTIVE_LOW>; - linux,code = <116>; + linux,code = <KEY_POWER>; label = "power"; debounce-interval = <10>; wakeup-source; |