]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
video: ssd2828: Allow using 'pclk' as the PLL clock source
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>
Mon, 19 Jan 2015 03:23:35 +0000 (05:23 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 22 Jan 2015 11:34:56 +0000 (12:34 +0100)
commitdddccd6913142e0ba63ce6e529c38651c2ab0197
treee1819e3251f887c0e2724be99b82f75512706ece
parentaaa6ac5eab8df95a3b9646194d90f49e79476258
video: ssd2828: Allow using 'pclk' as the PLL clock source

Instead of using the internal 'tx_clk' clock source, it is also
possible to use the pixel clock signal from the parallel LCD
interface ('pclk') as the reference clock for PLL.

The 'tx_clk' clock speed may be different on different boards/devices
(the allowed range is 8MHz - 30MHz). Which is not very convenient,
especially considering the need to know the exact 'tx_clk' clock
speed. This clock speed may be difficult to identify without having
device schematics and/or accurate documentation/sources every time.

Using 'pclk' is free from all these problems.

Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Acked-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/video/Kconfig
drivers/video/ssd2828.c
drivers/video/ssd2828.h