[U-Boot] [PATCH] video: ipu_disp: Fix clock polarity logic

Anatolij Gustschin
2013-10-30T09:07:49Z

On Tue, 29 Oct 2013 15:46:21 -0200
Fabio Estevam <fabio.estevam@freescale.com> wrote:

> Currently the HDMI splash screen image quality on mx6solo does not show a
> very stable image.
>
> By comparing the IPU driver from U-boot with the one from FSL 4.1.0 BSP,
> we can see that there is an inverted logic for setting the DI_GEN_POL_CLK bit.
>
> From FSL BSP [1] we have:
>
> if (!sig.clk_pol)
> di_gen |= DI_GEN_POLARITY_DISP_CLK;
>
> Applying the same logic into U-boot fixes the HDMI image stability.
>
> [1] git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/drivers/mxc/ipu3/ipu_disp.c?h=imx_3.0.35_4.1.0
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> drivers/video/ipu_disp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

applied to u-boot-video/master.

Thanks,

Anatolij