Skip to content

OMAP3: fix powerdomain hardware save-and-restore support

Paul Walmsley linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4OMAP3 pwrdm: add hardware save-and-restore (SAR) supportarch/arm/mach-omap2/powerdomain.c include/asm-arm/arch-omap/powerdomain.h+79 -00 replies
2/4OMAP3: move USBHOST SAR handling from clock framework to powerdomain layerarch/arm/mach-omap2/clock34xx.h arch/arm/mach-omap2/powerdomains34xx.h+1 -120 replies
3/4OMAP3 pwrdm: add CORE SAR handling (for USBTLL module)arch/arm/mach-omap2/powerdomains.h arch/arm/mach-omap2/powerdomains34xx.h+23 -30 replies
4/4OMAP3 PM: enable hardware SAR for USBHOST, USBTLL modulesarch/arm/mach-omap2/pm34xx.c+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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.

---

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(-)