diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2010-10-27 18:33:19 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-27 21:03:07 -0400 |
commit | 459773ae8dbbd480886d186181c6bc2e8556025f (patch) | |
tree | 38d738b858105a46a473bcae0958e2ded77a2e21 /drivers/gpio/Kconfig | |
parent | ead6db084392349ad33323b1bb2916058dd7e82b (diff) |
gpio: adp5588-gpio: support interrupt controller
Implement irq_chip functionality on ADP5588/5587 GPIO expanders. Only
level sensitive interrupts are supported. Interrupts provided by this
irq_chip must be requested using request_threaded_irq().
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index bc7b0fca6415..3f3181dac8d7 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig | |||
@@ -272,6 +272,13 @@ config GPIO_ADP5588 | |||
272 | To compile this driver as a module, choose M here: the module will be | 272 | To compile this driver as a module, choose M here: the module will be |
273 | called adp5588-gpio. | 273 | called adp5588-gpio. |
274 | 274 | ||
275 | config GPIO_ADP5588_IRQ | ||
276 | bool "Interrupt controller support for ADP5588" | ||
277 | depends on GPIO_ADP5588=y | ||
278 | help | ||
279 | Say yes here to enable the adp5588 to be used as an interrupt | ||
280 | controller. It requires the driver to be built in the kernel. | ||
281 | |||
275 | comment "PCI GPIO expanders:" | 282 | comment "PCI GPIO expanders:" |
276 | 283 | ||
277 | config GPIO_CS5535 | 284 | config GPIO_CS5535 |