]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: msm8916-samsung-gt58: Enable the touchkeys
authorNikita Travkin <nikita@trvn.ru>
Tue, 6 Aug 2024 15:45:29 +0000 (20:45 +0500)
committerBjorn Andersson <andersson@kernel.org>
Thu, 15 Aug 2024 02:57:18 +0000 (21:57 -0500)
The tablet has two capacitive buttons on the scren bezel. Enable them by
adding the keycodes in the dt.

Signed-off-by: Nikita Travkin <nikita@trvn.ru>
Link: https://lore.kernel.org/r/20240806-msm8916-gt58-tkey-v1-1-8987b06c5921@trvn.ru
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/msm8916-samsung-gt58.dts

index 579312ed53ce1a3654c4163774e719a9c07e6906..3d6d9dd3b8a89aa0c0906b3bf592c34eb2152086 100644 (file)
@@ -75,6 +75,7 @@
 
                touchscreen-size-x = <768>;
                touchscreen-size-y = <1024>;
+               linux,keycodes = <KEY_APPSELECT KEY_BACK>;
 
                vcca-supply = <&reg_vdd_tsp>;
                vdd-supply = <&pm8916_l6>;