From 5e68438363bceb21fa4f411fe9cbd193d24e2d24 Mon Sep 17 00:00:00 2001 From: Ritesh Kumar Date: Tue, 9 Nov 2021 13:08:19 +0530 Subject: [PATCH] ARM: dts: msm: Enable touch for amoled idps on diwali Enable touch for amoled idps on diwali platform. Change-Id: Ib9501fcbb1b1d9111d43a814d3423c206c653dbe --- qcom/diwali-idp-amoled.dtsi | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/qcom/diwali-idp-amoled.dtsi b/qcom/diwali-idp-amoled.dtsi index 4387108d..c3f74745 100644 --- a/qcom/diwali-idp-amoled.dtsi +++ b/qcom/diwali-idp-amoled.dtsi @@ -3,3 +3,36 @@ &soc { }; + +&qupv3_se0_i2c { + status = "disabled"; +}; + +&qupv3_se0_spi { + status = "ok"; + + #address-cells = <1>; + #size-cells = <0>; + qcom,spi-touch-active = "focaltech,fts_ts"; + + focaltech@0 { + compatible = "focaltech,fts_ts"; + reg = <0x0>; + spi-max-frequency = <6000000>; + interrupt-parent = <&tlmm>; + interrupts = <51 0x2008>; + focaltech,reset-gpio = <&tlmm 17 0x00>; + focaltech,irq-gpio = <&tlmm 51 0x2008>; + focaltech,display-coords = <0 0 1080 2340>; + focaltech,max-touch-number = <5>; + focaltech,ic-type = <0x3658D488>; + focaltech,touch-type = "primary"; + + vdd-supply = <&L3C>; + + 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>; + }; +};