summary refs log tree commit diff
path: root/drivers/video/fbdev/omap2/dss/dsi.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2015-01-02 10:05:33 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-02-04 12:32:02 +0200
commit64e22ffdabeb9391f576bedbed03c480a1ecd593 (patch)
tree6388be7b237ed111c28e613b7731a28b5c3eabc1 /drivers/video/fbdev/omap2/dss/dsi.c
parent493a584a8bf6a3253f6d6a9034d6d3673a47c08c (diff)
downloadlinux-64e22ffdabeb9391f576bedbed03c480a1ecd593.tar.gz
OMAPDSS: Add enum dss_pll_id
In some cases we need global identifiers for the DSS PLLs, for example
when configuring clock muxing on DRA7. For this purpose let's add a
'enum dss_pll_id'.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/fbdev/omap2/dss/dsi.c')
-rw-r--r--drivers/video/fbdev/omap2/dss/dsi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/fbdev/omap2/dss/dsi.c b/drivers/video/fbdev/omap2/dss/dsi.c
index 3e44c580b1f8..5081f6fb1737 100644
--- a/drivers/video/fbdev/omap2/dss/dsi.c
+++ b/drivers/video/fbdev/omap2/dss/dsi.c
@@ -5238,6 +5238,7 @@ static int dsi_init_pll_data(struct platform_device *dsidev)
 	}
 
 	pll->name = dsi->module_id == 0 ? "dsi0" : "dsi1";
+	pll->id = dsi->module_id == 0 ? DSS_PLL_DSI1 : DSS_PLL_DSI2;
 	pll->clkin = clk;
 	pll->base = dsi->pll_base;