From 8e92a765b4a2f4f90203ea4629c66a5fee2d89d8 Mon Sep 17 00:00:00 2001 From: Harigovindan P Date: Mon, 12 Oct 2020 10:37:35 +0530 Subject: [PATCH] ARM: dts: msm: Add support for cphy video mode panel on shima This change adds support for cphy video mode panel on shima platform. Change-Id: I5e18853bb8bf8560fbecb8012c550e363adec50c --- display/shima-sde-display-common.dtsi | 14 ++++++++++++++ display/shima-sde-display-idp.dtsi | 10 ++++++++++ 2 files changed, 24 insertions(+) diff --git a/display/shima-sde-display-common.dtsi b/display/shima-sde-display-common.dtsi index 277df1f64085..95d7ee0a9079 100644 --- a/display/shima-sde-display-common.dtsi +++ b/display/shima-sde-display-common.dtsi @@ -3,6 +3,7 @@ #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-r66451-dsc-fhd-plus-video-cphy.dtsi" #include "dsi-panel-sim-video.dtsi" #include @@ -136,6 +137,19 @@ }; }; +&dsi_r66451_amoled_video_cphy { + qcom,dsi-select-clocks = "mux_byte_clk0", "mux_pixel_clk0", + "cphy_byte_clk0", "cphy_pixel_clk0"; + qcom,mdss-dsi-display-timings { + timing@0 { + qcom,mdss-dsi-panel-phy-timings = [00 00 00 00 1e 17 04 + 19 03 02 04 00 00 00]; + 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 6db7f7e5dbf1..fd96a123258d 100644 --- a/display/shima-sde-display-idp.dtsi +++ b/display/shima-sde-display-idp.dtsi @@ -59,6 +59,16 @@ qcom,platform-reset-gpio = <&tlmm 24 0>; }; +&dsi_r66451_amoled_video_cphy { + 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-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";