907d6deb62
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>
26 lines
700 B
C
26 lines
700 B
C
/*
|
|
* linux/arch/arm/mach-at91rm9200/generic.h
|
|
*
|
|
* Copyright (C) 2005 David Brownell
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
void at91_gpio_irq_setup(unsigned banks);
|
|
|
|
struct sys_timer;
|
|
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);
|
|
|