diff options
| author | Jim Wylder <jwylder@motorola.com> | 2014-05-26 10:18:40 -0500 |
|---|---|---|
| committer | James Wylder <jwylder@motorola.com> | 2014-05-27 20:28:26 +0000 |
| commit | 4bc8d6b942c289bf295c5ecc0233f67dcb3c5e2a (patch) | |
| tree | 2d5839c5c6cb4dbc9da425f1447590f341c01e52 /arch/arm/mach-omap2/irq.c | |
| parent | de514deff4b3f4c247a7adb5733611fd483f8a7f (diff) | |
| download | olio-linux-3.10-4bc8d6b942c289bf295c5ecc0233f67dcb3c5e2a.tar.xz olio-linux-3.10-4bc8d6b942c289bf295c5ecc0233f67dcb3c5e2a.zip | |
IKXCLOCK-1705 Revert "arm: OMAP: offmode translate pad wkups to isr"
Redoing the solution.
This reverts commit 54c1f5bc458eae45c865fdddc5ccc601a866f98e.
Change-Id: Idd3d978a2a4d65990d88f55c853aec8bac26e692
Diffstat (limited to 'arch/arm/mach-omap2/irq.c')
| -rw-r--r-- | arch/arm/mach-omap2/irq.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c index 9a2bc4ba235..3926f370448 100644 --- a/arch/arm/mach-omap2/irq.c +++ b/arch/arm/mach-omap2/irq.c @@ -40,10 +40,7 @@ #define INTC_MIR0 0x0084 #define INTC_MIR_CLEAR0 0x0088 #define INTC_MIR_SET0 0x008c -#define INTC_ISR_SET0 0x0090 -#define INTC_ISR_CLEAR0 0x0094 #define INTC_PENDING_IRQ0 0x0098 - /* Number of IRQ state bits in each MIR register */ #define IRQ_BITS_PER_REG 32 @@ -54,9 +51,6 @@ #define INTCPS_NR_MIR_REGS 3 #define INTCPS_NR_IRQS 96 -#define INTCPS_ISR_SET(n) (INTC_ISR_SET0 + (0x20 * (n))) -#define INTCPS_ISR_CLR(n) (INTC_ISR_CLEAR0 + (0x20 * (n))) - /* * OMAP2 has a number of different interrupt controllers, each interrupt * controller is identified as its own "bank". Register definitions are @@ -128,24 +122,6 @@ static void __init omap_irq_bank_init_one(struct omap_irq_bank *bank) intc_bank_write_reg(1 << 0, bank, INTC_SYSCONFIG); } -void omap_clr_soft_irq(int irq) -{ - u32 shift = (irq - domain->revmap_data.legacy.first_irq); - u32 offset = INTCPS_ISR_CLR(shift / (IRQ_BITS_PER_REG - 1)); - u32 isr = 1 << (shift % IRQ_BITS_PER_REG); - - __raw_writel(isr, OMAP2_L4_IO_ADDRESS(OMAP34XX_IC_BASE + offset)); -} - -void omap_set_soft_irq(int irq) -{ - u32 shift = (irq - domain->revmap_data.legacy.first_irq); - u32 offset = INTCPS_ISR_SET(shift / (IRQ_BITS_PER_REG - 1)); - u32 isr = 1 << (shift % IRQ_BITS_PER_REG); - - __raw_writel(isr, OMAP2_L4_IO_ADDRESS(OMAP34XX_IC_BASE + offset)); -} - int omap_irq_pending(void) { int i; @@ -203,7 +179,6 @@ static void __init omap_init_irq(u32 base, int nr_irqs, domain = irq_domain_add_legacy(node, nr_irqs, irq_base, 0, &irq_domain_simple_ops, NULL); - for (i = 0; i < ARRAY_SIZE(irq_banks); i++) { struct omap_irq_bank *bank = irq_banks + i; |