public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@ti.com>
To: Tero Kristo <tero.kristo@nokia.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH] omap: dmtimer: Enable autoidle
Date: Mon, 14 Feb 2011 15:28:56 -0800	[thread overview]
Message-ID: <87oc6exkjr.fsf@ti.com> (raw)
In-Reply-To: <1297704375-25873-1-git-send-email-tero.kristo@nokia.com> (Tero Kristo's message of "Mon, 14 Feb 2011 19:26:15 +0200")

Tero Kristo <tero.kristo@nokia.com> writes:

> This will save some power.
>
> Signed-off-by: Tero Kristo <tero.kristo@nokia.com>

Please report which platforms this was tested with.

Also, please Cc linux-arm-kernel.

Thanks,

Kevin

> ---
>  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.

  reply	other threads:[~2011-02-14 23:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-14 17:26 [PATCH] omap: dmtimer: Enable autoidle Tero Kristo
2011-02-14 23:28 ` Kevin Hilman [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oc6exkjr.fsf@ti.com \
    --to=khilman@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=tero.kristo@nokia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox