All of lore.kernel.org
 help / color / mirror / Atom feed
From: andy@warmcat.com (Andy Green)
To: linux-arm-kernel@lists.infradead.org
Subject: iMX31 power management
Date: Mon, 30 Aug 2010 14:56:28 +0100	[thread overview]
Message-ID: <4C7BB88C.1010202@warmcat.com> (raw)
In-Reply-To: <201008301444.21510.thomas.nemeth@betatech.fr>

On 08/30/10 13:44, Somebody in the thread at some point said:

Hi -

>      I'm currently struggling trying to make suspend to RAM work for the
>      iMX31 processor. As the pm functions were not implemented, I added
>      a pretty straightforward pm "driver".
>
>      It works to a point. The processor seems really sleeping. But where
>      the heck is Prince Charming ? It does not want to wakeup else :( I
>      can't make the DOZE mode, State Retention mode and Deep Sleep mode
>      to work. Does anybody know how ?
>
>      I added in attachment the code I adapted from 2.6.22 so that it
>      integrates better with current kernels.

I ported this similar stuff from the Freescale tree to 2.6.32 last 
December, it sleeps and wakes fine (using stop clock) on that txtr board 
since then.

http://git.warmcat.com/cgi-bin/cgit/txtr-kernel/commit/?h=txtr-tracking&id=34685e9c378c865885ad6a8f2fc06fc36ad48482

There was no enable_irq_wake(); platform support at that time so I guess 
maybe there is now and you need to make sure your wake interrupts are 
marked as wake sources?

-Andy

  reply	other threads:[~2010-08-30 13:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-30 12:44 iMX31 power management Thomas Nemeth
2010-08-30 13:56 ` Andy Green [this message]
2010-08-30 14:41   ` Thomas Nemeth
2010-08-30 15:05     ` Andy Green
2010-08-30 15:25       ` Thomas Nemeth

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=4C7BB88C.1010202@warmcat.com \
    --to=andy@warmcat.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.