summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Apitzsch <git@apitzsch.eu>2025-08-28 23:25:50 +0300
committerBjorn Andersson <andersson@kernel.org>2025-09-01 21:03:31 +0300
commit6605a07f441cf1e056ec8ea6e553c893151d5527 (patch)
treea0f433a7db53553f1bbb4c0bd9c71a9a11437209
parent6e71c5812856d67881572159098f701184c9356a (diff)
downloadlinux-6605a07f441cf1e056ec8ea6e553c893151d5527.tar.xz
arm64: dts: qcom: msm8976-longcheer-l9360: Add touch keys
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> Link: https://lore.kernel.org/r/20250828-l9360_touch_keys-v1-1-1ce5a279c399@apitzsch.eu Signed-off-by: Bjorn Andersson <andersson@kernel.org>
-rw-r--r--arch/arm64/boot/dts/qcom/msm8976-longcheer-l9360.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8976-longcheer-l9360.dts b/arch/arm64/boot/dts/qcom/msm8976-longcheer-l9360.dts
index e524d58cf0a4..18832a3b9a1c 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 @@
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>;
+ };
};
};