davinci: fb: calculate the clock divider from pixel clock info
authorChaithrika U S <chaithrika@ti.com>
Wed, 16 Dec 2009 00:46:29 +0000 (16:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Dec 2009 15:20:01 +0000 (07:20 -0800)
commit8097b1749f9265be0f3dbc43c3700da31eb422fd
tree307f93951b9433329636b241c914512c6e8b8887
parent2ec509b96cce5e6d19ee43fdd818eab78e76328d
davinci: fb: calculate the clock divider from pixel clock info

The clock divider value can be calculated from the pixel clock value for
the panel.  This gives more flexiblity to the driver to change the divider
value on the fly as in the case of cpufreq feature- support for which will
be added shortly.

Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Cc: Steve Chen <schen@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/da8xx-fb.c