linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: msm8976-longcheer-l9360: Add touch keys
@ 2025-08-28 20:25 André Apitzsch via B4 Relay
  2025-09-01 19:45 ` Bjorn Andersson
  0 siblings, 1 reply; 2+ messages in thread
From: André Apitzsch via B4 Relay @ 2025-08-28 20:25 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm, devicetree,
	linux-kernel, André Apitzsch

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>



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: qcom: msm8976-longcheer-l9360: Add touch keys
  2025-08-28 20:25 [PATCH] arm64: dts: qcom: msm8976-longcheer-l9360: Add touch keys André Apitzsch via B4 Relay
@ 2025-09-01 19:45 ` Bjorn Andersson
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Andersson @ 2025-09-01 19:45 UTC (permalink / raw)
  To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	André Apitzsch
  Cc: ~postmarketos/upstreaming, phone-devel, linux-arm-msm, devicetree,
	linux-kernel


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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-09-01 19:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-28 20:25 [PATCH] arm64: dts: qcom: msm8976-longcheer-l9360: Add touch keys André Apitzsch via B4 Relay
2025-09-01 19:45 ` Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).