[PATCH] arm64: dts: qcom: msm8976-longcheer-l9360: Add touch keys

André Apitzsch via B4 Relay posted 1 patch 1 month ago
arch/arm64/boot/dts/qcom/msm8976-longcheer-l9360.dts | 6 ++++++
1 file changed, 6 insertions(+)
[PATCH] arm64: dts: qcom: msm8976-longcheer-l9360: Add touch keys
Posted by André Apitzsch via B4 Relay 1 month ago
From: André Apitzsch <git@apitzsch.eu>

The phone has three capacitive buttons on the screen bezel. Enable them
by adding the keycodes in the dt.

Signed-off-by: André Apitzsch <git@apitzsch.eu>
---
 arch/arm64/boot/dts/qcom/msm8976-longcheer-l9360.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8976-longcheer-l9360.dts b/arch/arm64/boot/dts/qcom/msm8976-longcheer-l9360.dts
index e524d58cf0a4b7693741036e3988700559a507f0..18832a3b9a1c37d1c891bce64d1a9372e5be439e 100644
--- a/arch/arm64/boot/dts/qcom/msm8976-longcheer-l9360.dts
+++ b/arch/arm64/boot/dts/qcom/msm8976-longcheer-l9360.dts
@@ -190,6 +190,12 @@ rmi4-f12@12 {
 			reg = <0x12>;
 			syna,sensor-type = <1>;
 		};
+
+		rmi4-f1a@1a {
+			reg = <0x1a>;
+			/* Keys listed from right to left */
+			linux,keycodes = <KEY_APPSELECT KEY_HOMEPAGE KEY_BACK>;
+		};
 	};
 };
 

---
base-commit: 8cd53fb40a304576fa86ba985f3045d5c55b0ae3
change-id: 20250828-l9360_touch_keys-86d39bebf762

Best regards,
-- 
André Apitzsch <git@apitzsch.eu>


Re: [PATCH] arm64: dts: qcom: msm8976-longcheer-l9360: Add touch keys
Posted by Bjorn Andersson 1 month ago
On Thu, 28 Aug 2025 22:25:50 +0200, André Apitzsch wrote:
> The phone has three capacitive buttons on the screen bezel. Enable them
> by adding the keycodes in the dt.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: msm8976-longcheer-l9360: Add touch keys
      commit: 6605a07f441cf1e056ec8ea6e553c893151d5527

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>