]> git.sur5r.net Git - u-boot/commit
video: fsl_dcu_fb: Enable pixel clock after initialization
authorStefan Agner <stefan.agner@toradex.com>
Tue, 11 Apr 2017 05:42:11 +0000 (11:12 +0530)
committerAnatolij Gustschin <agust@denx.de>
Fri, 14 Apr 2017 11:52:56 +0000 (13:52 +0200)
commit32f26f56b3b918444ee2b3bf8f928bec506021b8
treeaac598a8a4ef2e91279bf16be76c8b98fd00d8df
parent77810e638efb5cdfed0c2f55149b59dca6f519d9
video: fsl_dcu_fb: Enable pixel clock after initialization

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>
Reviewed-by: Alison Wang <alison.wang@nxp.com>
drivers/video/fsl_dcu_fb.c