diff options
author | Chao Xie <chao.xie@marvell.com> | 2012-05-06 23:24:01 -0400 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@gmail.com> | 2012-05-06 23:48:37 -0400 |
commit | 902ca2297180fe97f840427c114cc6dc7e77375e (patch) | |
tree | b4fcc0f77a1af56b76f520f05b9315e9fb0a08d1 /arch/arm/mach-mmp/irq.c | |
parent | f4466946c103372d3dd845ec55af1d2dc89ece33 (diff) |
ARM: mmp: add pm support for pxa910
add suspend/resume functionality for pxa910
Signed-off-by: Chao Xie <chao.xie@marvell.com>
Signed-off-by: Raul Xiong <xjian@marvell.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Diffstat (limited to 'arch/arm/mach-mmp/irq.c')
-rw-r--r-- | arch/arm/mach-mmp/irq.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/irq.c b/arch/arm/mach-mmp/irq.c index 04935f156239..fcfe0e3bd701 100644 --- a/arch/arm/mach-mmp/irq.c +++ b/arch/arm/mach-mmp/irq.c | |||
@@ -26,6 +26,9 @@ | |||
26 | #ifdef CONFIG_CPU_MMP2 | 26 | #ifdef CONFIG_CPU_MMP2 |
27 | #include <mach/pm-mmp2.h> | 27 | #include <mach/pm-mmp2.h> |
28 | #endif | 28 | #endif |
29 | #ifdef CONFIG_CPU_PXA910 | ||
30 | #include <mach/pm-pxa910.h> | ||
31 | #endif | ||
29 | 32 | ||
30 | #include "common.h" | 33 | #include "common.h" |
31 | 34 | ||
@@ -213,6 +216,9 @@ void __init icu_init_irq(void) | |||
213 | set_irq_flags(irq, IRQF_VALID); | 216 | set_irq_flags(irq, IRQF_VALID); |
214 | } | 217 | } |
215 | irq_set_default_host(icu_data[0].domain); | 218 | irq_set_default_host(icu_data[0].domain); |
219 | #ifdef CONFIG_CPU_PXA910 | ||
220 | icu_irq_chip.irq_set_wake = pxa910_set_wake; | ||
221 | #endif | ||
216 | } | 222 | } |
217 | 223 | ||
218 | /* MMP2 (ARMv7) */ | 224 | /* MMP2 (ARMv7) */ |