From 830398b379d8efe26ad233746ae832fb553081b8 Mon Sep 17 00:00:00 2001 From: Ritesh Kumar Date: Mon, 5 Oct 2020 13:10:23 +0530 Subject: [PATCH] ARM: dts: msm: Add focaltech touch support on holi cdp This change adds focaltech touch support on holi cdp which is needed for 120Hz video and command mode panels. Change-Id: I03cb8927faeec77cf0af9268d3000f5b3ff75fc3 --- qcom/holi-cdp.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/qcom/holi-cdp.dtsi b/qcom/holi-cdp.dtsi index 5aba97afae07..7cbc0ae32d3c 100644 --- a/qcom/holi-cdp.dtsi +++ b/qcom/holi-cdp.dtsi @@ -232,6 +232,27 @@ panel = <&dsi_rm69299_visionox_amoled_video &dsi_rm69299_visionox_amoled_cmd>; }; + + focaltech@38 { + compatible = "focaltech,fts_ts"; + reg = <0x38>; + interrupt-parent = <&tlmm>; + interrupts = <22 0x2008>; + focaltech,reset-gpio = <&tlmm 21 0x00>; + focaltech,irq-gpio = <&tlmm 22 0x2008>; + focaltech,max-touch-number = <5>; + focaltech,display-coords = <0 0 1080 2340>; + + vdd-supply = <&L6A>; + + 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>; + + panel = <&dsi_r66451_amoled_cmd &dsi_r66451_amoled_video>; + }; }; #include "camera/holi-camera-sensor-cdp.dtsi"