Skip to content

RFC sh: Runtime PM Prototype for SuperH Mobile

Magnus Damm linux-pm linux-sh 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Driver Core: Runtime PM callbacks for the Platform Busdrivers/base/platform.c+31 -00 replies
2/6sh: Add support for multiple hwblk countersarch/sh/include/asm/hwblk.h arch/sh/kernel/cpu/hwblk.c arch/sh/kernel/cpu/sh4a/hwblk-sh7722.c+60 -260 replies
3/6sh: Runtime PM for SuperH Mobilearch/sh/include/asm/device.h arch/sh/include/asm/hwblk.h arch/sh/kernel/cpu/shmobile/Makefile +1 more+225 -20 replies
4/6sh: Runtime PM for sh7722 and Migo-Rarch/sh/boards/mach-migor/setup.c arch/sh/kernel/cpu/sh4a/hwblk-sh7722.c arch/sh/kernel/cpu/sh4a/setup-sh7722.c+49 -10 replies
5/6i2c: Runtime PM for i2c-sh_mobile.cdrivers/i2c/busses/i2c-sh_mobile.c+21 -00 replies
6/6video: Runtime PM for sh_mobile_lcdcfb.cdrivers/video/sh_mobile_lcdcfb.c+12 -190 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/06][RFC] sh: Runtime PM Prototype for SuperH Mobile

sh: Runtime PM Prototype for SuperH Mobile

[PATCH 01/06] Driver Core: Runtime PM callbacks for the Platform Bus [PATCH 02/06] sh: Add support for multiple hwblk counters [PATCH 03/06] sh: Runtime PM for SuperH Mobile
[PATCH 04/06] sh: Runtime PM for sh7722 and Migo-R
[PATCH 05/06] i2c: Runtime PM for i2c-sh_mobile.c
[PATCH 06/06] video: Runtime PM for sh_mobile_lcdcfb.c

This is the first complete Runtime PM prototype for SuperH Mobile. The patches above should be applied on top of the sh-2.6 git tree and the following ones:
"PM: Introduce core framework for run-time PM of I/O devices (rev. 9)" "Driver Core: Add platform device arch data V3"

Looking forward to hear what you think. Before, during or after the PM Summit!

---

 arch/sh/boards/mach-migor/setup.c        |    9 +
 arch/sh/include/asm/device.h             |   16 ++
 arch/sh/include/asm/hwblk.h              |   17 ++
 arch/sh/kernel/cpu/hwblk.c               |   69 ++++++----
 arch/sh/kernel/cpu/sh4a/hwblk-sh7722.c   |   14 +-
 arch/sh/kernel/cpu/sh4a/setup-sh7722.c   |   31 ++++
 arch/sh/kernel/cpu/shmobile/Makefile     |    1 
 arch/sh/kernel/cpu/shmobile/pm_runtime.c |  206 ++++++++++++++++++++++++++++++
 drivers/base/platform.c                  |   31 ++++
 drivers/i2c/busses/i2c-sh_mobile.c       |   21 +++
 drivers/video/sh_mobile_lcdcfb.c         |   31 +---
 11 files changed, 398 insertions(+), 48 deletions(-)