diff mbox series

arm64: dts: qcom: msm8916-samsung-gt58: Enable the touchkeys

Message ID 20240806-msm8916-gt58-tkey-v1-1-8987b06c5921@trvn.ru (mailing list archive)
State Accepted
Headers show
Series arm64: dts: qcom: msm8916-samsung-gt58: Enable the touchkeys | expand

Commit Message

Nikita Travkin Aug. 6, 2024, 3:45 p.m. UTC
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>
---
 arch/arm64/boot/dts/qcom/msm8916-samsung-gt58.dts | 1 +
 1 file changed, 1 insertion(+)


---
base-commit: 1e391b34f6aa043c7afa40a2103163a0ef06d179
change-id: 20240806-msm8916-gt58-tkey-dba2aebda5d7

Best regards,

Comments

Bjorn Andersson Aug. 15, 2024, 8:40 p.m. UTC | #1
On Tue, 06 Aug 2024 20:45:29 +0500, Nikita Travkin wrote:
> The tablet has two capacitive buttons on the scren bezel. Enable them by
> adding the keycodes in the dt.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: msm8916-samsung-gt58: Enable the touchkeys
      commit: 3e813b5408b7b9b061c2b1733d0089e4fae2e1ba

Best regards,
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-gt58.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-gt58.dts
index 579312ed53ce..3d6d9dd3b8a8 100644
--- a/arch/arm64/boot/dts/qcom/msm8916-samsung-gt58.dts
+++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-gt58.dts
@@ -75,6 +75,7 @@  touchscreen@20 {
 
 		touchscreen-size-x = <768>;
 		touchscreen-size-y = <1024>;
+		linux,keycodes = <KEY_APPSELECT KEY_BACK>;
 
 		vcca-supply = <&reg_vdd_tsp>;
 		vdd-supply = <&pm8916_l6>;