diff options
author | Archit Taneja <archit@ti.com> | 2011-04-19 19:00:15 +0530 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-05-11 14:20:51 +0300 |
commit | 5bdd3c9a7da3ddf820d9d479530ceecde9d4a316 (patch) | |
tree | 8e32a58d2117f893ac8c6bf4a957c23704a4e652 /drivers/video/omap2/dss/dsi.c | |
parent | a0ce4ccc60d03e27ba6c7e2b134a23badf30f8d2 (diff) |
OMAP: DSS2: DSI: enable scp clock in dsi_dump_regs()
OMAP4 requires SCP clocks enabled to access DSI PLL registers and DSI COMPLEXIO
registers. Enable scp clock before accessing the registers and disable it before
exiting dsi_dump_regs().
Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dsi.c')
-rw-r--r-- | drivers/video/omap2/dss/dsi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c index bf787c82f870..162068f5f6ff 100644 --- a/drivers/video/omap2/dss/dsi.c +++ b/drivers/video/omap2/dss/dsi.c @@ -1718,6 +1718,7 @@ void dsi_dump_regs(struct seq_file *s) #define DUMPREG(r) seq_printf(s, "%-35s %08x\n", #r, dsi_read_reg(r)) dss_clk_enable(DSS_CLK_ICK | DSS_CLK_FCK); + dsi_enable_scp_clk(); DUMPREG(DSI_REVISION); DUMPREG(DSI_SYSCONFIG); @@ -1789,6 +1790,7 @@ void dsi_dump_regs(struct seq_file *s) DUMPREG(DSI_PLL_CONFIGURATION1); DUMPREG(DSI_PLL_CONFIGURATION2); + dsi_disable_scp_clk(); dss_clk_disable(DSS_CLK_ICK | DSS_CLK_FCK); #undef DUMPREG } |