On Mon, Apr 27, 2009 at 12:08 PM, Premi, Sanjeev <premi@xxxxxx> wrote: >> -----Original Message----- >> From: linux-omap-owner@xxxxxxxxxxxxxxx >> [mailto:linux-omap-owner@xxxxxxxxxxxxxxx] On Behalf Of Ashwin Bihari >> Sent: Monday, April 27, 2009 9:20 PM >> To: linux-omap@xxxxxxxxxxxxxxx Mailing List >> Subject: OMAP35x GP TIMER as a wakeup trigger >> >> 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. > > Are you refering to the "suspend" state coming from: > echo mem > /sys/power/state > OR > One of the idle states C0-C6? > > To understand the wakeup sequence from suspend; take a look at: > arch/arm/mach-omap2/serial.c > ...esp the IOPAD configuration. > > You will have to do something similar. > > ~sanjeev > Sanjeev, I was talking about the former (echo mem > /sys/power/state) and I will take a look at the serial.c file and might return with more questions. :) Regards -- Ashwin -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html