sh: SuperH Mobile suspend support
authorMagnus Damm <damm@igel.co.jp>
Fri, 13 Mar 2009 15:23:04 +0000 (15:23 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 16 Mar 2009 10:52:53 +0000 (19:52 +0900)
commit7759491274bc5ba7cd72b3b9cc5ec8247b937efb
treef6e98001aa8296220e429c30ac3a8cc42b8cc95d
parent7a516280b6a99634933b417834e178bde8659da1
sh: SuperH Mobile suspend support

This patch contains CONFIG_SUSPEND support to the SuperH
architecture. If enabled, SuperH Mobile processors will
register their suspend callbacks during boot.

To suspend, use "echo mem > /sys/power/state". To allow
wakeup, make sure "/sys/device/platform/../power/wakeup"
contains "enabled". Additional per-device driver patches
are most likely needed.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig
arch/sh/include/asm/suspend.h
arch/sh/kernel/cpu/sh4a/Makefile
arch/sh/kernel/cpu/sh4a/pm-sh_mobile.c [new file with mode: 0644]
arch/sh/kernel/cpu/sh4a/sleep-sh_mobile.S [new file with mode: 0644]