mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
drm/rockchip: dsi2: fix dsi2 host configuration process
in order to switch dsi2 working mode, operation DSI2_PWR_UP from power on to power off and then power on, it may trigger dsi2 host to send unexpected cmd to panel, resulting in panel abnormality, therefore, do not operate DSI2_PWR_UP when switching the working mode. Signed-off-by: Guochun Huang <hero.huang@rock-chips.com> Change-Id: I78d969dbc16262c9f7367fe5c25688d84cb1f935
This commit is contained in:
@@ -786,10 +786,7 @@ static void dw_mipi_dsi2_pre_enable(struct dw_mipi_dsi2 *dsi2)
|
||||
|
||||
static void dw_mipi_dsi2_enable(struct dw_mipi_dsi2 *dsi2)
|
||||
{
|
||||
regmap_write(dsi2->regmap, DSI2_PWR_UP, RESET);
|
||||
|
||||
dw_mipi_dsi2_ipi_set(dsi2);
|
||||
regmap_write(dsi2->regmap, DSI2_PWR_UP, POWER_UP);
|
||||
|
||||
if (dsi2->mode_flags & MIPI_DSI_MODE_VIDEO)
|
||||
dw_mipi_dsi2_set_vid_mode(dsi2);
|
||||
|
||||
Reference in New Issue
Block a user