summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-socfpga/self-refresh.S
Commit message (Collapse)AuthorAgeFilesLines
* ARM: socfpga: support suspend to ramAlan Tull2015-06-101-0/+136
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>
OpenPOWER on IntegriCloud