All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC/PATCH v2 0/6] ARM: OMAP2+: PM: introduce the power domains functional states
@ 2012-04-11 20:46 jean.pihet
  2012-04-11 20:46 ` [PATCH 1/6] ARM: OMAP2+: PM: protect the power domain state change by a mutex jean.pihet
                   ` (5 more replies)
  0 siblings, 6 replies; 21+ messages in thread
From: jean.pihet @ 2012-04-11 20:46 UTC (permalink / raw)
  To: ldc_pm_all, linux-omap, paul, b-cousson, khilman; +Cc: Jean Pihet

From: Jean Pihet <j-pihet@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.


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


^ permalink raw reply	[flat|nested] 21+ messages in thread
* [PATCH v3 0/6] ARM: OMAP2+: PM: introduce the power domains functional states
@ 2012-04-18 12:39 jean.pihet
  2012-04-18 12:39   ` jean.pihet at newoldbits.com
  0 siblings, 1 reply; 21+ messages in thread
From: jean.pihet @ 2012-04-18 12:39 UTC (permalink / raw)
  To: linux-omap, paul, b-cousson, khilman, linux-arm-kernel; +Cc: Jean Pihet

From: Jean Pihet <j-pihet@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


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2012-05-23  6:39 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-11 20:46 [RFC/PATCH v2 0/6] ARM: OMAP2+: PM: introduce the power domains functional states jean.pihet
2012-04-11 20:46 ` [PATCH 1/6] ARM: OMAP2+: PM: protect the power domain state change by a mutex jean.pihet
2012-04-11 20:46 ` [PATCH 2/6] ARM: OMAP2+: PM: introduce power domains functional states jean.pihet
2012-04-11 20:46 ` [PATCH 3/6] ARM: OMAP2+: PM: use the functional power states API jean.pihet
2012-04-11 20:46 ` [PATCH 4/6] ARM: OMAP2+: PM: introduce power domains logic and memory functional states jean.pihet
2012-04-11 20:46 ` [PATCH 5/6] ARM: OMAP2+: PM: use the functional power states API for logic and memory jean.pihet
2012-04-11 20:46 ` [PATCH 6/6] ARM: OMAP2+: PM: use power domain functional state in stats counters jean.pihet
2012-04-18 12:39 [PATCH v3 0/6] ARM: OMAP2+: PM: introduce the power domains functional states jean.pihet
2012-04-18 12:39 ` [PATCH 2/6] ARM: OMAP2+: PM: introduce " jean.pihet
2012-04-18 12:39   ` jean.pihet at newoldbits.com
2012-05-07  9:28   ` Paul Walmsley
2012-05-07  9:28     ` Paul Walmsley
2012-05-08  8:40     ` Jean Pihet
2012-05-08  8:40       ` Jean Pihet
2012-05-17 10:04       ` Santosh Shilimkar
2012-05-17 10:04         ` Santosh Shilimkar
2012-05-21 13:53         ` Jean Pihet
2012-05-21 13:53           ` Jean Pihet
2012-05-21 14:25           ` Shilimkar, Santosh
2012-05-21 14:25             ` Shilimkar, Santosh
2012-05-23  6:39             ` Santosh Shilimkar
2012-05-23  6:39               ` Santosh Shilimkar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.