ARM: dts: qcom: apq8026-samsung-matissewifi: Configure touch keys
authorMatti Lehtimäki <matti.lehtimaki@gmail.com>
Mon, 4 Dec 2023 09:46:49 +0000 (11:46 +0200)
committerBjorn Andersson <andersson@kernel.org>
Wed, 24 Jan 2024 14:56:23 +0000 (08:56 -0600)
Add touch keys which are handled in touchscreen driver.
Use KEY_APPSELECT for the left button because other devices use that
even though downstream kernel uses KEY_RECENT.

Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lore.kernel.org/r/20231204094649.10094-1-matti.lehtimaki@gmail.com
[bjorn: Wrapped each cell in <>, as requested by Luca]
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts

index cffc069712b2f1b2cc36c80dd51284a77e7fed31..0c28309c6cc575ae2d60ece20476c7a82db1a50c 100644 (file)
                interrupt-parent = <&tlmm>;
                interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
 
+               linux,keycodes = <KEY_RESERVED>,
+                                <KEY_RESERVED>,
+                                <KEY_RESERVED>,
+                                <KEY_RESERVED>,
+                                <KEY_APPSELECT>,
+                                <KEY_BACK>;
+
                pinctrl-names = "default";
                pinctrl-0 = <&tsp_int_rst_default_state>;