drm/omap: add PLL helper funcs
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 18 May 2016 09:42:09 +0000 (12:42 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 19 May 2016 17:19:06 +0000 (20:19 +0300)
commit5670bd7219d774b2dc356edac36f9953f77e19a4
treeda33db9ff1f6ce346ba73d18ae9a7c3f95e56d18
parentc63b1ec0904a074ae311103109b3e9946e38f2fa
drm/omap: add PLL helper funcs

Add two PLL helper functions:

dss_pll_find_by_src() which returns the dss_pll for the given
dss_clk_source.

dss_pll_get_clkout_idx_for_src() which returns the clkout index for the
given dss_clk_source.

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