arm/dt: Add tm ili9881x touch configs

arm/dt:
Add tm ili9881x touch configs.

Change-Id: I8404b09c127c5ee56f18ccd8f7d49302eafdeeb9
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1584313
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: <litong20@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
wangyq13 authored and Carlos Pinho committed 2023-05-31 17:01:00 -03:00
1 parent 8e5cc6c0f6
commit 550ec7bc56
1 file changed
+13 -34
+13 -34
View File
@@ -1,3 +1,7 @@
&qupv3_se2_i2c {
status = "disabled";
};
&tlmm{
pmx_ts_int_active {
ts_int_active: ts_int_active {
@@ -102,27 +106,16 @@
&qupv3_se2_spi {
status = "ok"
qcom,spi-touch-active="himax,hxcommon";
qcom,spi-touch-active="tchip,ilitek";
pinctrl-1 = <&qupv3_se2_spi_sleep &qupv3_se2_cs_sleep>;
himax_0flash_ts@0 {
compatible = "himax,hxcommon";
reg = <0>;
spi-max-frequency = <10000000>;
spi-cpha;
himax,panel-coords = <0 720 0 1600>;
himax,display-coords = <0 720 0 1600>;
/* himax,touch_info = <32 18 0 720 1600 10 0 1>;*/
himax,irq-gpio = <&tlmm 67 0x2008>;
himax,rst-gpio = <&tlmm 66 0x00>;
report_type = <1>;
interrupt-parent = <&tlmm>;
interrupts = <67 0x02>;
/* lab-supply = <&lcdb_ldo_vreg>;
ibb-supply = <&lcdb_ncp_vreg>;*/
pinctrl-names = "pmx_ts_active","pmx_ts_suspend";
pinctrl-0 = <&ts_int_active &ts_reset_active>;
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
panel = <&dsi_hlt_hx83102d_video>;
ilitek@0{
compatible = "tchip,ilitek";
reg = <0x0>;
poll_mode = <0>;
spi-max-frequency = <12000000>;
touch,reset-gpio = <&tlmm 66 0x00>;
touch,irq-gpio = <&tlmm 67 0x2002>;
panel = <&dsi_tm_ili9881x_video>;
};
nova_0flash_ts@1 {
compatible = "novatek,NVT-ts-spi";
@@ -141,18 +134,4 @@
pinctrl-0 = <&ts_int_active &ts_reset_active>;
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
};
chipone_tddi@2 {
compatible = "chipone-tddi";
reg = <2>;
interrupt-parent = <&tlmm>;
spi-max-frequency = <4000000>;
spi-cpha;
spi-cpol;
interrupts = <67 0x02>;
chipone,rst-gpio = <&tlmm 66 0x00>;
chipone,irq-gpio = <&tlmm 67 0x2008>;
chipone,x-res = <720>;
chipone,y-res = <1600>;
panel = <&dsi_tm_icnl9911s_video>;
};
};