gpio: add interrupt handling capability to max732x
authorMarc Zyngier <maz@misterjones.org>
Wed, 26 May 2010 21:42:16 +0000 (14:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 27 May 2010 16:12:41 +0000 (09:12 -0700)
commita80a0bbee49872c296c9ed9d6af0f510fcd825a7
treee617afb270575fbd3c05f534444fd8895fc8a0b9
parent0af62f4d1eedaacf6a85e293958699540d09fa3e
gpio: add interrupt handling capability to max732x

Most of the GPIO expanders supported by the max732x driver have interrupt
generation capability by reporting changes on input pins through an INT#
pin.  This patch implements the irq_chip functionnality (edge detection
only).

Signed-off-by: Marc Zyngier <maz@misterjones.org>
Cc: Eric Miao <eric.y.miao@gmail.com>
Cc: Jebediah Huang <jebediah.huang@gmail.com>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/gpio/Kconfig
drivers/gpio/max732x.c
include/linux/i2c/max732x.h