From ff00dbbf4d71aabfe6c5fa8d55090036a17deab2 Mon Sep 17 00:00:00 2001 From: Rajeev Nandan Date: Wed, 27 Nov 2024 14:37:20 +0530 Subject: [PATCH] ARM: dts: msm: add trusted touch properties for kera Add trusted touch properties for tuna on CDP, MTP platforms. Change-Id: I93d85e4b21387835cffc08ebfd7376cb1d98f95d Signed-off-by: Rajeev Nandan --- qcom/kera-vm-cdp.dtsi | 23 +++++++++++++++++++++++ qcom/kera-vm-mtp.dtsi | 23 +++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/qcom/kera-vm-cdp.dtsi b/qcom/kera-vm-cdp.dtsi index 1510613d..10bb9113 100644 --- a/qcom/kera-vm-cdp.dtsi +++ b/qcom/kera-vm-cdp.dtsi @@ -5,3 +5,26 @@ &soc { }; + +&qupv3_se8_spi { + status = "ok"; + goodix-berlin@0 { + compatible = "goodix,gt9916S"; + reg = <0>; + spi-max-frequency = <1000000>; + goodix,panel-max-x = <1080>; + 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 = <653>; + qts,trusted-touch-io-bases = <0xa90000>; + qts,trusted-touch-io-sizes = <0x1000>; + qts,trusted-touch-vm-gpio-list = <&tlmm 0 0 &tlmm 1 0 &tlmm 2 0 + &tlmm 3 0 &tlmm 16 0 &tlmm 13 0x2008>; + }; +}; diff --git a/qcom/kera-vm-mtp.dtsi b/qcom/kera-vm-mtp.dtsi index 1510613d..10bb9113 100644 --- a/qcom/kera-vm-mtp.dtsi +++ b/qcom/kera-vm-mtp.dtsi @@ -5,3 +5,26 @@ &soc { }; + +&qupv3_se8_spi { + status = "ok"; + goodix-berlin@0 { + compatible = "goodix,gt9916S"; + reg = <0>; + spi-max-frequency = <1000000>; + goodix,panel-max-x = <1080>; + 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 = <653>; + qts,trusted-touch-io-bases = <0xa90000>; + qts,trusted-touch-io-sizes = <0x1000>; + qts,trusted-touch-vm-gpio-list = <&tlmm 0 0 &tlmm 1 0 &tlmm 2 0 + &tlmm 3 0 &tlmm 16 0 &tlmm 13 0x2008>; + }; +};