summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (from parent 1: 4ca6497)
raw | patch | inline | side by side (from parent 1: 4ca6497)
author | Dandawate Saket <dsaket@ti.com> | |
Mon, 29 Apr 2013 07:05:15 +0000 (00:05 -0700) | ||
committer | Praneeth Bajjuri <praneeth@ti.com> | |
Fri, 12 Jul 2013 23:58:15 +0000 (18:58 -0500) |
Select correct clock source for HDMI pll.
Change-Id: I053c056926928b281f0b796b9d9d126de50a3f86
Signed-off-by: Dandawate Saket <dsaket@ti.com>
Change-Id: I053c056926928b281f0b796b9d9d126de50a3f86
Signed-off-by: Dandawate Saket <dsaket@ti.com>
drivers/video/omap2/dss/dss.c | [changed mode: 0644->0755] | patch | blob | history |
drivers/video/omap2/dss/dss.h | patch | blob | history | |
drivers/video/omap2/dss/hdmi.c | patch | blob | history |
#undef DUMPREG
}
-static void dss_select_dispc_clk_source(enum omap_dss_clk_source clk_src)
+void dss_select_dispc_clk_source(enum omap_dss_clk_source clk_src)
{
struct platform_device *dsidev;
int b;
index 981fcf86d728d6bc8111e7f7be6a10f759e3ac18..2dcb55b3c7d4ed312a8549456063c78480edd893 100755 (executable)
int dss_sdi_enable(void);
void dss_sdi_disable(void);
+void dss_select_dispc_clk_source(enum omap_dss_clk_source clk_src);
void dss_select_dsi_clk_source(int dsi_module,
enum omap_dss_clk_source clk_src);
void dss_select_lcd_clk_source(enum omap_channel channel,
index 89619568c3ecc7335bcac652e746ffb258200ab2..a731144d7d4503f23e413b08cc2745577db1d50a 100755 (executable)
hdmi.ip_data.ops->video_configure(&hdmi.ip_data);
+ /* Make selection of HDMI in DSS */
+ dss_select_hdmi_venc_clk_source(DSS_HDMI_M_PCLK);
+
+ /* Select the dispc clock source as PRCM clock, to ensure that it is not
+ * DSI PLL source as the clock selected by DSI PLL might not be
+ * sufficient for the resolution selected / that can be changed
+ * dynamically by user. This can be moved to single location , say
+ * Boardfile.
+ */
+ dss_select_dispc_clk_source(dssdev->clocks.dispc.dispc_fclk_src);
+
/* bypass TV gamma table */
dispc_enable_gamma_table(0);