]> git.baikalelectronics.ru Git - kernel.git/commit
video: da8xx-fb: pix clk and clk div handling cleanup
authorDarren Etheridge <detheridge@ti.com>
Mon, 5 Aug 2013 22:02:26 +0000 (17:02 -0500)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 9 Aug 2013 11:02:41 +0000 (14:02 +0300)
commit136162e03ff9f86b31ea077045298e02798b7583
treec66dae63e45f94b30d6045fd0b5fe48f4189201d
parentbaee2909a01715d244626f0b0baa23eee9c9fb18
video: da8xx-fb: pix clk and clk div handling cleanup

Based on original patch by: Afzal Mohammed <afzal@ti.com>

Use the new modedb field to store pix clk. Reorganize existing clock
divider functions with names now corresponding to what they do, add
common function prefix.

Fix existing panel modedb pixclock to be in ps instead of Hz. This
needed a change in the way clock divider is calculated. As modedb
pixclock information is now in ps, override on "var" pixclock over
modedb to var conversion is removed.

v2:
Changed pixel clock configuration to use KHZ2PICOS macro

Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/da8xx-fb.c