]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: mxsfb: Configure the clock after eLCDIF reset
authorFabio Estevam <festevam@gmail.com>
Fri, 1 Nov 2019 12:25:21 +0000 (09:25 -0300)
committerAnatolij Gustschin <agust@denx.de>
Tue, 12 Nov 2019 09:32:37 +0000 (10:32 +0100)
commitec3dcea7447031463643c33143b3a5f027f0b54d
treeb1e1aaf3861dbbade411d0817c0dc5cf1c6ba127
parenta965a8b904093c9e6790d0460d18a144cefa5e42
video: mxsfb: Configure the clock after eLCDIF reset

Running stress reboot test on a i.MX6ULL evk board with a
custom LCD can lead to splash screen failure (black screen).

After comparing the eLCDIF initialization with the Linux kernel
driver, it was noticed that the eLCDIF reset is the first operation
that needs to be done.

So do like the eLCDIF Linux driver and move the eLCDIF clock
frequency configuration after the eLCDIF reset and just prior to
setting the RUN bit.

With this change applied, no more black screen issues has been
found during overnight reboot stress tests.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
drivers/video/mxsfb.c