]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: support type B PLL for DPI
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 18 May 2016 09:06:49 +0000 (12:06 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 19 May 2016 17:19:09 +0000 (20:19 +0300)
commitba6b2bf4a14da02724e98e5cca79794318de4c37
tree6c4daa2196d9485dd7d84d1a3937aeedf2dfcc94
parentd345286973915eb3887e0f8f64f9952dfb9834db
drm/omap: support type B PLL for DPI

Type A and B PLLs require a bit different calculations for the clock
rates. DPI driver supports only type A PLLs.

This patch adds support for the type B PLL.

Type B PLLs are simpler than type A, as type B can produce a good clock
for almost any rate. Thus we can just ask it to produce the pixel clock
and use one as LCK and PCK dividers.

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