[U-Boot] [PATCH V3 12/16] video: mxsfb: introduce lcdif_power_down

Anatolij Gustschin agust at denx.de
Thu Nov 5 08:30:47 CET 2015


On Thu, 29 Oct 2015 15:54:49 +0800
Peng Fan <Peng.Fan at freescale.com> wrote:

> Introudce a new function lcdif_power_down.
> 
> 1. 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.
> 2. 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 at freescale.com>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Anatolij Gustschin <agust at 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 at denx.de>


More information about the U-Boot mailing list