Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45e58cc2 authored by Ritesh Kumar's avatar Ritesh Kumar
Browse files

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
parent 8b88a78e
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
/*#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>;
	};
};
+17 −0
Original line number Diff line number Diff line
/*#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>;
	};
};
+13 −0
Original line number Diff line number Diff line
/*#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>;
	};
};
+0 −13
Original line number Diff line number Diff line
@@ -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 {