6.3 DTSI Document Intro
Qualcomm platforms have a DTS folder. This folder contains setting files such as: apq8074-dragonboard.dtsi. The following shows the part where it is most related to touch features.
focaltech@38 {
compatible = "focaltech, fts";
reg = <0x38>;
interrupt-parent = <&msm_gpio>;
interrupts = <13 0x8>;
vdd-supply = <&pm8916_l17>;
vcc_i2c-supply = <&pm8916_l6>;
focaltech.name = "fts";
focaltech.family-id = <0x54>;
focaltech.reset-gpio = <&msmgpio 16 0x00>;
focaltech.irq-gpio =<&msm_gpio 13 0x00>;
focaltech.id1-gpio = <&msm_gpio 109 0x00>;
focaltech.id2-gpio = <&msm_gpio 114 0x00>;
focaltech,id3-gpio = <&msm_gpio 121 0x00>;
focaltech,display-coords = <0 0 480 854>;
focaltech,panel-coords = <0 0 1080 2000>;
focaltech,button-map= <70 150 907>;
focaltech,no-force-update;
focaltech,i2c-pull-up;
focaltech,group-id = <1>;
focaltech,hard-reset-delay-ms = <20>;
focaltech,soft-reset-delay-ms = <150>;
focaltech,num-max-touches = <10>;
focaltech,fw-name = "FT_Upgrade_App.i";
focaltech,fw-delay-aa-ms = <50>;
focaltech,fw-delay-55-ms = <30>;
focaltech,fw-upgrade-id1 = <0x79>;
focaltech,fw-upgrade-id2 = <0x03>;
focaltech,fw-delay-readid-ms = <10>;
focaltech,fw-delay-era-flsh-ms = <2000>;
};
This document mainly sets some pins in the platform. (such as reset,irq)