Skip to content

OMAP3: Context save/Restore + OFF mode support

Rajendra Nayak linux-omap 1 version In review

Get series with b4
b4 am '01f101c91fd1$c6c95900$LocalHost@wipultra1382'

Versions newest first

  1. v1 Latest16 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16OMAP3: Adds missing CM offset defsarch/arm/mach-omap2/cm.h+2 -00 replies
2/16OMAP3: GPMC context save/restorearch/arm/mach-omap2/gpmc.c arch/arm/plat-omap/include/mach/gpmc.h+96 -00 replies
3/16OMAP3: Serial context save/restorearch/arm/mach-omap2/serial.c arch/arm/plat-omap/include/mach/serial.h include/linux/serial_reg.h+70 -00 replies
4/16OMAP3: GPIO context save/restorearch/arm/plat-omap/gpio.c arch/arm/plat-omap/include/mach/gpio.h+95 -10 replies
5/16OMAP3: I2C context save/restoredrivers/i2c/busses/i2c-omap.c+27 -140 replies
6/16OMAP3: INTC context save/restorearch/arm/mach-omap2/irq.c arch/arm/plat-omap/include/mach/irqs.h+72 -00 replies
7/16OMAP3: PRCM context save/restorearch/arm/mach-omap2/prcm.c arch/arm/mach-omap2/prm.h arch/arm/plat-omap/include/mach/control.h +1 more+379 -00 replies
8/16OMAP3: Populate scratchpad contentsarch/arm/mach-omap2/control.c arch/arm/plat-omap/include/mach/control.h+214 -04 replies
9/16OMAP3: SCM context save/restorearch/arm/mach-omap2/control.c arch/arm/plat-omap/include/mach/control.h+173 -10 replies
10/16OMAP3: SRAM restore functionarch/arm/mach-omap2/pm34xx.c arch/arm/plat-omap/include/mach/sram.h arch/arm/plat-omap/sram.c+11 -60 replies
11/16OMAP3: PER/NEON/CORE control in idlearch/arm/mach-omap2/pm34xx.c arch/arm/mach-omap2/serial.c arch/arm/plat-omap/include/mach/common.h+66 -240 replies
12/16OMAP3: Restore MMU table entryarch/arm/mach-omap2/pm.h arch/arm/mach-omap2/pm34xx.c+37 -00 replies
13/16OMAP3: MPU Off supportarch/arm/mach-omap2/pm34xx.c arch/arm/mach-omap2/sleep34xx.S+18 -60 replies
14/16OMAP3: CORE Off supportarch/arm/mach-omap2/pm34xx.c+77 -21 reply
15/16OMAP3: Dynamic enable/disable of OFF supportarch/arm/mach-omap2/pm.c arch/arm/mach-omap2/pm.h arch/arm/mach-omap2/pm34xx.c+45 -45 replies
16/16OMAP3: 3430SDP minimal kernel defconfigarch/arm/configs/omap_3430sdp_min_defconfig+1084 -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 00/16] OMAP3: Context save/Restore + OFF mode support

Hi,

This patch set adds context save/restore routines for minimal kernel and OFF mode support in idle and suspend. This patch set applies on top of pm-1 branch.

This has context save/restore support implemented for the following modules GPMC, UART, GPIO, I2C, PRCM, INTC, SCM, SRAM.

A sysfs knob to dynamically control OFF mode is provided at /sys/power/enable_off_mode. This is set to 0 (disabled) by default.

After bootup execute the following commands to be able to achieve OFF mode in idle as well as in suspend.

# echo -n 1 > /sys/power/enable_off_mode
# echo -n 1 > /sys/power/clocks_off_while_idle
# echo -n 1 > /sys/power/sleep_while_idle

regards,
Rajendra