From 1b60e553b55d7dff690a63eb517e8fe2f883c4de Mon Sep 17 00:00:00 2001 From: Yiqiang Feng Date: Tue, 15 Mar 2022 15:54:08 +0800 Subject: [PATCH] arm/dt: add txd ili7807s touchpanel devicestree rhodei/dts: add a sencond touchpanel txd ili7807s for rhodei Change-Id: Ib7d0925c1a6379adbbad904e73246293851608bc Signed-off-by: Yiqiang Feng Reviewed-on: https://gerrit.mot.com/2216311 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Yeqing Wang Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/rhodei-touchscreen.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/qcom/rhodei-touchscreen.dtsi b/qcom/rhodei-touchscreen.dtsi index 4a41f385f9b7..39e266db95e3 100755 --- a/qcom/rhodei-touchscreen.dtsi +++ b/qcom/rhodei-touchscreen.dtsi @@ -128,4 +128,20 @@ panel = <&dsi_nt36672c_fhd_plus_120_video>; status = "ok"; }; + ilitek@0 { + compatible = "tchip,ilitek"; + reg = <0x1>; + spi-max-frequency = <6000000>; + interrupt-parent = <&tlmm>; + interrupts = <22 0x2001>; + panel = <&dsi_ili7807s_fhd_plus_120_video>; + mmi,status = "/chosen","mmi,panel_name","contains","ili7807s"; + touch,reset-gpio = <&tlmm 21 0x00>; + touch,irq-gpio = <&tlmm 22 0x2001>; + pinctrl-names = "pmx_ts_int_active","pmx_ts_int_suspend_high"; + pinctrl-3 = <&ts_active>; + pinctrl-4 = <&ts_int_suspend_high>; + ilitek,report_gesture_key; + status = "ok"; + }; };