]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm/omap: Add missing clock sources
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 17 May 2016 11:12:35 +0000 (14:12 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 19 May 2016 17:19:05 +0000 (20:19 +0300)
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>
drivers/gpu/drm/omapdrm/dss/dss.c
drivers/gpu/drm/omapdrm/dss/dss.h

index 58d20530059a3a9256e72a62e36cb7ec2557e4e8..598a51b44e4abf371a537f9f51831078a1364795 100644 (file)
@@ -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;
index 56c2d277341a9704ee64d416b555fcdcd7566c04..38e77fac20789be70364fceae09be63215bb6f96 100644 (file)
@@ -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 {