linux-stable/drivers/gpio
Ambresh K 55b220cafa gpio/omap4: Fix missing interrupts during device wakeup due to IOPAD.
If gpio pins from bank[2-5] are marked as wakeup enable and if the wake is
through gpio IO pad wakeup, then that wakeup gpio interrupt is lost.

In the current implementation, GPIO driver stores the context of DATAIN of
all the gpio in the bank. During GPIO resuming, it checks DATAIN with wakeup
enabled pins of gpio bank. If there is status change, then manually toggle
GPIO_LEVELDETECT to generate pseudo interrupt.

Reported-by: Philippe Mazet <p-mazet@ti.com>
Tested-by: Philippe Mazet <p-mazet@ti.com>
Signed-off-by: Ambresh K <ambresh@ti.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2011-06-16 08:40:43 -06:00
..
74x164.c gpio: Use __devexit at necessary places 2011-03-12 02:14:48 -07:00
ab8500-gpio.c treewide: cleanup continuations and remove logging message whitespace 2011-04-26 10:24:37 +02:00
adp5520-gpio.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
adp5588-gpio.c gpio: Cleanup genirq namespace 2011-03-25 00:02:51 +01:00
basic_mmio_gpio.c basic_mmio_gpio: split into a gpio library and platform device 2011-05-20 00:40:19 -06:00
bt8xxgpio.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
cs5535-gpio.c gpio/cs5535-gpio: Fix section mismatch 2011-03-17 12:52:05 -06:00
gpio-exynos4.c gpio/exynos4: Fix incorrect mapping of gpio pull-up macro to register setting 2011-06-07 11:10:01 -06:00
gpio-nomadik.c gpio/nomadik: fix sleepmode for elder Nomadik 2011-06-09 15:03:38 -06:00
gpio-omap.c gpio/omap4: Fix missing interrupts during device wakeup due to IOPAD. 2011-06-16 08:40:43 -06:00
gpio-plat-samsung.c gpio: Move to Samsung common GPIO library to drivers/gpio 2011-05-26 17:31:22 -06:00
gpio-s5pc100.c gpio: Move the s5pc100 GPIO to drivers/gpio 2011-05-26 17:33:41 -06:00
gpio-s5pv210.c gpio: Move the s5pv210 GPIO to drivers/gpio 2011-05-26 17:33:37 -06:00
gpio-u300.c gpio: move U300 GPIO driver to drivers/gpio 2011-05-26 17:29:33 -06:00
gpiolib.c gpio: make gpio_{request,free}_array gpio array parameter const 2011-05-27 17:56:45 -06:00
it8761e_gpio.c drivers/gpio/it8761e_gpio: check return value of gpiochip_remove() 2010-05-27 09:12:42 -07:00
janz-ttl.c mfd: Use mfd cell platform_data for janz cells platform bits 2011-05-26 19:45:08 +02:00
Kconfig gpio/samsung: make Kconfig options def_bool 2011-06-07 14:37:27 -06:00
langwell_gpio.c langwell_gpio: add runtime pm support 2011-05-26 14:24:36 -06:00
Makefile Merge branch 'gpio/next' of git://git.secretlab.ca/git/linux-2.6 2011-05-28 10:56:34 -07:00
max730x.c gpio: max730x: make pullups configurable via platformdata 2010-08-11 08:59:08 -07:00
max732x.c gpio: Cleanup genirq namespace 2011-03-25 00:02:51 +01:00
max7300.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
max7301.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mc33880.c Fix common misspellings 2011-03-31 11:26:23 -03:00
mcp23s08.c gpio/mcp23s08: support mcp23s17 variant 2011-03-12 01:26:34 -07:00
ml_ioh_gpio.c drivers/gpio/ml_ioh_gpio.c needs slab.h 2011-05-25 08:39:57 -07:00
pca953x.c gpio/pca953x: Add support for pca9574 and pca9575 devices 2011-05-26 13:58:30 -06:00
pcf857x.c pcf857x: support working w/o platform data 2010-08-11 08:59:08 -07:00
pch_gpio.c gpio/pch_gpio: Support new device ML7223 2011-05-27 17:56:45 -06:00
pl061.c gpio: Fold irq_set_chip/irq_set_handler to irq_set_chip_and_handler 2011-03-25 00:02:52 +01:00
rdc321x-gpio.c mfd: Use mfd cell platform_data for rdc321x cells platform bits 2011-05-26 19:45:06 +02:00
sch_gpio.c gpio: Add Tunnel Creek support to sch_gpio 2011-03-23 10:42:08 +01:00
stmpe-gpio.c gpio: Cleanup genirq namespace 2011-03-25 00:02:51 +01:00
sx150x.c gpio: Fold irq_set_chip/irq_set_handler to irq_set_chip_and_handler 2011-03-25 00:02:52 +01:00
tc3589x-gpio.c gpio: Cleanup genirq namespace 2011-03-25 00:02:51 +01:00
timbgpio.c mfd: Use mfd cell platform_data for timberdale cells platform bits 2011-05-26 19:45:05 +02:00
tps65910-gpio.c TPS65911: Add support for added GPIO lines 2011-05-27 10:49:29 +01:00
twl4030-gpio.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ucb1400_gpio.c mfd/gpio: add a GPIO interface to the UCB1400 MFD chip driver via gpiolib 2009-09-23 07:39:48 -07:00
vr41xx_giu.c gpio: Cleanup genirq namespace 2011-03-25 00:02:51 +01:00
vx855_gpio.c drivers/gpio/vx855_gpio.c needs slab.h 2011-05-25 08:39:56 -07:00
wm831x-gpio.c gpiolib: Implement set_debounce for WM831x GPIOs 2010-08-12 11:27:57 +02:00
wm8350-gpiolib.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
wm8994-gpio.c gpiolib: Add WM8958 support to the WM8994 driver 2010-11-26 15:16:19 +00:00
xilinx_gpio.c of: GPIO: Fix OF probing on little-endian systems 2010-09-29 15:28:08 +09:00