linux/drivers/staging/imx-drm
Fabio Estevam f0ac9bebf1 imx-drm: ipuv3-crtc: Invert IPU DI0 clock polarity
sig_cfg.clk_pol controls the 'di0_polarity_disp_clk' bit of register
IPUx_DI0_GENERAL through the following code in imx-drm/ipu-v3/ipu-di.c:

	if (!sig->clk_pol)
		di_gen |= DI_GEN_POLARITY_DISP_CLK;

With 'di0_polarity_disp_clk' bit set we do not have stable HDMI output on
mx6solo: contours of pictures look jittery and the white colour does not appear
really white.

Russell King initially reported this problem at:
http://www.spinics.net/lists/arm-kernel/msg279805.html

Inverting 'di0_polarity_disp_clk' leads to stable HDMI output image.

Tested on the following boards:
- mx6solowandboard (HDMI output)
- mx6qwandboard (HDMI output)
- mx6qsabrelite (LVDS)
- mx6qsabresd (HDMI output and LVDS)
- mx6dlsabresd (HDMI output)
- mx53qsb (parallel WVGA display)

Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Suggested-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-10-29 17:03:40 -07:00
..
ipu-v3 staging: imx-drm: use true and false for bool variables 2013-10-28 14:26:45 -07:00
imx-drm-core.c staging: drm/imx: fix return value check in imx_drm_init() 2013-10-29 09:05:21 -07:00
imx-drm.h staging: drm/imx: add drm plane support 2013-10-11 15:30:33 -07:00
imx-fb.c
imx-fbdev.c
imx-ldb.c staging: drm/imx: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO 2013-10-27 20:30:27 -07:00
imx-tve.c staging: imx-drm: use true and false for bool variables 2013-10-28 14:26:45 -07:00
ipuv3-crtc.c imx-drm: ipuv3-crtc: Invert IPU DI0 clock polarity 2013-10-29 17:03:40 -07:00
ipuv3-plane.c staging: drm/imx: add drm plane support 2013-10-11 15:30:33 -07:00
ipuv3-plane.h staging: drm/imx: add drm plane support 2013-10-11 15:30:33 -07:00
Kconfig staging: imx-drm: add missing MFD_SYSCON dependency for LDB 2013-08-02 11:56:54 +08:00
Makefile staging: drm/imx: add drm plane support 2013-10-11 15:30:33 -07:00
parallel-display.c imx-drm: parallel-display: Add MODULE_ALIAS() 2013-08-19 15:38:03 -07:00
TODO staging: drm/imx: add drm plane support 2013-10-11 15:30:33 -07:00