From: Raymond Hackley Date: Tue, 17 Oct 2023 10:18:14 +0000 (+0000) Subject: ARM: dts: samsung: exynos4412-midas: use Linux event codes for input keys X-Git-Tag: v6.7-rc1~129^2~3^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a48fa417abc5b86da393c93ab63a9160076a248;p=thirdparty%2Fkernel%2Fstable.git 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 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 --- diff --git a/arch/arm/boot/dts/samsung/exynos4412-midas.dtsi b/arch/arm/boot/dts/samsung/exynos4412-midas.dtsi index 2a67fcc07041a..3d5aace668dc5 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 = ; label = "volume down"; debounce-interval = <10>; }; key-up { gpios = <&gpx2 2 GPIO_ACTIVE_LOW>; - linux,code = <115>; + linux,code = ; label = "volume up"; debounce-interval = <10>; }; key-power { gpios = <&gpx2 7 GPIO_ACTIVE_LOW>; - linux,code = <116>; + linux,code = ; label = "power"; debounce-interval = <10>; wakeup-source;