summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>2016-05-01 18:44:55 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-05-02 12:32:04 -0400
commit72bf7443ba618b9f7a3167c1f591a0dc00faeb2d (patch)
tree2420e1d2e633c5606d4cd164c98db80cec8485d9 /drivers/gpio/Kconfig
parent4c23db0f9f7f5e554837f69a849de75777f3fefc (diff)
gpio: 104-idi-48: Utilize the ISA bus driver
The ACCES 104-IDI-48 series communicates via the ISA bus. As such, it is more appropriate to use the ISA bus driver over the platform driver to control the ACCES 104-IDI-48 GPIO driver. This patch also adds support for multiple devices via the base and irq module array parameters. Each element of the base array corresponds to a discrete device; each element of the irq array corresponds to the respective device addressed in the respective base array element. Acked-by: Linus Walleij <linus.walleij@linaro.org> Cc: Alexandre Courbot <gnurou@gmail.com> Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig10
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 5aca476c6692..c96ef58ed9e1 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -536,12 +536,14 @@ config GPIO_104_IDIO_16
536 536
537config GPIO_104_IDI_48 537config GPIO_104_IDI_48
538 tristate "ACCES 104-IDI-48 GPIO support" 538 tristate "ACCES 104-IDI-48 GPIO support"
539 depends on ISA
539 select GPIOLIB_IRQCHIP 540 select GPIOLIB_IRQCHIP
540 help 541 help
541 Enables GPIO support for the ACCES 104-IDI-48 family. The base port 542 Enables GPIO support for the ACCES 104-IDI-48 family (104-IDI-48A,
542 address for the device may be configured via the idi_48_base module 543 104-IDI-48AC, 104-IDI-48B, 104-IDI-48BC). The base port addresses for
543 parameter. The interrupt line number for the device may be configured 544 the devices may be configured via the base module parameter. The
544 via the idi_48_irq module parameter. 545 interrupt line numbers for the devices may be configured via the irq
546 module parameter.
545 547
546config GPIO_F7188X 548config GPIO_F7188X
547 tristate "F71869, F71869A, F71882FG, F71889F and F81866 GPIO support" 549 tristate "F71869, F71869A, F71882FG, F71889F and F81866 GPIO support"