From d9b05944c6e48aae019b2ea78885bd83251f2571 Mon Sep 17 00:00:00 2001 From: Ravikanth Tuniki Date: Wed, 3 Feb 2021 17:32:19 +0530 Subject: [PATCH] ARM: dts: msm: Add display and touch support for Yupik Amoled IDP Add r66451 display cphy panel support and focaltech touch on Yupik target. Change-Id: I2d65e76e91e28b45abbb9bc9ee5eb0c127a6755e --- qcom/yupik-idps-amoled.dtsi | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/qcom/yupik-idps-amoled.dtsi b/qcom/yupik-idps-amoled.dtsi index 885e5af51402..5b336005b02f 100644 --- a/qcom/yupik-idps-amoled.dtsi +++ b/qcom/yupik-idps-amoled.dtsi @@ -2,3 +2,44 @@ &soc { }; + +&pm8350c_l12 { + qcom,init-voltage = <1800000>; +}; + +&sde_dsi { + vddio-supply = <&L12C>; + vdd-supply = <&L13C>; + qcom,dsi-default-panel = <&dsi_r66451_amoled_144hz_cmd_cphy>; +}; + +&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>; + }; +};