ARM: dts: msm: Add focaltech node in trustedvm devicetree

Add focaltech node for trusted vm device tree and enable
trusted touch on trusted vm for lahaina qrd. Also, move
fts node to mtp and cdp vm dtsi file.

Change-Id: I2e8f80a2b6c622c02526cbc6a2b2a1f8d632d593
This commit is contained in:
Ritesh Kumar 2020-09-06 02:15:13 +05:30
commit 45e58cc22c
4 changed files with 47 additions and 13 deletions

View file

@ -1 +1,18 @@
/*#include "display/lahaina-sde-display-cdp.dtsi"*/
&qupv3_se4_i2c {
status = "ok"
st_fts@49 {
compatible = "st,fts";
reg = <0x49>;
st,x-flip = <1>;
st,y-flip = <1>;
st,regulator_dvdd = "vdd";
st,regulator_avdd = "avdd";
st,trusted-touch-mode = "vm_mode";
st,touch-environment = "tvm";
st,trusted-touch-spi-irq = <566>;
st,trusted-touch-io-bases = <0xF114000 0xF115000 0xF116000 0xF117000 0x990000 0x00910000>;
st,trusted-touch-io-sizes = <0x1000 0x1000 0x1000 0x1000 0x1000 0x4000>;
};
};

View file

@ -1 +1,18 @@
/*#include "display/lahaina-sde-display-mtp.dtsi"*/
&qupv3_se4_i2c {
status = "ok"
st_fts@49 {
compatible = "st,fts";
reg = <0x49>;
st,x-flip = <1>;
st,y-flip = <1>;
st,regulator_dvdd = "vdd";
st,regulator_avdd = "avdd";
st,trusted-touch-mode = "vm_mode";
st,touch-environment = "tvm";
st,trusted-touch-spi-irq = <566>;
st,trusted-touch-io-bases = <0xF114000 0xF115000 0xF116000 0xF117000 0x990000 0x00910000>;
st,trusted-touch-io-sizes = <0x1000 0x1000 0x1000 0x1000 0x1000 0x4000>;
};
};

View file

@ -1 +1,14 @@
/*#include "display/lahaina-sde-display-qrd.dtsi"*/
&qupv3_se4_i2c {
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 0x990000 0x00910000>;
focaltech,trusted-touch-io-sizes = <0x1000 0x1000 0x1000 0x1000 0x1000 0x4000>;
};
};

View file

@ -302,19 +302,6 @@
qcom,wrapper-core = <&qupv3_0>;
qcom,le-vm;
status = "ok"
st_fts@49 {
compatible = "st,fts";
reg = <0x49>;
st,x-flip = <1>;
st,y-flip = <1>;
st,regulator_dvdd = "vdd";
st,regulator_avdd = "avdd";
st,trusted-touch-mode = "vm_mode";
st,touch-environment = "tvm";
st,trusted-touch-spi-irq = <566>;
st,trusted-touch-io-bases = <0xF114000 0xF115000 0xF116000 0xF117000 0x990000 0x00910000>;
st,trusted-touch-io-sizes = <0x1000 0x1000 0x1000 0x1000 0x1000 0x4000>;
};
};
qupv3_se4_spi: spi@990000 {