ARM: tegra: irq: add wake up handling
Subsystems (3)
PATCH 2/10 ARM: tegra: irq: add wake up handling
Add the wake up handling for legacy irq controller, and using IRQCHIP_MASK_ON_SUSPEND for wake irq handling.
Based on the work by:
Varun Wadekar <[email protected]>
Signed-off-by Joseph Lo <[email protected]>
--- arch/arm/mach-tegra/common.c | 2 + arch/arm/mach-tegra/irq.c | 95 +++++++++++++++++++++++++++++++++++++++++++- arch/arm/mach-tegra/irq.h | 6 +++ 3 files changed, 102 insertions(+), 1 deletion(-)
arch/arm/mach-tegra/common.c +2 -0
@@ -33,6 +33,7 @@#include "common.h" #include "fuse.h" #include "iomap.h" +#include "irq.h" #include "pmc.h" #include "apbio.h" #include "sleep.h"
@@ -63,6 +64,7 @@ void __init tegra_dt_init_irq(void)tegra_clocks_init ();tegra_init_irq ();irqchip_init (); + tegra_legacy_irq_syscore_init(); }#endif
arch/arm/mach-tegra/irq.c +94 -1
131 lines not on this page · raw message
arch/arm/mach-tegra/irq.h +6 -0
@@ -19,4 +19,10 @@bool tegra_pending_sgi (void ); +#ifdef CONFIG_PM_SLEEP +int tegra_legacy_irq_syscore_init (void ); +#else +static inline int tegra_legacy_irq_syscore_init (void ) {return 0 ; } +#endif +#endif
Signature · 1 line
1.8.1.1