]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: Add GPIO support for the ACCES 104-IDI-48
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Mon, 23 Nov 2015 17:54:50 +0000 (12:54 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 1 Dec 2015 08:56:36 +0000 (09:56 +0100)
commit08a27e7034453d77509d7507f1a7ccc0edd185c4
tree51840f748c49bd5613f8841766c4bbc877b57ec1
parenteea044dd2c9f862bc81c58ebd6d720e35f2d502e
gpio: Add GPIO support for the ACCES 104-IDI-48

The ACCES 104-IDI-48 family of PC/104 utility boards feature 48
individually optically isolated digital inputs. Enabled inputs feature
change-of-state detection capability; if change-of-state detection is
enabled, an interrupt is fired off if a change of input level
(low-to-high or high-to-low) is detected. Change-of-state IRQs are
enabled/disabled on 8-bit boundaries, for a total of six boundaries.

This driver provides GPIO and IRQ support for these 48 channels of
digital input. The base port address for the device may be configured
via the idi_48_base module parameter. The interrupt line number for the
device may be configured via the idi_48_irq module parameter.

Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
MAINTAINERS
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-104-idi-48.c [new file with mode: 0644]