ARM: dts: msm: Add dt node for ST Micro touch IC

Add new device tree node for touch IC on Lahaina devices.

Change-Id: Ia90a58da109502b59dd1688dcd0b4dfd4136bf8c
This commit is contained in:
Fei Mao
2020-02-04 23:05:16 +08:00
committed by Gerrit - the friendly Code Review server
parent bd767f2e05
commit 97bdb86fdd
2 changed files with 54 additions and 0 deletions

View File

@@ -41,6 +41,32 @@
};
};
&qupv3_se4_i2c {
#address-cells = <1>;
#size-cells = <0>;
status = "ok";
qcom,i2c-touch-active = "st,fts";
st_fts@49 {
compatible = "st,fts";
reg = <0x49>;
interrupt-parent = <&tlmm>;
interrupts = <23 0x2008>;
vdd-supply = <&L8C>;
avdd-supply = <&L3C>;
pinctrl-names = "pmx_ts_active", "pmx_ts_suspend";
pinctrl-0 = <&ts_active>;
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
st,irq-gpio = <&tlmm 23 0x2008>;
st,reset-gpio = <&tlmm 22 0x00>;
st,regulator_dvdd = "vdd";
st,regulator_avdd = "avdd";
panel = <&dsi_sw43404_amoled_cmd &dsi_sw43404_amoled_video
&dsi_sw43404_amoled_fhd_plus_cmd>;
};
};
&sdhc_2 {
vdd-supply = <&pm8350c_l9>;
qcom,vdd-voltage-level = <2950000 2960000>;

View File

@@ -41,6 +41,34 @@
};
};
&qupv3_se4_i2c {
#address-cells = <1>;
#size-cells = <0>;
status = "ok";
qcom,i2c-touch-active = "st,fts";
st_fts@49 {
compatible = "st,fts";
reg = <0x49>;
interrupt-parent = <&tlmm>;
interrupts = <23 0x2008>;
vdd-supply = <&L8C>;
avdd-supply = <&L3C>;
pinctrl-names = "pmx_ts_active", "pmx_ts_suspend";
pinctrl-0 = <&ts_active>;
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
st,irq-gpio = <&tlmm 23 0x2008>;
st,reset-gpio = <&tlmm 22 0x00>;
st,x-flip = <1>;
st,y-flip = <1>;
st,regulator_dvdd = "vdd";
st,regulator_avdd = "avdd";
panel = <&dsi_sw43404_amoled_cmd &dsi_sw43404_amoled_video
&dsi_sw43404_amoled_fhd_plus_cmd>;
};
};
&sdhc_2 {
vdd-supply = <&pm8350c_l9>;
qcom,vdd-voltage-level = <2950000 2960000>;