Skip to content

PM: SuperH Runtime PM prototype V2

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4sh: SuperH platform bus code for Runtime PM v11arch/sh/include/asm/device.h arch/sh/include/asm/hwblk.h arch/sh/kernel/cpu/shmobile/Makefile +1 more+256 -10 replies
2/4i2c: Runtime PM changes for SuperH I2C driverdrivers/i2c/busses/i2c-sh_mobile.c+37 -20 replies
3/4uio: Runtime PM changes for UIO driverdrivers/uio/uio_pdrv_genirq.c+54 -00 replies
4/4video: Runtime PM hack for SuperH LCDC driverdrivers/video/sh_mobile_lcdcfb.c+29 -182 replies
4/4video: Runtime PM hack for SuperH LCDC driverdrivers/video/sh_mobile_lcdcfb.c+29 -180 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/04] PM: SuperH Runtime PM prototype V2

PM: SuperH Runtime PM prototype V2

[PATCH 01/04] sh: SuperH platform bus code for Runtime PM v11 [PATCH 02/04] i2c: Runtime PM changes for SuperH I2C driver [PATCH 03/04] uio: Runtime PM changes for UIO driver [PATCH 04/04] video: Runtime PM hack for SuperH LCDC driver

This series is the Runtime PM prototype for SuperH V2. Included is a architecture specific Runtime PM implementation prototype for the platform bus together with a few driver changes.

The patches are meant to be applied on top of the following:
"PM: Introduce core framework for run-time PM of I/O devices (rev. 11)" "PM: Runtime PM v11 - add dev_pm_ops helpers"
"PM: Runtime PM v11 - let bus-less devices succeed"
"PM: Runtime PM v11 - add debug printouts"
"PM: Runtime PM v11 - CONFIG_PM_SLEEP=n support"
"Driver Core: Runtime PM callbacks for the Platform Bus V2"

For the SuperH side of things you also need latest sh-2.6 git and:
"Driver Core: Add platform device arch data V3"
"sh: Runtime PM pdev hwblk changes"

Patch 01 + 04 need more attention
Patch 02 + 03 should be all that is needed for Runtime PM driver support.

Rafael, please have a look at the Runtime PM v11 issue in patch 04.

---

 arch/sh/include/asm/device.h             |    8 
 arch/sh/include/asm/hwblk.h              |    4 
 arch/sh/kernel/cpu/shmobile/Makefile     |    1 
 arch/sh/kernel/cpu/shmobile/pm_runtime.c |  244 ++++++++++++++++++++++++++++++
 drivers/i2c/busses/i2c-sh_mobile.c       |   39 ++++
 drivers/uio/uio_pdrv_genirq.c            |   54 ++++++
 drivers/video/sh_mobile_lcdcfb.c         |   47 +++--
 7 files changed, 376 insertions(+), 21 deletions(-)