public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V3 12/16] video: mxsfb: introduce lcdif_power_down
Date: Thu, 5 Nov 2015 08:30:47 +0100	[thread overview]
Message-ID: <20151105083047.55e6ac2b@crub> (raw)
In-Reply-To: <1446105293-31775-12-git-send-email-Peng.Fan@freescale.com>

On Thu, 29 Oct 2015 15:54:49 +0800
Peng Fan <Peng.Fan@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@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>

  reply	other threads:[~2015-11-05  7:30 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-29  7:54 [U-Boot] [PATCH V3 00/16] imx: mx6/7: support lcdif Peng Fan
2015-10-29  7:54 ` [U-Boot] [PATCH V3 01/16] mxs: add parameter base_addr for mxs_set_lcdclk Peng Fan
2015-11-05  7:34   ` Anatolij Gustschin
2015-10-29  7:54 ` [U-Boot] [PATCH V3 03/16] xfi3: correct function name Peng Fan
2015-10-29  7:54 ` [U-Boot] [PATCH V3 04/16] mxs: regs-common.h must be wrapped with !__ASSEMBLY__ Peng Fan
2015-10-29  7:54 ` [U-Boot] [PATCH V3 05/16] imx: include linux/types.h for regs-common.h Peng Fan
2015-10-29  7:54 ` [U-Boot] [PATCH V3 06/16] imx: imx-common: move lcdif structure and macro definition to imx-common Peng Fan
2015-10-29  7:54 ` [U-Boot] [PATCH V3 07/16] imx: lcdif: use one register structure for i.MXes Peng Fan
2015-10-29  7:54 ` [U-Boot] [PATCH V3 08/16] imx: mx6: fix register address Peng Fan
2015-10-29  7:54 ` [U-Boot] [PATCH V3 09/16] imx: mx6: crm_reg: add LCDIF related macros Peng Fan
2015-10-29  7:54 ` [U-Boot] [PATCH V3 10/16] imx: mx6: add clock api for lcdif Peng Fan
2015-10-29  7:54 ` [U-Boot] [PATCH V3 11/16] imx: mx6ul_14x14_evk: support lcdif display Peng Fan
2015-10-29  7:54 ` [U-Boot] [PATCH V3 12/16] video: mxsfb: introduce lcdif_power_down Peng Fan
2015-11-05  7:30   ` Anatolij Gustschin [this message]
2015-10-29  7:54 ` [U-Boot] [PATCH V3 13/16] imx: mx6: implement reset_misc Peng Fan
2015-10-29  7:54 ` [U-Boot] [PATCH V3 14/16] imx: imx-common: power down lcdif before boot os Peng Fan
2015-10-29  7:54 ` [U-Boot] [PATCH V3 15/16] imx: mx7: compile misc.c for mx7 Peng Fan
2015-10-29  7:54 ` [U-Boot] [PATCH V3 16/16] imx: mx7dsabresd: support lcdif Peng Fan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151105083047.55e6ac2b@crub \
    --to=agust@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox