Skip to content

PM: proposed branch for PM collaboration

Kevin Hilman linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest29 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/29PM: Dynamic GPIO clock handlingarch/arm/mach-omap2/pm.c arch/arm/mach-omap2/pm.h arch/arm/mach-omap2/pm34xx.c+67 -110 replies
2/29Added sleep support to UARTarch/arm/mach-omap2/pm-debug.c arch/arm/mach-omap2/pm.c arch/arm/mach-omap2/pm.h +4 more+242 -1650 replies
3/29PM debug support for 34xxarch/arm/mach-omap2/clock.c arch/arm/mach-omap2/clockdomain.c arch/arm/mach-omap2/pm-debug.c +5 more+548 -40 replies
4/29Sysfs interface for controlling suspend states + set_pwrdm_state fixarch/arm/mach-omap2/pm34xx.c+96 -10 replies
5/29Basic cpuidle driverarch/arm/mach-omap2/Makefile arch/arm/mach-omap2/cpuidle34xx.c arch/arm/mach-omap2/cpuidle34xx.h +1 more+306 -20 replies
6/29per/neon and core handling in idlearch/arm/mach-omap2/cpuidle34xx.c arch/arm/mach-omap2/cpuidle34xx.h arch/arm/mach-omap2/pm34xx.c+101 -370 replies
7/29menuconfig updates for cpuidlearch/arm/Kconfig drivers/cpuidle/Kconfig+31 -50 replies
8/29scratchpad contentsarch/arm/mach-omap2/pm.h arch/arm/mach-omap2/pm34xx.c arch/arm/mach-omap2/sleep34xx.S +1 more+181 -90 replies
9/29mpu off state enabledarch/arm/mach-omap2/cpuidle34xx.c arch/arm/mach-omap2/cpuidle34xx.h+20 -40 replies
10/29gpmc context save/restorearch/arm/mach-omap2/gpmc.c arch/arm/plat-omap/include/mach/gpmc.h+94 -00 replies
11/29serial context save/restorearch/arm/mach-omap2/serial.c include/linux/serial_reg.h+63 -00 replies
12/29gpio context save/restorearch/arm/plat-omap/gpio.c arch/arm/plat-omap/include/mach/common.h+94 -00 replies
13/29i2c context save/restoredrivers/i2c/busses/i2c-omap.c+2 -00 replies
14/29CORE context save/restorearch/arm/mach-omap2/cpuidle34xx.c arch/arm/mach-omap2/cpuidle34xx.h arch/arm/mach-omap2/pm34xx.c +8 more+755 -1720 replies
15/29OMAP3: PM: Move serial console check from omap3_can_sleep to idle looparch/arm/mach-omap2/cpuidle34xx.c arch/arm/mach-omap2/pm34xx.c+4 -31 reply
16/29OMAP3: PM: Remove static keyword from _omap_sram_idle declarationarch/arm/mach-omap2/pm34xx.c+1 -10 replies
17/29OMAP3: PM: Remove unneeded code from traditional pm_idle looparch/arm/mach-omap2/pm34xx.c+0 -140 replies
18/29OMAP3: PM: Do not build pm_idle loop if cpuidle is usedarch/arm/mach-omap2/pm34xx.c+2 -00 replies
19/29OMAP3: Do not set mpu, core, neon states if cpuidle is usedarch/arm/mach-omap2/pm34xx.c+10 -70 replies
20/29OMAP3: PM: Fixed header paths in include statementsarch/arm/mach-omap2/cpuidle34xx.c arch/arm/mach-omap2/pm34xx.c+8 -80 replies
21/29OMAP3: PM: Remove unneeded code from suspendarch/arm/mach-omap2/pm34xx.c+0 -140 replies
22/29DMA context save / restorearch/arm/mach-omap2/cpuidle34xx.c arch/arm/plat-omap/dma.c arch/arm/plat-omap/include/mach/dma.h+32 -00 replies
23/29OMAP3: PM: Add new Kconfig option to enable/disable off modearch/arm/mach-omap2/Kconfig arch/arm/mach-omap2/cpuidle34xx.c arch/arm/mach-omap2/pm34xx.c+22 -00 replies
24/29OMAP3SDP: Add new config for off mode testingarch/arm/configs/omap_3430sdp_offmode_defconfig+1073 -00 replies
25/29OMAP3: Remove CONFIG_OMAP_SYSOFFMODE flagarch/arm/mach-omap2/pm34xx.c arch/arm/mach-omap2/prm-regbits-34xx.h+3 -110 replies
26/29OMAP: Sysfs interface for enabling voltage off in idlearch/arm/mach-omap2/pm.c arch/arm/mach-omap2/pm.h+21 -10 replies
27/29OMAP3: OFF command integrationarch/arm/mach-omap2/pm.c arch/arm/mach-omap2/pm34xx.c+17 -20 replies
28/29PM FIX: convert TI io_p2v() usage to OMAP2_IO_ADDRESS()arch/arm/mach-omap2/pm34xx.c+3 -31 reply
29/29PM: serial: ensure padconf wake-enable bits are set for UARTsarch/arm/mach-omap2/serial.c+9 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/29] PM: proposed branch for PM collaboration

Hello,

The following patchset is an attempt to collect the various PM patches that have been flowing around, and organize them into one branch to be used for further collaboration on PM development, in particular OFF-mode support.

It is currently a collection of proposed patches[1] from TI and various other patches from Nokia and others to get retention, OFF-mode, CPUidle etc. working in the linux-omap tree.

This series is nowhere near ready for merging into linux-omap, but will be useful for discussion and collaboration on getting the various PM features working at the head of the linux-omap tree, and a place where cleanup and rework efforts can be focused.

If there are no major objections, I will create a branch in linux-omap git and commit this series there. As collaboration continues, I will continue to collect and update patches, fix problems and rebase onto the HEAD of linux-omap.

The goal of this branch is only to facilitate the rework and cleanup of the PM code so it can be merged into linux-omap. Then, the branch will disappear and work can be focused again on the HEAD of linux-omap.

It has currently been tested with a minimal config on 3430SDP, and OFF-mode is hit in suspend. In order to hit suspend:

echo 1 > /sys/power/voltage_off_while_idle
echo 1 > /sys/power/gpio_clocks_off_while_idle
echo 1 > /sys/power/uart_clocks_off_while_idle
echo mem > /sys/power/state

Kevin

[1] This series is roughly based on the following:

Jouni Hogander, Tero Kristo
[PATCH 0/4] Refreshed PM workaround patches 2 -- 15 Aug

Rajendra Nayak:
[PATCH 00/11] OMAP3 CPUidle patches - ver 2 -- 18 July

As well as several patches/hacks/cleanups that have not yet been posted to the list.

Also, there have been newer versions of the CPUidle patches that have been reviewed on the list, but do not apply for various reasons. As soon as they are rebased and updated versions of those are available, I will integrate them.