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)
commit683cd8669797000ca5b3730b8773013e13eb89e0
tree6c4daa2196d9485dd7d84d1a3937aeedf2dfcc94
parentf44b717c3d6908ac6590a1193a07c920d05e5a1d
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