From f59a94dda424350a2f759ef04d1bdb95ee7516fa Mon Sep 17 00:00:00 2001 From: Fei Mao Date: Mon, 11 Jan 2021 15:31:41 +0800 Subject: [PATCH] ARM: dts: qcom: Add SPI touch node for QRD yupik Add touch node for QRD Yupik device. Change-Id: Ic3cbdded46a2ccc63ca599069a1b91f2a60de0e7 --- qcom/yupik-qrd.dtsi | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/qcom/yupik-qrd.dtsi b/qcom/yupik-qrd.dtsi index 10ff47a51cdb..a8da2f964778 100644 --- a/qcom/yupik-qrd.dtsi +++ b/qcom/yupik-qrd.dtsi @@ -525,3 +525,34 @@ status = "ok"; }; + +&qupv3_se13_i2c { + status = "disabled"; +}; + +&qupv3_se13_spi { + status = "ok"; + qcom,spi-touch-active = "focaltech,fts_ts"; + + focaltech@0 { + compatible = "focaltech,fts_ts"; + reg = <0x0>; + spi-max-frequency = <6000000>; + interrupt-parent = <&tlmm>; + interrupts = <81 0x2008>; + focaltech,reset-gpio = <&tlmm 105 0x00>; + focaltech,irq-gpio = <&tlmm 81 0x2008>; + focaltech,display-coords = <0 0 1080 2340>; + focaltech,max-touch-number = <5>; + focaltech,ic-type = <0x3658D488>; + + 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>; + panel = <&dsi_r66451_amoled_144hz_cmd_cphy &dsi_r66451_amoled_90hz_cmd_cphy>; + }; + +};