[PATCH] arm64: dts: qcom: msm8916-samsung-gt58: Enable the touchkeys

Nikita Travkin posted 1 patch 1 year, 6 months ago
arch/arm64/boot/dts/qcom/msm8916-samsung-gt58.dts | 1 +
1 file changed, 1 insertion(+)
[PATCH] arm64: dts: qcom: msm8916-samsung-gt58: Enable the touchkeys
Posted by Nikita Travkin 1 year, 6 months ago
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(+)

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>;

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

Best regards,
-- 
Nikita Travkin <nikita@trvn.ru>
Re: [PATCH] arm64: dts: qcom: msm8916-samsung-gt58: Enable the touchkeys
Posted by Bjorn Andersson 1 year, 5 months ago
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,
-- 
Bjorn Andersson <andersson@kernel.org>