From bc71a4b4ad7ec85d680e6fe624940b2c5a47da62 Mon Sep 17 00:00:00 2001 From: Amine Najahi Date: Mon, 19 Oct 2020 12:52:06 -0400 Subject: [PATCH] ARM: dts: msm: add trusted touch support in PVM for Lahaina Add trusted nodes to focaltech touch controller in primary VM. This will allow PVM to enable/disable secure touch when starting/stopping a TUI session. Change-Id: Ia977e8e5269b874a0ad685926d02aa5f3f8054bc --- qcom/lahaina-cdp.dtsi | 6 ++++++ qcom/lahaina-mtp.dtsi | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/qcom/lahaina-cdp.dtsi b/qcom/lahaina-cdp.dtsi index c9b2da960900..4989e97dd77e 100644 --- a/qcom/lahaina-cdp.dtsi +++ b/qcom/lahaina-cdp.dtsi @@ -102,6 +102,12 @@ panel = <&dsi_r66451_amoled_cmd &dsi_r66451_amoled_video>; + + focaltech,trusted-touch-mode = "vm_mode"; + focaltech,touch-environment = "pvm"; + focaltech,trusted-touch-spi-irq = <566>; + focaltech,trusted-touch-io-bases = <0xF114000 0xF115000 0xF116000 0xF117000 0x990000 0x00910000>; + focaltech,trusted-touch-io-sizes = <0x1000 0x1000 0x1000 0x1000 0x1000 0x4000>; }; atmel_mxt_ts@4a { diff --git a/qcom/lahaina-mtp.dtsi b/qcom/lahaina-mtp.dtsi index b896ca9f97d0..39f56296aed0 100644 --- a/qcom/lahaina-mtp.dtsi +++ b/qcom/lahaina-mtp.dtsi @@ -104,6 +104,12 @@ panel = <&dsi_r66451_amoled_cmd &dsi_r66451_amoled_video>; + + focaltech,trusted-touch-mode = "vm_mode"; + focaltech,touch-environment = "pvm"; + focaltech,trusted-touch-spi-irq = <566>; + focaltech,trusted-touch-io-bases = <0xF114000 0xF115000 0xF116000 0xF117000 0x990000 0x00910000>; + focaltech,trusted-touch-io-sizes = <0x1000 0x1000 0x1000 0x1000 0x1000 0x4000>; }; };