|
@@ -356,7 +356,8 @@ static int dsi_panel_power_off(struct dsi_panel *panel)
|
|
|
if (gpio_is_valid(panel->reset_config.disp_en_gpio))
|
|
|
gpio_set_value(panel->reset_config.disp_en_gpio, 0);
|
|
|
|
|
|
- if (gpio_is_valid(panel->reset_config.reset_gpio))
|
|
|
+ if (gpio_is_valid(panel->reset_config.reset_gpio) &&
|
|
|
+ !panel->reset_gpio_always_on)
|
|
|
gpio_set_value(panel->reset_config.reset_gpio, 0);
|
|
|
|
|
|
if (gpio_is_valid(panel->reset_config.lcd_mode_sel_gpio))
|
|
@@ -1949,6 +1950,9 @@ static int dsi_panel_parse_misc_features(struct dsi_panel *panel)
|
|
|
panel->lp11_init = utils->read_bool(utils->data,
|
|
|
"qcom,mdss-dsi-lp11-init");
|
|
|
|
|
|
+ panel->reset_gpio_always_on = utils->read_bool(utils->data,
|
|
|
+ "qcom,platform-reset-gpio-always-on");
|
|
|
+
|
|
|
panel->spr_info.enable = false;
|
|
|
panel->spr_info.pack_type = MSM_DISPLAY_SPR_TYPE_MAX;
|
|
|
|
|
@@ -1970,7 +1974,6 @@ static int dsi_panel_parse_misc_features(struct dsi_panel *panel)
|
|
|
panel->spr_info.enable ?
|
|
|
msm_spr_pack_type_str[panel->spr_info.pack_type] : "none");
|
|
|
|
|
|
-
|
|
|
return 0;
|
|
|
}
|
|
|
|