Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b337722 authored by yushixian's avatar yushixian Committed by Daniel Jacob Chittoor
Browse files

[FP4-1828] [FP4]:modify sequence to solve LCD not resume

 &&&%%%comment:[FP4]:modify sequence to solve LCD not resume
 &&&%%%bug number:FP4-1828
 &&&%%%product name:sm7225_r_fp4
 &&&%%%root cause:coding
 &&&%%%Bug category:T2M
 &&&%%%Module_Impact:display-driver
 &&&%%%Test_Suggestion:no
 &&&%%%Solution:set iris reset high after lcd reset
 &&&%%%Test_Report:test is ok
 &&&%%%VAL Can Test:NO

Change-Id: If1d3dbed053b9dfc552b272628aba9876009a642
parent 701be99c
Loading
Loading
Loading
Loading
+9 −6
Original line number Diff line number Diff line
@@ -478,6 +478,14 @@ static int dsi_panel_power_on(struct dsi_panel *panel)
		goto error_disable_vregs;
	}

#if defined(CONFIG_PXLW_IRIS)
	usleep_range(1*1000, 1*1000);
	iris_clk_enable(true);
	usleep_range(3*1000, 3*1000);
	iris_reset();
	usleep_range(5*1000, 5*1000);
#endif

	rc = dsi_panel_reset(panel);
	if (rc) {
		DSI_ERR("[%s] failed to reset panel, rc=%d\n", panel->name, rc);
@@ -4199,12 +4207,7 @@ int dsi_panel_prepare(struct dsi_panel *panel)
			goto error;
		}
	}
#if defined(CONFIG_PXLW_IRIS)
	usleep_range(1*1000, 1*1000);
	iris_clk_enable(true);
	usleep_range(1*1000, 1*1000);
	iris_reset();
#endif

	rc = dsi_panel_tx_cmd_set(panel, DSI_CMD_SET_PRE_ON);
	if (rc) {
		DSI_ERR("[%s] failed to send DSI_CMD_SET_PRE_ON cmds, rc=%d\n",