summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/Makefile
diff options
context:
space:
mode:
authorLi Yang <leoli@freescale.com>2012-03-09 16:17:04 (GMT)
committerFleming Andrew-AFLEMING <AFLEMING@freescale.com>2013-04-03 06:23:05 (GMT)
commit32efe8a40a88c474d7ad4f7209d5f0e5e465c6bb (patch)
treef32b5deba04deb076f623a106f472a1038c2a8df /arch/powerpc/kernel/Makefile
parent3c7bc7d993f50f609190d341306c08592bff77ab (diff)
downloadlinux-fsl-qoriq-32efe8a40a88c474d7ad4f7209d5f0e5e465c6bb.tar.xz
powerpc/85xx: add sleep and deep sleep support
In sleep PM mode, the clocks of e500 core and unused IP blocks is turned off. IP blocks which are allowed to wake up the processor are still running. Some Freescale chips like MPC8536 and P1022 has deep sleep PM mode in addtion to the sleep PM mode. While in deep sleep PM mode, additionally, the power supply is removed from e500 core and most IP blocks. Only the blocks needed to wake up the chip out of deep sleep are ON. This patch supports 32-bit and 36-bit address space. The sleep mode is equal to the Standby state in Linux. The deep sleep mode is equal to the Suspend-to-RAM state of Linux Power Management. Command to enter sleep mode. echo standby > /sys/power/state Command to enter deep sleep mode. echo mem > /sys/power/state Change-Id: Ia4b6b5c33604e0ca6e25f22910c79e75f017f598 Signed-off-by: Dave Liu <daveliu@freescale.com> Signed-off-by: Li Yang <leoli@freescale.com> Signed-off-by: Jin Qing <b24347@freescale.com> Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com> Cc: Scott Wood <scottwood@freescale.com> Signed-off-by: Zhao Chenhui <chenhui.zhao@freescale.com> Cherry-picked-from: 6bdb953773a3b626510af393a3bb0ea59880bfe4 Reviewed-on: http://git.am.freescale.net:8181/954 Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'arch/powerpc/kernel/Makefile')
-rw-r--r--arch/powerpc/kernel/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index 0ca74b3..a3d22ba 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -64,6 +64,9 @@ obj-$(CONFIG_FA_DUMP) += fadump.o
ifeq ($(CONFIG_PPC32),y)
obj-$(CONFIG_E500) += idle_e500.o
endif
+ifneq ($(CONFIG_PPC_E500MC),y)
+obj-$(CONFIG_PPC_85xx) += l2cache_85xx.o
+endif
obj-$(CONFIG_6xx) += idle_6xx.o l2cr_6xx.o cpu_setup_6xx.o
obj-$(CONFIG_TAU) += tau_6xx.o
obj-$(CONFIG_HIBERNATION) += swsusp.o suspend.o