linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* pm: add suspend_mem and suspend_standby support
@ 2012-10-06 16:14 Jean-Christophe PLAGNIOL-VILLARD
  2012-10-06 22:18 ` Rafael J. Wysocki
  2012-10-07  7:27 ` [PATCH 1/6] " Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 2 replies; 32+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-10-06 16:14 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

The following changes since commit 5f3d2f2e1a63679cf1c4a4210f2f1cc2f335bef6:

  Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc (2012-10-06 03:16:12 +0900)

are available in the git repository at:


  git://git.jcrosoft.org/linux-2.6.git tags/pm_suspend_standby_mem

for you to fetch changes up to b73c8f97aa8e720bd3b921159687d00626c99d63:

  arm: at91: drop at91_suspend_entering_slow_clock (2012-10-06 18:06:25 +0800)

----------------------------------------------------------------
pm: add suspend_mem and suspend_standby support

Today when we go to suspend we can not knwon at drivers level if we go in
STANDBY or MEM. Fix this by introducing two new callback suspend_mem and
suspend_standby.

If a bus or drivers does not need to care about this distinction we fallback to
suspend. This will allow to do not update the current bus or drivers.

This is needed as example by at91 OHCI, UDC and atmel serial

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>

----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (6):
      pm: add suspend_mem and suspend_standby support
      platform: pm: add suspend_mem and suspend_standby support
      tty: atmel_serial: switch pm ops
      usb: ohci-at91: switch pm ops
      usb: at91_ude: switch pm ops
      arm: at91: drop at91_suspend_entering_slow_clock

 arch/arm/mach-at91/include/mach/board.h |    3 ---
 arch/arm/mach-at91/pm.c                 |   24 ------------------------
 drivers/base/platform.c                 |   40 ++++++++++++++++++++++++++++++++++++++++
 drivers/base/power/main.c               |   12 ++++++++++++
 drivers/tty/serial/atmel_serial.c       |   52 +++++++++++++++++++++++++++-------------------------
 drivers/usb/gadget/at91_udc.c           |   34 +++++++++++++++++++++++-----------
 drivers/usb/host/ohci-at91.c            |   38 ++++++++++++++++++++++++--------------
 include/linux/platform_device.h         |    6 ++++++
 include/linux/pm.h                      |    9 +++++++++
 kernel/power/suspend.c                  |   16 ++++++++++++++--
 10 files changed, 155 insertions(+), 79 deletions(-)

Best Regards,
J.

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

end of thread, other threads:[~2012-10-31 10:44 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-06 16:14 pm: add suspend_mem and suspend_standby support Jean-Christophe PLAGNIOL-VILLARD
2012-10-06 22:18 ` Rafael J. Wysocki
2012-10-07  4:01   ` Greg Kroah-Hartman
2012-10-07 13:09     ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-07 20:06     ` Rafael J. Wysocki
2012-10-07 13:12   ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-07 20:02     ` Rafael J. Wysocki
2012-10-09 11:46       ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-09 14:58         ` Greg Kroah-Hartman
2012-10-09 15:17           ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-09 15:44             ` Alan Stern
2012-10-09 15:52               ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-09 22:18                 ` Rafael J. Wysocki
2012-10-09 22:12             ` Rafael J. Wysocki
2012-10-10  7:17               ` Vaibhav Hiremath
2012-10-10  9:20                 ` Daniel Mack
2012-10-10  9:29                   ` Hiremath, Vaibhav
2012-10-10  9:33                     ` Daniel Mack
2012-10-31 10:27                     ` Daniel Mack
2012-10-31 10:44                       ` AM33XX suspend-resume support (Was RE: pm: add suspend_mem and suspend_standby support) Bedia, Vaibhav
2012-10-10  9:43                 ` pm: add suspend_mem and suspend_standby support Jean-Christophe PLAGNIOL-VILLARD
2012-10-14  7:12                   ` Rafael J. Wysocki
2012-10-10 23:05                 ` Rafael J. Wysocki
2012-10-13  6:46                   ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-09 22:09           ` Rafael J. Wysocki
2012-10-07  7:27 ` [PATCH 1/6] " Jean-Christophe PLAGNIOL-VILLARD
2012-10-07  7:27   ` [PATCH 2/6] platform: " Jean-Christophe PLAGNIOL-VILLARD
2012-10-07  7:27   ` [PATCH 3/6] tty: atmel_serial: switch pm ops Jean-Christophe PLAGNIOL-VILLARD
2012-10-07  7:27   ` [PATCH 4/6] usb: ohci-at91: " Jean-Christophe PLAGNIOL-VILLARD
2012-10-07  7:27   ` [PATCH 5/6] usb: at91_ude: " Jean-Christophe PLAGNIOL-VILLARD
2012-10-07  7:27   ` [PATCH 6/6] arm: at91: drop at91_suspend_entering_slow_clock Jean-Christophe PLAGNIOL-VILLARD
2012-10-09 22:52   ` [PATCH 1/6] pm: add suspend_mem and suspend_standby support Rafael J. Wysocki

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).