GPIO: Add driver for 74xx-ICs with MMIO access
authorAlexander Shiyan <shc_work@mail.ru>
Fri, 3 Oct 2014 07:31:57 +0000 (11:31 +0400)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 21 Oct 2014 08:48:04 +0000 (10:48 +0200)
commitaf0a33e26c1f16a52fb2511400387a7eab9fe4d6
tree681aeb53e3522433d9cde9f920f4b4b679ce35fe
parentf114040e3ea6e07372334ade75d1ee0775c355e1
GPIO: Add driver for 74xx-ICs with MMIO access

This patch adds driver to support GPIO functionality for 74xx-compatible
ICs with MMIO access. Compatible models include:
 1 bit:   741G125 (Input), 741G74 (Output)
 2 bits:  742G125 (Input), 7474 (Output)
 4 bits:  74125 (Input), 74175 (Output)
 6 bits:  74365 (Input), 74174 (Output)
 8 bits:  74244 (Input), 74273 (Output)
 16 bits: 741624 (Input), 7416374 (Output)

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-74xx-mmio.c [new file with mode: 0644]