OMAP3: fix powerdomain hardware save-and-restore support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | OMAP3 pwrdm: add hardware save-and-restore (SAR) supportarch/ include/ | +79 | 0 replies | |
| 2/4 | OMAP3: move USBHOST SAR handling from clock framework to powerdomain layerarch/ arch/ | +1 | 0 replies | |
| 3/4 | OMAP3 pwrdm: add CORE SAR handling (for USBTLL module)arch/ arch/ | +23 | 0 replies | |
| 4/4 | OMAP3 PM: enable hardware SAR for USBHOST, USBTLL modulesarch/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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.
Signed-off-by Paul Walmsley <[email protected]>
---
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(-)