OMAP3: PM: Enable system control module autoidle
authorTero Kristo <tero.kristo@nokia.com>
Fri, 23 Oct 2009 16:03:49 +0000 (19:03 +0300)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 21 Jan 2010 02:15:59 +0000 (18:15 -0800)
Enable the auto-idle feature of the SCM block to save some additional
power.

Signed-off-by: Mika Westerberg <ext-mika.1.westerberg@nokia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/pm34xx.c

index b26418d55076ba27d7c0c2fbf9f75617c554ceba..8a148fbbab43905055b0a61c740078fd9e0fb066 100644 (file)
@@ -837,6 +837,8 @@ static void __init prcm_setup_regs(void)
                        CM_AUTOIDLE);
        }
 
+       omap_ctrl_writel(OMAP3430_AUTOIDLE, OMAP2_CONTROL_SYSCONFIG);
+
        /*
         * Set all plls to autoidle. This is needed until autoidle is
         * enabled by clockfw