diff options
author | Tom Rini <trini@konsulko.com> | 2019-11-18 10:48:29 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-11-18 10:48:29 -0500 |
commit | fffb826ea05e9ae41e75fab756fa405824cad5e2 (patch) | |
tree | f86899905dd3670fe7fac3411bc073de11749701 /drivers/video/mxsfb.c | |
parent | d64efd920e429f1c5dc085e2e8614c5d139ec37d (diff) | |
parent | 754815b854258abf08f50e757599e8d15c9a85bd (diff) | |
download | u-boot-fffb826ea05e9ae41e75fab756fa405824cad5e2.zip u-boot-fffb826ea05e9ae41e75fab756fa405824cad5e2.tar.gz u-boot-fffb826ea05e9ae41e75fab756fa405824cad5e2.tar.bz2 |
Merge tag 'video-for-v2020.01-rc2' of https://gitlab.denx.de/u-boot/custodians/u-boot-video
- fix i.MX6ULL evk black screen observed while reboot stress tests
- remove "synopsys,dw-mipi-dsi" compatible to reduce the device tree
differences between Linux and U-Boot for stm32mp1 platform
Diffstat (limited to 'drivers/video/mxsfb.c')
-rw-r--r-- | drivers/video/mxsfb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index c529810..d73a8ba 100644 --- a/drivers/video/mxsfb.c +++ b/drivers/video/mxsfb.c @@ -57,9 +57,6 @@ static void mxs_lcd_init(u32 fb_addr, struct ctfb_res_modes *mode, int bpp) uint32_t word_len = 0, bus_width = 0; uint8_t valid_data = 0; - /* Kick in the LCDIF clock */ - mxs_set_lcdclk(MXS_LCDIF_BASE, PS2KHZ(mode->pixclock)); - /* Restart the LCDIF block */ mxs_reset_block(®s->hw_lcdif_ctrl_reg); @@ -130,6 +127,9 @@ static void mxs_lcd_init(u32 fb_addr, struct ctfb_res_modes *mode, int bpp) /* FIFO cleared */ writel(LCDIF_CTRL1_FIFO_CLEAR, ®s->hw_lcdif_ctrl1_clr); + /* Kick in the LCDIF clock */ + mxs_set_lcdclk(MXS_LCDIF_BASE, PS2KHZ(mode->pixclock)); + /* RUN! */ writel(LCDIF_CTRL_RUN, ®s->hw_lcdif_ctrl_set); } |