summaryrefslogtreecommitdiff
path: root/drivers/video/nxp/imx/dw_dsi_imx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/nxp/imx/dw_dsi_imx.c')
-rw-r--r--drivers/video/nxp/imx/dw_dsi_imx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/nxp/imx/dw_dsi_imx.c b/drivers/video/nxp/imx/dw_dsi_imx.c
index cf65ec02e5..6bdd382621 100644
--- a/drivers/video/nxp/imx/dw_dsi_imx.c
+++ b/drivers/video/nxp/imx/dw_dsi_imx.c
@@ -349,6 +349,10 @@ static int dw_dsi_imx_check_timing(struct udevice *dev, struct display_timing *t
return -ENOTCONN;
}
+ /* DSI force the Polarities as high */
+ priv->adj.flags &= ~(DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW);
+ priv->adj.flags |= DISPLAY_FLAGS_HSYNC_HIGH | DISPLAY_FLAGS_VSYNC_HIGH;
+
*timing = priv->adj;
return 0;