aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTero Kristo <tero.kristo@nokia.com>2009-10-23 19:03:49 +0300
committerKevin Hilman <khilman@deeprootsystems.com>2010-01-20 18:15:59 -0800
commitb296c8118b26a359b027b8c9bb9f5f41dc7693fa (patch)
tree4a99f5e9965f6fb2d2fdf9ae18b24add7f7d2454
parent2bbe3af3f1e1c1d0992c984e05d061ef5469edb4 (diff)
OMAP3: PM: Enable system control module autoidle
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>
-rw-r--r--arch/arm/mach-omap2/pm34xx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index b26418d5507..8a148fbbab4 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -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