2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 07:04:00 +08:00
linux-next/arch/arm/mach-socfpga
Alan Tull 44fd8c7d40 ARM: socfpga: support suspend to ram
Add code that requests that the sdr controller go into
self-refresh mode.  This code is run from ocram.

Suspend-to-RAM and EDAC support are mutually exclusive on
SOCFPGA.  If the EDAC is enabled, it will prevent the
platform from going into suspend.

Example of how to request to suspend to ram:
 $ echo enabled > \
/sys/devices/soc/ffc02000.serial0/tty/ttyS0/power/wakeup

 $ echo -n mem > /sys/power/state

Signed-off-by: Alan Tull <atull@opensource.altera.com>
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
2015-06-10 16:02:11 -07:00
..
core.h ARM: socfpga: support suspend to ram 2015-06-10 16:02:11 -07:00
headsmp.S ARM: socfpga: enable big endian for secondary core(s) 2015-05-11 13:59:23 -05:00
Kconfig ARM: socfpga: support suspend to ram 2015-06-10 16:02:11 -07:00
Makefile ARM: socfpga: support suspend to ram 2015-06-10 16:02:11 -07:00
platsmp.c ARM: socfpga: add CPU_METHOD_OF_DECLARE for Arria 10 2015-06-10 15:35:35 -07:00
pm.c ARM: socfpga: support suspend to ram 2015-06-10 16:02:11 -07:00
self-refresh.S ARM: socfpga: support suspend to ram 2015-06-10 16:02:11 -07:00
socfpga.c ARM: socfpga: support suspend to ram 2015-06-10 16:02:11 -07:00