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.lehtim...@gmail.com>
---
 .../boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts    | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts 
b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts
index f516e0426bb9..8a2ba2aadf23 100644
--- a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts
+++ b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts
@@ -268,6 +268,13 @@ touchscreen@4a {
                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>;
 
-- 
2.40.1


Reply via email to