diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-10-03 03:31:57 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-10-21 04:48:04 -0400 |
commit | af0a33e26c1f16a52fb2511400387a7eab9fe4d6 (patch) | |
tree | 681aeb53e3522433d9cde9f920f4b4b679ce35fe /drivers/gpio/Kconfig | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 (diff) |
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>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index 0959ca9b6b27..cd3313436b3a 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig | |||
@@ -112,6 +112,20 @@ config GPIO_MAX730X | |||
112 | 112 | ||
113 | comment "Memory mapped GPIO drivers:" | 113 | comment "Memory mapped GPIO drivers:" |
114 | 114 | ||
115 | config GPIO_74XX_MMIO | ||
116 | tristate "GPIO driver for 74xx-ICs with MMIO access" | ||
117 | depends on OF_GPIO | ||
118 | select GPIO_GENERIC | ||
119 | help | ||
120 | Say yes here to support GPIO functionality for 74xx-compatible ICs | ||
121 | with MMIO access. Compatible models include: | ||
122 | 1 bit: 741G125 (Input), 741G74 (Output) | ||
123 | 2 bits: 742G125 (Input), 7474 (Output) | ||
124 | 4 bits: 74125 (Input), 74175 (Output) | ||
125 | 6 bits: 74365 (Input), 74174 (Output) | ||
126 | 8 bits: 74244 (Input), 74273 (Output) | ||
127 | 16 bits: 741624 (Input), 7416374 (Output) | ||
128 | |||
115 | config GPIO_CLPS711X | 129 | config GPIO_CLPS711X |
116 | tristate "CLPS711X GPIO support" | 130 | tristate "CLPS711X GPIO support" |
117 | depends on ARCH_CLPS711X || COMPILE_TEST | 131 | depends on ARCH_CLPS711X || COMPILE_TEST |