From 13b394f8b633d24dcd7d338173b18591a1ebab3c Mon Sep 17 00:00:00 2001 From: Raviteja Tamatam Date: Mon, 2 May 2022 17:52:04 -0700 Subject: [PATCH] ARM: dts: msm: add trusted support for QRD on kalama This change adds trusted touch properties for QRD on kalama target. Change-Id: I9de3a41a250dc4066150777495960965dd17d497 --- qcom/kalama-qrd.dtsi | 12 +++++++++++- qcom/kalama-vm-qrd.dtsi | 10 ++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/qcom/kalama-qrd.dtsi b/qcom/kalama-qrd.dtsi index b16d09ea..f36d7aab 100644 --- a/qcom/kalama-qrd.dtsi +++ b/qcom/kalama-qrd.dtsi @@ -158,6 +158,7 @@ #size-cells = <0>; status = "ok"; qcom,touch-active = "goodix,gt9916S"; + qcom,la-vm; goodix-berlin@0 { compatible = "goodix,gt9916S"; @@ -184,7 +185,16 @@ pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>; pinctrl-2 = <&ts_release>; - qcom,touch-environment = "pvm"; + goodix,touch-type = "primary"; + goodix,qts_en; + qts,trusted-touch-mode = "vm_mode"; + qts,touch-environment = "pvm"; + qts,trusted-touch-type = "primary"; + qts,trusted-touch-spi-irq = <569>; + qts,trusted-touch-io-bases = <0xa90000>; + qts,trusted-touch-io-sizes = <0x1000>; + qts,trusted-touch-vm-gpio-list = <&tlmm 44 0 &tlmm 45 0 &tlmm 46 0 + &tlmm 47 0 &tlmm 24 0 &tlmm 25 0x2008>; }; }; diff --git a/qcom/kalama-vm-qrd.dtsi b/qcom/kalama-vm-qrd.dtsi index 3cc42a8a..5cc3e41b 100644 --- a/qcom/kalama-vm-qrd.dtsi +++ b/qcom/kalama-vm-qrd.dtsi @@ -15,5 +15,15 @@ goodix,panel-max-y = <2400>; goodix,panel-max-w = <255>; goodix,panel-max-p = <4096>; + goodix,touch-type = "primary"; + goodix,qts_en; + qts,trusted-touch-mode = "vm_mode"; + qts,touch-environment = "tvm"; + qts,trusted-touch-type = "primary"; + qts,trusted-touch-spi-irq = <569>; + qts,trusted-touch-io-bases = <0xa90000>; + qts,trusted-touch-io-sizes = <0x1000>; + qts,trusted-touch-vm-gpio-list = <&tlmm 44 0 &tlmm 45 0 &tlmm 46 0 + &tlmm 47 0 &tlmm 24 0 &tlmm 25 0x2008>; }; };