Skip to content

ARM: OMAP5 / DRA7: Add framework for suspend and cpuidle

Nishanth Menon linux-arm-kernel linux-omap linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 27 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10ARM: OMAP5 / DRA7: PM: Update CPU context register offsetarch/arm/mach-omap2/omap-mpuss-lowpower.c+9 -40 replies
2/10ARM: OMAP5 / DRA7: PM: Set MPUSS-EMIF clock-domain static dependencyarch/arm/mach-omap2/pm44xx.c+33 -31 reply
3/10ARM: OMAP5 / DRA7: PM / wakeupgen: Enables ES2 PM mode by defaultarch/arm/mach-omap2/omap-secure.h arch/arm/mach-omap2/omap-wakeupgen.c arch/arm/mach-omap2/omap-wakeupgen.h+19 -00 replies
4/10ARM: OMAP5 / DRA7: PM: Enable Mercury retention mode on CPUx powerdomainsarch/arm/mach-omap2/omap-mpuss-lowpower.c+16 -00 replies
5/10ARM: OMAP5 / DRA7: PM: Avoid all SAR savesarch/arm/mach-omap2/omap-mpuss-lowpower.c+34 -210 replies
6/10ARM: OMAP5 / DRA7: PM: Provide a dummy startup function for CPU hotplugarch/arm/mach-omap2/omap-mpuss-lowpower.c+8 -60 replies
7/10ARM: OMAP5 / DRA7: Enable CPU RET on suspendarch/arm/mach-omap2/omap-mpuss-lowpower.c arch/arm/mach-omap2/omap-wakeupgen.c arch/arm/mach-omap2/pm44xx.c+12 -39 replies
8/10ARM: OMAP5/DRA7: PM: cpuidle MPU CSWR supportarch/arm/mach-omap2/cpuidle44xx.c arch/arm/mach-omap2/pm44xx.c+82 -214 replies
9/10ARM: OMAP5: Add hook in SoC initcalls to enable pm initializationarch/arm/mach-omap2/common.h arch/arm/mach-omap2/io.c+4 -10 replies
10/10ARM: DRA7: Add hook in SoC initcalls to enable pm initializationarch/arm/mach-omap2/common.h arch/arm/mach-omap2/io.c+4 -10 replies

Reviews trailers per patch

None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKevin Hilman
SeriesR-b T-b
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/10] ARM: OMAP5 / DRA7: Add framework for suspend and cpuidle

The following series are various fixes and improvements for
supporting suspend-to-ram. This depends on the following for basic functionality:
series 1/6 where powerdomain fixes were involved.
This will at least allow wake up from an internal source such as from a wakeup timer:
For example with https://github.com/nmenon/linux-2.6-playground/commit/92e5e7407aa707ad6be8ae3b5bf21cfc741daab6

pinctrl series allows for external wakeup event sources like pushbutton etc.

NOTE: OMAP5 and DRA7 definitions of power states and suspend targets are almost identical (except for core power domain target state as part of suspend).

NOTE: This also needs missing hwmod and dts entries for various peripherals that will eventually arrive over a period of time.

This is part 5/6 series which actually enables framework for suspend-to-ram and cpuidle for OMAP5 and DRA7

Each of series is based on v3.17-rc1 and this specific series is available:
weblink: https://github.com/nmenon/linux-2.6-playground/commits/push/v3.17/powerdomain-fixes

git repo: https://github.com/nmenon/linux-2.6-playground.git push/v3.17/powerdomain-fixes

An complete integrated branch is available here: https://github.com/nmenon/linux-2.6-playground/commits/testing/v3.17/cpu-idle-suspend-dra7-omap5-framework

Example test log:
DRA7 based BeagleBoard X15: http://slexy.org/view/s2jgsH8bos (wakeup from external using pinctrl wakeup).
OMAP5UEVM: http://slexy.org/view/s20MiQJQIq (external pinctrl not hooked)

Rajendra Nayak (3):
ARM: OMAP5 / DRA7: PM: Avoid all SAR saves
ARM: OMAP5 / DRA7: Enable CPU RET on suspend
ARM: DRA7: Add hook in SoC initcalls to enable pm initialization

Santosh Shilimkar (7):
ARM: OMAP5 / DRA7: PM: Update CPU context register offset
ARM: OMAP5 / DRA7: PM: Set MPUSS-EMIF clock-domain static dependency
ARM: OMAP5 / DRA7: PM / wakeupgen: Enables ES2 PM mode by default
ARM: OMAP5 / DRA7: PM: Enable Mercury retention mode on CPUx
powerdomains
ARM: OMAP5 / DRA7: PM: Provide a dummy startup function for CPU
hotplug
ARM: OMAP5/DRA7: PM: cpuidle MPU CSWR support
ARM: OMAP5: Add hook in SoC initcalls to enable pm initialization

 arch/arm/mach-omap2/common.h              |    2 +-
 arch/arm/mach-omap2/cpuidle44xx.c         |   82 ++++++++++++++++++++++-
 arch/arm/mach-omap2/io.c                  |    6 ++
 arch/arm/mach-omap2/omap-mpuss-lowpower.c |  102 ++++++++++++++++++++---------
 arch/arm/mach-omap2/omap-secure.h         |    1 +
 arch/arm/mach-omap2/omap-wakeupgen.c      |   19 +++++-
 arch/arm/mach-omap2/omap-wakeupgen.h      |    1 +
 arch/arm/mach-omap2/pm44xx.c              |   47 +++++++++++--
 8 files changed, 220 insertions(+), 40 deletions(-)
Signature · 1 line
1.7.9.5