Files
android_kernel_xiaomi_sm845…/qcom/waipio-vm-qrd.dtsi
Steve Cohen ff3fdbcdab ARM: dts: msm: use TLMM to reference trusted touch GPIOs on Waipio
Use TLMM gpio pin numbers to lookup the base address offsets of
the GPIO pins used for touch input. This involves adding to the
list of valid GPIOs for TLMM, adding these pins to the list of
IO memory ranges shared between VMs, and converting the hard-
coded offsets to TLMM GPIO references for touch. This change
also adds the missing max-touch-number for MTP and CDP
platforms.

Change-Id: I8d107343acd2908be9d847c72480abd19fda04bd
2021-08-30 20:30:08 -04:00

30 lines
760 B
Plaintext

&soc {
};
&qupv3_se4_i2c {
status = "disabled";
};
&qupv3_se4_spi {
status = "ok";
qcom,spi-touch-active = "focaltech,fts_ts";
focaltech@0 {
compatible = "focaltech,fts_ts";
reg = <0x0>;
spi-max-frequency = <6000000>;
focaltech,max-touch-number = <5>;
focaltech,display-coords = <0 0 1080 2340>;
focaltech,ic-type = <0x3658D488>;
focaltech,trusted-touch-mode = "vm_mode";
focaltech,touch-environment = "tvm";
focaltech,trusted-touch-type = "primary";
focaltech,trusted-touch-spi-irq = <754>;
focaltech,trusted-touch-io-bases = <0x990000 0x910000>;
focaltech,trusted-touch-io-sizes = <0x1000 0x4000>;
focaltech,trusted-touch-vm-gpio-list = <&tlmm 16 0 &tlmm 17 0 &tlmm 18 0
&tlmm 19 0 &tlmm 20 0 &tlmm 21 0x2008>;
};
};