aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dss.c
diff options
context:
space:
mode:
authorMythri P K <mythripk@ti.com>2011-03-09 06:01:38 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-03-16 02:15:49 -0400
commit7ed024aa280cb38c8aa5c188d2d2c98f5daede10 (patch)
treef1ca3f2434bdb639414852efa5c92b196af77099 /drivers/video/omap2/dss/dss.c
parentb119601d4e226e42a067ff33116774d79dd9afbc (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.c')
-rw-r--r--drivers/video/omap2/dss/dss.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c
index 562d8d28d4f2..f1628bd850d1 100644
--- a/drivers/video/omap2/dss/dss.c
+++ b/drivers/video/omap2/dss/dss.c
@@ -605,6 +605,11 @@ void dss_set_dac_pwrdn_bgz(bool enable)
605 REG_FLD_MOD(DSS_CONTROL, enable, 5, 5); /* DAC Power-Down Control */ 605 REG_FLD_MOD(DSS_CONTROL, enable, 5, 5); /* DAC Power-Down Control */
606} 606}
607 607
608void dss_select_hdmi_venc_clk_source(enum dss_hdmi_venc_clk_source_select hdmi)
609{
610 REG_FLD_MOD(DSS_CONTROL, hdmi, 15, 15); /* VENC_HDMI_SWITCH */
611}
612
608static int dss_init(void) 613static int dss_init(void)
609{ 614{
610 int r; 615 int r;