diff options
author | Victor Gallardo <vgallardo@apm.com> | 2010-10-08 06:25:27 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2010-11-29 10:05:06 -0500 |
commit | d164f6d4f9108126f69ba2963cf6fb7ef4ba9232 (patch) | |
tree | 9f0f97180ee4f7486974c657588e8ee65074fcc2 /arch/powerpc/sysdev/Makefile | |
parent | 46f5221049bb46b0188aad6b6dfab5dbc778be22 (diff) |
powerpc/4xx: Add suspend and idle support
Add suspend/resume support for 4xx compatible CPUs.
See /sys/power/state for available power states configured in.
Add two different idle states (idle-wait and idle-doze) controlled via sysfs.
Default is idle-wait.
cat /sys/devices/system/cpu/cpu0/idle
[wait] doze
To save additional power, use idle-doze.
echo doze > /sys/devices/system/cpu/cpu0/idle
cat /sys/devices/system/cpu/cpu0/idle
wait [doze]
Signed-off-by: Victor Gallardo <vgallardo@apm.com>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch/powerpc/sysdev/Makefile')
-rw-r--r-- | arch/powerpc/sysdev/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/Makefile b/arch/powerpc/sysdev/Makefile index 0bef9dacb64e..9c2973479142 100644 --- a/arch/powerpc/sysdev/Makefile +++ b/arch/powerpc/sysdev/Makefile | |||
@@ -41,6 +41,7 @@ obj-$(CONFIG_OF_RTC) += of_rtc.o | |||
41 | ifeq ($(CONFIG_PCI),y) | 41 | ifeq ($(CONFIG_PCI),y) |
42 | obj-$(CONFIG_4xx) += ppc4xx_pci.o | 42 | obj-$(CONFIG_4xx) += ppc4xx_pci.o |
43 | endif | 43 | endif |
44 | obj-$(CONFIG_PPC4xx_CPM) += ppc4xx_cpm.o | ||
44 | obj-$(CONFIG_PPC4xx_GPIO) += ppc4xx_gpio.o | 45 | obj-$(CONFIG_PPC4xx_GPIO) += ppc4xx_gpio.o |
45 | 46 | ||
46 | obj-$(CONFIG_CPM) += cpm_common.o | 47 | obj-$(CONFIG_CPM) += cpm_common.o |