kernel_optimize_test/arch/arm/plat-omap
David Brownell 11a78b7944 ARM: OMAP: MPUIO wake updates
GPIO and MPUIO wake updates:

 - Hook MPUIOs into the irq wakeup framework too.  This uses a platform
   device to update irq enables during system sleep states, instead of
   a sys_device, since the latter is no longer needed for such things.

 - Also forward enable/disable irq wake requests to the relevant GPIO
   controller, so the top level IRQ dispatcher can (eventually) handle
   these wakeup events automatically if more than one GPIO pin needs to
   be a wakeup event source.

 - Minor tweak to the 24xx non-wakeup gpio stuff: no need to check such
   read-only data under the spinlock.

This assumes (maybe wrongly?) that only 16xx can do GPIO wakeup; without
a 15xx I can't test such stuff.

Also this expects the top level IRQ dispatcher to properly handle requests
to enable/disable irq wake, which is currently known to be wrong:  omap1
saves the flags but ignores them, omap2 doesn't even save it.  (Wakeup
events are, wrongly, hardwired in the relevant mach-omapX/pm.c file ...)
So MPUIO irqs won't yet trigger system wakeup.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2007-05-05 10:57:17 +01:00
..
clock.c ARM: OMAP: Sync clocks with linux-omap tree 2006-09-25 13:27:20 +03:00
common.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpu-omap.c ARM: OMAP: Update cpufreq support for 24xx 2006-06-26 16:16:17 -07:00
devices.c ARM: OMAP: plat-omap changes for 2430 SDP 2007-05-05 10:56:45 +01:00
dma.c ARM: OMAP: Proper handling of DMA4_IRQSTATUS_L0 2007-03-02 01:47:09 -08:00
dmtimer.c ARM: OMAP: plat-omap changes for 2430 SDP 2007-05-05 10:56:45 +01:00
fb.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
gpio.c ARM: OMAP: MPUIO wake updates 2007-05-05 10:57:17 +01:00
Kconfig kconfig: Standardize "depends" -> "depends on" in Kconfig files 2006-12-12 20:04:19 +01:00
Makefile [ARM] 3455/1: ARM: OMAP: 7/8 Misc updates, take 2 2006-04-02 17:46:27 +01:00
mcbsp.c ARM: OMAP: plat-omap changes for 2430 SDP 2007-05-05 10:56:45 +01:00
mux.c ARM: OMAP: omap1510->15xx conversions needed for sx1 2007-03-02 01:47:12 -08:00
ocpi.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sram-fn.S fix file specification in comments 2006-10-03 23:01:26 +02:00
sram.c ARM: OMAP: 2420 boot BUG(): failure to map SRAM 2006-09-25 12:41:24 +03:00
timer32k.c Initial blind fixup for arm for irq changes 2006-10-06 10:59:54 -07:00
usb.c USB: move <linux/usb_otg.h> to <linux/usb/otg.h> 2006-09-27 11:58:48 -07:00