diff --git a/qcom/kalama-mtp.dtsi b/qcom/kalama-mtp.dtsi index bafea84e..e34cb3dd 100644 --- a/qcom/kalama-mtp.dtsi +++ b/qcom/kalama-mtp.dtsi @@ -142,6 +142,16 @@ invert_xy; avdd-supply = <&L14B>; iovdd-supply = <&L12B>; + 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-mtp.dtsi b/qcom/kalama-vm-mtp.dtsi index 090e4c24..0c042720 100644 --- a/qcom/kalama-vm-mtp.dtsi +++ b/qcom/kalama-vm-mtp.dtsi @@ -3,12 +3,24 @@ &qupv3_se4_i2c { status = "ok"; + qcom,i2c-touch-active = "goodix,gt9916"; goodix-berlin@5d { - compatible = "goodix,gt9916S"; + compatible = "goodix,gt9916"; reg = <0x5d>; goodix,panel-max-x = <1080>; goodix,panel-max-y = <2400>; goodix,panel-max-w = <255>; goodix,panel-max-p = <4096>; + invert_xy; + 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>; }; };