Merge "ARM: dts: msm: add touch driver device nodes for tuna"

This commit is contained in:
QCTECMDR Service
2024-10-01 22:45:32 -07:00
committed by Gerrit - the friendly Code Review server
4 changed files with 173 additions and 0 deletions

View File

@@ -2,3 +2,39 @@
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&qupv3_se4_i2c {
#address-cells = <1>;
#size-cells = <0>;
status = "ok";
qcom,touch-active = "st,fts";
st_fts@49 {
compatible = "st,fts";
reg = <0x49>;
interrupt-parent = <&tlmm>;
interrupts = <176 0x2008>;
vdd-supply = <&L1D>;
avdd-supply = <&L22B>;
pinctrl-names = "pmx_ts_active", "pmx_ts_suspend";
pinctrl-0 = <&ts_active>;
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
st,irq-gpio = <&tlmm 176 0x2008>;
st,irq-flags = <8>;
st,reset-gpio = <&tlmm 189 0x00>;
st,regulator_dvdd = "vdd";
st,regulator_avdd = "avdd";
st,touch-type = "primary";
st,qts_en;
qts,trusted-touch-mode = "vm_mode";
qts,touch-environment = "pvm";
qts,trusted-touch-type = "primary";
qts,trusted-touch-spi-irq = <658>;
qts,trusted-touch-io-bases = <0xa90000>;
qts,trusted-touch-io-sizes = <0x1000>;
qts,trusted-touch-vm-gpio-list = <&tlmm 16 0 &tlmm 17 0 &tlmm 18 0
&tlmm 19 0 &tlmm 189 0 &tlmm 176 0x2008>;
};
};

View File

@@ -2,3 +2,39 @@
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&qupv3_se4_i2c {
#address-cells = <1>;
#size-cells = <0>;
status = "ok";
qcom,touch-active = "st,fts";
st_fts@49 {
compatible = "st,fts";
reg = <0x49>;
interrupt-parent = <&tlmm>;
interrupts = <176 0x2008>;
vdd-supply = <&L1D>;
avdd-supply = <&L22B>;
pinctrl-names = "pmx_ts_active", "pmx_ts_suspend";
pinctrl-0 = <&ts_active>;
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
st,irq-gpio = <&tlmm 176 0x2008>;
st,irq-flags = <8>;
st,reset-gpio = <&tlmm 189 0x00>;
st,regulator_dvdd = "vdd";
st,regulator_avdd = "avdd";
st,touch-type = "primary";
st,qts_en;
qts,trusted-touch-mode = "vm_mode";
qts,touch-environment = "pvm";
qts,trusted-touch-type = "primary";
qts,trusted-touch-spi-irq = <658>;
qts,trusted-touch-io-bases = <0xa90000>;
qts,trusted-touch-io-sizes = <0x1000>;
qts,trusted-touch-vm-gpio-list = <&tlmm 16 0 &tlmm 17 0 &tlmm 18 0
&tlmm 19 0 &tlmm 189 0 &tlmm 176 0x2008>;
};
};

View File

@@ -1638,4 +1638,66 @@
drive-strength = <2>;
};
};
/* touchscreen pins */
pmx_ts_active {
ts_active: ts_active {
mux {
pins = "gpio189", "gpio176";
function = "gpio";
};
config {
pins = "gpio189", "gpio176";
drive-strength = <8>;
bias-pull-up;
};
};
};
pmx_ts_reset_suspend {
ts_reset_suspend: ts_reset_suspend {
mux {
pins = "gpio189";
function = "gpio";
};
config {
pins = "gpio189";
drive-strength = <2>;
bias-pull-down;
};
};
};
pmx_ts_int_suspend {
ts_int_suspend: ts_int_suspend {
mux {
pins = "gpio176";
function = "gpio";
};
config {
pins = "gpio176";
drive-strength = <2>;
bias-pull-down;
};
};
};
pmx_ts_release {
ts_release: ts_release {
mux {
pins = "gpio189", "gpio176";
function = "gpio";
};
config {
pins = "gpio189", "gpio176";
drive-strength = <2>;
bias-disable;
};
};
};
};

View File

@@ -2,3 +2,42 @@
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
&qupv3_se4_spi {
#address-cells = <1>;
#size-cells = <0>;
status = "ok";
qcom,touch-active = "st,fts";
qcom,la-vm;
st_fts@0 {
compatible = "st,fts";
reg = <0x0>;
spi-max-frequency = <1000000>;
interrupt-parent = <&tlmm>;
interrupts = <176 0x2008>;
vdd-supply = <&L1D>;
avdd-supply = <&L22B>;
pinctrl-names = "pmx_ts_active", "pmx_ts_suspend";
pinctrl-0 = <&ts_active>;
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
st,irq-gpio = <&tlmm 176 0x2008>;
st,irq-flags = <8>;
st,reset-gpio = <&tlmm 189 0x00>;
st,regulator_dvdd = "vdd";
st,regulator_avdd = "avdd";
st,touch-type = "primary";
st,qts_en;
qts,trusted-touch-mode = "vm_mode";
qts,touch-environment = "pvm";
qts,trusted-touch-type = "primary";
qts,trusted-touch-spi-irq = <658>;
qts,trusted-touch-io-bases = <0xa90000>;
qts,trusted-touch-io-sizes = <0x1000>;
qts,trusted-touch-vm-gpio-list = <&tlmm 16 0 &tlmm 17 0 &tlmm 18 0
&tlmm 19 0 &tlmm 189 0 &tlmm 176 0x2008>;
};
};