From c8500bcd6b25a3aba76bed788e4bed1d20098477 Mon Sep 17 00:00:00 2001 From: Ritesh Kumar Date: Sat, 13 Feb 2021 14:44:11 +0530 Subject: [PATCH] ARM: dts: msm: Add focaltech spi touch node in yupik qrd svm Add focaltech spi trusted touch node in yupik qrd trusted vm. Change-Id: Ie7907d3054bb399238ab07008f4af64679adc453 --- qcom/yupik-vm-idp.dtsi | 17 +++++++++++++++++ qcom/yupik-vm-qrd.dtsi | 21 +++++++++++++++++++++ qcom/yupik-vm.dtsi | 11 +---------- 3 files changed, 39 insertions(+), 10 deletions(-) diff --git a/qcom/yupik-vm-idp.dtsi b/qcom/yupik-vm-idp.dtsi index 17f1e228977f..4b35423120b9 100644 --- a/qcom/yupik-vm-idp.dtsi +++ b/qcom/yupik-vm-idp.dtsi @@ -1,2 +1,19 @@ &soc { }; + +&qupv3_se13_i2c { + status = "ok"; + novatek@62 { + compatible = "novatek,NVT-ts"; + reg = <0x62>; + novatek,trusted-touch-mode = "vm_mode"; + novatek,touch-environment = "tvm"; + novatek,trusted-touch-spi-irq = <601>; + novatek,trusted-touch-io-bases = <0xf134000 0xf135000 0xf169000 0xf151000 0xa94000 0x00a10000>; + novatek,trusted-touch-io-sizes = <0x1000 0x1000 0x1000 0x1000 0x1000 0x4000>; + }; +}; + +&qupv3_se13_spi { + status = "disabled"; +}; diff --git a/qcom/yupik-vm-qrd.dtsi b/qcom/yupik-vm-qrd.dtsi index 17f1e228977f..663740454ebd 100644 --- a/qcom/yupik-vm-qrd.dtsi +++ b/qcom/yupik-vm-qrd.dtsi @@ -1,2 +1,23 @@ &soc { }; + +&qupv3_se13_i2c { + status = "disabled"; +}; + +&qupv3_se13_spi { + status = "ok"; + focaltech@0 { + compatible = "focaltech,fts_ts"; + reg = <0x0>; + spi-max-frequency = <6000000>; + focaltech,max-touch-number = <5>; + focaltech,display-coords = <0 0 1080 2340>; + focaltech,ic-type = <0x3658D488>; + focaltech,trusted-touch-mode = "vm_mode"; + focaltech,touch-environment = "tvm"; + focaltech,trusted-touch-spi-irq = <601>; + focaltech,trusted-touch-io-bases = <0xf134000 0xf135000 0xf136000 0xf137000 0xf169000 0xf151000 0xa94000 0x00a10000>; + focaltech,trusted-touch-io-sizes = <0x1000 0x1000 0x1000 0x1000 0x1000 0x1000 0x1000 0x4000>; + }; +}; diff --git a/qcom/yupik-vm.dtsi b/qcom/yupik-vm.dtsi index c3e4356bd0fb..2d7ee6a5baf8 100644 --- a/qcom/yupik-vm.dtsi +++ b/qcom/yupik-vm.dtsi @@ -281,16 +281,7 @@ dma-names = "tx", "rx"; qcom,wrapper-core = <&qupv3_1>; qcom,le-vm; - status = "ok"; - novatek@62 { - compatible = "novatek,NVT-ts"; - reg = <0x62>; - novatek,trusted-touch-mode = "vm_mode"; - novatek,touch-environment = "tvm"; - novatek,trusted-touch-spi-irq = <601>; - novatek,trusted-touch-io-bases = <0xf134000 0xf135000 0xf169000 0xf151000 0xa94000 0x00a10000>; - novatek,trusted-touch-io-sizes = <0x1000 0x1000 0x1000 0x1000 0x1000 0x4000>; - }; + status = "disabled"; }; qupv3_se13_spi: spi@a94000 {