[PATCH] imx-drm: ipuv3-crtc: Invert IPU DI0 clock polarity

Fabio Estevam festevam at gmail.com
Wed Oct 30 00:06:01 UTC 2013


Hi Russell,

On Tue, Oct 29, 2013 at 9:25 PM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:

> There's slightly more to this than that mail, and I have to raise the
> issue about whether this is the correct fix or not.  See:
>
> http://www.spinics.net/lists/arm-kernel/msg279902.html

Today I also checked U-boot HDMI splash screen on mx6solo and it was
not stable either.

Using FSL kernel 4.1.0 as reference (and also the suggestion from
Sascha), I sent the following patch to U-boot that fixes the HDMI
output on mx6solo:
http://marc.info/?l=u-boot&m=138306883309837&w=2

Also noticed that the cubox-i U-boot has this workaround:
https://github.com/linux4kix/u-boot/commit/cc938e0c662092b96ffb32c2e8aac416a1b12e57

,which also results in bit 17 'di0_polarity_disp_clk' being cleared.

Looking at FSL kernel, they have the FB_SYNC_CLK_LAT_FALL flag to set bit17.

However this is only used at:
arch/arm/mach-mx6/board-mx6sl_arm2.c:
arch/arm/mach-mx6/board-mx6sl_evk.c:
arch/arm/mach-mx6/board-mx6sl_evk.c:

,which are all mx6sl boards and mx6sl does not have IPU.

Also tested on all the IPUv3 hardware I have access to and all of them
work fine with di0_polarity_disp_clk cleared.

Regards,

Fabio Estevam


More information about the devel mailing list