From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Thu, 5 Nov 2015 08:30:47 +0100 Subject: [U-Boot] [PATCH V3 12/16] video: mxsfb: introduce lcdif_power_down In-Reply-To: <1446105293-31775-12-git-send-email-Peng.Fan@freescale.com> References: <1446105293-31775-1-git-send-email-Peng.Fan@freescale.com> <1446105293-31775-12-git-send-email-Peng.Fan@freescale.com> Message-ID: <20151105083047.55e6ac2b@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 29 Oct 2015 15:54:49 +0800 Peng Fan 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 > Cc: Stefano Babic > Cc: Anatolij Gustschin > --- > > 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