public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] omap: dmtimer: Enable autoidle
@ 2011-02-14 17:26 Tero Kristo
  2011-02-14 23:28 ` Kevin Hilman
  0 siblings, 1 reply; 10+ messages in thread
From: Tero Kristo @ 2011-02-14 17:26 UTC (permalink / raw)
  To: linux-omap

This will save some power.

Signed-off-by: Tero Kristo <tero.kristo@nokia.com>
---
 arch/arm/plat-omap/dmtimer.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/plat-omap/dmtimer.c b/arch/arm/plat-omap/dmtimer.c
index 1d706cf..949becc 100644
--- a/arch/arm/plat-omap/dmtimer.c
+++ b/arch/arm/plat-omap/dmtimer.c
@@ -341,6 +341,7 @@ static void omap_dm_timer_reset(struct omap_dm_timer *timer)
 	l = omap_dm_timer_read_reg(timer, OMAP_TIMER_OCP_CFG_REG);
 	l |= 0x02 << 3;  /* Set to smart-idle mode */
 	l |= 0x2 << 8;   /* Set clock activity to perserve f-clock on idle */
+	l |= 0x1 << 0;   /* Set autoidle */
 
 	/*
 	 * Enable wake-up on OMAP2 CPUs.
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-02-15 16:14 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-14 17:26 [PATCH] omap: dmtimer: Enable autoidle Tero Kristo
2011-02-14 23:28 ` Kevin Hilman
2011-02-15  8:16   ` Tero.Kristo
2011-02-15  9:20     ` DebBarma, Tarun Kanti
2011-02-15  9:31       ` DebBarma, Tarun Kanti
2011-02-15  9:45         ` Tero.Kristo
2011-02-15  9:51           ` DebBarma, Tarun Kanti
2011-02-15 12:29             ` Tero.Kristo
2011-02-15 12:41               ` DebBarma, Tarun Kanti
2011-02-15 16:14                 ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox