From 91c737ada2aa41881e124c95cb16364abc37232f Mon Sep 17 00:00:00 2001 From: Harigovindan P Date: Thu, 15 Oct 2020 12:06:50 +0530 Subject: [PATCH 1/2] ARM: dts: msm: Add cphy video/cmd mode touch support on shima Add cphy video/cmd mode touch support on shima target. Change-Id: I7a089bc246b428c79adb3e09cf94c357e8447a65 --- qcom/shima-idp.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qcom/shima-idp.dtsi b/qcom/shima-idp.dtsi index b02db7983bda..61ac7628134b 100644 --- a/qcom/shima-idp.dtsi +++ b/qcom/shima-idp.dtsi @@ -189,7 +189,9 @@ &dsi_r66451_amoled_video &dsi_r66451_amoled_60hz_video &dsi_r66451_amoled_60hz_cmd - &dsi_r66451_amoled_144hz_cmd>; + &dsi_r66451_amoled_144hz_cmd + &dsi_r66451_amoled_video_cphy + &dsi_r66451_amoled_cmd_cphy>; focaltech,trusted-touch-mode = "vm_mode"; focaltech,touch-environment = "pvm"; From 2432f0dd54d19ff6bb2287ce20037431cf85e50f Mon Sep 17 00:00:00 2001 From: Ritesh Kumar Date: Thu, 15 Oct 2020 13:57:29 +0530 Subject: [PATCH 2/2] ARM: dts: msm: Enable touch for Dual DSI panel on shima Enable touch for Dual DSI panel on shima. Change-Id: Icb198d7831b1932b199c0e680af0f32c72f0913f --- qcom/shima-idp.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/qcom/shima-idp.dtsi b/qcom/shima-idp.dtsi index 61ac7628134b..9b4e69e21615 100644 --- a/qcom/shima-idp.dtsi +++ b/qcom/shima-idp.dtsi @@ -199,6 +199,27 @@ focaltech,trusted-touch-io-bases = <0xF114000 0xF115000 0xF116000 0xF117000 0x988000 0x00910000>; focaltech,trusted-touch-io-sizes = <0x1000 0x1000 0x1000 0x1000 0x1000 0x4000>; }; + + atmel_mxt_ts@4a { + compatible = "atmel,maxtouch"; + reg = <0x4a>; + interrupt-parent = <&tlmm>; + interrupts = <23 0x2008>; + avdd-supply = <&L3C>; + vdd-supply = <&L8C>; + pinctrl-names = "pmx_ts_active", "pmx_ts_suspend"; + pinctrl-0 = <&ts_active>; + pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>; + + atmel,xy_switch; + atmel,inverty; + atmel,invertx; + reset-gpios = <&tlmm 22 0x00>; + irq-gpios = <&tlmm 23 0x2008>; + atmel,panel-coords = <0 0 479 799>; + atmel,display-coords = <0 0 339 729>; + panel = <&dsi_sharp_qhd_plus_dsc_cmd>; + }; }; &dai_mi2s2 {