]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: DPI: widen the pck search when using dss fck
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 10 Apr 2013 11:54:54 +0000 (14:54 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 11 Apr 2013 10:07:58 +0000 (13:07 +0300)
commit049f95398041f17755f58740c2ecb5f5c482fb6e
tree2001c1643e138969479ec12237c84a669d66c936
parent52278209848a958d45e9cabeb805bebf43579e93
OMAPDSS: DPI: widen the pck search when using dss fck

When not using DSI PLL to generate the pixel clock, but DSS FCK, the
possible pixel clock rates are rather limited. DSS FCK is currently used
on OMAP2 and OMAP3.

When using Beagleboard with a monitor that supports high resolutions,
the clock rates do not match (at least for me) for the monitor's pixel
clocks within the current threshold in the code, which is +/- 1MHz.

This patch widens the search up to +/- 15MHz. The search is done in
steps, i.e. it first tries to find a rather exact clock, than a bit less
exact, etc. so this should not change the cases where a clock was
already found.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dpi.c