powerpc/fsl: add MPIC timer wakeup support
authorDongsheng.wang@freescale.com <Dongsheng.wang@freescale.com>
Tue, 9 Apr 2013 02:22:32 +0000 (10:22 +0800)
committerScott Wood <scottwood@freescale.com>
Mon, 1 Jul 2013 23:38:42 +0000 (18:38 -0500)
commita63b3bc7db32b63bfe5f48fa8582f931db81c86e
tree7e119f7c7129a103d5a4d70390888cbbf0e2824c
parent9e6f31a9dbc58f6a5661f8dc8c919441b8d3ced4
powerpc/fsl: add MPIC timer wakeup support

The driver provides a way to wake up the system by the MPIC timer.

For example,
echo 5 > /sys/devices/system/mpic/timer_wakeup
echo standby > /sys/power/state

After 5 seconds the MPIC timer will generate an interrupt to wake up
the system.

Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
Signed-off-by: Zhao Chenhui <chenhui.zhao@freescale.com>
Signed-off-by: Li Yang <leoli@freescale.com>
arch/powerpc/platforms/Kconfig
arch/powerpc/sysdev/Makefile
arch/powerpc/sysdev/fsl_mpic_timer_wakeup.c [new file with mode: 0644]