enabling EXT_WAKEUP interrupts on PXA3xx

Mike Rapoport mike at compulab.co.il
Tue Nov 10 02:22:00 EST 2009


Hi Eric,

We need to enable EXT_WAKEUP interrupts on PXA3xx and I wonder what would be the
best way to do it.
I see two possibilities:
1) add 'if (irq == IRQ_WAKEUPx)' statements to pxa_{un}mask_irq functions in
arch/arm/mach-pxa/irq.c
2) register additional irq_chip in arch/arm/mach-pxa/pxa3xx.c that will be
responsible for handling EXT_WAKEUP (and probably other pxa3xx specific) interrupts.

What do you prefer?

-- 
Sincerely yours,
Mike.





More information about the linux-arm-kernel mailing list