aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dss.h
diff options
context:
space:
mode:
authorMythri P K <mythripk@ti.com>2011-09-08 09:36:19 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-09-30 09:16:31 -0400
commit7b27da548389cede637653033211369a2c9678f7 (patch)
tree68b7482d61fa2e2048b8e38519a8405878d77ab8 /drivers/video/omap2/dss/dss.h
parent95a8aeb6c56ec80fb847e44328e3b53b9934dcbf (diff)
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 {
155 bool use_sys_clk; 155 bool use_sys_clk;
156}; 156};
157 157
158enum hdmi_clk_refsel {
159 HDMI_REFSEL_PCLK = 0,
160 HDMI_REFSEL_REF1 = 1,
161 HDMI_REFSEL_REF2 = 2,
162 HDMI_REFSEL_SYSCLK = 3
163};
164
158/* HDMI PLL structure */ 165/* HDMI PLL structure */
159struct hdmi_pll_info { 166struct hdmi_pll_info {
160 u16 regn; 167 u16 regn;
@@ -163,6 +170,7 @@ struct hdmi_pll_info {
163 u16 regm2; 170 u16 regm2;
164 u16 regsd; 171 u16 regsd;
165 u16 dcofreq; 172 u16 dcofreq;
173 enum hdmi_clk_refsel refsel;
166}; 174};
167 175
168struct seq_file; 176struct seq_file;