]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: msm8976-longcheer-l9360: Add touch keys
authorAndré Apitzsch <git@apitzsch.eu>
Thu, 28 Aug 2025 20:25:50 +0000 (22:25 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 1 Sep 2025 18:03:31 +0000 (13:03 -0500)
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>
arch/arm64/boot/dts/qcom/msm8976-longcheer-l9360.dts

index e524d58cf0a4b7693741036e3988700559a507f0..18832a3b9a1c37d1c891bce64d1a9372e5be439e 100644 (file)
                        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>;
+               };
        };
 };