[3/3] arm64: dts: qcom: msm8916-samsung-gt510: Add capacitive keys

Message ID 20230725-gt5-panel-v1-3-7c787e33a614@trvn.ru
State New
Headers
Series Add display panels to gt5 devices |

Commit Message

Nikita Travkin July 25, 2023, 11:52 a.m. UTC
  gt510 has two capacitive keys on the bottom. Define keycodes to enable
them.

Signed-off-by: Nikita Travkin <nikita@trvn.ru>
---
 arch/arm64/boot/dts/qcom/msm8916-samsung-gt510.dts | 2 ++
 1 file changed, 2 insertions(+)
  

Patch

diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-gt510.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-gt510.dts
index a73cc7565bfb..75c4854ecd64 100644
--- a/arch/arm64/boot/dts/qcom/msm8916-samsung-gt510.dts
+++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-gt510.dts
@@ -107,6 +107,8 @@  touchscreen@4a {
 
 		pinctrl-0 = <&tsp_int_rst_default>;
 		pinctrl-names = "default";
+
+		linux,keycodes = <KEY_APPSELECT KEY_BACK>;
 	};
 };