msm: mdss: reset DSI LANE control register during initialization
Sometimes during suspend due to some shared regulator, if DSI PHY was not turned off properly, then DSI LANE control register might store some stale values during resume and this might cause side effects on panel during initialization sequence. So reset the DSI lane control register during DSI host initialization. Change-Id: Ib87281cc1346d88a83e7e26f7dc4951a0798276b Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
This commit is contained in:
parent
6f6cd7047d
commit
bed2a7d69d
1 changed files with 4 additions and 0 deletions
|
@ -403,6 +403,10 @@ void mdss_dsi_host_init(struct mdss_panel_data *pdata)
|
|||
MIPI_OUTP((ctrl_pdata->ctrl_base) + 0x11c,
|
||||
0x23f); /* DSI_CLK_CTRL */
|
||||
|
||||
/* Reset DSI_LANE_CTRL */
|
||||
if (!ctrl_pdata->mmss_clamp)
|
||||
MIPI_OUTP((ctrl_pdata->ctrl_base) + 0x00ac, 0x0);
|
||||
|
||||
dsi_ctrl |= BIT(0); /* enable dsi */
|
||||
MIPI_OUTP((ctrl_pdata->ctrl_base) + 0x0004, dsi_ctrl);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue