powerpc/4xx: Add suspend and idle support
authorVictor Gallardo <vgallardo@apm.com>
Fri, 8 Oct 2010 10:25:27 +0000 (10:25 +0000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Mon, 29 Nov 2010 15:05:06 +0000 (10:05 -0500)
commitd164f6d4f9108126f69ba2963cf6fb7ef4ba9232
tree9f0f97180ee4f7486974c657588e8ee65074fcc2
parent46f5221049bb46b0188aad6b6dfab5dbc778be22
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>
Documentation/powerpc/dts-bindings/4xx/cpm.txt [new file with mode: 0644]
arch/powerpc/Kconfig
arch/powerpc/platforms/44x/Makefile
arch/powerpc/sysdev/Makefile
arch/powerpc/sysdev/ppc4xx_cpm.c [new file with mode: 0644]