linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Kirkwood suspend to RAM
@ 2013-08-10 14:27 Ezequiel Garcia
  2013-08-10 14:27 ` [PATCH v2 1/2] ARM: feroceon: Add suspend/resume operation Ezequiel Garcia
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Ezequiel Garcia @ 2013-08-10 14:27 UTC (permalink / raw)
  To: linux-arm-kernel

This patchset implements a very basic suspend/resume support on
Kirkwood SoC's, based on the work of Simon Guinot.

Given the CPU itself is not stopped on suspend, but just sits
waiting for interruption, this is more similar to a standby-mode,
than to a real suspend-to-RAM.

The first patch implements suspend/resume procedures in Feroceon CPU.
This implementation has been copy-pasted from the one in ARM926, since
I failed to spot any relevant differences between the CPU's.

The only change from the previous RFC/PATCH version is the removal
of clock gating. Each device driver is in charge of such clock handling.

In other words, this patchset only implements the most basic support for
suspend/resume, any additional power savings must be added to each driver
by implementing proper suspend/resume support.

Given the amount of changes queued for Kirkwood, I've based this patchset
on mevbu's for-next (git://git.infradead.org/linux-mvebu.git for-next)

Tested on Openblocks A6.

Changes from v1:

  * Removed clock gating. Each peripheral is in charge of implementing
    a proper suspend/resume path, including gateable clock handling.

Ezequiel Garcia (2):
  ARM: feroceon: Add suspend/resume operation
  ARM: kirkwood: Add basic suspend-to-RAM support

 arch/arm/Kconfig                                  |  2 +-
 arch/arm/mach-kirkwood/Makefile                   |  1 +
 arch/arm/mach-kirkwood/include/mach/bridge-regs.h |  2 +
 arch/arm/mach-kirkwood/pm.c                       | 69 +++++++++++++++++++++++
 arch/arm/mm/proc-feroceon.S                       | 26 +++++++++
 5 files changed, 99 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/mach-kirkwood/pm.c

-- 
1.8.1.5

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-08-12 21:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-10 14:27 [PATCH v2 0/2] Kirkwood suspend to RAM Ezequiel Garcia
2013-08-10 14:27 ` [PATCH v2 1/2] ARM: feroceon: Add suspend/resume operation Ezequiel Garcia
2013-08-12 21:51   ` Ezequiel Garcia
2013-08-10 14:27 ` [PATCH v2 2/2] ARM: kirkwood: Add basic suspend-to-RAM support Ezequiel Garcia
2013-08-10 15:01   ` Andrew Lunn
2013-08-10 15:20     ` Ezequiel Garcia
2013-08-10 16:00       ` Andrew Lunn
2013-08-10 17:32         ` Ezequiel Garcia
2013-08-12 13:41 ` [PATCH v2 0/2] Kirkwood suspend to RAM Jason Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).