ARM: dts: qcom: apq8026-samsung-matissewifi: Configure touch keys
PATCH 1/1 ARM: dts: qcom: apq8026-samsung-matissewifi: Configure touch keys
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.
--- .../boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts +7 -0
@@ -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>;
Signature · 1 line
2.40.1
Quoted 6 lines · Matti Lehtimäki
Add touch keys which are handled in touchscreen driver. Use
KEY_APPSELECTfor the left button because other devices use that even though downstream kernel usesKEY_RECENT.Signed-off-by Matti Lehtimäki <[email protected]>---
Konrad
Quoted 15 lines · On Montag, 4. Dezember 2023 10:46:49 CET Matti Lehtimäki wrote:
Add touch keys which are handled in touchscreen driver. Use
KEY_APPSELECTfor the left button because other devices use that even though downstream kernel usesKEY_RECENT.Signed-off-by Matti Lehtimäki <[email protected]>--- .../boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts | 7 +++++++ 1 file changed, 7 insertions(+)(quoted diff) +0
-0
b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dtsindexf516e0426bb9..8a2ba2aadf23100644
arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts touchscreen@4a { · line 276
Quoted 9 lines
arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts +6
-0@@ -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>;
Might be prettier like this since it's 6 items you're adding, not one long property?
linux,keycodes = <KEY_RESERVED>, <KEY_RESERVED>, <KEY_RESERVED>, <KEY_RESERVED>, <KEY_APPSELECT>, <KEY_BACK>;
Resulting dtb should be the same, so it's just a stylistic thing.
In any case:
Quoted 3 lines
arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts +1
-0+ pinctrl-names = "default"; pinctrl-0 = <&tsp_int_rst_default_state>;
Quoted 5 lines · Matti Lehtimäki
Add touch keys which are handled in touchscreen driver. Use
KEY_APPSELECTfor the left button because other devices use that even though downstream kernel usesKEY_RECENT.
Applied, thanks!
[1/1] ARM: dts: qcom: apq8026-samsung-matissewifi: Configure touch keys
commit: ffb05e91b68bc58484b94b5d3d1aa8e559278fd6
Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>