Skip to content

suspend/resume support for OMAP nand driver

Pekon Gupta linux-mtd linux-omap 3 versions – Applied

Status from this message: Pushed to l2-mtd.git, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 3 repliesApplied
  2. v4 posting 2/23 patches 2 repliesSuperseded
  3. v4 posting 1/23 patches 2 repliesSuperseded

Changes in v5 from the cover letter

- added save/restore to ELM suspend/resume
- removed #ifdef CONFIG_ARCH_OMAP3
- updated changelog to be more descriptive

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/3ARM: OMAP2+: gpmc: Converts GPMC driver to pm_runtime capablearch/arm/mach-omap2/gpmc.c+6 -20 replies
2/3arm: gpmc: Low power transition supportarch/arm/mach-omap2/gpmc.c+19 -21 reply
3/3mtd: devices: elm: Low power transition supportdrivers/mtd/devices/elm.c+117 -02 replies

Reviews trailers per patch

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

Read the v5 thread

Cover letter [PATCH v5 0/3] suspend/resume support for OMAP nand driver

This patch series adds runtime PM support (specifically suspend/resume) for GPMC and ELM drivers.
[Patch 1/3]: Adds pm_runtime calls to handle GPMC module probe and remove [Patch 2/3]: Adds GPMC suspend/resume support.
[Patch 3/3]: Adds ELM suspend/resume support.

Tested on am335x-evm with NAND flash support, using following:
echo devices > /sys/power/pm_test
echo mem > /sys/power/state

echo core > /sys/power/pm_test
echo mem > /sys/power/state

Changes since v4:
- added save/restore to ELM suspend/resume
- removed #ifdef CONFIG_ARCH_OMAP3
- updated changelog to be more descriptive

Changes Since v3:
- CONFIG_PM -> CONFIG_PM_SLEEP
- using struct dev_pm_ops via driver->pm, instead of struct platform_driver
- rebased to 3.10-rc5

Changes Since v2:
- Remove calll back of nand_suspend from omap2 nand driver, as the same call already done from suspend activity mtd class driver.

[1] http://comments.gmane.org/gmane.linux.ports.arm.omap/91405

avinash philip (3):
ARM: OMAP2+: gpmc: Converts GPMC driver to pm_runtime capable
arm: gpmc: Low power transition support
mtd: devices: elm: Low power transition support

 arch/arm/mach-omap2/gpmc.c |  29 +++++++++--
 drivers/mtd/devices/elm.c  | 117 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 142 insertions(+), 4 deletions(-)
Signature · 1 line
1.8.1