From b7c746fc49523f726b342d61eaf2473694ffc7b5 Mon Sep 17 00:00:00 2001 From: Ritesh Kumar Date: Thu, 15 Feb 2024 14:33:35 +0530 Subject: [PATCH] ARM: dts: msm: enable trusted touch on sun mtp v8 Enable trusted touch on sun mtp v8 platform. Change-Id: I44c5fdeae221f075586767f06582b8da4caabc8e Signed-off-by: Ritesh Kumar --- qcom/sun-vm-mtp-v8.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/qcom/sun-vm-mtp-v8.dtsi b/qcom/sun-vm-mtp-v8.dtsi index 566e8304..72a4ff8f 100644 --- a/qcom/sun-vm-mtp-v8.dtsi +++ b/qcom/sun-vm-mtp-v8.dtsi @@ -4,3 +4,24 @@ */ &soc { }; + +&qupv3_se4_i2c { + status = "ok"; + qcom,touch-active = "st,fts"; + + st_fts@49 { + compatible = "st,fts"; + reg = <0x49>; + + st,touch-type = "primary"; + st,qts_en; + qts,trusted-touch-mode = "vm_mode"; + qts,touch-environment = "pvm"; + qts,trusted-touch-type = "primary"; + qts,trusted-touch-spi-irq = <652>; + qts,trusted-touch-io-bases = <0xa90000>; + qts,trusted-touch-io-sizes = <0x1000>; + qts,trusted-touch-vm-gpio-list = <&tlmm 48 0 &tlmm 49 0 &tlmm 50 0 + &tlmm 51 0 &tlmm 161 0 &tlmm 162 0x2008>; + }; +};