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>
This commit is contained in:

committed by
Arnd Bergmann

parent
2e2843f1b7
commit
a30eceb7a5
@@ -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)
|
||||
|
Reference in New Issue
Block a user