]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: Add GPIO support for the WinSystems WS16C48
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Wed, 20 Jan 2016 18:45:33 +0000 (13:45 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 28 Jan 2016 08:45:23 +0000 (09:45 +0100)
commitd6b0686c2293fb625befaac0a20411a851669594
tree5cc6e4e653e433732e9e6406dc3e14f87b4f239a
parent790ab7b973c43de5428bb0d488065db0cd709d89
gpio: Add GPIO support for the WinSystems WS16C48

The WinSystems WS16C48 device provides 48 lines of digital I/O. In
addition, the first 24 lines may be used for interrupt-handled edge
detection; rising edge detection and falling edge detection are
supported.

This driver provides GPIO and IRQ support for these 48 channels of
digital I/O. The base port address for the device may be configured via
the ws16c48_base module parameter. The interrupt line number for the
device may be configured via the ws16c48_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-ws16c48.c [new file with mode: 0644]