From 40a71ca76575c9c2534dd1a1d3369415f321a110 Mon Sep 17 00:00:00 2001 From: Amine Najahi Date: Fri, 16 Oct 2020 15:24:16 -0400 Subject: [PATCH] ARM: dts: msm: select visionox panel and touch controller for TVM Select visionox default panel and focaltech touch controller for Lahaina MTP V2.1 trusted VM. Change-Id: I78eb1dcbd20c342d1db9857abcb710bb60832e82 --- qcom/lahaina-vm-mtp-v2.1.dtsi | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/qcom/lahaina-vm-mtp-v2.1.dtsi b/qcom/lahaina-vm-mtp-v2.1.dtsi index 2a76b5241e44..a15cbce6a7d7 100644 --- a/qcom/lahaina-vm-mtp-v2.1.dtsi +++ b/qcom/lahaina-vm-mtp-v2.1.dtsi @@ -1 +1,19 @@ -#include "lahaina-vm-mtp.dtsi" + +&qupv3_se4_i2c { + status = "ok"; + focaltech@38 { + compatible = "focaltech,fts_ts"; + reg = <0x38>; + focaltech,max-touch-number = <5>; + focaltech,display-coords = <0 0 1080 2340>; + 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 0x990000 0x00910000>; + focaltech,trusted-touch-io-sizes = <0x1000 0x1000 0x1000 0x1000 0x1000 0x4000>; + }; +}; + +&sde_dsi { + qcom,dsi-default-panel = <&dsi_r66451_amoled_cmd>; +};