
5 Nov
2015
5 Nov
'15
8:30 a.m.
On Thu, 29 Oct 2015 15:54:49 +0800 Peng Fan Peng.Fan@freescale.com wrote:
Introudce a new function lcdif_power_down.
- Waits for a VSYNC interrupt to guarantee the reset is done at the VSYNC edge, which somehow makes the LCDIF consume the display FIFO(?) and helps the LCDIF work normally at the kernel stage.
- Add power down function to stop lcdif.
The reason to introduce lcdif_power_down is that we want lcdif to be in initial state when doing uboot reset or before kernel boot to make system stable, otherwise system may hang.
Signed-off-by: Peng Fan Peng.Fan@freescale.com Cc: Stefano Babic sbabic@denx.de Cc: Anatolij Gustschin agust@denx.de
V3: none V2: none
arch/arm/include/asm/imx-common/sys_proto.h | 2 ++ drivers/video/mxsfb.c | 17 +++++++++++++++++ 2 files changed, 19 insertions(+)
Acked-by: Anatolij Gustschin agust@denx.de