diff options
author | Scott Wood <scottwood@freescale.com> | 2007-10-09 13:37:13 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-07-16 18:57:30 -0400 |
commit | d49747bdfb2ddebea24d1580da55b79d093d48a9 (patch) | |
tree | cb2ae6ea03bab0ff7901c9997ef50131bba6b511 /include/linux | |
parent | 7e72063c9aaeb618815589cd4d57f26186e6fcad (diff) |
powerpc/mpc83xx: Power Management support
Basic PM support for 83xx. Standby is implemented as sleep.
Suspend-to-RAM is implemented as "deep sleep" (with the processor
turned off) on 831x.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/fsl_devices.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index c415a496de3a..0472877d7ea8 100644 --- a/include/linux/fsl_devices.h +++ b/include/linux/fsl_devices.h | |||
@@ -125,4 +125,10 @@ struct mpc8xx_pcmcia_ops { | |||
125 | int(*voltage_set)(int slot, int vcc, int vpp); | 125 | int(*voltage_set)(int slot, int vcc, int vpp); |
126 | }; | 126 | }; |
127 | 127 | ||
128 | /* Returns non-zero if the current suspend operation would | ||
129 | * lead to a deep sleep (i.e. power removed from the core, | ||
130 | * instead of just the clock). | ||
131 | */ | ||
132 | int fsl_deep_sleep(void); | ||
133 | |||
128 | #endif /* _FSL_DEVICE_H_ */ | 134 | #endif /* _FSL_DEVICE_H_ */ |