aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2009-09-15 17:43:57 -0400
committerKumar Gala <galak@kernel.crashing.org>2009-11-11 22:43:28 -0500
commit4ffd6952a078015fd0bb5905a6ba7cd592f1b817 (patch)
treec925b5a08652b5d86ac0930b45269e1c2600195b /arch/powerpc/Kconfig
parentfdfde24e108b49373f8702d5b9981217f35315d8 (diff)
powerpc/85xx/86xx: Add suspend/resume support
This patch adds suspend/resume support for MPC8540 and MPC8641D- compatible CPUs. To reach sleep state, we just write the SLP bit into the PM control and status register. So far we don't support Deep Sleep mode as found in newer MPC85xx CPUs (i.e. MPC8536). It can be relatively easy implemented though, and for it we reserve 'mem' suspend type. Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Acked-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig11
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 61abde11a45e..5dbd375a3f2a 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -215,7 +215,8 @@ config ARCH_HIBERNATION_POSSIBLE
215 215
216config ARCH_SUSPEND_POSSIBLE 216config ARCH_SUSPEND_POSSIBLE
217 def_bool y 217 def_bool y
218 depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 || PPC_83xx 218 depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 || PPC_83xx || \
219 PPC_85xx || PPC_86xx
219 220
220config PPC_DCR_NATIVE 221config PPC_DCR_NATIVE
221 bool 222 bool
@@ -664,6 +665,14 @@ config FSL_PCI
664 select PPC_INDIRECT_PCI 665 select PPC_INDIRECT_PCI
665 select PCI_QUIRKS 666 select PCI_QUIRKS
666 667
668config FSL_PMC
669 bool
670 default y
671 depends on SUSPEND && (PPC_85xx || PPC_86xx)
672 help
673 Freescale MPC85xx/MPC86xx power management controller support
674 (suspend/resume). For MPC83xx see platforms/83xx/suspend.c
675
667config 4xx_SOC 676config 4xx_SOC
668 bool 677 bool
669 678