gpio: add support for the Diolan DLN-2 USB GPIO driver
authorDaniel Baluta <daniel.baluta@intel.com>
Thu, 6 Nov 2014 13:48:05 +0000 (15:48 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 10 Nov 2014 16:30:09 +0000 (16:30 +0000)
commit6732127f62a7635db072294c74795a20a8996db2
tree06a65e6b4eedaec9327cb53e3cc63a5fc9e55eff
parentdb23e5001f75304af5345a04901061bdfabcc165
gpio: add support for the Diolan DLN-2 USB GPIO driver

This patch adds GPIO and IRQ support for the Diolan DLN-2 GPIO module.

Information about the USB protocol interface can be found in the
Programmer's Reference Manual [1], see section 2.9 for the GPIO
module commands and responses.

[1] https://www.diolan.com/downloads/dln-api-manual.pdf

Signed-off-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-dln2.c [new file with mode: 0644]