]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/85xx/86xx: Add suspend/resume support
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Tue, 15 Sep 2009 21:43:57 +0000 (01:43 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 12 Nov 2009 03:43:28 +0000 (21:43 -0600)
commit86eee03f61cd5b7627861ff98f1ebb7d04f89173
treec925b5a08652b5d86ac0930b45269e1c2600195b
parent612b9497ec7ce2e5f5f88d07b0386d1bdb7698bc
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>
arch/powerpc/Kconfig
arch/powerpc/sysdev/Makefile
arch/powerpc/sysdev/fsl_pmc.c [new file with mode: 0644]