diff options
author | Marc Gonzalez <marc_gonzalez@sigmadesigns.com> | 2016-07-07 16:08:14 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2016-07-07 17:09:30 +0300 |
commit | a30eceb7a59daa2d92cca7f2f30b9bd91a8d7111 (patch) | |
tree | 2d224ac5d12222ccd1c86642340d85c006068c14 /arch/arm/mach-tango/smc.h | |
parent | 2e2843f1b7a3c88761596fc5b2ef21b85c05ef55 (diff) | |
download | linux-a30eceb7a59daa2d92cca7f2f30b9bd91a8d7111.tar.xz |
ARM: tango: add Suspend-to-RAM support
Ask firmware to put RAM in self-refresh mode and power system down.
echo mem > /sys/power/state
See Documentation/power/states.txt
Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-tango/smc.h')
-rw-r--r-- | arch/arm/mach-tango/smc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tango/smc.h b/arch/arm/mach-tango/smc.h index 3d31f984f44c..57919539da1b 100644 --- a/arch/arm/mach-tango/smc.h +++ b/arch/arm/mach-tango/smc.h @@ -3,5 +3,6 @@ extern int tango_smc(unsigned int val, unsigned int service); #define tango_set_l2_control(val) tango_smc(val, 0x102) #define tango_start_aux_core(val) tango_smc(val, 0x104) #define tango_set_aux_boot_addr(val) tango_smc(val, 0x105) +#define tango_suspend(val) tango_smc(val, 0x120) #define tango_aux_core_die(val) tango_smc(val, 0x121) #define tango_aux_core_kill(val) tango_smc(val, 0x122) |