diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-05-17 13:12:35 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-05-19 19:19:05 +0200 |
commit | b5d8c757a64fa7938f965171d2d0f40d5273fb2e (patch) | |
tree | 73ce1533d983300b2cbf9308f747e5288d00ee50 /drivers | |
parent | drm/omap: rename dss_clk_source enums (diff) | |
download | linux-b5d8c757a64fa7938f965171d2d0f40d5273fb2e.tar.xz linux-b5d8c757a64fa7938f965171d2d0f40d5273fb2e.zip |
drm/omap: Add missing clock sources
enum dss_clk_source does not have values for all clock sources available
on OMAP4+ DSS versions. Add the missing clock sources.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/dss.c | 3 | ||||
-rw-r--r-- | drivers/gpu/drm/omapdrm/dss/dss.h | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/dss.c b/drivers/gpu/drm/omapdrm/dss/dss.c index 58d20530059a..598a51b44e4a 100644 --- a/drivers/gpu/drm/omapdrm/dss/dss.c +++ b/drivers/gpu/drm/omapdrm/dss/dss.c @@ -108,8 +108,11 @@ static const char * const dss_generic_clk_source_names[] = { [DSS_CLK_SRC_FCK] = "FCK", [DSS_CLK_SRC_PLL1_1] = "PLL1:1", [DSS_CLK_SRC_PLL1_2] = "PLL1:2", + [DSS_CLK_SRC_PLL1_3] = "PLL1:3", [DSS_CLK_SRC_PLL2_1] = "PLL2:1", [DSS_CLK_SRC_PLL2_2] = "PLL2:2", + [DSS_CLK_SRC_PLL2_3] = "PLL2:3", + [DSS_CLK_SRC_HDMI_PLL] = "HDMI PLL", }; static bool dss_initialized; diff --git a/drivers/gpu/drm/omapdrm/dss/dss.h b/drivers/gpu/drm/omapdrm/dss/dss.h index 56c2d277341a..38e77fac2078 100644 --- a/drivers/gpu/drm/omapdrm/dss/dss.h +++ b/drivers/gpu/drm/omapdrm/dss/dss.h @@ -107,9 +107,13 @@ enum dss_clk_source { DSS_CLK_SRC_PLL1_1, DSS_CLK_SRC_PLL1_2, + DSS_CLK_SRC_PLL1_3, DSS_CLK_SRC_PLL2_1, DSS_CLK_SRC_PLL2_2, + DSS_CLK_SRC_PLL2_3, + + DSS_CLK_SRC_HDMI_PLL, }; enum dss_pll_id { |