diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-08-01 13:32:23 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-08-01 13:56:49 +0200 |
commit | 9ede365aa6f74428a1f69c21ca1cf21213167576 (patch) | |
tree | 654883a8cfe8c4f978b4476149a6a5d36892bc63 /drivers/video/omap2/dss/dss.c | |
parent | OMAP: DSS2: DSS: Fix context save/restore (diff) | |
download | linux-9ede365aa6f74428a1f69c21ca1cf21213167576.tar.xz linux-9ede365aa6f74428a1f69c21ca1cf21213167576.zip |
HACK: OMAP: DSS2: clk hack for OMAP2/3
The HWMOD data for OMAP2 and 3 are currently not up to date regarding
DSS (OMAP4 HWMOD data is fine). This patch makes the DSS driver to get
the opt clocks needed for OMAP2/3 with the old clock names, thus
allowing DSS driver to use runtime PM.
The HWMOD databases should be fixes ASAP, and this patch can be reverted
after that.
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.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c index 9423a2ee3aac..0f9c3a6457a5 100644 --- a/drivers/video/omap2/dss/dss.c +++ b/drivers/video/omap2/dss/dss.c @@ -691,6 +691,11 @@ static void dss_put_clocks(void) clk_put(dss.dss_clk); } +struct clk *dss_get_ick(void) +{ + return clk_get(&dss.pdev->dev, "ick"); +} + int dss_runtime_get(void) { int r; |