Skip to content

ARM: mach-shmobile: another sh7372 power domain update

Magnus Damm linux-pm linux-sh 1 version In review

Get series with b4
b4 am 20110707133212.22347.68775.sendpatchset@t400s

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ARM: mach-shmobile: sh7372 D4 supportarch/arm/mach-shmobile/include/mach/sh7372.h arch/arm/mach-shmobile/pm-sh7372.c arch/arm/mach-shmobile/setup-sh7372.c+6 -00 replies
2/5ARM: mach-shmobile: Runtime PM late init callbackarch/arm/mach-shmobile/include/mach/common.h arch/arm/mach-shmobile/pm_runtime.c+11 -00 replies
3/5ARM: mach-shmobile: sh7372 late pm domain offarch/arm/mach-shmobile/pm-sh7372.c+13 -00 replies
4/5PM: export pm_genpd_poweron() in headerdrivers/base/power/domain.c include/linux/pm_domain.h+6 -10 replies
5/5ARM: mach-shmobile: sh7372 A3RV requires A4LCarch/arm/mach-shmobile/pm-sh7372.c+42 -30 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/05] ARM: mach-shmobile: another sh7372 power domain update

ARM: mach-shmobile: another sh7372 power domain update

[PATCH 01/05] ARM: mach-shmobile: sh7372 D4 support [PATCH 02/05] ARM: mach-shmobile: Runtime PM late init callback [PATCH 03/05] ARM: mach-shmobile: sh7372 late pm domain off [PATCH 04/05] PM: export pm_genpd_poweron() in header [PATCH 05/05] ARM: mach-shmobile: sh7372 A3RV requires A4LC

These patches update the partial hardware power domain support included in the pm-domains branch of the suspend-2.6 git tree.

With these patches applied the unused sh7372 hardware power domains are powered down during kernel boot. This is currently handled by the SoC-specific code, but I believe this is something that can be shared on a framework leve. Until that happens we need some way to turn off the unused power domains, so here it is.

Included is also code that fixes A3RV support by making sure A4LC is on whenever A3RV is turned on. This issue started triggering when "[PATCH 03/05] ARM: mach-shmobile: sh7372 late pm domain off" got applied and A4LC was turned off automatically.

---

Applies to the suspend-2.6 git pm-domains branch on top of
the following acked patches:
"[PATCH 1/2] ARM: mach-shmobile: sh7372: make sure that fsi is peripheral of spu2" "[PATCH 2/2 v2] ARM: mach-shmobile: sh7372 A4MP support"

 arch/arm/mach-shmobile/include/mach/common.h |    1 
 arch/arm/mach-shmobile/include/mach/sh7372.h |    1 
 arch/arm/mach-shmobile/pm-sh7372.c           |   62 ++++++++++++++++++++++++--
 arch/arm/mach-shmobile/pm_runtime.c          |   10 ++++
 arch/arm/mach-shmobile/setup-sh7372.c        |    1 
 drivers/base/power/domain.c                  |    2 
 include/linux/pm_domain.h                    |    5 ++
 7 files changed, 78 insertions(+), 4 deletions(-)