ARM: dts: msm: Add support for sharp qhd dual dsi on shima

This change adds support for sharp qhd dual dsi panel on shima
platform.

Change-Id: I258d1718c611433a06244ae95f02afab86b2dbda
This commit is contained in:
Harigovindan P 2020-10-15 11:20:24 +05:30 • committed by Gerrit - the friendly Code Review server
commit 35112fd295
2 changed files with 33 additions and 0 deletions

View file

@ -4,6 +4,7 @@
#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-sharp-dsc-qhd-plus-cmd.dtsi"
#include "dsi-panel-sim-video.dtsi"
#include <dt-bindings/clock/mdss-5nm-pll-clk.h>
@ -150,6 +151,25 @@
};
};
&dsi_sharp_qhd_plus_dsc_cmd {
qcom,dsi-select-clocks = "mux_byte_clk0", "mux_pixel_clk0";
qcom,mdss-dsi-display-timings {
timing@0 { /* 120 FPS */
qcom,mdss-dsi-panel-phy-timings = [00 1a 07 06 16 15 07
07 07 02 04 00 17 0b];
qcom,display-topology = <2 2 2>;
qcom,default-topology-index = <0>;
};
timing@1 { /* 60 FPS*/
qcom,mdss-dsi-panel-phy-timings = [00 1a 07 06 16 15 07
07 07 02 04 00 17 0b];
qcom,display-topology = <2 2 2>;
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";

View file

@ -68,6 +68,17 @@
qcom,mdss-dsi-bl-inverted-dbv;
qcom,platform-reset-gpio = <&tlmm 24 0>;
};
&dsi_sharp_qhd_plus_dsc_cmd {
qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_pwm";
pwms = <&pm8350c_pwm_2 0 0>;
qcom,bl-pmic-pwm-period-usecs = <100>;
qcom,mdss-dsi-bl-min-level = <1>;
qcom,mdss-dsi-bl-max-level = <4095>;
qcom,platform-reset-gpio = <&tlmm 24 0>;
qcom,platform-bklight-en-gpio = <&tlmm 48 0>;
qcom,platform-en-gpio = <&tlmm 47 0>;
};
&dsi_sim_vid {
qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
@ -76,5 +87,7 @@
};
&sde_dsi {
pinctrl-names = "panel_active", "panel_suspend", "pwm_pin";
pinctrl-2 = <&lcd_backlight_ctrl_default>;
qcom,dsi-default-panel = <&dsi_r66451_amoled_60hz_cmd>;
};