[PATCH 0/4] OMAP3: fix powerdomain hardware save-and-restore support

Paul Walmsley
2008-06-26T00:16:42Z

This series revises the support for automatic hardware-controlled
powerdomain context save-and-restore (SAR). Previously, this was
partially handled through the clock framework; but handling it via the
powerdomain framework is a better solution.

The patches:

- add functions to the powerdomain code to enable and disable
automatic SAR,

- move the USBHOST SAR support from the clock fw to the powerdomain
layer,

- add support for USBTLL SAR,

- enable SAR for all powerdomains that support it upon powerdomain
initialization.

Boot-tested on 3430SDP ES2.

Signed-off-by: Paul Walmsley <paul@pwsan.com>

---

size:
text data bss dec hex filename
3391246 156920 107144 3655310 37c68e vmlinux.3430sdp.orig
3391422 156872 107144 3655438 37c70e vmlinux.3430sdp.patched

arch/arm/mach-omap2/clock34xx.h | 12 -----
arch/arm/mach-omap2/pm34xx.c | 4 ++
arch/arm/mach-omap2/powerdomain.c | 68 +++++++++++++++++++++++++++++++
arch/arm/mach-omap2/powerdomains.h | 3 +
arch/arm/mach-omap2/powerdomains34xx.h | 24 ++++++++++-
include/asm-arm/arch-omap/powerdomain.h | 11 +++++
6 files changed, 107 insertions(+), 15 deletions(-)