summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 617439f)
raw | patch | inline | side by side (parent: 617439f)
author | Archit Taneja <archit@ti.com> | |
Tue, 16 Apr 2013 06:05:21 +0000 (11:35 +0530) | ||
committer | Archit Taneja <archit@ti.com> | |
Thu, 30 May 2013 14:35:33 +0000 (20:05 +0530) |
enable DESHDCP clock very early in omap_hwmod_setup_all to make sure it's set
before DSS hwmods are setup. Find a better way to do this.
Signed-off-by: Archit Taneja <archit@ti.com>
before DSS hwmods are setup. Find a better way to do this.
Signed-off-by: Archit Taneja <archit@ti.com>
arch/arm/mach-omap2/omap_hwmod.c | patch | blob | history |
index d4be257b512fbe68cfae3876fdb98ce2350326a2..0052068a9fb701053391921fd4f3e73e2f8bc55a 100644 (file)
*/
static int __init omap_hwmod_setup_all(void)
{
+ void __iomem *base = ioremap(0x4A002000, SZ_2K);
+
_ensure_mpu_hwmod_is_setup(NULL);
+ /* enable DES HDCP clock CTRL_CORE_CONTROL_IO_2 */
+ __raw_writel(0x1, base + 0x558);
+
omap_hwmod_for_each(_init, NULL);
omap_hwmod_for_each(_setup, NULL);