ARM: dts: msm: add touch driver device nodes for tuna
Add focaltech touch driver device nodes on tuna for CDP, MTP, QRD and RCM platforms. Change-Id: Id0c3f46621ac82950a259adf09fddc1685398b09 Signed-off-by: Jyothi bommidi <quic_jbommidi@quicinc.com> Signed-off-by: Anand Tarakh <quic_atarakh@quicinc.com>
This commit is contained in:
committed by
Anand Tarakh
parent
fc140de718
commit
fe23b69843
@@ -2,3 +2,39 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
* 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>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
@@ -2,3 +2,39 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
* 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>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
@@ -1638,4 +1638,66 @@
|
|||||||
drive-strength = <2>;
|
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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@@ -2,3 +2,42 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
* 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>;
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
Reference in New Issue
Block a user