kernel: dsi: rst pull down config update

update panel_on_rst_pull_down config independent,
some panel need pull down lcd rst only without tp_rst config

Change-Id: I803d063c5c7d224618d5f8960d5373b1671045dc
Signed-off-by: hujing3 <hujing3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1718350
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
hujing3 authored and Gilberto Gambugge committed 2023-06-01 00:43:20 -03:00
1 parent 740a0d62c6
commit 657105bfb6
1 file changed
+3 -3
+3 -3
View File
@@ -2580,10 +2580,10 @@ static int dsi_panel_parse_reset_sequence(struct dsi_panel *panel)
DSI_DEBUG("[%s] panel_on_tp_rst_enable=%d\n", panel->name,
panel->reset_config.panel_on_tp_rst_enable);
if (panel->reset_config.panel_on_tp_rst_enable) {
panel->reset_config.panel_on_rst_pull_down = utils->read_bool(utils->data,
"qcom,mdss-panel-on-rst-pull-down");
panel->reset_config.panel_on_rst_pull_down = utils->read_bool(utils->data,
"qcom,mdss-panel-on-rst-pull-down");
if (panel->reset_config.panel_on_tp_rst_enable) {
rc = utils->read_u32(utils->data,
"qcom,mdss-dsi-tp-rst-post-ms", &panel->reset_config.tp_rst_post_sleep);
if (rc) {