
-----Original Message----- From: Sanchayan Maity [mailto:maitysanchayan@gmail.com] Sent: Tuesday, April 11, 2017 1:42 PM To: u-boot@lists.denx.de; sbabic@denx.de; agust@denx.de Cc: albert.u.boot@aribaud.net; Feng Li feng.li_2@nxp.com; alison.wang@freescale.com; Sumit Garg sumit.garg@nxp.com; Stefan Agner stefan.agner@toradex.com; york sun york.sun@nxp.com; Z.Q. Hou zhiqiang.hou@nxp.com; Xiaoliang Yang xiaoliang.yang@nxp.com; Sanchayan Maity maitysanchayan@gmail.com Subject: [PATCH v3 3/6] video: fsl_dcu_fb: Enable pixel clock after initialization
From: Stefan Agner stefan.agner@toradex.com
When enabling the DCU and pixel clock, the test mode is activated since this is the reset configuration. The test mode immediately shows a red screen on a LCD. A moment later, the DCU gets initialized properly.
This patch enables the pixel clock after initialization of the DCU control register. This avoids this initial flicker on LCD screens.
While at it change the polarity of pixel clock to display samples data on the rising edge.
Signed-off-by: Stefan Agner stefan.agner@toradex.com Signed-off-by: Sanchayan Maity maitysanchayan@gmail.com
drivers/video/fsl_dcu_fb.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-)
Reviewed-by: Alison Wang alison.wang@nxp.com
Best Regards, Alison Wang