RE: [PATCH 12/14] davinci: add power management support

2009-12-07 Thread Nori, Sekhar
On Tue, Dec 08, 2009 at 03:53:24, Kevin Hilman wrote: > "Nori, Sekhar" writes: > > > On Thu, Nov 26, 2009 at 00:54:38, Kevin Hilman wrote: > >> Sekhar Nori writes: > >> [...] > >> > +static struct davinci_pm_config *pdata; > >> > + > >> > +static void davinci_sram_push(void *dest, void *src, un

Re: [PATCH 12/14] davinci: add power management support

2009-12-07 Thread Kevin Hilman
"Nori, Sekhar" writes: > On Thu, Nov 26, 2009 at 00:54:38, Kevin Hilman wrote: >> Sekhar Nori writes: >> > > [...] > >> > +* Note on SLEEPCOUNT: >> > +* The SLEEPCOUNT feature is mainly intended for cases in which >> > +* the internal oscillator is used. The internal oscillator is >>

RE: [PATCH 12/14] davinci: add power management support

2009-11-25 Thread Nori, Sekhar
On Thu, Nov 26, 2009 at 00:54:38, Kevin Hilman wrote: > Sekhar Nori writes: > [...] > > +* Note on SLEEPCOUNT: > > +* The SLEEPCOUNT feature is mainly intended for cases in which > > +* the internal oscillator is used. The internal oscillator is > > +* fully disabled in deep slee

[PATCH 12/14] davinci: add power management support

2009-11-16 Thread Sekhar Nori
This patch adds core power management (suspend-to-RAM) support for DaVinci SoCs. The code depends on the the "deepsleep" feature to suspend the SoC and saves power by gating the input clock. The wakeup can be based on an external event as supported by the SoC. Assembly code (in sleep.S) is added