summaryrefslogtreecommitdiff
path: root/drivers/video/mxsfb.c
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2019-05-08 00:09:54 -0700
committerYe Li <ye.li@nxp.com>2019-05-29 20:02:04 -0700
commit6d6b0c810cdc7f5b60d2959d9b5cd891bc5b8296 (patch)
tree9c734bd071d8cc922c12c7263fa6deb30cc6d09d /drivers/video/mxsfb.c
parentd74caad677814a0366cb1220d1b998de3cb01588 (diff)
MLK-21889-6 video: Add iMX8M Nano support to MIPI DSI
Add the IMX8MN to the SEC MIPI DSI kconfig dependency, and update display GPR registers for iMX8MN changes. Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'drivers/video/mxsfb.c')
-rw-r--r--drivers/video/mxsfb.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c
index 838c037e5b..f3f31f796b 100644
--- a/drivers/video/mxsfb.c
+++ b/drivers/video/mxsfb.c
@@ -299,8 +299,13 @@ void *video_hw_init(void)
printf("%s\n", panel.modeIdent);
#ifdef CONFIG_IMX_MIPI_DSI_BRIDGE
+ int dsi_ret;
imx_mipi_dsi_bridge_mode_set(&fbmode);
- imx_mipi_dsi_bridge_enable();
+ dsi_ret = imx_mipi_dsi_bridge_enable();
+ if (dsi_ret) {
+ printf("Enable DSI bridge failed, err %d\n", dsi_ret);
+ return NULL;
+ }
#endif
/* Start framebuffer */