From fdca803b73e6a5dad77554bf0cba45eb3c609329 Mon Sep 17 00:00:00 2001 From: Raviteja Tamatam Date: Mon, 18 Apr 2022 16:53:40 -0700 Subject: [PATCH] ARM: dts: msm: add trusted support for SPI on kalama This change adds trusted touch properties for SPI on kalama target. Change-Id: I247dd51132dd8d75dc18875b7ea2ab04be9cfc60 --- qcom/kalama-cdp.dtsi | 11 +++++++++++ qcom/kalama-vm-cdp.dtsi | 10 ++++++++++ 2 files changed, 21 insertions(+) diff --git a/qcom/kalama-cdp.dtsi b/qcom/kalama-cdp.dtsi index eec1fd87..63c2369e 100644 --- a/qcom/kalama-cdp.dtsi +++ b/qcom/kalama-cdp.dtsi @@ -101,6 +101,7 @@ #size-cells = <0>; status = "ok"; qcom,touch-active = "goodix,gt9916S"; + qcom,la-vm; goodix-berlin@0 { compatible = "goodix,gt9916S"; @@ -121,6 +122,16 @@ goodix,panel-max-p = <4096>; goodix,firmware-name = "goodix_firmware_spi.bin"; goodix,config-name = "goodix_cfg_group_spi.bin"; + 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-cdp.dtsi b/qcom/kalama-vm-cdp.dtsi index 9f20f5d7..f1762c8d 100644 --- a/qcom/kalama-vm-cdp.dtsi +++ b/qcom/kalama-vm-cdp.dtsi @@ -11,5 +11,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>; }; };