public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* OMAP35x GP TIMER as a wakeup trigger
@ 2009-04-27 15:49 Ashwin Bihari
  2009-04-27 16:08 ` Premi, Sanjeev
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Ashwin Bihari @ 2009-04-27 15:49 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org Mailing List

Greetings,

I need to implement a timer as a wake up trigger while my custom board
is in the suspended state. I read in the TRM that all of the GPTIMERs
have the capability of generating a wake up interrupt. I'm using the
2.6.28-rc8 PM Kernel which contains the patch to enable all the
GPTIMERS as wake up sources.

Could someone familiar with this scheme quickly elaborate all the
steps that I need to go through to get the system to come out of
suspend purely on the timer? Is it is just enough to setup the timer
correctly, enable the interrupt in the appropriate register and assume
that the PM layer will get the interrupt and do the right thing, or is
there more that I have to do?

Also, as as additional thing, if the PM layer handles the interrupt
and begins the wake-up process, if I could know where that
specifically happens, that'd be great since I need to know that the
wake-up process is being triggered by the GPTIMER as opposed to the
other wakeup triggers and deal with that differently.

Regards
-- Ashwin

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

end of thread, other threads:[~2009-04-28 13:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-27 15:49 OMAP35x GP TIMER as a wakeup trigger Ashwin Bihari
2009-04-27 16:08 ` Premi, Sanjeev
2009-04-27 16:41   ` Ashwin Bihari
2009-04-27 18:07 ` Dasgupta, Romit
2009-04-27 22:17 ` Kevin Hilman
2009-04-28 13:58   ` Ashwin Bihari

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