Bladeren bron

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>
Tero Kristo 15 jaren geleden
bovenliggende
commit
b296c8118b
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  1. 2 0
      arch/arm/mach-omap2/pm34xx.c

+ 2 - 0
arch/arm/mach-omap2/pm34xx.c

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