Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
a9c5fff5 | 2 | # |
e849dc04 | 3 | # GPIO infrastructure and drivers |
a9c5fff5 DB |
4 | # |
5 | ||
7444a72e MB |
6 | menuconfig GPIOLIB |
7 | bool "GPIO Support" | |
7444a72e MB |
8 | help |
9 | This enables GPIO support through the generic GPIO library. | |
dd1695a2 | 10 | You only need to enable this if you also want to enable |
e849dc04 | 11 | one or more of the GPIO drivers below. |
7444a72e MB |
12 | |
13 | If unsure, say N. | |
a9c5fff5 | 14 | |
7444a72e | 15 | if GPIOLIB |
a9c5fff5 | 16 | |
3027743f LA |
17 | config GPIOLIB_FASTPATH_LIMIT |
18 | int "Maximum number of GPIOs for fast path" | |
19 | range 32 512 | |
20 | default 512 | |
21 | help | |
c42e34c9 EWI |
22 | This adjusts the point at which certain APIs will switch from |
23 | using a stack allocated buffer to a dynamically allocated buffer. | |
3027743f | 24 | |
c42e34c9 EWI |
25 | You shouldn't need to change this unless you really need to |
26 | optimize either stack space or performance. Change this carefully | |
27 | since setting an incorrect value could cause stack corruption. | |
3027743f | 28 | |
f141ed65 GL |
29 | config OF_GPIO |
30 | def_bool y | |
92c74bce | 31 | depends on OF |
2527ecc9 | 32 | depends on HAS_IOMEM |
f141ed65 | 33 | |
e29482e8 MN |
34 | config GPIO_ACPI |
35 | def_bool y | |
36 | depends on ACPI | |
37 | ||
14250520 | 38 | config GPIOLIB_IRQCHIP |
fc346270 | 39 | select IRQ_DOMAIN |
14250520 LW |
40 | bool |
41 | ||
a99cc668 AB |
42 | config OF_GPIO_MM_GPIOCHIP |
43 | bool | |
44 | help | |
45 | This adds support for the legacy 'struct of_mm_gpio_chip' interface | |
46 | from PowerPC. Existing drivers using this interface need to select | |
47 | this symbol, but new drivers should use the generic gpio-regmap | |
48 | infrastructure instead. | |
49 | ||
a9c5fff5 DB |
50 | config DEBUG_GPIO |
51 | bool "Debug GPIO calls" | |
52 | depends on DEBUG_KERNEL | |
53 | help | |
54 | Say Y here to add some extra checks and diagnostics to GPIO calls. | |
692105b8 ML |
55 | These checks help ensure that GPIOs have been properly initialized |
56 | before they are used, and that sleeping calls are not made from | |
57 | non-sleeping contexts. They can make bitbanged serial protocols | |
a9c5fff5 DB |
58 | slower. The diagnostics help catch the type of setup errors |
59 | that are most common when setting up new platforms or boards. | |
60 | ||
d8f388d8 | 61 | config GPIO_SYSFS |
3b4feb21 | 62 | bool "/sys/class/gpio/... (sysfs interface)" if EXPERT |
4c0ea233 | 63 | depends on SYSFS |
3b4feb21 | 64 | select GPIO_CDEV # We need to encourage the new ABI |
d8f388d8 | 65 | help |
db9477f8 | 66 | Say Y here to add the legacy sysfs interface for GPIOs. |
d8f388d8 | 67 | |
db9477f8 LW |
68 | This ABI is deprecated. If you want to use GPIO from userspace, |
69 | use the character device /dev/gpiochipN with the appropriate | |
d143493c KG |
70 | ioctl() operations instead. |
71 | ||
72 | config GPIO_CDEV | |
73 | bool | |
74 | prompt "Character device (/dev/gpiochipN) support" if EXPERT | |
75 | default y | |
76 | help | |
77 | Say Y here to add the character device /dev/gpiochipN interface | |
78 | for GPIOs. The character device allows userspace to control GPIOs | |
79 | using ioctl() operations. | |
80 | ||
81 | Only say N if you are sure that the GPIO character device is not | |
82 | required. | |
83 | ||
84 | If unsure, say Y. | |
d8f388d8 | 85 | |
957ebb61 KG |
86 | config GPIO_CDEV_V1 |
87 | bool "Support GPIO ABI Version 1" | |
88 | default y | |
89 | depends on GPIO_CDEV | |
90 | help | |
91 | Say Y here to support version 1 of the GPIO CDEV ABI. | |
92 | ||
93 | This ABI version is deprecated. | |
94 | Please use the latest ABI for new developments. | |
95 | ||
96 | If unsure, say Y. | |
97 | ||
c103de24 | 98 | config GPIO_GENERIC |
3085a4a4 | 99 | depends on HAS_IOMEM # Only for IOMEM drivers |
c103de24 GL |
100 | tristate |
101 | ||
ebe36319 MW |
102 | config GPIO_REGMAP |
103 | depends on REGMAP | |
104 | tristate | |
105 | ||
e849dc04 | 106 | # put drivers in the right section, in alphabetical order |
a9c5fff5 | 107 | |
177b0381 | 108 | # This symbol is selected by both I2C and SPI expanders |
e952805d WS |
109 | config GPIO_MAX730X |
110 | tristate | |
111 | ||
b9b1fc1a WBG |
112 | config GPIO_IDIO_16 |
113 | tristate | |
114 | help | |
115 | Enables support for the idio-16 library functions. The idio-16 library | |
116 | provides functions to facilitate communication with devices within the | |
117 | ACCES IDIO-16 family such as the 104-IDIO-16 and the PCI-IDIO-16. | |
118 | ||
119 | If built as a module its name will be gpio-idio-16. | |
120 | ||
177b0381 | 121 | menu "Memory mapped GPIO drivers" |
3085a4a4 | 122 | depends on HAS_IOMEM |
0bcb6069 | 123 | |
af0a33e2 AS |
124 | config GPIO_74XX_MMIO |
125 | tristate "GPIO driver for 74xx-ICs with MMIO access" | |
126 | depends on OF_GPIO | |
127 | select GPIO_GENERIC | |
128 | help | |
129 | Say yes here to support GPIO functionality for 74xx-compatible ICs | |
130 | with MMIO access. Compatible models include: | |
131 | 1 bit: 741G125 (Input), 741G74 (Output) | |
132 | 2 bits: 742G125 (Input), 7474 (Output) | |
133 | 4 bits: 74125 (Input), 74175 (Output) | |
134 | 6 bits: 74365 (Input), 74174 (Output) | |
135 | 8 bits: 74244 (Input), 74273 (Output) | |
136 | 16 bits: 741624 (Input), 7416374 (Output) | |
137 | ||
223fa272 LW |
138 | config GPIO_ALTERA |
139 | tristate "Altera GPIO" | |
140 | depends on OF_GPIO | |
223fa272 | 141 | select GPIOLIB_IRQCHIP |
a99cc668 | 142 | select OF_GPIO_MM_GPIOCHIP |
223fa272 LW |
143 | help |
144 | Say Y or M here to build support for the Altera PIO device. | |
145 | ||
146 | If driver is built as a module it will be called gpio-altera. | |
147 | ||
6057d40f YT |
148 | config GPIO_AMDPT |
149 | tristate "AMD Promontory GPIO support" | |
150 | depends on ACPI | |
574b782e | 151 | select GPIO_GENERIC |
6057d40f | 152 | help |
dd1695a2 RD |
153 | Driver for GPIO functionality on Promontory IOHub. |
154 | Requires ACPI ASL code to enumerate as a platform device. | |
6057d40f | 155 | |
361b7911 JS |
156 | config GPIO_ASPEED |
157 | tristate "Aspeed GPIO support" | |
158 | depends on (ARCH_ASPEED || COMPILE_TEST) && OF_GPIO | |
159 | select GPIOLIB_IRQCHIP | |
160 | help | |
161 | Say Y here to support Aspeed AST2400 and AST2500 GPIO controllers. | |
162 | ||
f8b410e3 LW |
163 | config GPIO_ASPEED_SGPIO |
164 | bool "Aspeed SGPIO support" | |
165 | depends on (ARCH_ASPEED || COMPILE_TEST) && OF_GPIO | |
166 | select GPIO_GENERIC | |
167 | select GPIOLIB_IRQCHIP | |
168 | help | |
169 | Say Y here to support Aspeed AST2500 SGPIO functionality. | |
170 | ||
ab32770e AB |
171 | config GPIO_ATH79 |
172 | tristate "Atheros AR71XX/AR724X/AR913X GPIO support" | |
173 | default y if ATH79 | |
409d8783 | 174 | depends on ATH79 || COMPILE_TEST |
ab32770e | 175 | select GPIO_GENERIC |
2b8f89e1 | 176 | select GPIOLIB_IRQCHIP |
ab32770e AB |
177 | help |
178 | Select this option to enable GPIO driver for | |
179 | Atheros AR71XX/AR724X/AR913X SoC devices. | |
180 | ||
a98d90e7 DS |
181 | config GPIO_RASPBERRYPI_EXP |
182 | tristate "Raspberry Pi 3 GPIO Expander" | |
183 | default RASPBERRYPI_FIRMWARE | |
184 | depends on OF_GPIO | |
94337b72 BS |
185 | # Make sure not 'y' when RASPBERRYPI_FIRMWARE is 'm'. This can only |
186 | # happen when COMPILE_TEST=y, hence the added !RASPBERRYPI_FIRMWARE. | |
7ed91505 | 187 | depends on (ARCH_BCM2835 && RASPBERRYPI_FIRMWARE) || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE) |
a98d90e7 DS |
188 | help |
189 | Turn on GPIO support for the expander on Raspberry Pi 3 boards, using | |
190 | the firmware mailbox to communicate with VideoCore on BCM283x chips. | |
191 | ||
ea948cff LW |
192 | config GPIO_BCM_KONA |
193 | bool "Broadcom Kona GPIO" | |
194 | depends on OF_GPIO && (ARCH_BCM_MOBILE || COMPILE_TEST) | |
195 | help | |
196 | Turn on GPIO support for Broadcom "Kona" chips. | |
197 | ||
6a41b6c5 CP |
198 | config GPIO_BCM_XGS_IPROC |
199 | tristate "BRCM XGS iProc GPIO support" | |
200 | depends on OF_GPIO && (ARCH_BCM_IPROC || COMPILE_TEST) | |
201 | select GPIO_GENERIC | |
202 | select GPIOLIB_IRQCHIP | |
203 | default ARCH_BCM_IPROC | |
204 | help | |
205 | Say yes here to enable GPIO support for Broadcom XGS iProc SoCs. | |
206 | ||
3b0213d5 GF |
207 | config GPIO_BRCMSTB |
208 | tristate "BRCMSTB GPIO support" | |
a02588a0 FF |
209 | default y if (ARCH_BRCMSTB || BMIPS_GENERIC) |
210 | depends on OF_GPIO && (ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST) | |
3b0213d5 | 211 | select GPIO_GENERIC |
0ba31dc2 | 212 | select IRQ_DOMAIN |
3b0213d5 GF |
213 | help |
214 | Say yes here to enable GPIO support for Broadcom STB (BCM7XXX) SoCs. | |
215 | ||
72ab2f76 JK |
216 | config GPIO_CADENCE |
217 | tristate "Cadence GPIO support" | |
218 | depends on OF_GPIO | |
219 | select GPIO_GENERIC | |
220 | select GPIOLIB_IRQCHIP | |
221 | help | |
222 | Say yes here to enable support for Cadence GPIO controller. | |
223 | ||
a3b8d4a5 | 224 | config GPIO_CLPS711X |
55fe14ab | 225 | tristate "CLPS711X GPIO support" |
ffd4bf1a | 226 | depends on ARCH_CLPS711X || COMPILE_TEST |
55fe14ab AS |
227 | select GPIO_GENERIC |
228 | help | |
229 | Say yes here to support GPIO on CLPS711X SoCs. | |
a3b8d4a5 | 230 | |
ee89cf63 | 231 | config GPIO_DAVINCI |
8dab99c9 | 232 | tristate "TI Davinci/Keystone GPIO support" |
ee89cf63 | 233 | default y if ARCH_DAVINCI |
6eeea326 | 234 | depends on (ARM || ARM64) && (ARCH_DAVINCI || ARCH_KEYSTONE || ARCH_K3) |
ee89cf63 GS |
235 | help |
236 | Say yes here to enable GPIO support for TI Davinci/Keystone SoCs. | |
237 | ||
7779b345 JI |
238 | config GPIO_DWAPB |
239 | tristate "Synopsys DesignWare APB GPIO driver" | |
240 | select GPIO_GENERIC | |
0ea68393 | 241 | select GPIOLIB_IRQCHIP |
7779b345 JI |
242 | help |
243 | Say Y or M here to build support for the Synopsys DesignWare APB | |
244 | GPIO block. | |
245 | ||
25518e02 BW |
246 | config GPIO_EIC_SPRD |
247 | tristate "Spreadtrum EIC support" | |
248 | depends on ARCH_SPRD || COMPILE_TEST | |
249 | depends on OF_GPIO | |
250 | select GPIOLIB_IRQCHIP | |
251 | help | |
252 | Say yes here to support Spreadtrum EIC device. | |
253 | ||
a07e103e MD |
254 | config GPIO_EM |
255 | tristate "Emma Mobile GPIO" | |
22eaf13c | 256 | depends on (ARCH_EMEV2 || COMPILE_TEST) && OF_GPIO |
a07e103e MD |
257 | help |
258 | Say yes here to support GPIO on Renesas Emma Mobile SoCs. | |
259 | ||
0868ad38 JC |
260 | config GPIO_EN7523 |
261 | tristate "Airoha GPIO support" | |
262 | depends on ARCH_AIROHA | |
263 | default ARCH_AIROHA | |
264 | select GPIO_GENERIC | |
265 | select GPIOLIB_IRQCHIP | |
266 | help | |
267 | Say Y or M here to support the GPIO controller block on the | |
268 | Airoha EN7523 SoC. It supports two banks of 32 GPIOs. | |
269 | ||
c6b52c13 HS |
270 | config GPIO_EP93XX |
271 | def_bool y | |
272 | depends on ARCH_EP93XX | |
1e4c8842 | 273 | select GPIO_GENERIC |
a419a3d9 | 274 | select GPIOLIB_IRQCHIP |
c6b52c13 | 275 | |
6596e59e SM |
276 | config GPIO_EXAR |
277 | tristate "Support for GPIO pins on XR17V352/354/358" | |
278 | depends on SERIAL_8250_EXAR | |
36fb7218 | 279 | select REGMAP_MMIO |
6596e59e SM |
280 | help |
281 | Selecting this option will enable handling of GPIO pins present | |
282 | on Exar XR17V352/354/358 chips. | |
283 | ||
223fa272 LW |
284 | config GPIO_GE_FPGA |
285 | bool "GE FPGA based GPIO" | |
286 | depends on GE_FPGA | |
287 | select GPIO_GENERIC | |
288 | help | |
289 | Support for common GPIO functionality provided on some GE Single Board | |
290 | Computers. | |
291 | ||
292 | This driver provides basic support (configure as input or output, read | |
293 | and write pin state) for GPIO implemented in a number of GE single | |
294 | board computers. | |
295 | ||
9d3a15aa LW |
296 | config GPIO_FTGPIO010 |
297 | bool "Faraday FTGPIO010 GPIO" | |
49cec4d8 LW |
298 | depends on OF_GPIO |
299 | select GPIO_GENERIC | |
300 | select GPIOLIB_IRQCHIP | |
d8307c09 | 301 | default (ARCH_GEMINI || ARCH_MOXART) |
49cec4d8 | 302 | help |
9d3a15aa LW |
303 | Support for common GPIOs from the Faraday FTGPIO010 IP core, found in |
304 | Cortina systems Gemini platforms, Moxa ART and others. | |
49cec4d8 | 305 | |
223fa272 LW |
306 | config GPIO_GENERIC_PLATFORM |
307 | tristate "Generic memory-mapped GPIO controller support (MMIO platform device)" | |
308 | select GPIO_GENERIC | |
309 | help | |
310 | Say yes here to support basic platform_device memory-mapped GPIO controllers. | |
311 | ||
312 | config GPIO_GRGPIO | |
313 | tristate "Aeroflex Gaisler GRGPIO support" | |
048c28c9 | 314 | depends on OF_GPIO |
223fa272 LW |
315 | select GPIO_GENERIC |
316 | select IRQ_DOMAIN | |
317 | help | |
318 | Select this to support Aeroflex Gaisler GRGPIO cores from the GRLIB | |
319 | VHDL IP core library. | |
320 | ||
356b01a9 LJ |
321 | config GPIO_HISI |
322 | tristate "HiSilicon GPIO controller driver" | |
80280df7 | 323 | depends on ARM64 || COMPILE_TEST |
356b01a9 LJ |
324 | select GPIO_GENERIC |
325 | select GPIOLIB_IRQCHIP | |
326 | help | |
327 | Say Y or M here to build support for the HiSilicon GPIO controller | |
328 | driver GPIO block. | |
dd1695a2 | 329 | This GPIO controller supports double-edge interrupt and multi-core |
356b01a9 LJ |
330 | concurrent access. |
331 | ||
8f55fed3 JN |
332 | config GPIO_HLWD |
333 | tristate "Nintendo Wii (Hollywood) GPIO" | |
334 | depends on OF_GPIO | |
335 | select GPIO_GENERIC | |
588de43c | 336 | select GPIOLIB_IRQCHIP |
8f55fed3 JN |
337 | help |
338 | Select this to support the GPIO controller of the Nintendo Wii. | |
339 | ||
340 | If unsure, say N. | |
341 | ||
223fa272 LW |
342 | config GPIO_ICH |
343 | tristate "Intel ICH GPIO" | |
ba134d29 AS |
344 | depends on X86 |
345 | depends on LPC_ICH | |
223fa272 LW |
346 | help |
347 | Say yes here to support the GPIO functionality of a number of Intel | |
348 | ICH-based chipsets. Currently supported devices: ICH6, ICH7, ICH8 | |
dd1695a2 | 349 | ICH9, ICH10, Series 5/3400 (e.g. Ibex Peak), Series 6/C200 (e.g. |
223fa272 LW |
350 | Cougar Point), NM10 (Tiger Point), and 3100 (Whitmore Lake). |
351 | ||
352 | If unsure, say N. | |
353 | ||
0bd459dd SW |
354 | config GPIO_IMX_SCU |
355 | def_bool y | |
356 | depends on IMX_SCU | |
357 | ||
813e7d36 LW |
358 | config GPIO_IXP4XX |
359 | bool "Intel IXP4xx GPIO" | |
813e7d36 | 360 | depends on ARCH_IXP4XX |
c83227a5 | 361 | depends on OF |
813e7d36 | 362 | select GPIO_GENERIC |
aa7d618a | 363 | select GPIOLIB_IRQCHIP |
813e7d36 LW |
364 | select IRQ_DOMAIN_HIERARCHY |
365 | help | |
366 | Say yes here to support the GPIO functionality of a number of Intel | |
367 | IXP4xx series of chips. | |
368 | ||
369 | If unsure, say N. | |
c83227a5 | 370 | |
c16485ad PK |
371 | config GPIO_LOGICVC |
372 | tristate "Xylon LogiCVC GPIO support" | |
373 | depends on MFD_SYSCON && OF | |
374 | help | |
375 | Say yes here to support GPIO functionality of the Xylon LogiCVC | |
376 | programmable logic block. | |
813e7d36 | 377 | |
223fa272 LW |
378 | config GPIO_LOONGSON |
379 | bool "Loongson-2/3 GPIO support" | |
268a2d60 | 380 | depends on CPU_LOONGSON2EF || CPU_LOONGSON64 |
223fa272 | 381 | help |
dd1695a2 | 382 | Driver for GPIO functionality on Loongson-2F/3A/3B processors. |
223fa272 | 383 | |
7944d3b7 YZ |
384 | config GPIO_LOONGSON_64BIT |
385 | tristate "Loongson 64 bit GPIO support" | |
386 | depends on LOONGARCH || COMPILE_TEST | |
387 | select OF_GPIO | |
388 | select GPIO_GENERIC | |
389 | help | |
390 | Say yes here to support the GPIO functionality of a number of | |
391 | Loongson series of chips. The Loongson GPIO controller supports | |
392 | up to 60 GPIOS in total, 4 of which are dedicated GPIO pins, and | |
393 | the remaining 56 are reused with other functions, with edge or | |
394 | level triggered interrupts. | |
395 | ||
13a43fd9 | 396 | config GPIO_LPC18XX |
54b72998 | 397 | tristate "NXP LPC18XX/43XX GPIO support" |
13a43fd9 JE |
398 | default y if ARCH_LPC18XX |
399 | depends on OF_GPIO && (ARCH_LPC18XX || COMPILE_TEST) | |
5ddabfe8 | 400 | select IRQ_DOMAIN_HIERARCHY |
13a43fd9 JE |
401 | help |
402 | Select this option to enable GPIO driver for | |
403 | NXP LPC18XX/43XX devices. | |
404 | ||
f2ee7314 AB |
405 | config GPIO_LPC32XX |
406 | tristate "NXP LPC32XX GPIO support" | |
407 | depends on OF_GPIO && (ARCH_LPC32XX || COMPILE_TEST) | |
408 | help | |
409 | Select this option to enable GPIO driver for | |
410 | NXP LPC32XX devices. | |
411 | ||
0da094d8 | 412 | config GPIO_MB86S7X |
e1289dba | 413 | tristate "GPIO support for Fujitsu MB86S7x Platforms" |
0da094d8 JB |
414 | help |
415 | Say yes here to support the GPIO controller in Fujitsu MB86S70 SoCs. | |
416 | ||
f436bc27 AW |
417 | config GPIO_MENZ127 |
418 | tristate "MEN 16Z127 GPIO support" | |
419 | depends on MCB | |
420 | select GPIO_GENERIC | |
421 | help | |
dd1695a2 | 422 | Say yes here to support the MEN 16Z127 GPIO Controller. |
f436bc27 | 423 | |
223fa272 LW |
424 | config GPIO_MM_LANTIQ |
425 | bool "Lantiq Memory mapped GPIOs" | |
426 | depends on LANTIQ && SOC_XWAY | |
a99cc668 | 427 | select OF_GPIO_MM_GPIOCHIP |
223fa272 LW |
428 | help |
429 | This enables support for memory mapped GPIOs on the External Bus Unit | |
dd1695a2 RD |
430 | (EBU) found on Lantiq SoCs. The GPIOs are output only as they are |
431 | created by attaching a 16-bit latch to the bus. | |
223fa272 | 432 | |
6eae1ace GL |
433 | config GPIO_MPC5200 |
434 | def_bool y | |
435 | depends on PPC_MPC52xx | |
a99cc668 | 436 | select OF_GPIO_MM_GPIOCHIP |
6eae1ace | 437 | |
c68308dd | 438 | config GPIO_MPC8XXX |
5df7fd46 | 439 | bool "MPC512x/MPC8xxx/QorIQ GPIO support" |
c68308dd | 440 | depends on PPC_MPC512x || PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || \ |
5df7fd46 LG |
441 | FSL_SOC_BOOKE || PPC_86xx || ARCH_LAYERSCAPE || ARM || \ |
442 | COMPILE_TEST | |
443 | select GPIO_GENERIC | |
a8fa91a7 | 444 | select IRQ_DOMAIN |
c68308dd WS |
445 | help |
446 | Say Y here if you're going to use hardware that connects to the | |
5df7fd46 | 447 | MPC512x/831x/834x/837x/8572/8610/QorIQ GPIOs. |
c68308dd | 448 | |
4ba9c3af SP |
449 | config GPIO_MT7621 |
450 | bool "Mediatek MT7621 GPIO Support" | |
451 | depends on SOC_MT7620 || SOC_MT7621 || COMPILE_TEST | |
7a9a5df0 | 452 | depends on OF_GPIO |
4ba9c3af SP |
453 | select GPIO_GENERIC |
454 | select GPIOLIB_IRQCHIP | |
455 | help | |
dd1695a2 | 456 | Say yes here to support the Mediatek MT7621 SoC GPIO device. |
4ba9c3af | 457 | |
fefe7b09 TP |
458 | config GPIO_MVEBU |
459 | def_bool y | |
3b4c94bb | 460 | depends on PLAT_ORION || ARCH_MVEBU |
048c28c9 | 461 | depends on OF_GPIO |
fefe7b09 | 462 | select GENERIC_IRQ_CHIP |
f37e335f | 463 | select REGMAP_MMIO |
fefe7b09 | 464 | |
d37a65bb | 465 | config GPIO_MXC |
12d16b39 | 466 | tristate "i.MX GPIO support" |
d4e93614 | 467 | depends on ARCH_MXC || COMPILE_TEST |
c103de24 | 468 | select GPIO_GENERIC |
e4ea9333 | 469 | select GENERIC_IRQ_CHIP |
c103de24 GL |
470 | |
471 | config GPIO_MXS | |
97c6e28d | 472 | bool "Freescale MXS GPIO support" if COMPILE_TEST |
6876ca31 | 473 | depends on ARCH_MXS || COMPILE_TEST |
97c6e28d | 474 | default y if ARCH_MXS |
06f88a8a | 475 | select GPIO_GENERIC |
498c17cf | 476 | select GENERIC_IRQ_CHIP |
d37a65bb | 477 | |
aca58a66 DD |
478 | config GPIO_OCTEON |
479 | tristate "Cavium OCTEON GPIO" | |
e4c6a52c | 480 | depends on CAVIUM_OCTEON_SOC |
aca58a66 DD |
481 | default y |
482 | help | |
483 | Say yes here to support the on-chip GPIO lines on the OCTEON | |
484 | family of SOCs. | |
485 | ||
cd0a3748 | 486 | config GPIO_OMAP |
cac089f9 | 487 | tristate "TI OMAP GPIO support" if ARCH_OMAP2PLUS || COMPILE_TEST |
cd0a3748 | 488 | default y if ARCH_OMAP |
9d5d96ef AB |
489 | depends on ARM |
490 | select GENERIC_IRQ_CHIP | |
fb655f57 | 491 | select GPIOLIB_IRQCHIP |
cd0a3748 JMC |
492 | help |
493 | Say yes here to enable GPIO support for TI OMAP SoCs. | |
494 | ||
1e9c2859 | 495 | config GPIO_PL061 |
61684440 | 496 | tristate "PrimeCell PL061 GPIO support" |
8a242842 | 497 | depends on ARM_AMBA |
a5d6d271 | 498 | select IRQ_DOMAIN |
8d5b24bd | 499 | select GPIOLIB_IRQCHIP |
1e9c2859 | 500 | help |
dd1695a2 | 501 | Say yes here to support the PrimeCell PL061 GPIO device. |
1e9c2859 | 502 | |
157d2644 HZ |
503 | config GPIO_PXA |
504 | bool "PXA GPIO support" | |
22e4ebd0 | 505 | depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST |
157d2644 | 506 | help |
dd1695a2 | 507 | Say yes here to support the PXA GPIO device. |
157d2644 | 508 | |
119f5e44 | 509 | config GPIO_RCAR |
032653ef | 510 | tristate "Renesas R-Car and RZ/G GPIO support" |
2af66e1d | 511 | depends on ARCH_RENESAS || COMPILE_TEST |
c7f3c5d3 | 512 | select GPIOLIB_IRQCHIP |
119f5e44 | 513 | help |
032653ef | 514 | Say yes here to support GPIO on Renesas R-Car or RZ/G SoCs. |
119f5e44 | 515 | |
d57eb825 MS |
516 | config GPIO_RDA |
517 | bool "RDA Micro GPIO controller support" | |
518 | depends on ARCH_RDA || COMPILE_TEST | |
519 | depends on OF_GPIO | |
520 | select GPIO_GENERIC | |
521 | select GPIOLIB_IRQCHIP | |
522 | help | |
523 | Say Y here to support RDA Micro GPIO controller. | |
524 | ||
0d82fb11 SV |
525 | config GPIO_REALTEK_OTTO |
526 | tristate "Realtek Otto GPIO support" | |
527 | depends on MACH_REALTEK_RTL | |
528 | default MACH_REALTEK_RTL | |
529 | select GPIO_GENERIC | |
530 | select GPIOLIB_IRQCHIP | |
531 | help | |
532 | The GPIO controller on the Otto MIPS platform supports up to two | |
533 | banks of 32 GPIOs, with edge triggered interrupts. The 32 GPIOs | |
534 | are grouped in four 8-bit wide ports. | |
535 | ||
536 | When built as a module, the module will be called realtek_otto_gpio. | |
537 | ||
380639c7 RK |
538 | config GPIO_REG |
539 | bool | |
540 | help | |
541 | A 32-bit single register GPIO fixed in/out implementation. This | |
542 | can be used to represent any register as a set of GPIO signals. | |
543 | ||
936ee267 JX |
544 | config GPIO_ROCKCHIP |
545 | tristate "Rockchip GPIO support" | |
546 | depends on ARCH_ROCKCHIP || COMPILE_TEST | |
d6912b12 | 547 | select GENERIC_IRQ_CHIP |
936ee267 JX |
548 | select GPIOLIB_IRQCHIP |
549 | default ARCH_ROCKCHIP | |
550 | help | |
551 | Say yes here to support GPIO on Rockchip SoCs. | |
552 | ||
fb0b35d3 AS |
553 | config GPIO_SAMA5D2_PIOBU |
554 | tristate "SAMA5D2 PIOBU GPIO support" | |
555 | depends on MFD_SYSCON | |
a7c23f8d | 556 | depends on OF_GPIO |
b06d7b45 | 557 | depends on ARCH_AT91 || COMPILE_TEST |
fb0b35d3 AS |
558 | select GPIO_SYSCON |
559 | help | |
560 | Say yes here to use the PIOBU pins as GPIOs. | |
561 | ||
562 | PIOBU pins on the SAMA5D2 can be used as GPIOs. | |
563 | The difference from regular GPIOs is that they | |
564 | maintain their value during backup/self-refresh. | |
565 | ||
96868dce YS |
566 | config GPIO_SIFIVE |
567 | bool "SiFive GPIO support" | |
18eedf2b RD |
568 | depends on OF_GPIO |
569 | select IRQ_DOMAIN_HIERARCHY | |
96868dce YS |
570 | select GPIO_GENERIC |
571 | select GPIOLIB_IRQCHIP | |
572 | select REGMAP_MMIO | |
573 | help | |
574 | Say yes here to support the GPIO device on SiFive SoCs. | |
575 | ||
be8c8fac UKK |
576 | config GPIO_SIOX |
577 | tristate "SIOX GPIO support" | |
578 | depends on SIOX | |
579 | select GPIOLIB_IRQCHIP | |
580 | help | |
581 | Say yes here to support SIOX I/O devices. These are units connected | |
582 | via a SIOX bus and have a number of fixed-direction I/O lines. | |
583 | ||
2505c7b0 EP |
584 | config GPIO_SNPS_CREG |
585 | bool "Synopsys GPIO via CREG (Control REGisters) driver" | |
586 | depends on ARC || COMPILE_TEST | |
a7c0b4b8 | 587 | depends on OF_GPIO |
2505c7b0 EP |
588 | help |
589 | This driver supports GPIOs via CREG on various Synopsys SoCs. | |
590 | This is a single-register MMIO GPIO driver for complex cases | |
591 | where only several fields in register belong to GPIO lines and | |
592 | each GPIO line owns a field with different length and on/off value. | |
593 | ||
b53bc281 SH |
594 | config GPIO_SPEAR_SPICS |
595 | bool "ST SPEAr13xx SPI Chip Select as GPIO support" | |
596 | depends on PLAT_SPEAR | |
597 | select GENERIC_IRQ_CHIP | |
598 | help | |
dd1695a2 | 599 | Say yes here to support ST SPEAr SPI Chip Select as GPIO device. |
b53bc281 | 600 | |
9a3821c2 BW |
601 | config GPIO_SPRD |
602 | tristate "Spreadtrum GPIO support" | |
603 | depends on ARCH_SPRD || COMPILE_TEST | |
604 | depends on OF_GPIO | |
605 | select GPIOLIB_IRQCHIP | |
606 | help | |
607 | Say yes here to support Spreadtrum GPIO device. | |
608 | ||
be9cab5b LW |
609 | config GPIO_STP_XWAY |
610 | bool "XWAY STP GPIOs" | |
5099837d MB |
611 | depends on SOC_XWAY || COMPILE_TEST |
612 | depends on OF_GPIO | |
be9cab5b LW |
613 | help |
614 | This enables support for the Serial To Parallel (STP) unit found on | |
615 | XWAY SoC. The STP allows the SoC to drive a shift registers cascade, | |
dd1695a2 RD |
616 | that can be up to 24 bits. This peripheral is aimed at driving LEDs. |
617 | Some of the GPIOs/LEDs can be auto updated by the SoC with DSL and | |
be9cab5b LW |
618 | phy status. |
619 | ||
6a8a0c1d AS |
620 | config GPIO_SYSCON |
621 | tristate "GPIO based on SYSCON" | |
622 | depends on MFD_SYSCON && OF | |
623 | help | |
624 | Say yes here to support GPIO functionality though SYSCON driver. | |
625 | ||
223fa272 LW |
626 | config GPIO_TB10X |
627 | bool | |
0d1e31ab | 628 | select GPIO_GENERIC |
223fa272 LW |
629 | select GENERIC_IRQ_CHIP |
630 | select OF_GPIO | |
631 | ||
4dd4dd1d | 632 | config GPIO_TEGRA |
4a6eac2b | 633 | tristate "NVIDIA Tegra GPIO support" |
0bfb85c6 | 634 | default ARCH_TEGRA |
4dd4dd1d | 635 | depends on ARCH_TEGRA || COMPILE_TEST |
048c28c9 | 636 | depends on OF_GPIO |
298d75c9 TR |
637 | select GPIOLIB_IRQCHIP |
638 | select IRQ_DOMAIN_HIERARCHY | |
0bfb85c6 AB |
639 | help |
640 | Say yes here to support GPIO pins on NVIDIA Tegra SoCs. | |
4dd4dd1d | 641 | |
5b2b135a TR |
642 | config GPIO_TEGRA186 |
643 | tristate "NVIDIA Tegra186 GPIO support" | |
286e7bea TR |
644 | default ARCH_TEGRA_186_SOC || ARCH_TEGRA_194_SOC |
645 | depends on ARCH_TEGRA_186_SOC || ARCH_TEGRA_194_SOC || COMPILE_TEST | |
5b2b135a TR |
646 | depends on OF_GPIO |
647 | select GPIOLIB_IRQCHIP | |
2a365505 | 648 | select IRQ_DOMAIN_HIERARCHY |
5b2b135a TR |
649 | help |
650 | Say yes here to support GPIO pins on NVIDIA Tegra186 SoCs. | |
651 | ||
5041e791 JG |
652 | config GPIO_TS4800 |
653 | tristate "TS-4800 DIO blocks and compatibles" | |
654 | depends on OF_GPIO | |
6dcfd729 | 655 | depends on SOC_IMX51 || COMPILE_TEST |
5041e791 JG |
656 | select GPIO_GENERIC |
657 | help | |
658 | This driver support TS-4800 FPGA GPIO controllers. | |
659 | ||
5a2a3002 DD |
660 | config GPIO_THUNDERX |
661 | tristate "Cavium ThunderX/OCTEON-TX GPIO" | |
662 | depends on ARCH_THUNDER || (64BIT && COMPILE_TEST) | |
311de3ce | 663 | depends on PCI_MSI |
a7fc89f9 | 664 | select GPIOLIB_IRQCHIP |
311de3ce | 665 | select IRQ_DOMAIN_HIERARCHY |
5a2a3002 DD |
666 | select IRQ_FASTEOI_HIERARCHY_HANDLERS |
667 | help | |
668 | Say yes here to support the on-chip GPIO lines on the ThunderX | |
669 | and OCTEON-TX families of SoCs. | |
670 | ||
dbe776c2 MY |
671 | config GPIO_UNIPHIER |
672 | tristate "UniPhier GPIO support" | |
673 | depends on ARCH_UNIPHIER || COMPILE_TEST | |
674 | depends on OF_GPIO | |
675 | select IRQ_DOMAIN_HIERARCHY | |
676 | help | |
677 | Say yes here to support UniPhier GPIOs. | |
678 | ||
7f2691a1 SA |
679 | config GPIO_VF610 |
680 | def_bool y | |
30a35c07 | 681 | depends on ARCH_MXC |
7f2691a1 SA |
682 | select GPIOLIB_IRQCHIP |
683 | help | |
30a35c07 | 684 | Say yes here to support i.MX or Vybrid vf610 GPIOs. |
7f2691a1 | 685 | |
2ad74f40 NI |
686 | config GPIO_VISCONTI |
687 | tristate "Toshiba Visconti GPIO support" | |
688 | depends on ARCH_VISCONTI || COMPILE_TEST | |
689 | depends on OF_GPIO | |
690 | select GPIOLIB_IRQCHIP | |
691 | select GPIO_GENERIC | |
692 | select IRQ_DOMAIN_HIERARCHY | |
693 | help | |
694 | Say yes here to support GPIO on Tohisba Visconti. | |
695 | ||
223fa272 LW |
696 | config GPIO_VX855 |
697 | tristate "VIA VX855/VX875 GPIO" | |
72aba2e2 | 698 | depends on (X86 || COMPILE_TEST) && PCI |
223fa272 LW |
699 | select MFD_CORE |
700 | select MFD_VX855 | |
701 | help | |
dd1695a2 | 702 | Support access to the VX855/VX875 GPIO lines through the GPIO library. |
223fa272 | 703 | |
dd1695a2 RD |
704 | This driver provides common support for accessing the device. |
705 | Additional drivers must be enabled in order to use the | |
223fa272 LW |
706 | functionality of the device. |
707 | ||
59c32468 | 708 | config GPIO_WCD934X |
dd1695a2 | 709 | tristate "Qualcomm Technologies Inc WCD9340/WCD9341 GPIO controller driver" |
59c32468 SK |
710 | depends on MFD_WCD934X && OF_GPIO |
711 | help | |
0bb8e80b | 712 | This driver is to support GPIO block found on the Qualcomm Technologies |
59c32468 SK |
713 | Inc WCD9340/WCD9341 Audio Codec. |
714 | ||
29cbf458 FK |
715 | config GPIO_XGENE |
716 | bool "APM X-Gene GPIO controller support" | |
717 | depends on ARM64 && OF_GPIO | |
718 | help | |
719 | This driver is to support the GPIO block within the APM X-Gene SoC | |
720 | platform's generic flash controller. The GPIO pins are muxed with | |
721 | the generic flash controller's address and data pins. Say yes | |
722 | here to enable the GFC GPIO functionality. | |
723 | ||
b2b35e10 V |
724 | config GPIO_XGENE_SB |
725 | tristate "APM X-Gene GPIO standby controller support" | |
b24bc583 | 726 | depends on (ARCH_XGENE || COMPILE_TEST) |
b2b35e10 | 727 | select GPIO_GENERIC |
e5f7e312 | 728 | select GPIOLIB_IRQCHIP |
c23d200f | 729 | select IRQ_DOMAIN_HIERARCHY |
b2b35e10 V |
730 | help |
731 | This driver supports the GPIO block within the APM X-Gene | |
732 | Standby Domain. Say yes here to enable the GPIO functionality. | |
733 | ||
0bcb6069 | 734 | config GPIO_XILINX |
c54c58ba | 735 | tristate "Xilinx GPIO support" |
a32c7cae SN |
736 | select GPIOLIB_IRQCHIP |
737 | depends on OF_GPIO | |
0bcb6069 | 738 | help |
dd1695a2 | 739 | Say yes here to support the Xilinx FPGA GPIO device. |
0bcb6069 | 740 | |
ff718800 | 741 | config GPIO_XLP |
ea708ac5 RH |
742 | tristate "Cavium ThunderX2 GPIO support" |
743 | depends on ARCH_THUNDER2 || COMPILE_TEST | |
ff718800 KP |
744 | select GPIOLIB_IRQCHIP |
745 | help | |
ea708ac5 RH |
746 | This driver provides support for GPIO interface on Cavium's ThunderX2 |
747 | CN99XX SoCs (Originally from Netlogic XLP). | |
ff718800 KP |
748 | |
749 | If unsure, say N. | |
750 | ||
3b31d0ec BS |
751 | config GPIO_XTENSA |
752 | bool "Xtensa GPIO32 support" | |
753 | depends on XTENSA | |
a1a2bdec | 754 | depends on HAVE_XTENSA_GPIO32 |
3b31d0ec BS |
755 | depends on !SMP |
756 | help | |
757 | Say yes here to support the Xtensa internal GPIO32 IMPWIRE (input) | |
dd1695a2 | 758 | and EXPSTATE (output) ports. |
3b31d0ec | 759 | |
223fa272 LW |
760 | config GPIO_ZEVIO |
761 | bool "LSI ZEVIO SoC memory mapped GPIOs" | |
9c8224d0 | 762 | depends on ARM |
27fdd325 | 763 | help |
223fa272 | 764 | Say yes here to support the GPIO controller in LSI ZEVIO SoCs. |
27fdd325 | 765 | |
223fa272 LW |
766 | config GPIO_ZYNQ |
767 | tristate "Xilinx Zynq GPIO support" | |
bdf7a4ae | 768 | depends on ARCH_ZYNQ || ARCH_ZYNQMP |
7f87210e | 769 | select GPIOLIB_IRQCHIP |
be9b06b2 | 770 | help |
223fa272 | 771 | Say yes here to support Xilinx Zynq GPIO controller. |
92021490 | 772 | |
7687a5b0 | 773 | config GPIO_ZYNQMP_MODEPIN |
dd1695a2 | 774 | tristate "ZynqMP ps-mode pin GPIO configuration driver" |
7687a5b0 PM |
775 | depends on ZYNQMP_FIRMWARE |
776 | default ZYNQMP_FIRMWARE | |
777 | help | |
dd1695a2 | 778 | Say yes here to support the ZynqMP ps-mode pin GPIO configuration |
7687a5b0 PM |
779 | driver. |
780 | ||
dd1695a2 | 781 | This ps-mode pin GPIO driver is based on GPIO framework. PS_MODE |
7687a5b0 PM |
782 | is 4-bits boot mode pins. It sets and gets the status of |
783 | the ps-mode pin. Every pin can be configured as input/output. | |
784 | ||
bd37c999 KC |
785 | config GPIO_LOONGSON1 |
786 | tristate "Loongson1 GPIO support" | |
787 | depends on MACH_LOONGSON32 | |
788 | select GPIO_GENERIC | |
789 | help | |
790 | Say Y or M here to support GPIO on Loongson1 SoCs. | |
791 | ||
e09d168f EWI |
792 | config GPIO_AMD_FCH |
793 | tristate "GPIO support for AMD Fusion Controller Hub (G-series SOCs)" | |
794 | help | |
dd1695a2 RD |
795 | This option enables driver for GPIO on AMD's Fusion Controller Hub, |
796 | as found on G-series SOCs (e.g. GX-412TC). | |
e09d168f | 797 | |
dd1695a2 RD |
798 | Note: This driver doesn't register itself automatically, as it |
799 | needs to be provided with platform-specific configuration. | |
800 | (See e.g. CONFIG_PCENGINES_APU2.) | |
93224edf DP |
801 | |
802 | config GPIO_MSC313 | |
803 | bool "MStar MSC313 GPIO support" | |
804 | depends on ARCH_MSTARV7 | |
805 | default ARCH_MSTARV7 | |
806 | select GPIOLIB_IRQCHIP | |
807 | select IRQ_DOMAIN_HIERARCHY | |
808 | help | |
809 | Say Y here to support the main GPIO block on MStar/SigmaStar | |
dd1695a2 | 810 | ARMv7-based SoCs. |
93224edf | 811 | |
4195926a TB |
812 | config GPIO_IDT3243X |
813 | tristate "IDT 79RC3243X GPIO support" | |
814 | depends on MIKROTIK_RB532 || COMPILE_TEST | |
815 | select GPIO_GENERIC | |
816 | select GPIOLIB_IRQCHIP | |
817 | help | |
818 | Select this option to enable GPIO driver for | |
dd1695a2 | 819 | IDT 79RC3243X-based devices like Mikrotik RB532. |
4195926a TB |
820 | |
821 | To compile this driver as a module, choose M here: the module will | |
822 | be called gpio-idt3243x. | |
823 | ||
177b0381 | 824 | endmenu |
be9b06b2 | 825 | |
bc6a73bb | 826 | menu "Port-mapped I/O GPIO drivers" |
7768feb0 | 827 | depends on X86 # Unconditional I/O space access |
bc6a73bb | 828 | |
fb38af4a WBG |
829 | config GPIO_I8255 |
830 | tristate | |
0b7c490d | 831 | select GPIO_REGMAP |
fb38af4a WBG |
832 | help |
833 | Enables support for the i8255 interface library functions. The i8255 | |
834 | interface library provides functions to facilitate communication with | |
835 | interfaces compatible with the venerable Intel 8255 Programmable | |
836 | Peripheral Interface (PPI). The Intel 8255 PPI chip was first released | |
837 | in the early 1970s but compatible interfaces are nowadays typically | |
838 | found embedded in larger VLSI processing chips and FPGA components. | |
839 | ||
840 | If built as a module its name will be gpio-i8255. | |
841 | ||
1b06d64f WBG |
842 | config GPIO_104_DIO_48E |
843 | tristate "ACCES 104-DIO-48E GPIO support" | |
35decc80 WBG |
844 | depends on PC104 |
845 | select ISA_BUS_API | |
2f7e845f WBG |
846 | select REGMAP_MMIO |
847 | select REGMAP_IRQ | |
1b06d64f | 848 | select GPIOLIB_IRQCHIP |
71b7b397 | 849 | select GPIO_I8255 |
1b06d64f | 850 | help |
4c23db0f WBG |
851 | Enables GPIO support for the ACCES 104-DIO-48E series (104-DIO-48E, |
852 | 104-DIO-24E). The base port addresses for the devices may be | |
853 | configured via the base module parameter. The interrupt line numbers | |
854 | for the devices may be configured via the irq module parameter. | |
1b06d64f | 855 | |
bc6a73bb LW |
856 | config GPIO_104_IDIO_16 |
857 | tristate "ACCES 104-IDIO-16 GPIO support" | |
35decc80 WBG |
858 | depends on PC104 |
859 | select ISA_BUS_API | |
a1184147 | 860 | select GPIOLIB_IRQCHIP |
c4ec384c | 861 | select GPIO_IDIO_16 |
bc6a73bb | 862 | help |
86ea8a95 WBG |
863 | Enables GPIO support for the ACCES 104-IDIO-16 family (104-IDIO-16, |
864 | 104-IDIO-16E, 104-IDO-16, 104-IDIO-8, 104-IDIO-8E, 104-IDO-8). The | |
865 | base port addresses for the devices may be configured via the base | |
866 | module parameter. The interrupt line numbers for the devices may be | |
867 | configured via the irq module parameter. | |
bc6a73bb | 868 | |
6ddcf9b4 WBG |
869 | config GPIO_104_IDI_48 |
870 | tristate "ACCES 104-IDI-48 GPIO support" | |
35decc80 WBG |
871 | depends on PC104 |
872 | select ISA_BUS_API | |
e28432a7 WBG |
873 | select REGMAP_MMIO |
874 | select REGMAP_IRQ | |
6ddcf9b4 | 875 | select GPIOLIB_IRQCHIP |
59e2131a | 876 | select GPIO_REGMAP |
6ddcf9b4 | 877 | help |
72bf7443 WBG |
878 | Enables GPIO support for the ACCES 104-IDI-48 family (104-IDI-48A, |
879 | 104-IDI-48AC, 104-IDI-48B, 104-IDI-48BC). The base port addresses for | |
880 | the devices may be configured via the base module parameter. The | |
881 | interrupt line numbers for the devices may be configured via the irq | |
882 | module parameter. | |
6ddcf9b4 | 883 | |
bc6a73bb | 884 | config GPIO_F7188X |
d0918a84 | 885 | tristate "Fintek and Nuvoton Super-I/O GPIO support" |
bc6a73bb LW |
886 | help |
887 | This option enables support for GPIOs found on Fintek Super-I/O | |
1920906f | 888 | chips F71869, F71869A, F71882FG, F71889F and F81866. |
d0918a84 | 889 | As well as Nuvoton Super-I/O chip NCT6116D. |
bc6a73bb LW |
890 | |
891 | To compile this driver as a module, choose M here: the module will | |
892 | be called f7188x-gpio. | |
893 | ||
6ea5dcdf WBG |
894 | config GPIO_GPIO_MM |
895 | tristate "Diamond Systems GPIO-MM GPIO support" | |
35decc80 WBG |
896 | depends on PC104 |
897 | select ISA_BUS_API | |
1c05004f | 898 | select REGMAP_MMIO |
949506dc | 899 | select GPIO_I8255 |
6ea5dcdf WBG |
900 | help |
901 | Enables GPIO support for the Diamond Systems GPIO-MM and GPIO-MM-12. | |
902 | ||
903 | The Diamond Systems GPIO-MM device features 48 lines of digital I/O | |
904 | via the emulation of dual 82C55A PPI chips. This driver provides GPIO | |
905 | support for these 48 channels of digital I/O. | |
906 | ||
907 | The base port addresses for the devices may be configured via the base | |
908 | array module parameter. | |
909 | ||
bc6a73bb LW |
910 | config GPIO_IT87 |
911 | tristate "IT87xx GPIO support" | |
bc6a73bb LW |
912 | help |
913 | Say yes here to support GPIO functionality of IT87xx Super I/O chips. | |
914 | ||
915 | This driver is tested with ITE IT8728 and IT8732 Super I/O chips, and | |
a5ec96dd LB |
916 | supports the IT8761E, IT8613, IT8620E, and IT8628E Super I/O chips as |
917 | well. | |
bc6a73bb LW |
918 | |
919 | To compile this driver as a module, choose M here: the module will | |
dd1695a2 | 920 | be called gpio_it87. |
bc6a73bb LW |
921 | |
922 | config GPIO_SCH | |
923 | tristate "Intel SCH/TunnelCreek/Centerton/Quark X1000 GPIO" | |
fdc1f5df | 924 | depends on (X86 || COMPILE_TEST) && ACPI |
71cf76d4 | 925 | depends on LPC_SCH |
7a816384 | 926 | select GPIOLIB_IRQCHIP |
bc6a73bb LW |
927 | help |
928 | Say yes here to support GPIO interface on Intel Poulsbo SCH, | |
929 | Intel Tunnel Creek processor, Intel Centerton processor or | |
930 | Intel Quark X1000 SoC. | |
931 | ||
932 | The Intel SCH contains a total of 14 GPIO pins. Ten GPIOs are | |
933 | powered by the core power rail and are turned off during sleep | |
934 | modes (S3 and higher). The remaining four GPIOs are powered by | |
935 | the Intel SCH suspend power supply. These GPIOs remain | |
dd1695a2 | 936 | active during S3. The suspend-powered GPIOs can be used to wake the |
bc6a73bb LW |
937 | system from the Suspend-to-RAM state. |
938 | ||
939 | The Intel Tunnel Creek processor has 5 GPIOs powered by the | |
940 | core power rail and 9 from suspend power supply. | |
941 | ||
942 | The Intel Centerton processor has a total of 30 GPIO pins. | |
943 | Twenty-one are powered by the core power rail and 9 from the | |
944 | suspend power supply. | |
945 | ||
946 | The Intel Quark X1000 SoC has 2 GPIOs powered by the core | |
947 | power well and 6 from the suspend power well. | |
948 | ||
949 | config GPIO_SCH311X | |
950 | tristate "SMSC SCH311x SuperI/O GPIO" | |
951 | help | |
952 | Driver to enable the GPIOs found on SMSC SMSC SCH3112, SCH3114 and | |
953 | SCH3116 "Super I/O" chipsets. | |
954 | ||
955 | To compile this driver as a module, choose M here: the module will | |
956 | be called gpio-sch311x. | |
957 | ||
958 | config GPIO_TS5500 | |
959 | tristate "TS-5500 DIO blocks and compatibles" | |
960 | depends on TS5500 || COMPILE_TEST | |
961 | help | |
962 | This driver supports Digital I/O exposed by pin blocks found on some | |
963 | Technologic Systems platforms. It includes, but is not limited to, 3 | |
964 | blocks of the TS-5500: DIO1, DIO2 and the LCD port, and the TS-5600 | |
965 | LCD port. | |
966 | ||
a0d65009 MS |
967 | config GPIO_WINBOND |
968 | tristate "Winbond Super I/O GPIO support" | |
b995ff3b | 969 | select ISA_BUS_API |
a0d65009 MS |
970 | help |
971 | This option enables support for GPIOs found on Winbond Super I/O | |
972 | chips. | |
973 | Currently, only W83627UHG (also known as Nuvoton NCT6627UD) is | |
974 | supported. | |
975 | ||
976 | You will need to provide a module parameter "gpios", or a | |
977 | boot-time parameter "gpio_winbond.gpios" with a bitmask of GPIO | |
978 | ports to enable (bit 0 is GPIO1, bit 1 is GPIO2, etc.). | |
979 | ||
980 | To compile this driver as a module, choose M here: the module will | |
981 | be called gpio-winbond. | |
982 | ||
9c26df9b WBG |
983 | config GPIO_WS16C48 |
984 | tristate "WinSystems WS16C48 GPIO support" | |
35decc80 | 985 | select ISA_BUS_API |
9c26df9b WBG |
986 | select GPIOLIB_IRQCHIP |
987 | help | |
cc736607 WBG |
988 | Enables GPIO support for the WinSystems WS16C48. The base port |
989 | addresses for the devices may be configured via the base module | |
990 | parameter. The interrupt line numbers for the devices may be | |
991 | configured via the irq module parameter. | |
9c26df9b | 992 | |
bc6a73bb LW |
993 | endmenu |
994 | ||
177b0381 LW |
995 | menu "I2C GPIO expanders" |
996 | depends on I2C | |
92021490 | 997 | |
bf5a16ba LW |
998 | config GPIO_ADNP |
999 | tristate "Avionic Design N-bit GPIO expander" | |
269a46f8 | 1000 | depends on OF_GPIO |
104fb1d5 ZL |
1001 | select GPIOLIB_IRQCHIP |
1002 | help | |
bf5a16ba LW |
1003 | This option enables support for N GPIOs found on Avionic Design |
1004 | I2C GPIO expanders. The register space will be extended by powers | |
1005 | of two, so the controller will need to accommodate for that. For | |
1006 | example: if a controller provides 48 pins, 6 registers will be | |
1007 | enough to represent all pins, but the driver will assume a | |
1008 | register layout for 64 pins (8 registers). | |
0cc59b9d | 1009 | |
2a0b0a57 LW |
1010 | config GPIO_GW_PLD |
1011 | tristate "Gateworks PLD GPIO Expander" | |
1012 | depends on OF_GPIO | |
1013 | help | |
1014 | Say yes here to provide access to the Gateworks I2C PLD GPIO | |
1015 | Expander. This is used at least on the Cambria GW2358-4. | |
1016 | ||
e952805d WS |
1017 | config GPIO_MAX7300 |
1018 | tristate "Maxim MAX7300 GPIO expander" | |
e952805d WS |
1019 | select GPIO_MAX730X |
1020 | help | |
2b861f4b | 1021 | GPIO driver for Maxim MAX7300 I2C-based GPIO expander. |
e952805d | 1022 | |
bbcd6d54 EM |
1023 | config GPIO_MAX732X |
1024 | tristate "MAX7319, MAX7320-7327 I2C Port Expanders" | |
bbcd6d54 EM |
1025 | help |
1026 | Say yes here to support the MAX7319, MAX7320-7327 series of I2C | |
1027 | Port Expanders. Each IO port on these chips has a fixed role of | |
1028 | Input (designated by 'I'), Push-Pull Output ('O'), or Open-Drain | |
1029 | Input and Output (designed by 'P'). The combinations are listed | |
1030 | below: | |
1031 | ||
c42e34c9 EWI |
1032 | 8 bits: max7319 (8I), max7320 (8O), max7321 (8P), |
1033 | max7322 (4I4O), max7323 (4P4O) | |
bbcd6d54 | 1034 | |
c42e34c9 EWI |
1035 | 16 bits: max7324 (8I8O), max7325 (8P8O), |
1036 | max7326 (4I12O), max7327 (4P12O) | |
bbcd6d54 EM |
1037 | |
1038 | Board setup code must specify the model to use, and the start | |
1039 | number for these GPIOs. | |
1040 | ||
a80a0bbe MZ |
1041 | config GPIO_MAX732X_IRQ |
1042 | bool "Interrupt controller support for MAX732x" | |
0244ad00 | 1043 | depends on GPIO_MAX732X=y |
984f6643 | 1044 | select GPIOLIB_IRQCHIP |
a80a0bbe MZ |
1045 | help |
1046 | Say yes here to enable the max732x to be used as an interrupt | |
1047 | controller. It requires the driver to be built in the kernel. | |
1048 | ||
f3dc3630 | 1049 | config GPIO_PCA953X |
eb32b5aa | 1050 | tristate "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports" |
4bc16f9d | 1051 | select REGMAP_I2C |
9e60fdcf | 1052 | help |
7059d4b0 DB |
1053 | Say yes here to provide access to several register-oriented |
1054 | SMBus I/O expanders, made mostly by NXP or TI. Compatible | |
1055 | models include: | |
1056 | ||
c42e34c9 | 1057 | 4 bits: pca9536, pca9537 |
7059d4b0 | 1058 | |
c42e34c9 EWI |
1059 | 8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554, |
1060 | pca9556, pca9557, pca9574, tca6408, tca9554, xra1202 | |
7059d4b0 | 1061 | |
c42e34c9 EWI |
1062 | 16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575, |
1063 | tca6416 | |
9e60fdcf | 1064 | |
c42e34c9 | 1065 | 24 bits: tca6424 |
1e191695 | 1066 | |
c42e34c9 | 1067 | 40 bits: pca9505, pca9698 |
1e191695 | 1068 | |
89ea8bbe MZ |
1069 | config GPIO_PCA953X_IRQ |
1070 | bool "Interrupt controller support for PCA953x" | |
e33a58a2 | 1071 | depends on GPIO_PCA953X |
7bcbce55 | 1072 | select GPIOLIB_IRQCHIP |
89ea8bbe MZ |
1073 | help |
1074 | Say yes here to enable the pca953x to be used as an interrupt | |
dd1695a2 | 1075 | controller. |
89ea8bbe | 1076 | |
16d44b60 SE |
1077 | config GPIO_PCA9570 |
1078 | tristate "PCA9570 4-Bit I2C GPO expander" | |
1079 | help | |
1080 | Say yes here to enable the GPO driver for the NXP PCA9570 chip. | |
1081 | ||
1082 | To compile this driver as a module, choose M here: the module will | |
1083 | be called gpio-pca9570. | |
1084 | ||
15fae37d | 1085 | config GPIO_PCF857X |
1673ad52 | 1086 | tristate "PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders" |
a39294bd | 1087 | select GPIOLIB_IRQCHIP |
901acf5b | 1088 | select IRQ_DOMAIN |
15fae37d DB |
1089 | help |
1090 | Say yes here to provide access to most "quasi-bidirectional" I2C | |
1091 | GPIO expanders used for additional digital outputs or inputs. | |
1092 | Most of these parts are from NXP, though TI is a second source for | |
1093 | some of them. Compatible models include: | |
1094 | ||
1095 | 8 bits: pcf8574, pcf8574a, pca8574, pca8574a, | |
1673ad52 | 1096 | pca9670, pca9672, pca9674, pca9674a, |
c42e34c9 | 1097 | max7328, max7329 |
15fae37d DB |
1098 | |
1099 | 16 bits: pcf8575, pcf8575c, pca8575, | |
1100 | pca9671, pca9673, pca9675 | |
1101 | ||
1102 | Your board setup code will need to declare the expanders in | |
1103 | use, and assign numbers to the GPIOs they expose. Those GPIOs | |
1104 | can then be used from drivers and other kernel code, just like | |
1105 | other GPIOs, but only accessible from task contexts. | |
1106 | ||
1107 | This driver provides an in-kernel interface to those GPIOs using | |
1108 | platform-neutral GPIO calls. | |
1109 | ||
b866526d AD |
1110 | config GPIO_TPIC2810 |
1111 | tristate "TPIC2810 8-Bit I2C GPO expander" | |
1112 | help | |
1113 | Say yes here to enable the GPO driver for the TI TPIC2810 chip. | |
1114 | ||
1115 | To compile this driver as a module, choose M here: the module will | |
1116 | be called gpio-tpic2810. | |
1117 | ||
9c668632 LQ |
1118 | config GPIO_TS4900 |
1119 | tristate "Technologic Systems FPGA I2C GPIO" | |
4c5f15b7 | 1120 | depends on SOC_IMX6 || COMPILE_TEST |
9c668632 LQ |
1121 | select REGMAP_I2C |
1122 | help | |
1123 | Say yes here to enabled the GPIO driver for Technologic's FPGA core. | |
1124 | Series supported include TS-4100, TS-4900, TS-7970 and TS-7990. | |
1125 | ||
177b0381 LW |
1126 | endmenu |
1127 | ||
1128 | menu "MFD GPIO expanders" | |
be9cab5b LW |
1129 | |
1130 | config GPIO_ADP5520 | |
1131 | tristate "GPIO Support for ADP5520 PMIC" | |
1132 | depends on PMIC_ADP5520 | |
1133 | help | |
1134 | This option enables support for on-chip GPIO found | |
1135 | on Analog Devices ADP5520 PMICs. | |
1136 | ||
26a48c4c TT |
1137 | config GPIO_ALTERA_A10SR |
1138 | tristate "Altera Arria10 System Resource GPIO" | |
1139 | depends on MFD_ALTERA_A10SR | |
1140 | help | |
1141 | Driver for Arria10 Development Kit GPIO expansion which | |
1142 | includes reads of pushbuttons and DIP switches as well | |
1143 | as writes to LEDs. | |
1144 | ||
be9cab5b LW |
1145 | config GPIO_ARIZONA |
1146 | tristate "Wolfson Microelectronics Arizona class devices" | |
1147 | depends on MFD_ARIZONA | |
1148 | help | |
1149 | Support for GPIOs on Wolfson Arizona class devices. | |
1150 | ||
703b288f MV |
1151 | config GPIO_BD71815 |
1152 | tristate "ROHM BD71815 PMIC GPIO support" | |
1153 | depends on MFD_ROHM_BD71828 | |
1154 | help | |
1155 | Support for GPO(s) on ROHM BD71815 PMIC. There are two GPOs | |
1156 | available on the ROHM PMIC. | |
1157 | ||
1158 | This driver can also be built as a module. If so, the module | |
1159 | will be called gpio-bd71815. | |
1160 | ||
c31f625d MV |
1161 | config GPIO_BD71828 |
1162 | tristate "ROHM BD71828 GPIO support" | |
1163 | depends on MFD_ROHM_BD71828 | |
1164 | help | |
1165 | Support for GPIOs on ROHM BD71828 PMIC. There are three GPIOs | |
1166 | available on the ROHM PMIC in total. The GPIOs are limited to | |
1167 | outputs only and pins must be configured to GPIO outputs by | |
1168 | OTP. Enable this only if you want to use these pins as outputs. | |
1169 | ||
1170 | This driver can also be built as a module. If so, the module | |
1171 | will be called gpio-bd71828. | |
1172 | ||
93847930 MV |
1173 | config GPIO_BD9571MWV |
1174 | tristate "ROHM BD9571 GPIO support" | |
1175 | depends on MFD_BD9571MWV | |
1176 | help | |
1177 | Support for GPIOs on ROHM BD9571 PMIC. There are two GPIOs | |
1178 | available on the ROHM PMIC in total, both of which can also | |
1179 | generate interrupts. | |
1180 | ||
1181 | This driver can also be built as a module. If so, the module | |
1182 | will be called gpio-bd9571mwv. | |
1183 | ||
be9cab5b LW |
1184 | config GPIO_CRYSTAL_COVE |
1185 | tristate "GPIO support for Crystal Cove PMIC" | |
72aba2e2 | 1186 | depends on (X86 || COMPILE_TEST) && INTEL_SOC_PMIC |
be9cab5b LW |
1187 | select GPIOLIB_IRQCHIP |
1188 | help | |
1189 | Support for GPIO pins on Crystal Cove PMIC. | |
1190 | ||
dd1695a2 | 1191 | Say Yes if you have a Intel SoC-based tablet with Crystal Cove PMIC |
be9cab5b LW |
1192 | inside. |
1193 | ||
1194 | This driver can also be built as a module. If so, the module will be | |
1195 | called gpio-crystalcove. | |
1196 | ||
1197 | config GPIO_CS5535 | |
1198 | tristate "AMD CS5535/CS5536 GPIO support" | |
72aba2e2 | 1199 | depends on X86 || MIPS || COMPILE_TEST |
be9cab5b LW |
1200 | depends on MFD_CS5535 |
1201 | help | |
1202 | The AMD CS5535 and CS5536 southbridges support 28 GPIO pins that | |
1203 | can be used for quite a number of things. The CS5535/6 is found on | |
1204 | AMD Geode and Lemote Yeeloong devices. | |
1205 | ||
1206 | If unsure, say N. | |
1207 | ||
1208 | config GPIO_DA9052 | |
1209 | tristate "Dialog DA9052 GPIO" | |
1210 | depends on PMIC_DA9052 | |
1211 | help | |
1212 | Say yes here to enable the GPIO driver for the DA9052 chip. | |
1213 | ||
1214 | config GPIO_DA9055 | |
1215 | tristate "Dialog Semiconductor DA9055 GPIO" | |
1216 | depends on MFD_DA9055 | |
1217 | help | |
1218 | Say yes here to enable the GPIO driver for the DA9055 chip. | |
1219 | ||
1220 | The Dialog DA9055 PMIC chip has 3 GPIO pins that can be | |
dd1695a2 | 1221 | be controlled by this driver. |
be9cab5b LW |
1222 | |
1223 | If driver is built as a module it will be called gpio-da9055. | |
1224 | ||
1225 | config GPIO_DLN2 | |
1226 | tristate "Diolan DLN2 GPIO support" | |
1227 | depends on MFD_DLN2 | |
1228 | select GPIOLIB_IRQCHIP | |
1229 | ||
1230 | help | |
1231 | Select this option to enable GPIO driver for the Diolan DLN2 | |
1232 | board. | |
1233 | ||
1234 | This driver can also be built as a module. If so, the module | |
1235 | will be called gpio-dln2. | |
1236 | ||
3c6e8d05 LW |
1237 | config HTC_EGPIO |
1238 | bool "HTC EGPIO support" | |
e4c6a52c | 1239 | depends on ARM |
3c6e8d05 | 1240 | help |
c42e34c9 EWI |
1241 | This driver supports the CPLD egpio chip present on |
1242 | several HTC phones. It provides basic support for input | |
dd1695a2 | 1243 | pins, output pins, and IRQs. |
3c6e8d05 | 1244 | |
be9cab5b LW |
1245 | config GPIO_JANZ_TTL |
1246 | tristate "Janz VMOD-TTL Digital IO Module" | |
1247 | depends on MFD_JANZ_CMODIO | |
1248 | help | |
1249 | This enables support for the Janz VMOD-TTL Digital IO module. | |
1250 | This driver provides support for driving the pins in output | |
1251 | mode only. Input mode is not supported. | |
1252 | ||
1253 | config GPIO_KEMPLD | |
1254 | tristate "Kontron ETX / COMexpress GPIO" | |
1255 | depends on MFD_KEMPLD | |
1256 | help | |
1257 | This enables support for the PLD GPIO interface on some Kontron ETX | |
1258 | and COMexpress (ETXexpress) modules. | |
1259 | ||
1260 | This driver can also be built as a module. If so, the module will be | |
1261 | called gpio-kempld. | |
1262 | ||
1263 | config GPIO_LP3943 | |
1264 | tristate "TI/National Semiconductor LP3943 GPIO expander" | |
1265 | depends on MFD_LP3943 | |
1266 | help | |
1267 | GPIO driver for LP3943 MFD. | |
1268 | LP3943 can be used as a GPIO expander which provides up to 16 GPIOs. | |
1269 | Open drain outputs are required for this usage. | |
1270 | ||
83f14103 K |
1271 | config GPIO_LP873X |
1272 | tristate "TI LP873X GPO" | |
1273 | depends on MFD_TI_LP873X | |
1274 | help | |
1275 | This driver supports the GPO on TI Lp873x PMICs. 2 GPOs are present | |
1276 | on LP873X PMICs. | |
1277 | ||
1278 | This driver can also be built as a module. If so, the module will be | |
c42e34c9 | 1279 | called gpio-lp873x. |
83f14103 | 1280 | |
5c7f2c76 K |
1281 | config GPIO_LP87565 |
1282 | tristate "TI LP87565 GPIO" | |
1283 | depends on MFD_TI_LP87565 | |
1284 | help | |
1285 | This driver supports the GPIO on TI Lp873565 PMICs. 3 GPIOs are present | |
1286 | on LP87565 PMICs. | |
1287 | ||
1288 | This driver can also be built as a module. If so, the module will be | |
1289 | called gpio-lp87565. | |
1290 | ||
aca429ff RF |
1291 | config GPIO_MADERA |
1292 | tristate "Cirrus Logic Madera class codecs" | |
1293 | depends on PINCTRL_MADERA | |
1294 | help | |
1295 | Support for GPIOs on Cirrus Logic Madera class codecs. | |
1296 | ||
02c5ba1e LD |
1297 | config GPIO_MAX77620 |
1298 | tristate "GPIO support for PMIC MAX77620 and MAX20024" | |
1299 | depends on MFD_MAX77620 | |
c5706c7d | 1300 | select GPIOLIB_IRQCHIP |
02c5ba1e LD |
1301 | help |
1302 | GPIO driver for MAX77620 and MAX20024 PMIC from Maxim Semiconductor. | |
1303 | MAX77620 PMIC has 8 pins that can be configured as GPIOs. The | |
dd1695a2 RD |
1304 | driver also provides interrupt support for each of the GPIOs. |
1305 | Say yes here to enable the max77620 to be used as GPIO controller. | |
02c5ba1e | 1306 | |
72b5135b BG |
1307 | config GPIO_MAX77650 |
1308 | tristate "Maxim MAX77650/77651 GPIO support" | |
1309 | depends on MFD_MAX77650 | |
1310 | help | |
1311 | GPIO driver for MAX77650/77651 PMIC from Maxim Semiconductor. | |
1312 | These chips have a single pin that can be configured as GPIO. | |
1313 | ||
be9cab5b LW |
1314 | config GPIO_PALMAS |
1315 | bool "TI PALMAS series PMICs GPIO" | |
1316 | depends on MFD_PALMAS | |
1317 | help | |
1318 | Select this option to enable GPIO driver for the TI PALMAS | |
1319 | series chip family. | |
1320 | ||
63de20ca LW |
1321 | config GPIO_PMIC_EIC_SPRD |
1322 | tristate "Spreadtrum PMIC EIC support" | |
1323 | depends on MFD_SC27XX_PMIC || COMPILE_TEST | |
1324 | depends on OF_GPIO | |
1325 | select GPIOLIB_IRQCHIP | |
1326 | help | |
1327 | Say yes here to support Spreadtrum PMIC EIC device. | |
1328 | ||
e9fe32bc LD |
1329 | config GPIO_RC5T583 |
1330 | bool "RICOH RC5T583 GPIO" | |
1331 | depends on MFD_RC5T583 | |
1332 | help | |
1333 | Select this option to enable GPIO driver for the Ricoh RC5T583 | |
1334 | chip family. | |
dd1695a2 RD |
1335 | This driver provides the support for driving/reading the GPIO pins |
1336 | of RC5T583 device through standard GPIO library. | |
e9fe32bc | 1337 | |
b7536d87 MW |
1338 | config GPIO_SL28CPLD |
1339 | tristate "Kontron sl28cpld GPIO support" | |
1340 | depends on MFD_SL28CPLD || COMPILE_TEST | |
1341 | select GPIO_REGMAP | |
1342 | select GPIOLIB_IRQCHIP | |
1343 | select REGMAP_IRQ | |
1344 | help | |
1345 | This enables support for the GPIOs found on the Kontron sl28 CPLD. | |
1346 | ||
1347 | This driver can also be built as a module. If so, the module will be | |
1348 | called gpio-sl28cpld. | |
1349 | ||
03f822f5 RV |
1350 | config GPIO_STMPE |
1351 | bool "STMPE GPIOs" | |
1352 | depends on MFD_STMPE | |
1dfb4a0d | 1353 | depends on OF_GPIO |
fe44e70d | 1354 | select GPIOLIB_IRQCHIP |
03f822f5 RV |
1355 | help |
1356 | This enables support for the GPIOs found on the STMPE I/O | |
1357 | Expanders. | |
1358 | ||
f4e8afdc SI |
1359 | config GPIO_TC3589X |
1360 | bool "TC3589X GPIOs" | |
1361 | depends on MFD_TC3589X | |
1422731d | 1362 | depends on OF_GPIO |
cf42f1cf | 1363 | select GPIOLIB_IRQCHIP |
d88b25be | 1364 | help |
f4e8afdc | 1365 | This enables support for the GPIOs found on the TC3589X |
d88b25be RV |
1366 | I/O Expander. |
1367 | ||
be9cab5b LW |
1368 | config GPIO_TIMBERDALE |
1369 | bool "Support for timberdale GPIO IP" | |
1370 | depends on MFD_TIMBERDALE | |
a7f7f624 | 1371 | help |
be9cab5b LW |
1372 | Add support for the GPIO IP in the timberdale FPGA. |
1373 | ||
b3dcb5de RM |
1374 | config GPIO_TN48M_CPLD |
1375 | tristate "Delta Networks TN48M switch CPLD GPIO driver" | |
1376 | depends on MFD_TN48M_CPLD | |
1377 | select GPIO_REGMAP | |
1378 | help | |
1379 | This enables support for the GPIOs found on the Delta | |
1380 | Networks TN48M switch Lattice CPLD. It provides 12 pins in total, | |
1381 | they are input-only or output-only type. | |
1382 | ||
1383 | This driver can also be built as a module. If so, the | |
1384 | module will be called gpio-tn48m. | |
1385 | ||
99f0fd54 AD |
1386 | config GPIO_TPS65086 |
1387 | tristate "TI TPS65086 GPO" | |
1388 | depends on MFD_TPS65086 | |
1389 | help | |
1390 | This driver supports the GPO on TI TPS65086x PMICs. | |
1391 | ||
c366c76a NSJ |
1392 | config GPIO_TPS65218 |
1393 | tristate "TPS65218 GPIO" | |
1394 | depends on MFD_TPS65218 | |
1395 | help | |
1396 | Select this option to enable GPIO driver for the TPS65218 | |
1397 | chip family. | |
1398 | ||
be9cab5b LW |
1399 | config GPIO_TPS6586X |
1400 | bool "TPS6586X GPIO" | |
1401 | depends on MFD_TPS6586X | |
1402 | help | |
1403 | Select this option to enable GPIO driver for the TPS6586X | |
1404 | chip family. | |
1405 | ||
1406 | config GPIO_TPS65910 | |
1407 | bool "TPS65910 GPIO" | |
1408 | depends on MFD_TPS65910 | |
1409 | help | |
1410 | Select this option to enable GPIO driver for the TPS65910 | |
1411 | chip family. | |
1412 | ||
668a6cc7 MO |
1413 | config GPIO_TPS65912 |
1414 | tristate "TI TPS65912 GPIO" | |
ca801a22 | 1415 | depends on MFD_TPS65912 |
668a6cc7 | 1416 | help |
dd1695a2 | 1417 | This driver supports TPS65912 GPIO chip. |
668a6cc7 | 1418 | |
275b13a6 | 1419 | config GPIO_TPS68470 |
a1ce76e8 | 1420 | tristate "TPS68470 GPIO" |
24700e1f | 1421 | depends on INTEL_SKL_INT3472 |
275b13a6 RM |
1422 | help |
1423 | Select this option to enable GPIO driver for the TPS68470 | |
1424 | chip family. | |
dd1695a2 | 1425 | There are 7 GPIOs and few sensor-related GPIOs supported |
275b13a6 RM |
1426 | by the TPS68470. While the 7 GPIOs can be configured as |
1427 | input or output as appropriate, the sensor related GPIOs | |
1428 | are "output only" GPIOs. | |
1429 | ||
b868db94 AL |
1430 | config GPIO_TQMX86 |
1431 | tristate "TQ-Systems QTMX86 GPIO" | |
1432 | depends on MFD_TQMX86 || COMPILE_TEST | |
c6414e1a | 1433 | depends on HAS_IOPORT_MAP |
b868db94 AL |
1434 | select GPIOLIB_IRQCHIP |
1435 | help | |
1436 | This driver supports GPIO on the TQMX86 IO controller. | |
1437 | ||
e9d35947 DB |
1438 | config GPIO_TWL4030 |
1439 | tristate "TWL4030, TWL5030, and TPS659x0 GPIOs" | |
1440 | depends on TWL4030_CORE | |
1441 | help | |
1442 | Say yes here to access the GPIO signals of various multi-function | |
1443 | power management chips from Texas Instruments. | |
1444 | ||
70ffd691 PU |
1445 | config GPIO_TWL6040 |
1446 | tristate "TWL6040 GPO" | |
1447 | depends on TWL6040_CORE | |
1448 | help | |
1449 | Say yes here to access the GPO signals of twl6040 | |
1450 | audio chip from Texas Instruments. | |
1451 | ||
0ba19cfc BG |
1452 | config GPIO_WHISKEY_COVE |
1453 | tristate "GPIO support for Whiskey Cove PMIC" | |
b5238b41 | 1454 | depends on (X86 || COMPILE_TEST) && INTEL_SOC_PMIC_BXTWC |
0ba19cfc BG |
1455 | select GPIOLIB_IRQCHIP |
1456 | help | |
1457 | Support for GPIO pins on Whiskey Cove PMIC. | |
1458 | ||
dd1695a2 | 1459 | Say Yes if you have an Intel SoC-based tablet with Whiskey Cove PMIC |
0ba19cfc BG |
1460 | inside. |
1461 | ||
1462 | This driver can also be built as a module. If so, the module will be | |
1463 | called gpio-wcove. | |
1464 | ||
e4b736f1 MB |
1465 | config GPIO_WM831X |
1466 | tristate "WM831x GPIOs" | |
1467 | depends on MFD_WM831X | |
1468 | help | |
1469 | Say yes here to access the GPIO signals of WM831x power management | |
1470 | chips from Wolfson Microelectronics. | |
1471 | ||
38f6ce45 MB |
1472 | config GPIO_WM8350 |
1473 | tristate "WM8350 GPIOs" | |
1474 | depends on MFD_WM8350 | |
1475 | help | |
1476 | Say yes here to access the GPIO signals of WM8350 power management | |
1477 | chips from Wolfson Microelectronics. | |
1478 | ||
2955c309 MB |
1479 | config GPIO_WM8994 |
1480 | tristate "WM8994 GPIOs" | |
1481 | depends on MFD_WM8994 | |
1482 | help | |
1483 | Say yes here to access the GPIO signals of WM8994 audio hub | |
1484 | CODECs from Wolfson Microelectronics. | |
1485 | ||
177b0381 | 1486 | endmenu |
ef72af40 | 1487 | |
177b0381 LW |
1488 | menu "PCI GPIO expanders" |
1489 | depends on PCI | |
459773ae | 1490 | |
92c33ef7 LW |
1491 | config GPIO_AMD8111 |
1492 | tristate "AMD 8111 GPIO driver" | |
72aba2e2 | 1493 | depends on X86 || COMPILE_TEST |
c6414e1a | 1494 | depends on HAS_IOPORT_MAP |
5e969a40 | 1495 | help |
dd1695a2 | 1496 | The AMD 8111 southbridge contains 32 GPIO pins which can be used. |
ff1d5c2f | 1497 | |
dd1695a2 RD |
1498 | Note that usually system firmware/ACPI handles GPIO pins on their |
1499 | own and users might easily break their systems with uncareful usage | |
92c33ef7 | 1500 | of this driver! |
5f0a96b0 | 1501 | |
92c33ef7 | 1502 | If unsure, say N |
5f0a96b0 | 1503 | |
ff1d5c2f MB |
1504 | config GPIO_BT8XX |
1505 | tristate "BT8XX GPIO abuser" | |
03744529 | 1506 | depends on VIDEO_BT848=n |
ff1d5c2f | 1507 | help |
22520edc | 1508 | The BT8xx frame grabber chip has 24 GPIO pins that can be abused |
ff1d5c2f MB |
1509 | as a cheap PCI GPIO card. |
1510 | ||
1511 | This chip can be found on Miro, Hauppauge and STB TV-cards. | |
1512 | ||
1513 | The card needs to be physically altered for using it as a | |
1514 | GPIO card. For more information on how to build a GPIO card | |
1515 | from a BT8xx TV card, see the documentation file at | |
5f07224e | 1516 | Documentation/driver-api/gpio/bt8xxgpio.rst |
ff1d5c2f MB |
1517 | |
1518 | If unsure, say N. | |
1519 | ||
ccf6fd6d AS |
1520 | config GPIO_MERRIFIELD |
1521 | tristate "Intel Merrifield GPIO support" | |
1522 | depends on X86_INTEL_MID | |
fc346270 | 1523 | select GPIOLIB_IRQCHIP |
8bf02617 | 1524 | help |
ccf6fd6d | 1525 | Say Y here to support Intel Merrifield GPIO. |
8bf02617 | 1526 | |
c78c42d7 SKR |
1527 | config GPIO_MLXBF |
1528 | tristate "Mellanox BlueField SoC GPIO" | |
cbe706b0 | 1529 | depends on (MELLANOX_PLATFORM && ARM64 && ACPI) || (64BIT && COMPILE_TEST) |
c78c42d7 SKR |
1530 | select GPIO_GENERIC |
1531 | help | |
1532 | Say Y here if you want GPIO support on Mellanox BlueField SoC. | |
1533 | ||
bc0ae0e7 AM |
1534 | config GPIO_MLXBF2 |
1535 | tristate "Mellanox BlueField 2 SoC GPIO" | |
1536 | depends on (MELLANOX_PLATFORM && ARM64 && ACPI) || (64BIT && COMPILE_TEST) | |
1537 | select GPIO_GENERIC | |
2f43f602 | 1538 | select GPIOLIB_IRQCHIP |
bc0ae0e7 AM |
1539 | help |
1540 | Say Y here if you want GPIO support on Mellanox BlueField 2 SoC. | |
1541 | ||
92c33ef7 LW |
1542 | config GPIO_ML_IOH |
1543 | tristate "OKI SEMICONDUCTOR ML7213 IOH GPIO support" | |
72aba2e2 | 1544 | depends on X86 || COMPILE_TEST |
92c33ef7 LW |
1545 | select GENERIC_IRQ_CHIP |
1546 | help | |
1547 | ML7213 is companion chip for Intel Atom E6xx series. | |
dd1695a2 RD |
1548 | This driver can be used for OKI SEMICONDUCTOR ML7213 IOH (Input/Output |
1549 | Hub) which is for IVI (In-Vehicle Infotainment) use. | |
92c33ef7 LW |
1550 | This driver can access the IOH's GPIO device. |
1551 | ||
04c17aa8 | 1552 | config GPIO_PCH |
dd1695a2 | 1553 | tristate "Intel EG20T PCH/LAPIS Semiconductor IOH (ML7223/ML7831) GPIO" |
03744529 | 1554 | depends on X86_32 || MIPS || COMPILE_TEST |
38eb18a6 | 1555 | select GENERIC_IRQ_CHIP |
04c17aa8 | 1556 | help |
dd1695a2 RD |
1557 | This driver is for PCH (Platform Controller Hub) GPIO of Intel Topcliff, |
1558 | which is an IOH (Input/Output Hub) for x86 embedded processor. | |
04c17aa8 TM |
1559 | This driver can access PCH GPIO device. |
1560 | ||
dd1695a2 | 1561 | This driver also can be used for LAPIS Semiconductor IOH (Input/ |
868fea05 | 1562 | Output Hub), ML7223 and ML7831. |
dd1695a2 | 1563 | ML7223 IOH is for MP (Media Phone) use. |
868fea05 TM |
1564 | ML7831 IOH is for general purpose use. |
1565 | ML7223/ML7831 is companion chip for Intel Atom E6xx series. | |
1566 | ML7223/ML7831 is completely compatible for Intel EG20T PCH. | |
bc786cce | 1567 | |
02e74fc0 WBG |
1568 | config GPIO_PCI_IDIO_16 |
1569 | tristate "ACCES PCI-IDIO-16 GPIO support" | |
1570 | select GPIOLIB_IRQCHIP | |
e7f758fa | 1571 | select GPIO_IDIO_16 |
02e74fc0 WBG |
1572 | help |
1573 | Enables GPIO support for the ACCES PCI-IDIO-16. An interrupt is | |
1574 | generated when any of the inputs change state (low to high or high to | |
1575 | low). Input filter control is not supported by this driver, and the | |
1576 | input filters are deactivated by this driver. | |
1577 | ||
58556204 WBG |
1578 | config GPIO_PCIE_IDIO_24 |
1579 | tristate "ACCES PCIe-IDIO-24 GPIO support" | |
1580 | select GPIOLIB_IRQCHIP | |
1581 | help | |
1582 | Enables GPIO support for the ACCES PCIe-IDIO-24 family (PCIe-IDIO-24, | |
1583 | PCIe-IDI-24, PCIe-IDO-24, PCIe-IDIO-12). An interrupt is generated | |
1584 | when any of the inputs change state (low to high or high to low). | |
1585 | Input filter control is not supported by this driver, and the input | |
1586 | filters are deactivated by this driver. | |
1587 | ||
92c33ef7 LW |
1588 | config GPIO_RDC321X |
1589 | tristate "RDC R-321x GPIO support" | |
92c33ef7 LW |
1590 | select MFD_CORE |
1591 | select MFD_RDC321X | |
49a36793 | 1592 | help |
92c33ef7 LW |
1593 | Support for the RDC R321x SoC GPIOs over southbridge |
1594 | PCI configuration space. | |
49a36793 | 1595 | |
b43ab901 SAS |
1596 | config GPIO_SODAVILLE |
1597 | bool "Intel Sodaville GPIO support" | |
03744529 | 1598 | depends on X86 && OF |
b43ab901 SAS |
1599 | select GPIO_GENERIC |
1600 | select GENERIC_IRQ_CHIP | |
1601 | help | |
1602 | Say Y here to support Intel Sodaville GPIO. | |
1603 | ||
177b0381 | 1604 | endmenu |
35570ac6 | 1605 | |
177b0381 LW |
1606 | menu "SPI GPIO expanders" |
1607 | depends on SPI_MASTER | |
9956d02d | 1608 | |
a7ec2e7f LW |
1609 | config GPIO_74X164 |
1610 | tristate "74x164 serial-in/parallel-out 8-bits shift register" | |
048c28c9 | 1611 | depends on OF_GPIO |
a7ec2e7f LW |
1612 | help |
1613 | Driver for 74x164 compatible serial-in/parallel-out 8-outputs | |
1614 | shift registers. This driver can be used to provide access | |
dd1695a2 | 1615 | to more GPIO outputs. |
a9c5fff5 | 1616 | |
b2f68edf LW |
1617 | config GPIO_MAX3191X |
1618 | tristate "Maxim MAX3191x industrial serializer" | |
1619 | select CRC8 | |
1620 | help | |
1621 | GPIO driver for Maxim MAX31910, MAX31911, MAX31912, MAX31913, | |
1622 | MAX31953 and MAX31963 industrial serializer, a daisy-chainable | |
1623 | chip to make 8 digital 24V inputs available via SPI. Supports | |
1624 | CRC checksums to guard against electromagnetic interference, | |
1625 | as well as undervoltage and overtemperature detection. | |
1626 | ||
0c36ec31 JB |
1627 | config GPIO_MAX7301 |
1628 | tristate "Maxim MAX7301 GPIO expander" | |
e952805d | 1629 | select GPIO_MAX730X |
0c36ec31 | 1630 | help |
e952805d | 1631 | GPIO driver for Maxim MAX7301 SPI-based GPIO expander. |
0c36ec31 | 1632 | |
1e5db006 RR |
1633 | config GPIO_MC33880 |
1634 | tristate "Freescale MC33880 high-side/low-side switch" | |
1e5db006 RR |
1635 | help |
1636 | SPI driver for Freescale MC33880 high-side/low-side switch. | |
1637 | This provides GPIO interface supporting inputs and outputs. | |
1638 | ||
df6df93c AD |
1639 | config GPIO_PISOSR |
1640 | tristate "Generic parallel-in/serial-out shift register" | |
1641 | help | |
1642 | GPIO driver for SPI compatible parallel-in/serial-out shift | |
1643 | registers. These are input only devices. | |
1644 | ||
5704520d NH |
1645 | config GPIO_XRA1403 |
1646 | tristate "EXAR XRA1403 16-bit GPIO expander" | |
665dff99 | 1647 | select REGMAP_SPI |
5704520d NH |
1648 | help |
1649 | GPIO driver for EXAR XRA1403 16-bit SPI-based GPIO expander. | |
1650 | ||
856ed97a MB |
1651 | config GPIO_MOXTET |
1652 | tristate "Turris Mox Moxtet bus GPIO expander" | |
1653 | depends on MOXTET | |
1654 | help | |
1655 | Say yes here if you are building for the Turris Mox router. | |
1656 | This is the driver needed for configuring the GPIOs via the Moxtet | |
1657 | bus. For example the Mox module with SFP cage needs this driver | |
1658 | so that phylink can use corresponding GPIOs. | |
1659 | ||
0963670a LW |
1660 | endmenu |
1661 | ||
177b0381 LW |
1662 | menu "USB GPIO expanders" |
1663 | depends on USB | |
9d5b72de LP |
1664 | |
1665 | config GPIO_VIPERBOARD | |
1666 | tristate "Viperboard GPIO a & b support" | |
03744529 | 1667 | depends on MFD_VIPERBOARD |
9d5b72de LP |
1668 | help |
1669 | Say yes here to access the GPIO signals of Nano River | |
1670 | Technologies Viperboard. There are two GPIO chips on the | |
1671 | board: gpioa and gpiob. | |
c42e34c9 EWI |
1672 | See viperboard API specification and Nano |
1673 | River Tech's viperboard.h for detailed meaning | |
1674 | of the module parameters. | |
9d5b72de | 1675 | |
177b0381 | 1676 | endmenu |
6732127f | 1677 | |
b5252196 EWI |
1678 | menu "Virtual GPIO drivers" |
1679 | ||
828546e2 GU |
1680 | config GPIO_AGGREGATOR |
1681 | tristate "GPIO Aggregator" | |
1682 | help | |
1683 | Say yes here to enable the GPIO Aggregator, which provides a way to | |
1684 | aggregate existing GPIO lines into a new virtual GPIO chip. | |
1685 | This can serve the following purposes: | |
1686 | - Assign permissions for a collection of GPIO lines to a user, | |
1687 | - Export a collection of GPIO lines to a virtual machine, | |
1688 | - Provide a generic driver for a GPIO-operated device in an | |
1689 | industrial control context, to be operated from userspace using | |
1690 | the GPIO chardev interface. | |
1691 | ||
1454a928 SH |
1692 | config GPIO_LATCH |
1693 | tristate "GPIO latch driver" | |
1694 | help | |
1695 | Say yes here to enable a driver for GPIO multiplexers based on latches | |
1696 | connected to other GPIOs. | |
1697 | ||
6e4484ee BG |
1698 | config GPIO_MOCKUP |
1699 | tristate "GPIO Testing Driver" | |
6e4484ee BG |
1700 | select IRQ_SIM |
1701 | help | |
1702 | This enables GPIO Testing driver, which provides a way to test GPIO | |
4bf24261 | 1703 | subsystem through sysfs (or char device) and debugfs. |
6e4484ee BG |
1704 | User could use it through the script in |
1705 | tools/testing/selftests/gpio/gpio-mockup.sh. Reference the usage in | |
1706 | it. | |
1707 | ||
3a29355a VK |
1708 | config GPIO_VIRTIO |
1709 | tristate "VirtIO GPIO support" | |
1710 | depends on VIRTIO | |
eff5cdd7 | 1711 | select GPIOLIB_IRQCHIP |
3a29355a VK |
1712 | help |
1713 | Say Y here to enable guest support for virtio-based GPIO controllers. | |
1714 | ||
1715 | These virtual GPIOs can be routed to real GPIOs or attached to | |
1716 | simulators on the host (like QEMU). | |
1717 | ||
cb8c474e BG |
1718 | config GPIO_SIM |
1719 | tristate "GPIO Simulator Module" | |
1720 | select IRQ_SIM | |
1721 | select CONFIGFS_FS | |
1722 | help | |
1723 | This enables the GPIO simulator - a configfs-based GPIO testing | |
1724 | driver. | |
1725 | ||
b5252196 EWI |
1726 | endmenu |
1727 | ||
7444a72e | 1728 | endif |