public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/16] OMAP3: Context save/Restore + OFF mode support
@ 2008-09-26 12:16 Rajendra Nayak
  2008-09-30 14:26 ` Kevin Hilman
  0 siblings, 1 reply; 2+ messages in thread
From: Rajendra Nayak @ 2008-09-26 12:16 UTC (permalink / raw)
  To: linux-omap; +Cc: 'Kevin Hilman'

Hi,

This patch set adds context save/restore routines for minimal kernel and OFF mode
support in idle and suspend. This patch set applies on top of pm-1 branch.

This has context save/restore support implemented for the following modules
GPMC, UART, GPIO, I2C, PRCM, INTC, SCM, SRAM. 

A sysfs knob to dynamically control OFF mode is provided at 
/sys/power/enable_off_mode. This is set to 0 (disabled) by default.

After bootup execute the following commands to be able to achieve OFF mode
in idle as well as in suspend.

# echo -n 1 > /sys/power/enable_off_mode
# echo -n 1 > /sys/power/clocks_off_while_idle
# echo -n 1 > /sys/power/sleep_while_idle

regards,
Rajendra



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

* Re: [PATCH 00/16] OMAP3: Context save/Restore + OFF mode support
  2008-09-26 12:16 [PATCH 00/16] OMAP3: Context save/Restore + OFF mode support Rajendra Nayak
@ 2008-09-30 14:26 ` Kevin Hilman
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Hilman @ 2008-09-30 14:26 UTC (permalink / raw)
  To: Rajendra Nayak; +Cc: linux-omap

"Rajendra Nayak" <rnayak@ti.com> writes:

> This patch set adds context save/restore routines for minimal kernel and OFF mode
> support in idle and suspend. This patch set applies on top of pm-1 branch.
>
> This has context save/restore support implemented for the following modules
> GPMC, UART, GPIO, I2C, PRCM, INTC, SCM, SRAM. 
>
> A sysfs knob to dynamically control OFF mode is provided at 
> /sys/power/enable_off_mode. This is set to 0 (disabled) by default.
>

Hi Rajendra,

This series is in much better shape, and allows me to hit retention or
OFF in idle and suspend.  Thanks!

I will pull this series into pm-1 tomorrow.  There are few minor
things that I will cleanup upon merging.

- common:
  - in several new functions, no space between local variable
    definition and start of code
  - copyright 2007 additions.  Shouldn't these be 2008?

- 6/16: INTC
  - remove the comment MIRs being saved with PRCM since this is no longer true

- 11/16: PER/NEON
  - checkpatch warnings

- 15/16: /sys/power/enable_off_mode
  - your method doesn't quite work, I have an alternative

- 14/16: CORE off
  - checkpatch errors and warnings

Thanks,

Kevin

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

end of thread, other threads:[~2008-09-30 14:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-26 12:16 [PATCH 00/16] OMAP3: Context save/Restore + OFF mode support Rajendra Nayak
2008-09-30 14:26 ` Kevin Hilman

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