diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-14 16:42:43 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-14 16:42:43 -0400 |
commit | 2cf4d4514d5b43c1f3b64bd0ec8b9853bde8f1dc (patch) | |
tree | e35a625496acc6ac852846d40b8851186b9d1ac4 /arch/arm/mach-omap2/pm.h | |
parent | 44b7532b8b464f606053562400719c9c21276037 (diff) | |
parent | ce53895a5d24e0ee19fb92f56c17323fb4c9ab27 (diff) |
Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (417 commits)
MAINTAINERS: EB110ATX is not ebsa110
MAINTAINERS: update Eric Miao's email address and status
fb: add support of LCD display controller on pxa168/910 (base layer)
[ARM] 5552/1: ep93xx get_uart_rate(): use EP93XX_SYSCON_PWRCNT and EP93XX_SYSCON_PWRCN
[ARM] pxa/sharpsl_pm: zaurus needs generic pxa suspend/resume routines
[ARM] 5544/1: Trust PrimeCell resource sizes
[ARM] pxa/sharpsl_pm: cleanup of gpio-related code.
[ARM] pxa/sharpsl_pm: drop set_irq_type calls
[ARM] pxa/sharpsl_pm: merge pxa-specific code into generic one
[ARM] pxa/sharpsl_pm: merge the two sharpsl_pm.c since it's now pxa specific
[ARM] sa1100: remove unused collie_pm.c
[ARM] pxa: fix the conflicting non-static declarations of global_gpios[]
[ARM] 5550/1: Add default configure file for w90p910 platform
[ARM] 5549/1: Add clock api for w90p910 platform.
[ARM] 5548/1: Add gpio api for w90p910 platform
[ARM] 5551/1: Add multi-function pin api for w90p910 platform.
[ARM] Make ARM_VIC_NR depend on ARM_VIC
[ARM] 5546/1: ARM PL022 SSP/SPI driver v3
ARM: OMAP4: SMP: Update defconfig for OMAP4430
ARM: OMAP4: SMP: Enable SMP support for OMAP4430
...
Diffstat (limited to 'arch/arm/mach-omap2/pm.h')
-rw-r--r-- | arch/arm/mach-omap2/pm.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm.h b/arch/arm/mach-omap2/pm.h new file mode 100644 index 000000000000..f7b3baf76678 --- /dev/null +++ b/arch/arm/mach-omap2/pm.h | |||
@@ -0,0 +1,38 @@ | |||
1 | /* | ||
2 | * OMAP2/3 Power Management Routines | ||
3 | * | ||
4 | * Copyright (C) 2008 Nokia Corporation | ||
5 | * Jouni Hogander | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | ||
11 | #ifndef __ARCH_ARM_MACH_OMAP2_PM_H | ||
12 | #define __ARCH_ARM_MACH_OMAP2_PM_H | ||
13 | |||
14 | extern int omap2_pm_init(void); | ||
15 | extern int omap3_pm_init(void); | ||
16 | |||
17 | #ifdef CONFIG_PM_DEBUG | ||
18 | extern void omap2_pm_dump(int mode, int resume, unsigned int us); | ||
19 | extern int omap2_pm_debug; | ||
20 | #else | ||
21 | #define omap2_pm_dump(mode, resume, us) do {} while (0); | ||
22 | #define omap2_pm_debug 0 | ||
23 | #endif /* CONFIG_PM_DEBUG */ | ||
24 | |||
25 | extern void omap24xx_idle_loop_suspend(void); | ||
26 | |||
27 | extern void omap24xx_cpu_suspend(u32 dll_ctrl, void __iomem *sdrc_dlla_ctrl, | ||
28 | void __iomem *sdrc_power); | ||
29 | extern void omap34xx_cpu_suspend(u32 *addr, int save_state); | ||
30 | extern void save_secure_ram_context(u32 *addr); | ||
31 | |||
32 | extern unsigned int omap24xx_idle_loop_suspend_sz; | ||
33 | extern unsigned int omap34xx_suspend_sz; | ||
34 | extern unsigned int save_secure_ram_context_sz; | ||
35 | extern unsigned int omap24xx_cpu_suspend_sz; | ||
36 | extern unsigned int omap34xx_cpu_suspend_sz; | ||
37 | |||
38 | #endif | ||