summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dss.h
diff options
context:
space:
mode:
authorMythri P K <mythripk@ti.com>2011-09-08 15:36:19 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-09-30 15:16:31 +0200
commit7b27da548389cede637653033211369a2c9678f7 (patch)
tree68b7482d61fa2e2048b8e38519a8405878d77ab8 /drivers/video/omap2/dss/dss.h
parentOMAP4: DSS2: HDMI: HDMI clean up to pass base_address (diff)
downloadlinux-7b27da548389cede637653033211369a2c9678f7.tar.xz
linux-7b27da548389cede637653033211369a2c9678f7.zip
OMAP4: DSS2: HDMI: Move pll and video configuration
As the pll and the video configuration info are part of the ip_data, pll and video structures are moved to the ip_data structure. Also the pll and video configuration functions are modified accordingly to take care of the structure movement. Signed-off-by: Mythri P K <mythripk@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dss.h')
-rw-r--r--drivers/video/omap2/dss/dss.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h
index eb716521d775..6aeb1f5505d0 100644
--- a/drivers/video/omap2/dss/dss.h
+++ b/drivers/video/omap2/dss/dss.h
@@ -155,6 +155,13 @@ struct dsi_clock_info {
bool use_sys_clk;
};
+enum hdmi_clk_refsel {
+ HDMI_REFSEL_PCLK = 0,
+ HDMI_REFSEL_REF1 = 1,
+ HDMI_REFSEL_REF2 = 2,
+ HDMI_REFSEL_SYSCLK = 3
+};
+
/* HDMI PLL structure */
struct hdmi_pll_info {
u16 regn;
@@ -163,6 +170,7 @@ struct hdmi_pll_info {
u16 regm2;
u16 regsd;
u16 dcofreq;
+ enum hdmi_clk_refsel refsel;
};
struct seq_file;