diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2016-02-03 00:45:38 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2016-02-14 06:24:18 +0300 |
commit | 8c4300c227ffffc4db26b6bb3e0271de7ddbd289 (patch) | |
tree | 8a1a081e908cfa580287125d7d9c06e7a61ab624 /arch/arm/mach-imx/common.h | |
parent | c5a890a445d06b0dfe5fc954b7391c1ec0afb76d (diff) | |
download | linux-8c4300c227ffffc4db26b6bb3e0271de7ddbd289.tar.xz |
ARM: mx25: Add basic suspend/resume support
Tested basic suspend/resume on a mx25pdk:
$ echo enabled > /sys/class/tty/ttymxc0/power/wakeup
$ echo mem > /sys/power/state
Then press any key in the serial console and the system wakes up.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx/common.h')
-rw-r--r-- | arch/arm/mach-imx/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/common.h b/arch/arm/mach-imx/common.h index 32b83f09da18..58a38464480d 100644 --- a/arch/arm/mach-imx/common.h +++ b/arch/arm/mach-imx/common.h @@ -66,6 +66,7 @@ void imx_gpc_check_dt(void); void imx_gpc_set_arm_power_in_lpm(bool power_off); void imx_gpc_set_arm_power_up_timing(u32 sw2iso, u32 sw); void imx_gpc_set_arm_power_down_timing(u32 sw2iso, u32 sw); +void imx25_pm_init(void); enum mxc_cpu_pwr_mode { WAIT_CLOCKED, /* wfi only */ |