diff options
author | Dongsheng.wang@freescale.com <Dongsheng.wang@freescale.com> | 2013-04-09 02:22:32 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2013-07-01 23:38:42 (GMT) |
commit | a63b3bc7db32b63bfe5f48fa8582f931db81c86e (patch) | |
tree | 7e119f7c7129a103d5a4d70390888cbbf0e2824c /arch/powerpc/platforms/Kconfig | |
parent | 9e6f31a9dbc58f6a5661f8dc8c919441b8d3ced4 (diff) | |
download | linux-fsl-qoriq-a63b3bc7db32b63bfe5f48fa8582f931db81c86e.tar.xz |
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>
Diffstat (limited to 'arch/powerpc/platforms/Kconfig')
-rw-r--r-- | arch/powerpc/platforms/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig index 7d07d9e..0847ee6 100644 --- a/arch/powerpc/platforms/Kconfig +++ b/arch/powerpc/platforms/Kconfig @@ -98,6 +98,15 @@ config MPIC_TIMER chip, but it can potentially support other global timers complying with the OpenPIC standard. +config FSL_MPIC_TIMER_WAKEUP + tristate "Freescale MPIC global timer wakeup driver" + depends on FSL_SOC && MPIC_TIMER && PM + default n + help + The driver provides a way to wake up the system by MPIC + timer. + e.g. "echo 5 > /sys/devices/system/mpic/timer_wakeup" + config PPC_EPAPR_HV_PIC bool default n |