Merge "ARM: dts: msm: Add display nodes for Blair target"

This commit is contained in:
qctecmdr 2021-05-25 03:46:10 -07:00 • committed by Gerrit - the friendly Code Review server
commit a2d4d2fb53
4 changed files with 128 additions and 0 deletions

View file

@ -0,0 +1,88 @@
/* Should extend holi-sde-display-cdp-pm6125.dtsi */
&tlmm {
pmx_sde_bias_en: pmx_sde_bias_en {
lcd_bias_en_active: lcd_bias_en_active {
mux {
pins = "gpio47";
function = "gpio";
};
config {
pins = "gpio47";
drive-strength = <8>; /* 8 mA */
bias-disable = <0>; /* no pull */
};
};
lcd_bias_en_suspend: lcd_bias_en_suspend {
mux {
pins = "gpio47";
function = "gpio";
};
config {
pins = "gpio47";
drive-strength = <2>; /* 2 mA */
bias-pull-down; /* PULL DOWN */
};
};
};
};
&pm6125_gpios {
lcd_backlight_ctrl {
lcd_backlight_ctrl_default: lcd_backlight_ctrl_default {
pins = "gpio8";
function = "func1";
input-disable;
output-enable;
bias-disable;
power-source = <1>; /* 1.8V */
qcom,drive-strength = <2>;
};
};
};
&sde_dsi {
pinctrl-names = "panel_active", "panel_suspend", "pwm_pin";
pinctrl-0 = <&sde_te_active &disp_pins_reset &lcd_bias_en_active>;
pinctrl-1 = <&sde_te_suspend &lcd_bias_en_suspend>;
pinctrl-2 = <&lcd_backlight_ctrl_default>;
};
&dsi_nt36672e_fhd_plus_60_video {
qcom,panel-supply-entries = <&dsi_panel_pwr_supply_no_labibb>;
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_pwm";
pwms = <&pm6125_pwm 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 = <&pmr735a_gpios 2 0>;
qcom,platform-en-gpio = <&tlmm 47 0>;
qcom,platform-bklight-en-gpio = <&pmr735a_gpios 3 0>;
};
&dsi_nt36672e_fhd_plus_120_video {
qcom,panel-supply-entries = <&dsi_panel_pwr_supply_no_labibb>;
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_pwm";
pwms = <&pm6125_pwm 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 = <&pmr735a_gpios 2 0>;
qcom,platform-en-gpio = <&tlmm 47 0>;
qcom,platform-bklight-en-gpio = <&pmr735a_gpios 3 0>;
};
&dsi_nt36672e_fhd_plus_144_video {
qcom,panel-supply-entries = <&dsi_panel_pwr_supply_no_labibb>;
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_pwm";
pwms = <&pm6125_pwm 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 = <&pmr735a_gpios 2 0>;
qcom,platform-en-gpio = <&tlmm 47 0>;
qcom,platform-bklight-en-gpio = <&pmr735a_gpios 3 0>;
};

View file

@ -0,0 +1 @@
/* Should extend holi-sde-display-mtp-pm6125.dtsi */

24
display/blair-sde.dtsi Normal file
View file

@ -0,0 +1,24 @@
#include "holi-sde.dtsi"
&mdss_dsi0 {
vdda-1p2-supply = <&L4A>;
};
&mdss_dsi_phy0 {
compatible = "qcom,dsi-phy-v4.1";
reg = <0xae94400 0x800>,
<0xae94900 0x27c>,
<0xaf03000 0x8>,
<0xae94200 0x100>;
reg-names = "dsi_phy", "pll_base", "gdsc_base", "dyn_refresh_base";
pll-label = "dsi_pll_5nm";
qcom,platform-lane-config = [00 00 0a 0a
00 00 0a 0a
00 00 0a 0a
00 00 0a 0a
00 00 8a 8a];
vdda-0p9-supply = <&S1E_LEVEL>;
};

View file

@ -163,6 +163,21 @@
};
};
dsi_panel_pwr_supply_no_labibb: dsi_panel_pwr_supply_no_labibb {
#size-cells = <0>;
#address-cells = <1>;
qcom,panel-supply-entry@0 {
reg = <0>;
qcom,supply-name = "vddio";
qcom,supply-min-voltage = <1800000>;
qcom,supply-max-voltage = <1800000>;
qcom,supply-enable-load = <62000>;
qcom,supply-disable-load = <80>;
qcom,supply-post-on-sleep = <20>;
};
};
sde_dsi: qcom,dsi-display-primary {
compatible = "qcom,dsi-display";
label = "primary";