All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH/RFC 0/6] ARM: runtime PM: consolidate runtime PM implementations
@ 2011-04-07  0:02 ` Kevin Hilman
  0 siblings, 0 replies; 66+ messages in thread
From: Kevin Hilman @ 2011-04-07  0:02 UTC (permalink / raw)
  To: linux-arm-kernel

This series aims to consolidate OMAP and SH-mobile runtime PM
implementations around the new device power domains.

In 2.6.39, device power domains were added (commit
7538e3db6e015e890825fbd9f8659952896ddd5b, PM: add support for device
power domains).  In converting both OMAP and SH-mobile to use device
power domains, the overlap between implementations was almost 100%.  

To share the runtime PM implementation based on simple clock gating,
move it to arch/arm/common and initialize it from OMAP and SH-mobile.

Also, OMAP was the only user of platform_bus_set_pm_ops().  Now that
it has been converted to device power domains, remove
platform_bus_set_pm_ops().

Kevin Hilman (6):
  ARM: sh-mobile: runtime PM: convert to device powerdomains
  OMAP2+: PM: move runtime PM implementation to use device power
    domains
  OMAP1: runtime PM: drop platform bus implementation
  ARM: move SH-mobile runtime PM to arm/common for sharing with other
    platforms
  ARM: use common clock-based runtime PM implementation on SH-mobile &
    OMAP1
  Revert "driver core: platform_bus: allow runtime override of
    dev_pm_ops"

 arch/arm/common/Makefile            |    1 +
 arch/arm/common/pm_runtime_clock.c  |  176 +++++++++++++++++++++++++++++++++++
 arch/arm/include/asm/pm_runtime.h   |   17 ++++
 arch/arm/mach-omap1/Makefile        |    2 +-
 arch/arm/mach-omap1/pm_bus.c        |  100 --------------------
 arch/arm/mach-omap1/pm_runtime.c    |   18 ++++
 arch/arm/mach-omap2/Makefile        |    6 +-
 arch/arm/mach-omap2/pm_bus.c        |   85 -----------------
 arch/arm/mach-shmobile/pm_runtime.c |  152 +-----------------------------
 arch/arm/plat-omap/omap_device.c    |   22 +++++
 drivers/base/platform.c             |   35 -------
 include/linux/platform_device.h     |    3 -
 12 files changed, 241 insertions(+), 376 deletions(-)
 create mode 100644 arch/arm/common/pm_runtime_clock.c
 create mode 100644 arch/arm/include/asm/pm_runtime.h
 delete mode 100644 arch/arm/mach-omap1/pm_bus.c
 create mode 100644 arch/arm/mach-omap1/pm_runtime.c
 delete mode 100644 arch/arm/mach-omap2/pm_bus.c

-- 
1.7.4


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

end of thread, other threads:[~2011-06-13  8:47 UTC | newest]

Thread overview: 66+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-07  0:02 [PATCH/RFC 0/6] ARM: runtime PM: consolidate runtime PM implementations Kevin Hilman
2011-04-07  0:02 ` Kevin Hilman
2011-04-07  0:02 ` Kevin Hilman
2011-04-07  0:02 ` [PATCH/RFC 1/6] ARM: sh-mobile: runtime PM: convert to device powerdomains Kevin Hilman
2011-04-07  0:02   ` Kevin Hilman
2011-04-07  0:02   ` Kevin Hilman
2011-04-07  0:02 ` [PATCH/RFC 2/6] OMAP2+: PM: move runtime PM implementation to use device power domains Kevin Hilman
2011-04-07  0:02   ` Kevin Hilman
2011-04-07  0:02   ` Kevin Hilman
2011-04-07  0:02   ` Kevin Hilman
2011-04-07  5:49   ` [PATCH/RFC 2/6] OMAP2+: PM: move runtime PM implementation to Grant Likely
2011-04-07  5:49     ` [PATCH/RFC 2/6] OMAP2+: PM: move runtime PM implementation to use device power domains Grant Likely
2011-04-07  5:49     ` Grant Likely
2011-06-09 14:30   ` Sakari Ailus
2011-06-09 16:37     ` Kevin Hilman
2011-06-10  6:57       ` N900 USB fix (Was: Re: [PATCH/RFC 2/6] OMAP2+: PM: move runtime PM implementation to use device power domains) Sakari Ailus
2011-06-13  8:28         ` Jarkko Nikula
2011-06-13  8:46           ` Felipe Balbi
2011-06-13  8:47             ` Felipe Balbi
2011-04-07  0:02 ` [PATCH/RFC 3/6] OMAP1: runtime PM: drop platform bus implementation Kevin Hilman
2011-04-07  0:02   ` Kevin Hilman
2011-04-07  0:02   ` Kevin Hilman
2011-04-07  0:02   ` Kevin Hilman
2011-04-07  0:02 ` [PATCH/RFC 4/6] ARM: move SH-mobile runtime PM to arm/common for sharing with other platforms Kevin Hilman
2011-04-07  0:02   ` Kevin Hilman
2011-04-07  0:02   ` Kevin Hilman
2011-04-07 16:56   ` Paul Mundt
2011-04-07 16:56     ` Paul Mundt
2011-04-07 16:56     ` Paul Mundt
2011-04-07 17:08     ` Kevin Hilman
2011-04-07 17:08       ` Kevin Hilman
2011-04-07 17:08       ` Kevin Hilman
2011-04-07 22:35       ` Rafael J. Wysocki
2011-04-07 22:35         ` Rafael J. Wysocki
2011-04-07 22:35         ` Rafael J. Wysocki
2011-04-08  0:38         ` Kevin Hilman
2011-04-08  0:38           ` Kevin Hilman
2011-04-08  0:38           ` Kevin Hilman
2011-04-08  5:01           ` Paul Mundt
2011-04-08  5:01             ` Paul Mundt
2011-04-08  5:01             ` Paul Mundt
2011-04-07  0:02 ` [PATCH/RFC 5/6] ARM: use common clock-based runtime PM implementation on SH-mobile & OMAP1 Kevin Hilman
2011-04-07  0:02   ` Kevin Hilman
2011-04-07  0:02   ` Kevin Hilman
2011-04-07  0:02 ` [PATCH/RFC 6/6] Revert "driver core: platform_bus: allow runtime override of dev_pm_ops" Kevin Hilman
2011-04-07  0:02   ` Kevin Hilman
2011-04-07  0:02   ` Kevin Hilman
2011-04-07  5:38 ` [PATCH/RFC 0/6] ARM: runtime PM: consolidate runtime PM implementations Rafael J. Wysocki
2011-04-07  5:38   ` Rafael J. Wysocki
2011-04-07  5:38   ` Rafael J. Wysocki
2011-04-07 14:58   ` Kevin Hilman
2011-04-07 14:58     ` Kevin Hilman
2011-04-07 14:58     ` Kevin Hilman
2011-04-07 17:17     ` Kevin Hilman
2011-04-07 17:17       ` Kevin Hilman
2011-04-07 17:17       ` Kevin Hilman
2011-04-07 22:31       ` Rafael J. Wysocki
2011-04-07 22:31       ` Rafael J. Wysocki
2011-04-07 22:31         ` Rafael J. Wysocki
2011-04-07 22:31         ` Rafael J. Wysocki
2011-04-08  0:32         ` Kevin Hilman
2011-04-08  0:32         ` Kevin Hilman
2011-04-08  0:32           ` Kevin Hilman
2011-04-08  0:32           ` Kevin Hilman
2011-04-07 17:17     ` Kevin Hilman
2011-04-07 14:58   ` Kevin Hilman

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.