]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[ARM] pxa: Add PXA3 standby code hooked into the IRQ wake scheme
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 7 Jan 2008 22:18:30 +0000 (22:18 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 26 Jan 2008 15:07:56 +0000 (15:07 +0000)
commit7b5dea12346f98b0624e00ef585246bfec8b0959
treea0a04aa5101b716915e7256fca79d8db0d7fbe07
parenta10476d4ca52039a9240ac26376e15308b748b19
[ARM] pxa: Add PXA3 standby code hooked into the IRQ wake scheme

Wakeup sources on PXA3 are enabled at two levels.  First, the MFP
configuration has to be set to enable which edges a specific pin
will trigger a wakeup.  The pin also has to be routed to a functional
unit.  Lastly, the functional unit must be enabled as a wakeup source
in the appropriate AD*ER registers (AD2D0ER for standby resume.)

This doesn't fit well with the IRQ wake scheme - we currently do a
best effort conversion from IRQ numbers to functional unit wake enable
bits.  For instance, there's several USB client related enable bits but
there's no corresponding IRQs to determine which you'd want.  Conversely,
there's a single enable bit covering several functional units.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/pxa3xx.c
arch/arm/mach-pxa/standby.S
include/asm-arm/arch-pxa/pxa3xx-regs.h