diff options
author | Mythri P K <mythripk@ti.com> | 2011-03-09 06:01:38 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-03-16 02:15:49 -0400 |
commit | 7ed024aa280cb38c8aa5c188d2d2c98f5daede10 (patch) | |
tree | f1ca3f2434bdb639414852efa5c92b196af77099 /drivers/video/omap2/dss/dss.h | |
parent | b119601d4e226e42a067ff33116774d79dd9afbc (diff) |
OMAP4: DSS2: HDMI: Select between HDMI VENC clock source.
Adding function to select between HDMI or VENC clock source.
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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dss.h b/drivers/video/omap2/dss/dss.h index 26a43c93e489..eb05d39ef17c 100644 --- a/drivers/video/omap2/dss/dss.h +++ b/drivers/video/omap2/dss/dss.h | |||
@@ -126,6 +126,11 @@ enum dss_clk_source { | |||
126 | * OMAP4: DSS_FCLK */ | 126 | * OMAP4: DSS_FCLK */ |
127 | }; | 127 | }; |
128 | 128 | ||
129 | enum dss_hdmi_venc_clk_source_select { | ||
130 | DSS_VENC_TV_CLK = 0, | ||
131 | DSS_HDMI_M_PCLK = 1, | ||
132 | }; | ||
133 | |||
129 | struct dss_clock_info { | 134 | struct dss_clock_info { |
130 | /* rates that we get with dividers below */ | 135 | /* rates that we get with dividers below */ |
131 | unsigned long fck; | 136 | unsigned long fck; |
@@ -214,6 +219,7 @@ void dss_recheck_connections(struct omap_dss_device *dssdev, bool force); | |||
214 | int dss_init_platform_driver(void); | 219 | int dss_init_platform_driver(void); |
215 | void dss_uninit_platform_driver(void); | 220 | void dss_uninit_platform_driver(void); |
216 | 221 | ||
222 | void dss_select_hdmi_venc_clk_source(enum dss_hdmi_venc_clk_source_select); | ||
217 | void dss_save_context(void); | 223 | void dss_save_context(void); |
218 | void dss_restore_context(void); | 224 | void dss_restore_context(void); |
219 | void dss_clk_enable(enum dss_clock clks); | 225 | void dss_clk_enable(enum dss_clock clks); |