From 435acaa1aa07dfc7f6e1561064e8d5bf579d9c9c Mon Sep 17 00:00:00 2001 From: Vishnuvardhan Prodduturi Date: Mon, 21 Sep 2020 16:56:39 +0530 Subject: [PATCH] ARM: dts: msm: add touch node for shima trustedvm Add focaltech node for trusted vm device tree and enable trusted touch on trusted vm for shima platform. Change-Id: I365460863f8c88eae07ff8807efdc59198087ad3 --- qcom/shima-vm.dtsi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/qcom/shima-vm.dtsi b/qcom/shima-vm.dtsi index 7b4540df1afb..2ef350f4a81f 100644 --- a/qcom/shima-vm.dtsi +++ b/qcom/shima-vm.dtsi @@ -272,7 +272,16 @@ dma-names = "tx", "rx"; qcom,wrapper-core = <&qupv3_0>; qcom,le-vm; - status = "disabled"; + status = "ok"; + focaltech@38 { + compatible = "focaltech,fts_ts"; + reg = <0x38>; + focaltech,trusted-touch-mode = "vm_mode"; + focaltech,touch-environment = "tvm"; + focaltech,trusted-touch-spi-irq = <566>; + focaltech,trusted-touch-io-bases = <0xF114000 0xF115000 0xF116000 0xF117000 0x988000 0x00910000>; + focaltech,trusted-touch-io-sizes = <0x1000 0x1000 0x1000 0x1000 0x1000 0x4000>; + }; }; };