From 58579aea4270970922079c1db33b9cff53042899 Mon Sep 17 00:00:00 2001 From: Satya Rama Aditya Pinapala Date: Wed, 4 Mar 2020 18:42:16 -0800 Subject: [PATCH] ARM: dts: msm: add node for Focaltech touch on Lahaina Change adds Focaltech touch devicetree entry for lahaina CDP target. Change-Id: Idb51bdf4bc2fb41a5295d5638e50867099049a70 --- qcom/lahaina-cdp.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/qcom/lahaina-cdp.dtsi b/qcom/lahaina-cdp.dtsi index 735be4e52a9f..8c4733859a71 100644 --- a/qcom/lahaina-cdp.dtsi +++ b/qcom/lahaina-cdp.dtsi @@ -74,6 +74,28 @@ qcom,ipc-gpio = <&tlmm 38 0>; qcom,finger-detect-gpio = <&tlmm 39 0>; }; + + 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>; + }; }; &i3c3 {