diff options
author | Andrew Victor <andrew@sanpeople.com> | 2006-06-20 19:30:19 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-06-20 19:30:19 +0100 |
commit | 907d6deb625cd7ff5fea3ef4b20dfb6c1c19c3ee (patch) | |
tree | e89da97418b5b4fa51212bc14a558bcf0c3f900b /arch/arm/mach-at91rm9200/generic.h | |
parent | 6902f523a328bba5af036699b1352389c0746526 (diff) | |
download | blackbird-op-linux-907d6deb625cd7ff5fea3ef4b20dfb6c1c19c3ee.tar.gz blackbird-op-linux-907d6deb625cd7ff5fea3ef4b20dfb6c1c19c3ee.zip |
[ARM] 3605/1: AT91RM9200 Power Management
Patch from Andrew Victor
This patch adds the core Power Management support for the AT91RM9200
processor. It will support suspend-to-RAM and standby modes.
The suspend-to-RAM functionality is not 100% complete. The code that
needs to be execute from the internal SRAM to restore the system is
outstanding. For now we just fall through to Standby mode.
The AT91-specific at91_suspend_entering_slow_clock() function will
eventually be replaced by clk_must_disable() once that functionality is
added to mainline clock API.
Patch from David Brownell.
Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-at91rm9200/generic.h')
-rw-r--r-- | arch/arm/mach-at91rm9200/generic.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-at91rm9200/generic.h b/arch/arm/mach-at91rm9200/generic.h index 9bd541eba0a0..f0d969d7d874 100644 --- a/arch/arm/mach-at91rm9200/generic.h +++ b/arch/arm/mach-at91rm9200/generic.h @@ -16,3 +16,10 @@ extern struct sys_timer at91rm9200_timer; extern void __init at91rm9200_map_io(void); extern int __init at91_clock_init(unsigned long main_clock); +struct device; +extern void __init at91_clock_associate(const char *id, struct device *dev, const char *func); + + /* Power Management */ +extern void at91_irq_suspend(void); +extern void at91_irq_resume(void); + |