MIPS: Yeeloong 2F: Add board specific suspend support
commita9e8641f4c252f93875cf30cb28c0f333539f0bf
authorWu Zhangjin <wuzhangjin@gmail.com>
Wed, 11 Nov 2009 06:57:41 +0000 (11 14:57 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 17 Dec 2009 01:57:16 +0000 (17 01:57 +0000)
treee6d2e167cea80b7ea89eaf25fee85b9cc249ab25
parentf181bf60e3f31cdab48bd8b9d913201ed2f9e522
MIPS: Yeeloong 2F: Add board specific suspend support

Lemote Loongson 2F family machines need an external interrupt to wake the
system from the suspend mode.

For YeeLoong 2F and Mengloong 2F setup the keyboard interrupt as the wakeup
interrupt.

The new Fuloong 2F and LingLoong 2F have a button to directly send an
interrupt to the CPU so there is no need to setup an interrupt.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: yanh@lemote.com
Cc: huhb@lemote.com
Cc: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: Len Brown <len.brown@intel.com>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Cc: linux-pm@lists.linux-foundation.org
Patchwork: http://patchwork.linux-mips.org/patch/630/
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/loongson/lemote-2f/Makefile
arch/mips/loongson/lemote-2f/pm.c [new file with mode: 0644]