Skip to content

OMAP3: PM: base off-mode support

Kevin Hilman linux-arm-kernel linux-omap 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest32 patches 0 repliesNew
  2. v127 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/32OMAP3: PM: GPMC context save/restorearch/arm/mach-omap2/gpmc.c arch/arm/plat-omap/include/plat/gpmc.h+98 -30 replies
2/32OMAP3: PM: GPIO context save/restorearch/arm/plat-omap/gpio.c arch/arm/plat-omap/include/plat/gpio.h+94 -10 replies
3/32OMAP3: PM: INTC context save/restorearch/arm/mach-omap2/irq.c arch/arm/plat-omap/include/plat/irqs.h+71 -00 replies
4/32OMAP3: PM: PRCM context save/restorearch/arm/mach-omap2/prcm.c arch/arm/plat-omap/include/plat/control.h arch/arm/plat-omap/include/plat/prcm.h+396 -10 replies
5/32OMAP3: PM: Populate scratchpad contentsarch/arm/mach-omap2/control.c arch/arm/plat-omap/include/plat/control.h+212 -00 replies
6/32OMAP3: PM: SCM context save/restorearch/arm/mach-omap2/control.c arch/arm/plat-omap/include/plat/control.h+202 -40 replies
7/32OMAP3: PM: restore SRAM functions after off-mode.arch/arm/mach-omap2/pm34xx.c arch/arm/plat-omap/include/plat/sram.h arch/arm/plat-omap/sram.c+18 -60 replies
8/32OMAP3: PM: handle PER/NEON/CORE in idlearch/arm/mach-omap2/pm34xx.c+54 -100 replies
9/32OMAP3: PM: Restore MMU table entryarch/arm/mach-omap2/pm34xx.c+35 -00 replies
10/32OMAP3: PM: MPU off-mode supportarch/arm/mach-omap2/pm34xx.c arch/arm/mach-omap2/sleep34xx.S+14 -80 replies
11/32OMAP3: PM: CORE domain off-mode supportarch/arm/mach-omap2/pm34xx.c arch/arm/plat-omap/include/plat/sram.h+73 -10 replies
12/32OMAP: PM: DMA context save/restore for off-mode supportarch/arm/mach-omap2/pm34xx.c arch/arm/plat-omap/dma.c arch/arm/plat-omap/include/plat/dma.h+49 -02 replies
12/32OMAP: PM: DMA context save/restore for off-mode support+0 -00 replies
12/32OMAP: PM: DMA context save/restore for off-mode support+0 -00 replies
13/32OMAP3 PM: off-mode support for HS/EMU devicesarch/arm/mach-omap2/control.c arch/arm/mach-omap2/pm.h arch/arm/mach-omap2/pm34xx.c +1 more+126 -30 replies
14/32OMAP3: PM: save secure RAM only during initarch/arm/mach-omap2/pm34xx.c+17 -20 replies
15/32OMAP3: PM: Enable SDRAM auto-refresh during sleeparch/arm/mach-omap2/pm34xx.c+29 -00 replies
16/32OMAP3: PM: Save and restore also CM_CLKSEL1_PLL_IVA2arch/arm/mach-omap2/prcm.c+5 -00 replies
17/32OMAP3: PM: Fix secure SRAM context save/restorearch/arm/mach-omap2/pm34xx.c arch/arm/mach-omap2/sleep34xx.S arch/arm/plat-omap/dma.c+18 -80 replies
18/32ARM: OMAP: SMS: save/restore of SMS_SYSCONFIG for off-modearch/arm/mach-omap2/pm34xx.c arch/arm/mach-omap2/sdrc.c arch/arm/plat-omap/include/plat/sdrc.h+30 -00 replies
19/32OMAP3: PM: Fix PLL_MOD CLKEN offset in scratchpadarch/arm/mach-omap2/control.c+1 -10 replies
20/32OMAP: PM: Clear DMA channel state after a wakeuparch/arm/plat-omap/dma.c+6 -00 replies
21/32OMAP: Store reboot mode in scratchpad on OMAP34xxarch/arm/mach-omap2/prcm.c+11 -20 replies
22/32OMAP3: PM: SDRC auto-refresh workaround for off-modearch/arm/mach-omap2/control.c arch/arm/mach-omap2/sleep34xx.S arch/arm/plat-omap/include/plat/control.h+91 -30 replies
23/32OMAP3: PM: Fix INTC context save/restorearch/arm/mach-omap2/irq.c+2 -20 replies
24/32PM: Disable usb host HW save and restorearch/arm/mach-omap2/powerdomains34xx.h+7 -10 replies
25/32OMAP3: PM: Wait for SDRC ready iso a blind delayarch/arm/mach-omap2/sleep34xx.S+36 -120 replies
26/32OMAP3: PM debug: allow runtime toggle of PM featuresarch/arm/mach-omap2/pm-debug.c arch/arm/mach-omap2/pm.h arch/arm/mach-omap2/pm34xx.c +1 more+53 -21 reply
26/32OMAP3: PM debug: allow runtime toggle of PM features+0 -00 replies
27/32PM debug: allow configurable wakeup from suspend on OMAP GPtimerarch/arm/mach-omap2/pm-debug.c arch/arm/mach-omap2/pm.h arch/arm/mach-omap2/pm34xx.c +1 more+28 -00 replies
28/32OMAP3: PM: decouple PER and CORE context save and restorearch/arm/mach-omap2/pm34xx.c+29 -220 replies
29/32OMAP3: PM: Prevent PER from going OFF when CORE is going INAarch/arm/mach-omap2/pm34xx.c+14 -50 replies
30/32OMAP3: PM: MPU and CORE should stay awake if there is CAM domain ACTIVEarch/arm/mach-omap2/pm34xx.c+6 -00 replies
31/32OMAP3: PM: Enable IO-CHAIN wakeuparch/arm/mach-omap2/pm34xx.c arch/arm/mach-omap2/prm-regbits-34xx.h+37 -30 replies
32/32OMAP3: PM: Program SDRC to send self refresh on timeout of AUTO_CNTarch/arm/mach-omap2/control.c arch/arm/mach-omap2/pm34xx.c arch/arm/plat-omap/include/plat/sdrc.h+28 -180 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/32] OMAP3: PM: base off-mode support

