summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/omap2/dss/dss.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2015-01-02 11:05:33 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-02-04 13:32:02 +0300
commit64e22ffdabeb9391f576bedbed03c480a1ecd593 (patch)
tree6388be7b237ed111c28e613b7731a28b5c3eabc1 /drivers/video/fbdev/omap2/dss/dss.h
parent493a584a8bf6a3253f6d6a9034d6d3673a47c08c (diff)
downloadlinux-64e22ffdabeb9391f576bedbed03c480a1ecd593.tar.xz
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/dss.h')
-rw-r--r--drivers/video/fbdev/omap2/dss/dss.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/video/fbdev/omap2/dss/dss.h b/drivers/video/fbdev/omap2/dss/dss.h
index 14fb0c23f4a2..1826ee96265b 100644
--- a/drivers/video/fbdev/omap2/dss/dss.h
+++ b/drivers/video/fbdev/omap2/dss/dss.h
@@ -100,6 +100,12 @@ enum dss_writeback_channel {
DSS_WB_LCD3_MGR = 7,
};
+enum dss_pll_id {
+ DSS_PLL_DSI1,
+ DSS_PLL_DSI2,
+ DSS_PLL_HDMI,
+};
+
struct dss_pll;
#define DSS_PLL_MAX_HSDIVS 4
@@ -150,6 +156,7 @@ struct dss_pll_hw {
struct dss_pll {
const char *name;
+ enum dss_pll_id id;
struct clk *clkin;
struct regulator *regulator;