[PATCH v3 0/6] ARM: OMAP2+: PM: introduce the power domains functional states

jean.pihet at newoldbits.com jean.pihet at newoldbits.com
Wed Apr 18 08:39:36 EDT 2012


From: Jean Pihet <j-pihet at ti.com>

Implement the functional states for the power domains:
- protect the power domain state change by a mutex in
  omap_set_pwrdm_state,
- introduce the functional states for power domains power states and
  logic power states, and the conversion functions between the
  functional and internal states,
- unify the API to use the functional states,
- program the logic power state of power domains from the functional
  states, in omap_set_pwrdm_state
- convert the OMAP2/3/4 PM code to use the updated API,
- provide the power domains statistics by functional states.

Tested on OMAP3 Beagleboard, with suspend and cpuidle in RET and
OFF modes.


History:
 v3:
 - fix a bug in OMAP3 cpuidle which prevented the IO wake-ups in PER

 v2:
 - add the logic power states,
 - provide the power domains statistics by functional states

 v1:
 - initial implementation, in RFC state
 

Jean Pihet (6):
  ARM: OMAP2+: PM: protect the power domain state change by a mutex
  ARM: OMAP2+: PM: introduce power domains functional states
  ARM: OMAP2+: PM: use the functional power states API
  ARM: OMAP2+: PM: introduce power domains logic and memory functional
    states
  ARM: OMAP2+: PM: use the functional power states API for logic and
    memory
  ARM: OMAP2+: PM: use power domain functional state in stats counters

 arch/arm/mach-omap2/cpuidle34xx.c          |   61 ++++----
 arch/arm/mach-omap2/cpuidle44xx.c          |   28 ++--
 arch/arm/mach-omap2/omap-hotplug.c         |    2 +-
 arch/arm/mach-omap2/omap-mpuss-lowpower.c  |   39 +++---
 arch/arm/mach-omap2/pm-debug.c             |   15 +-
 arch/arm/mach-omap2/pm.c                   |   62 -------
 arch/arm/mach-omap2/pm24xx.c               |   14 +-
 arch/arm/mach-omap2/pm34xx.c               |   80 +++++-----
 arch/arm/mach-omap2/pm44xx.c               |   15 +--
 arch/arm/mach-omap2/powerdomain-common.c   |   85 ++++++++++
 arch/arm/mach-omap2/powerdomain.c          |  244 ++++++++++++++++++++++++++--
 arch/arm/mach-omap2/powerdomain.h          |   42 +++++-
 arch/arm/mach-omap2/powerdomain2xxx_3xxx.c |    7 +
 arch/arm/mach-omap2/powerdomain44xx.c      |    3 +
 14 files changed, 489 insertions(+), 208 deletions(-)

-- 
1.7.7.6




More information about the linux-arm-kernel mailing list