kernel/display:hawao+oled:change lcm timing
hawaii OLED: changed lcm reset and avdd time interval kernel power on Change-Id: Ie109a466f226d42eea313ed2bf842dd5a27a058b Reviewed-on: https://gerrit.mot.com/2175708 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Jing Hu <hujing3@lenovo.com> Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
1 parent
2e228e5b97
commit
597ccad829
2 files changed
+10
No files matched your search
@@ -542,6 +542,11 @@ int dsi_panel_reset(struct dsi_panel *panel)
|
||||
rc);
|
||||
}
|
||||
|
||||
if(panel->reset_avdd_time_interval > 0)
|
||||
{
|
||||
usleep_range(panel->reset_avdd_time_interval * 1000, (panel->reset_avdd_time_interval * 1000) + 100);
|
||||
}
|
||||
|
||||
exit:
|
||||
return rc;
|
||||
}
|
||||
@@ -2776,6 +2781,10 @@ static int dsi_panel_parse_misc_features(struct dsi_panel *panel)
|
||||
panel->glbl_rescode_bot_ctrl = -1;
|
||||
}
|
||||
|
||||
if(utils->read_u32(utils->data,"qcom,reset-avdd-time-interval", &panel->reset_avdd_time_interval))
|
||||
{
|
||||
panel->reset_avdd_time_interval = 0;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -367,6 +367,7 @@ struct dsi_panel {
|
||||
|
||||
int glbl_rescode_top_ctrl;
|
||||
int glbl_rescode_bot_ctrl;
|
||||
int reset_avdd_time_interval;
|
||||
};
|
||||
|
||||
static inline bool dsi_panel_ulps_feature_enabled(struct dsi_panel *panel)
|
||||
|
||||
Reference in new issue
Block a user