Merge "ARM: dts: msm: enable ST touch driver for sdmmagpie device"

tirimbino
qctecmdr Service 6 years ago committed by Gerrit - the friendly Code Review server
commit 9351196035
  1. 21
      arch/arm64/boot/dts/qcom/sdmmagpie-idp.dtsi
  2. 45
      arch/arm64/boot/dts/qcom/sdmmagpie-pinctrl.dtsi

@ -145,3 +145,24 @@
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs";
qcom,platform-reset-gpio = <&pm6150l_gpios 9 0>;
};
&qupv3_se7_i2c {
status = "ok";
st_fts@49 {
compatible = "st,fts";
reg = <0x49>;
interrupt-parent = <&tlmm>;
interrupts = <9 0x2008>;
vdd-supply = <&pm6150_l10>;
avdd-supply = <&pm6150l_l7>;
pinctrl-names = "pmx_ts_active", "pmx_ts_suspend";
pinctrl-0 = <&ts_active>;
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
st,irq-gpio = <&tlmm 9 0x2008>;
st,reset-gpio = <&tlmm 8 0x00>;
st,regulator_dvdd = "vdd";
st,regulator_avdd = "avdd";
st,x-flip;
st,y-flip;
};
};

@ -1181,5 +1181,50 @@
bias-disable;
};
};
pmx_ts_active {
ts_active: ts_active {
mux {
pins = "gpio8", "gpio9";
function = "gpio";
};
config {
pins = "gpio8", "gpio9";
drive-strength = <8>;
bias-pull-up;
};
};
};
pmx_ts_int_suspend {
ts_int_suspend: ts_int_suspend {
mux {
pins = "gpio9";
function = "gpio";
};
config {
pins = "gpio9";
drive-strength = <2>;
bias-pull-down;
};
};
};
pmx_ts_reset_suspend {
ts_reset_suspend: ts_reset_suspend {
mux {
pins = "gpio8";
function = "gpio";
};
config {
pins = "gpio8";
drive-strength = <2>;
bias-pull-down;
};
};
};
};
};

Loading…
Cancel
Save