From ce58c6444242637b5e607cc67f49f7afb35f0606 Mon Sep 17 00:00:00 2001 From: Satya Rama Aditya Pinapala Date: Wed, 11 Mar 2020 22:03:21 -0700 Subject: [PATCH] ARM: dts: msm: add node for Atmel touch on Lahaina Change adds Atmel max touch devicetree entry for lahaina CDP target. Change-Id: I3e406cd816709cf5819cc063c51e093b051ae807 --- qcom/lahaina-cdp.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/qcom/lahaina-cdp.dtsi b/qcom/lahaina-cdp.dtsi index c1263403b41a..5f6fa401e9aa 100644 --- a/qcom/lahaina-cdp.dtsi +++ b/qcom/lahaina-cdp.dtsi @@ -97,6 +97,27 @@ panel = <&dsi_r66451_amoled_cmd &dsi_r66451_amoled_video>; }; + + atmel_mxt_ts@4a { + compatible = "atmel,maxtouch"; + reg = <0x4a>; + interrupt-parent = <&tlmm>; + interrupts = <23 0x2008>; + avdd-supply = <&L3C>; + vdd-supply = <&L8C>; + pinctrl-names = "pmx_ts_active", "pmx_ts_suspend"; + pinctrl-0 = <&ts_active>; + pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>; + + atmel,xy_switch; + atmel,inverty; + atmel,invertx; + reset-gpios = <&tlmm 22 0x00>; + irq-gpios = <&tlmm 23 0x2008>; + atmel,panel-coords = <0 0 479 799>; + atmel,display-coords = <0 0 339 729>; + panel = <&dsi_sharp_qhd_plus_dsc_cmd>; + }; }; &i3c3 {