]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Malta: add suspend state entry code
authorPaul Burton <paul.burton@imgtec.com>
Wed, 7 May 2014 11:20:57 +0000 (12:20 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 May 2014 19:01:09 +0000 (21:01 +0200)
commit9fb73a19c1e0604a6d2894c8a9a65c64778b39ce
tree8d19951428748909cd508251ebce1d1a5e2cf6ec
parent475516d5ee81938fcbbacb05bf319d31a46d5eeb
MIPS: Malta: add suspend state entry code

This patch introduces code which will enter a suspend state via the
PIIX4. This can only be done when PCI support is enabled since it
requires access to PCI I/O space and the generation of a special cycle
on the PCI bus. In cases where PCI is disabled the mips_pm_suspend
function will simply always return an error.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6905/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig
arch/mips/include/asm/mach-malta/malta-pm.h [new file with mode: 0644]
arch/mips/mti-malta/Makefile
arch/mips/mti-malta/malta-pm.c [new file with mode: 0644]