From 4e26e8311aa38bbbbd80fdafe147cffa5a4d7f4b Mon Sep 17 00:00:00 2001 From: Rajeev Nandan Date: Wed, 19 May 2021 22:22:15 +0530 Subject: [PATCH] ARM: dts: msm: add touch support of lcd panel for Blair target This change adds touch support of nt36672e lcd panel for CDP platform of the Blair target. Change-Id: I15d5f8e95c4fb113dc13a47e54738bb54c5a437d --- qcom/blair-cdp.dtsi | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/qcom/blair-cdp.dtsi b/qcom/blair-cdp.dtsi index 6a838a4152e8..266eafca1927 100644 --- a/qcom/blair-cdp.dtsi +++ b/qcom/blair-cdp.dtsi @@ -10,3 +10,32 @@ &pm6125_pwm { status = "ok"; }; + +&qupv3_se8_i2c { + #address-cells = <1>; + #size-cells = <0>; + + status = "ok"; + + novatek@62 { + compatible = "novatek,NVT-ts"; + reg = <0x62>; + + interrupt-parent = <&tlmm>; + interrupts = <22 0x2008>; + + 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 = <&pmx_ts_release>; + + novatek,reset-gpio = <&tlmm 21 0x00>; + novatek,irq-gpio = <&tlmm 22 0x2008>; + + panel = <&dsi_nt36672e_fhd_plus_60_video + &dsi_nt36672e_fhd_plus_120_video + &dsi_nt36672e_fhd_plus_144_video>; + }; +};