This series adds the base off-mode support to the OMAP3 PM core. The code originates from the OMAP PM branch[1] and has been tested broadly on a variety of OMAP3 platforms.

It is currently based on Tony's for-next branch since it depends on the IO address space rework series and the omap-headers rework

This series is also available in the branch 'pm-upstream/pm-off' in my linux-omap-pm git repo at
git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git

Differences from v1
- Added descriptive changelogs to all patches
- Incorporated a handful of smaller off-mode fixups from PM branch

Kevin

Aaro Koskinen (2):
OMAP: PM: Clear DMA channel state after a wakeup
OMAP3: PM: Fix INTC context save/restore

Jouni Hogander (1):
OMAP3: PM: Save and restore also CM_CLKSEL1_PLL_IVA2

Juha Yrjola (1):
OMAP: Store reboot mode in scratchpad on OMAP34xx

Kalle Jokiniemi (5):
OMAP3: PM: Fix secure SRAM context save/restore
ARM: OMAP: SMS: save/restore of SMS_SYSCONFIG for off-mode
OMAP3: PM: Fix PLL_MOD CLKEN offset in scratchpad
PM: Disable usb host HW save and restore
OMAP3: PM: Enable IO-CHAIN wakeup

Kevin Hilman (3):
OMAP3: PM debug: allow runtime toggle of PM features PM debug: allow configurable wakeup from suspend on OMAP GPtimer
OMAP3: PM: decouple PER and CORE context save and restore

Peter 'p2' De Schrijver (1):
OMAP3: PM: Wait for SDRC ready iso a blind delay

Rajendra Nayak (12):
OMAP3: PM: GPMC context save/restore
OMAP3: PM: GPIO context save/restore
OMAP3: PM: INTC context save/restore
OMAP3: PM: PRCM context save/restore
OMAP3: PM: Populate scratchpad contents
OMAP3: PM: SCM context save/restore
OMAP3: PM: restore SRAM functions after off-mode.
OMAP3: PM: handle PER/NEON/CORE in idle
OMAP3: PM: Restore MMU table entry
OMAP3: PM: MPU off-mode support
OMAP3: PM: CORE domain off-mode support
OMAP3: PM: Program SDRC to send self refresh on timeout of AUTO_CNT

Tero Kristo (7):
OMAP: PM: DMA context save/restore for off-mode support OMAP3 PM: off-mode support for HS/EMU devices
OMAP3: PM: save secure RAM only during init
OMAP3: PM: Enable SDRAM auto-refresh during sleep
OMAP3: PM: SDRC auto-refresh workaround for off-mode
OMAP3: PM: Prevent PER from going OFF when CORE is going INA
OMAP3: PM: MPU and CORE should stay awake if there is CAM domain
ACTIVE

 arch/arm/mach-omap2/control.c             |  381 +++++++++++++++++++++++++++
 arch/arm/mach-omap2/gpmc.c                |   98 +++++++-
 arch/arm/mach-omap2/irq.c                 |   66 +++++
 arch/arm/mach-omap2/pm-debug.c            |   29 ++
 arch/arm/mach-omap2/pm.h                  |   10 +
 arch/arm/mach-omap2/pm34xx.c              |  362 +++++++++++++++++++++++++-
 arch/arm/mach-omap2/powerdomains34xx.h    |    8 +-
 arch/arm/mach-omap2/prcm.c                |  407 ++++++++++++++++++++++++++++-
 arch/arm/mach-omap2/prm-regbits-34xx.h    |    2 +
 arch/arm/mach-omap2/sdrc.c                |   27 ++
 arch/arm/mach-omap2/serial.c              |    2 -
 arch/arm/mach-omap2/sleep34xx.S           |  218 ++++++++++++++--
 arch/arm/mach-omap2/timer-gp.c            |    2 +
 arch/arm/plat-omap/dma.c                  |   62 +++++-
 arch/arm/plat-omap/gpio.c                 |   92 +++++++
 arch/arm/plat-omap/include/plat/control.h |   61 +++++-
 arch/arm/plat-omap/include/plat/dma.h     |    5 +
 arch/arm/plat-omap/include/plat/gpio.h    |    3 +-
 arch/arm/plat-omap/include/plat/gpmc.h    |    3 +
 arch/arm/plat-omap/include/plat/irqs.h    |    5 +
 arch/arm/plat-omap/include/plat/prcm.h    |    6 +-
 arch/arm/plat-omap/include/plat/sdrc.h    |    8 +
 arch/arm/plat-omap/include/plat/sram.h    |    7 +
 arch/arm/plat-omap/sram.c                 |    8 +-
 24 files changed, 1822 insertions(+), 50 deletions(-)
 mode change 100644 => 100755 arch/arm/plat-omap/include/plat/dma.h