From fc61f751d5a4d5ad633a747c3f710efcfe08cdf2 Mon Sep 17 00:00:00 2001 From: Harigovindan P Date: Thu, 24 Sep 2020 09:50:00 +0530 Subject: [PATCH 1/2] ARM: dts: msm: Add 144 fps support on shima target Add 144 fps panel display support on shima target. Change-Id: Ic70a4aec92fabb6c284dc5f36783cba9f4d04751 --- display/shima-sde-display-common.dtsi | 13 +++++++++++++ display/shima-sde-display-idp.dtsi | 11 +++++++++++ 2 files changed, 24 insertions(+) diff --git a/display/shima-sde-display-common.dtsi b/display/shima-sde-display-common.dtsi index 9a03e141c726..d601cb6cb167 100644 --- a/display/shima-sde-display-common.dtsi +++ b/display/shima-sde-display-common.dtsi @@ -2,6 +2,7 @@ #include "dsi-panel-r66451-dsc-fhd-plus-60hz-video.dtsi" #include "dsi-panel-r66451-dsc-fhd-plus-cmd.dtsi" #include "dsi-panel-r66451-dsc-fhd-plus-60hz-cmd.dtsi" +#include "dsi-panel-r66451-dsc-fhd-plus-144hz-cmd.dtsi" #include "dsi-panel-sim-video.dtsi" #include @@ -121,6 +122,18 @@ }; }; +&dsi_r66451_amoled_144hz_cmd { + qcom,dsi-select-clocks = "mux_byte_clk0", "mux_pixel_clk0"; + qcom,mdss-dsi-display-timings { + timing@0 { + qcom,mdss-dsi-panel-phy-timings = [00 22 09 09 19 17 09 + 09 09 02 04 00 1d 0e]; + qcom,display-topology = <2 2 1>; + qcom,default-topology-index = <0>; + }; + }; +}; + &dsi_r66451_amoled_cmd { qcom,dsi-select-clocks = "mux_byte_clk0", "mux_pixel_clk0"; qcom,dsi-select-sec-clocks = "mux_byte_clk1", "mux_pixel_clk1"; diff --git a/display/shima-sde-display-idp.dtsi b/display/shima-sde-display-idp.dtsi index 3cb99c69fa0b..9b5ef968a80a 100644 --- a/display/shima-sde-display-idp.dtsi +++ b/display/shima-sde-display-idp.dtsi @@ -42,6 +42,17 @@ qcom,platform-reset-gpio = <&tlmm 24 0>; }; +&dsi_r66451_amoled_144hz_cmd { + qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; + qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; + qcom,mdss-dsi-bl-min-level = <1>; + qcom,mdss-dsi-bl-max-level = <4095>; + qcom,mdss-brightness-max-level = <255>; + qcom,mdss-dsi-bl-inverted-dbv; + qcom,platform-te-gpio = <&tlmm 82 0>; + qcom,platform-reset-gpio = <&tlmm 24 0>; +}; + &dsi_sim_vid { qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_dcs"; From a76bfd958c4324d44d6ac376adeb7a8bfda67d6f Mon Sep 17 00:00:00 2001 From: Harigovindan P Date: Mon, 28 Sep 2020 10:51:34 +0530 Subject: [PATCH 2/2] ARM: dts: msm: Enable ESD for 144 fps panel on shima target Enabling ESD for 144fps panel on shima target. Change-Id: I58e04b573125d058700e75c580e94b5acacfd270 --- display/shima-sde-display.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/display/shima-sde-display.dtsi b/display/shima-sde-display.dtsi index c13225ec0af7..190d87b4dda2 100644 --- a/display/shima-sde-display.dtsi +++ b/display/shima-sde-display.dtsi @@ -113,3 +113,12 @@ qcom,mdss-dsi-panel-status-value = <0x1c>; qcom,mdss-dsi-panel-status-read-length = <1>; }; + +&dsi_r66451_amoled_144hz_cmd { + qcom,esd-check-enabled; + qcom,mdss-dsi-panel-status-check-mode = "reg_read"; + qcom,mdss-dsi-panel-status-command = [06 01 00 01 00 00 01 0a]; + qcom,mdss-dsi-panel-status-command-state = "dsi_lp_mode"; + qcom,mdss-dsi-panel-status-value = <0x1c>; + qcom,mdss-dsi-panel-status-read-length = <1>; +};