From 908d1709d5ce3847abc8c50bad662aa982d4e86e Mon Sep 17 00:00:00 2001 From: Satya Rama Aditya Pinapala Date: Thu, 16 Jul 2020 06:22:42 -0700 Subject: [PATCH] ARM: dts: msm: add focaltech touch node to MTP device tree Add focaltech touch node support to MTP device tree file. Change-Id: I61b040de6eeaac635165ebbdf9f05c14b10fcedb --- qcom/lahaina-mtp.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/qcom/lahaina-mtp.dtsi b/qcom/lahaina-mtp.dtsi index cbab35fac2f1..20f0acd0b31d 100644 --- a/qcom/lahaina-mtp.dtsi +++ b/qcom/lahaina-mtp.dtsi @@ -83,6 +83,28 @@ panel = <&dsi_sw43404_amoled_cmd &dsi_sw43404_amoled_video &dsi_sw43404_amoled_fhd_plus_cmd>; }; + + focaltech@38 { + compatible = "focaltech,fts_ts"; + reg = <0x38>; + interrupt-parent = <&tlmm>; + interrupts = <23 0x2008>; + focaltech,reset-gpio = <&tlmm 22 0x00>; + focaltech,irq-gpio = <&tlmm 23 0x2008>; + focaltech,max-touch-number = <5>; + focaltech,display-coords = <0 0 1080 2340>; + + vdd-supply = <&L3C>; + vcc_i2c-supply = <&L8C>; + + pinctrl-names = "pmx_ts_active", "pmx_ts_suspend","pmx_ts_release"; + pinctrl-0 = <&ts_active>; + pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>; + pinctrl-2 = <&ts_release>; + + panel = <&dsi_r66451_amoled_cmd + &dsi_r66451_amoled_video>; + }; }; &sdhc_2 {