Debian Codegraph @

drivers/gpio/Kconfig

raw
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # GPIO infrastructure and drivers
4 #
5
6 config GPIOLIB_LEGACY
7 def_bool y
8
9 config HAVE_SHARED_GPIOS
10 bool
11
12 menuconfig GPIOLIB
13 bool "GPIO Support"
14 help
15 This enables GPIO support through the generic GPIO library.
16 You only need to enable this if you also want to enable
17 one or more of the GPIO drivers below.
18
19 If unsure, say N.
20
21 if GPIOLIB
22
23 config GPIOLIB_FASTPATH_LIMIT
24 int "Maximum number of GPIOs for fast path"
25 range 32 512
26 default 512
27 help
28 This adjusts the point at which certain APIs will switch from
29 using a stack allocated buffer to a dynamically allocated buffer.
30
31 You shouldn't need to change this unless you really need to
32 optimize either stack space or performance. Change this carefully
33 since setting an incorrect value could cause stack corruption.
34
35 config OF_GPIO
36 def_bool y
37 depends on OF
38 depends on HAS_IOMEM
39
40 config GPIO_ACPI
41 def_bool y
42 depends on ACPI
43
44 config GPIOLIB_IRQCHIP
45 select IRQ_DOMAIN
46 bool
47
48 config GPIO_SHARED
49 def_bool y
50 depends on HAVE_SHARED_GPIOS || COMPILE_TEST
51 select AUXILIARY_BUS
52
53 config DEBUG_GPIO
54 bool "Debug GPIO calls"
55 depends on DEBUG_KERNEL
56 help
57 Say Y here to add some extra checks and diagnostics to GPIO calls.
58 These checks help ensure that GPIOs have been properly initialized
59 before they are used, and that sleeping calls are not made from
60 non-sleeping contexts. They can make bitbanged serial protocols
61 slower. The diagnostics help catch the type of setup errors
62 that are most common when setting up new platforms or boards.
63
64 config GPIO_SYSFS
65 bool "/sys/class/gpio/... (sysfs interface)" if EXPERT
66 depends on SYSFS
67 select GPIO_CDEV # We need to encourage the new ABI
68 help
69 Say Y here to add the legacy sysfs interface for GPIOs.
70
71 This ABI is deprecated. If you want to use GPIO from userspace,
72 use the character device /dev/gpiochipN with the appropriate
73 ioctl() operations instead.
74
75 config GPIO_SYSFS_LEGACY
76 bool "Enable legacy functionalities of the sysfs interface"
77 depends on GPIO_SYSFS
78 default y if GPIO_SYSFS
79 help
80 Say Y here if you want to enable the legacy, global GPIO
81 numberspace-based functionalities of the sysfs interface.
82
83 config GPIO_CDEV
84 bool "Character device (/dev/gpiochipN) support" if EXPERT
85 default y
86 help
87 Say Y here to add the character device /dev/gpiochipN interface
88 for GPIOs. The character device allows userspace to control GPIOs
89 using ioctl() operations.
90
91 Only say N if you are sure that the GPIO character device is not
92 required.
93
94 If unsure, say Y.
95
96 config GPIO_CDEV_V1
97 bool "Support GPIO ABI Version 1"
98 default y
99 depends on GPIO_CDEV
100 help
101 Say Y here to support version 1 of the GPIO CDEV ABI.
102
103 This ABI version is deprecated.
104 Please use the latest ABI for new developments.
105
106 If unsure, say Y.
107
108 config GPIO_GENERIC
109 depends on HAS_IOMEM # Only for IOMEM drivers
110 tristate
111
112 config GPIO_REGMAP
113 select REGMAP
114 tristate
115
116 config GPIO_SWNODE_UNDEFINED
117 bool
118 help
119 This adds a special place holder for software nodes to contain an
120 undefined GPIO reference, this is primarily used by SPI to allow a
121 list of GPIO chip selects to mark a certain chip select as being
122 controlled the SPI device's internal chip select mechanism and not
123 a GPIO.
124
125 # put drivers in the right section, in alphabetical order
126
127 # This symbol is selected by both I2C and SPI expanders
128 config GPIO_MAX730X
129 tristate
130
131 config GPIO_IDIO_16
132 tristate
133 select REGMAP_IRQ
134 select GPIOLIB_IRQCHIP
135 select GPIO_REGMAP
136 help
137 Enables support for the idio-16 library functions. The idio-16 library
138 provides functions to facilitate communication with devices within the
139 ACCES IDIO-16 family such as the 104-IDIO-16 and the PCI-IDIO-16.
140
141 If built as a module its name will be gpio-idio-16.
142
143 menu "Memory mapped GPIO drivers"
144 depends on HAS_IOMEM
145
146 config GPIO_74XX_MMIO
147 tristate "GPIO driver for 74xx-ICs with MMIO access"
148 depends on OF_GPIO
149 select GPIO_GENERIC
150 help
151 Say yes here to support GPIO functionality for 74xx-compatible ICs
152 with MMIO access. Compatible models include:
153 1 bit: 741G125 (Input), 741G74 (Output)
154 2 bits: 742G125 (Input), 7474 (Output)
155 4 bits: 74125 (Input), 74175 (Output)
156 6 bits: 74365 (Input), 74174 (Output)
157 8 bits: 74244 (Input), 74273 (Output)
158 16 bits: 741624 (Input), 7416374 (Output)
159
160 config GPIO_ALTERA
161 tristate "Altera GPIO"
162 select GPIOLIB_IRQCHIP
163 help
164 Say Y or M here to build support for the Altera PIO device.
165
166 If driver is built as a module it will be called gpio-altera.
167
168 config GPIO_AMDPT
169 tristate "AMD Promontory GPIO support"
170 depends on ACPI
171 select GPIO_GENERIC
172 help
173 Driver for GPIO functionality on Promontory IOHub.
174 Requires ACPI ASL code to enumerate as a platform device.
175
176 config GPIO_ASPEED
177 tristate "Aspeed GPIO support"
178 depends on (ARCH_ASPEED || COMPILE_TEST) && OF_GPIO
179 select GPIOLIB_IRQCHIP
180 help
181 Say Y here to support Aspeed AST2400 and AST2500 GPIO controllers.
182
183 config GPIO_ASPEED_SGPIO
184 bool "Aspeed SGPIO support"
185 depends on (ARCH_ASPEED || COMPILE_TEST) && OF_GPIO
186 select GPIO_GENERIC
187 select GPIOLIB_IRQCHIP
188 help
189 Say Y here to support Aspeed AST2500 SGPIO functionality.
190
191 config GPIO_ATH79
192 tristate "Atheros AR71XX/AR724X/AR913X GPIO support"
193 default y if ATH79
194 depends on ATH79 || COMPILE_TEST
195 select GPIO_GENERIC
196 select GPIOLIB_IRQCHIP
197 help
198 Select this option to enable GPIO driver for
199 Atheros AR71XX/AR724X/AR913X SoC devices.
200
201 config GPIO_RASPBERRYPI_EXP
202 tristate "Raspberry Pi 3 GPIO Expander"
203 default RASPBERRYPI_FIRMWARE
204 depends on OF_GPIO
205 # Make sure not 'y' when RASPBERRYPI_FIRMWARE is 'm'. This can only
206 # happen when COMPILE_TEST=y, hence the added !RASPBERRYPI_FIRMWARE.
207 depends on (ARCH_BCM2835 && RASPBERRYPI_FIRMWARE) || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE)
208 help
209 Turn on GPIO support for the expander on Raspberry Pi 3 boards, using
210 the firmware mailbox to communicate with VideoCore on BCM283x chips.
211
212 config GPIO_BCM_KONA
213 bool "Broadcom Kona GPIO"
214 depends on ARCH_BCM_MOBILE || COMPILE_TEST
215 select GPIOLIB_IRQCHIP
216 help
217 Turn on GPIO support for Broadcom "Kona" chips.
218
219 config GPIO_BCM_XGS_IPROC
220 tristate "BRCM XGS iProc GPIO support"
221 depends on OF_GPIO && (ARCH_BCM_IPROC || COMPILE_TEST)
222 select GPIO_GENERIC
223 select GPIOLIB_IRQCHIP
224 default ARCH_BCM_IPROC
225 help
226 Say yes here to enable GPIO support for Broadcom XGS iProc SoCs.
227
228 config GPIO_BLZP1600
229 tristate "Blaize BLZP1600 GPIO support"
230 default y if ARCH_BLAIZE
231 depends on ARCH_BLAIZE || COMPILE_TEST
232 depends on OF_GPIO
233 select GPIO_GENERIC
234 select GPIOLIB_IRQCHIP
235 help
236 Say Y or M here to add support for the Blaize BLZP1600 GPIO device.
237 The controller is based on the Verisilicon Microelectronics GPIO APB v0.2
238 IP block.
239
240 config GPIO_BRCMSTB
241 tristate "BRCMSTB GPIO support"
242 default y if (ARCH_BRCMSTB || BMIPS_GENERIC)
243 depends on OF_GPIO && (ARCH_BRCMSTB || ARCH_BCM2835 || BMIPS_GENERIC || COMPILE_TEST)
244 select GPIO_GENERIC
245 select IRQ_DOMAIN
246 help
247 Say yes here to enable GPIO support for Broadcom STB (BCM7XXX) SoCs.
248
249 config GPIO_CADENCE
250 tristate "Cadence GPIO support"
251 depends on OF_GPIO
252 select GPIO_GENERIC
253 select GPIOLIB_IRQCHIP
254 help
255 Say yes here to enable support for Cadence GPIO controller.
256
257 config GPIO_CLPS711X
258 tristate "CLPS711X GPIO support"
259 depends on ARCH_CLPS711X || COMPILE_TEST
260 select GPIO_GENERIC
261 help
262 Say yes here to support GPIO on CLPS711X SoCs.
263
264 config GPIO_DAVINCI
265 tristate "TI Davinci/Keystone GPIO support"
266 default y if ARCH_DAVINCI
267 depends on ((ARM || ARM64) && (ARCH_DAVINCI || ARCH_KEYSTONE || ARCH_K3)) || COMPILE_TEST
268 select GPIOLIB_IRQCHIP
269 help
270 Say yes here to enable GPIO support for TI Davinci/Keystone SoCs.
271
272 config GPIO_DWAPB
273 tristate "Synopsys DesignWare APB GPIO driver"
274 select GPIO_GENERIC
275 select GPIOLIB_IRQCHIP
276 help
277 Say Y or M here to build support for the Synopsys DesignWare APB
278 GPIO block.
279
280 config GPIO_EIC_SPRD
281 tristate "Spreadtrum EIC support"
282 depends on ARCH_SPRD || COMPILE_TEST
283 depends on OF_GPIO
284 select GPIOLIB_IRQCHIP
285 help
286 Say yes here to support Spreadtrum EIC device.
287
288 config GPIO_EM
289 tristate "Emma Mobile GPIO"
290 depends on (ARCH_EMEV2 || COMPILE_TEST) && OF_GPIO
291 help
292 Say yes here to support GPIO on Renesas Emma Mobile SoCs.
293
294 config GPIO_EN7523
295 tristate "Airoha GPIO support"
296 depends on ARCH_AIROHA
297 default ARCH_AIROHA
298 select GPIO_GENERIC
299 select GPIOLIB_IRQCHIP
300 help
301 Say Y or M here to support the GPIO controller block on the
302 Airoha EN7523 SoC. It supports two banks of 32 GPIOs.
303
304 config GPIO_EP93XX
305 def_bool y
306 depends on ARCH_EP93XX || COMPILE_TEST
307 select GPIO_GENERIC
308 select GPIOLIB_IRQCHIP
309
310 config GPIO_EXAR
311 tristate "Support for GPIO pins on XR17V352/354/358"
312 depends on SERIAL_8250_EXAR
313 select REGMAP_MMIO
314 help
315 Selecting this option will enable handling of GPIO pins present
316 on Exar XR17V352/354/358 chips.
317
318 config GPIO_GE_FPGA
319 bool "GE FPGA based GPIO"
320 depends on GE_FPGA || COMPILE_TEST
321 select GPIO_GENERIC
322 help
323 Support for common GPIO functionality provided on some GE Single Board
324 Computers.
325
326 This driver provides basic support (configure as input or output, read
327 and write pin state) for GPIO implemented in a number of GE single
328 board computers.
329
330 config GPIO_FTGPIO010
331 bool "Faraday FTGPIO010 GPIO"
332 depends on OF_GPIO
333 select GPIO_GENERIC
334 select GPIOLIB_IRQCHIP
335 default (ARCH_GEMINI || ARCH_MOXART)
336 help
337 Support for common GPIOs from the Faraday FTGPIO010 IP core, found in
338 Cortina systems Gemini platforms, Moxa ART and others.
339
340 config GPIO_GENERIC_PLATFORM
341 tristate "Generic memory-mapped GPIO controller support (MMIO platform device)"
342 select GPIO_GENERIC
343 help
344 Say yes here to support basic platform_device memory-mapped GPIO controllers.
345
346 config GPIO_GRANITERAPIDS
347 tristate "Intel Granite Rapids-D vGPIO support"
348 depends on X86 || COMPILE_TEST
349 select GPIOLIB_IRQCHIP
350 help
351 Select this to enable virtual GPIO support on platforms with the
352 following SoCs:
353
354 - Intel Granite Rapids-D
355
356 The driver enables basic GPIO functionality and implements interrupt
357 support. The virtual GPIO driver controls GPIO lines via a firmware
358 interface. The physical GPIO pins reside on device that is external
359 from the main SoC package, such as a BMC or a CPLD.
360
361 To compile this driver as a module, choose M here: the module will
362 be called gpio-graniterapids.
363
364 config GPIO_GRGPIO
365 tristate "Aeroflex Gaisler GRGPIO support"
366 depends on OF || COMPILE_TEST
367 select GPIO_GENERIC
368 select GPIOLIB_IRQCHIP
369 help
370 Select this to support Aeroflex Gaisler GRGPIO cores from the GRLIB
371 VHDL IP core library.
372
373 config GPIO_HISI
374 tristate "HiSilicon GPIO controller driver"
375 depends on ARM64 || COMPILE_TEST
376 select GPIO_GENERIC
377 select GPIOLIB_IRQCHIP
378 help
379 Say Y or M here to build support for the HiSilicon GPIO controller
380 driver GPIO block.
381 This GPIO controller supports double-edge interrupt and multi-core
382 concurrent access.
383
384 config GPIO_HLWD
385 tristate "Nintendo Wii (Hollywood) GPIO"
386 depends on OF_GPIO
387 select GPIO_GENERIC
388 select GPIOLIB_IRQCHIP
389 help
390 Select this to support the GPIO controller of the Nintendo Wii.
391
392 If unsure, say N.
393
394 config GPIO_ICH
395 tristate "Intel ICH GPIO"
396 depends on (X86 && LPC_ICH) || (COMPILE_TEST && HAS_IOPORT)
397 help
398 Say yes here to support the GPIO functionality of a number of Intel
399 ICH-based chipsets. Currently supported devices: ICH6, ICH7, ICH8
400 ICH9, ICH10, Series 5/3400 (e.g. Ibex Peak), Series 6/C200 (e.g.
401 Cougar Point), NM10 (Tiger Point), and 3100 (Whitmore Lake).
402
403 If unsure, say N.
404
405 config GPIO_IMX_SCU
406 def_bool y
407 depends on IMX_SCU
408
409 config GPIO_IXP4XX
410 bool "Intel IXP4xx GPIO"
411 depends on (ARCH_IXP4XX && OF) || COMPILE_TEST
412 select GPIO_GENERIC
413 select GPIOLIB_IRQCHIP
414 select IRQ_DOMAIN_HIERARCHY
415 help
416 Say yes here to support the GPIO functionality of a number of Intel
417 IXP4xx series of chips.
418
419 If unsure, say N.
420
421 config GPIO_LOGICVC
422 tristate "Xylon LogiCVC GPIO support"
423 depends on MFD_SYSCON && OF
424 help
425 Say yes here to support GPIO functionality of the Xylon LogiCVC
426 programmable logic block.
427
428 config GPIO_LOONGSON
429 bool "Loongson-2/3 GPIO support"
430 depends on CPU_LOONGSON2EF || CPU_LOONGSON64
431 help
432 Driver for GPIO functionality on Loongson-2F/3A/3B processors.
433
434 config GPIO_LOONGSON_64BIT
435 tristate "Loongson 64 bit GPIO support"
436 depends on LOONGARCH || COMPILE_TEST
437 depends on OF_GPIO
438 select GPIO_GENERIC
439 select GPIOLIB_IRQCHIP
440 help
441 Say yes here to support the GPIO functionality of a number of
442 Loongson series of chips. The Loongson GPIO controller supports
443 up to 60 GPIOS in total, 4 of which are dedicated GPIO pins, and
444 the remaining 56 are reused with other functions, with edge or
445 level triggered interrupts.
446
447 config GPIO_LPC18XX
448 tristate "NXP LPC18XX/43XX GPIO support"
449 default y if ARCH_LPC18XX
450 depends on OF_GPIO && (ARCH_LPC18XX || COMPILE_TEST)
451 select IRQ_DOMAIN_HIERARCHY
452 select GPIOLIB_IRQCHIP
453 help
454 Select this option to enable GPIO driver for
455 NXP LPC18XX/43XX devices.
456
457 config GPIO_LPC32XX
458 tristate "NXP LPC32XX GPIO support"
459 depends on OF_GPIO && (ARCH_LPC32XX || COMPILE_TEST)
460 help
461 Select this option to enable GPIO driver for
462 NXP LPC32XX devices.
463
464 config GPIO_MB86S7X
465 tristate "GPIO support for Fujitsu MB86S7x Platforms"
466 help
467 Say yes here to support the GPIO controller in Fujitsu MB86S70 SoCs.
468
469 config GPIO_MENZ127
470 tristate "MEN 16Z127 GPIO support"
471 depends on MCB
472 select GPIO_GENERIC
473 help
474 Say yes here to support the MEN 16Z127 GPIO Controller.
475
476 config GPIO_MM_LANTIQ
477 bool "Lantiq Memory mapped GPIOs"
478 depends on LANTIQ && SOC_XWAY
479 help
480 This enables support for memory mapped GPIOs on the External Bus Unit
481 (EBU) found on Lantiq SoCs. The GPIOs are output only as they are
482 created by attaching a 16-bit latch to the bus.
483
484 config GPIO_MPC5200
485 def_bool y
486 depends on PPC_MPC52xx
487
488 config GPIO_MPC8XXX
489 bool "MPC512x/MPC8xxx/QorIQ GPIO support"
490 depends on PPC_MPC512x || PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || \
491 FSL_SOC_BOOKE || PPC_86xx || ARCH_LAYERSCAPE || ARM || \
492 COMPILE_TEST
493 select GPIO_GENERIC
494 select GPIOLIB_IRQCHIP
495 help
496 Say Y here if you're going to use hardware that connects to the
497 MPC512x/831x/834x/837x/8572/8610/QorIQ GPIOs.
498
499 config GPIO_MT7621
500 bool "Mediatek MT7621 GPIO Support"
501 depends on SOC_MT7620 || SOC_MT7621 || COMPILE_TEST
502 depends on OF_GPIO
503 select GPIO_GENERIC
504 select GPIOLIB_IRQCHIP
505 help
506 Say yes here to support the Mediatek MT7621 SoC GPIO device.
507
508 config GPIO_MVEBU
509 bool "Marvell Orion and EBU GPIO support" if COMPILE_TEST
510 depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
511 default PLAT_ORION || ARCH_MVEBU
512 select GENERIC_IRQ_CHIP
513 select REGMAP_MMIO
514
515 config GPIO_MXC
516 tristate "i.MX GPIO support"
517 depends on ARCH_MXC || COMPILE_TEST
518 select GPIO_GENERIC
519 select GENERIC_IRQ_CHIP
520
521 config GPIO_MXS
522 bool "Freescale MXS GPIO support" if COMPILE_TEST
523 depends on ARCH_MXS || COMPILE_TEST
524 default y if ARCH_MXS
525 select GPIO_GENERIC
526 select GENERIC_IRQ_CHIP
527
528 config GPIO_NOMADIK
529 bool "Nomadik GPIO driver"
530 depends on ARCH_U8500 || ARCH_NOMADIK || MACH_EYEQ5 || COMPILE_TEST
531 select GPIOLIB_IRQCHIP
532 help
533 Say yes here to support the Nomadik SoC GPIO block. This block is also
534 used by the Mobileye EyeQ5 SoC.
535
536 It handles up to 32 GPIOs per bank, that can all be interrupt sources.
537 It is deeply interconnected with the associated pinctrl driver as GPIO
538 registers handle muxing ("alternate functions") as well.
539
540 config GPIO_NPCM_SGPIO
541 bool "Nuvoton SGPIO support"
542 depends on ARCH_NPCM || COMPILE_TEST
543 select GPIOLIB_IRQCHIP
544 help
545 Say Y here to support Nuvoton NPCM7XX/NPCM8XX SGPIO functionality.
546
547 config GPIO_OCTEON
548 tristate "Cavium OCTEON GPIO"
549 depends on CAVIUM_OCTEON_SOC
550 default y
551 help
552 Say yes here to support the on-chip GPIO lines on the OCTEON
553 family of SOCs.
554
555 config GPIO_OMAP
556 tristate "TI OMAP GPIO support"
557 depends on ARCH_OMAP || COMPILE_TEST
558 default y if ARCH_OMAP
559 select GENERIC_IRQ_CHIP
560 select GPIOLIB_IRQCHIP
561 help
562 Say yes here to enable GPIO support for TI OMAP SoCs.
563
564 config GPIO_PL061
565 tristate "PrimeCell PL061 GPIO support"
566 depends on ARM_AMBA || COMPILE_TEST
567 select IRQ_DOMAIN
568 select GPIOLIB_IRQCHIP
569 help
570 Say yes here to support the PrimeCell PL061 GPIO device.
571
572 config GPIO_POLARFIRE_SOC
573 bool "Microchip FPGA GPIO support"
574 select REGMAP_MMIO
575 help
576 Say yes here to support the GPIO controllers on Microchip FPGAs.
577
578 config GPIO_PXA
579 bool "PXA GPIO support"
580 depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST
581 select GPIOLIB_IRQCHIP
582 help
583 Say yes here to support the PXA GPIO device.
584
585 config GPIO_RCAR
586 tristate "Renesas R-Car and RZ/G GPIO support"
587 depends on ARCH_RENESAS || COMPILE_TEST
588 select GPIOLIB_IRQCHIP
589 help
590 Say yes here to support GPIO on Renesas R-Car or RZ/G SoCs.
591
592 config GPIO_RDA
593 bool "RDA Micro GPIO controller support"
594 depends on ARCH_RDA || COMPILE_TEST
595 depends on OF_GPIO
596 select GPIO_GENERIC
597 select GPIOLIB_IRQCHIP
598 help
599 Say Y here to support RDA Micro GPIO controller.
600
601 config GPIO_REALTEK_OTTO
602 tristate "Realtek Otto GPIO support"
603 depends on MACH_REALTEK_RTL || COMPILE_TEST
604 default MACH_REALTEK_RTL
605 select GPIO_GENERIC
606 select GPIOLIB_IRQCHIP
607 help
608 The GPIO controller on the Otto MIPS platform supports up to two
609 banks of 32 GPIOs, with edge triggered interrupts. The 32 GPIOs
610 are grouped in four 8-bit wide ports.
611
612 When built as a module, the module will be called realtek_otto_gpio.
613
614 config GPIO_REG
615 bool
616 help
617 A 32-bit single register GPIO fixed in/out implementation. This
618 can be used to represent any register as a set of GPIO signals.
619
620 config GPIO_ROCKCHIP
621 tristate "Rockchip GPIO support"
622 depends on ARCH_ROCKCHIP || COMPILE_TEST
623 select GENERIC_IRQ_CHIP
624 select GPIOLIB_IRQCHIP
625 default ARCH_ROCKCHIP
626 help
627 Say yes here to support GPIO on Rockchip SoCs.
628
629 config GPIO_RTD
630 tristate "Realtek DHC GPIO support"
631 depends on ARCH_REALTEK || COMPILE_TEST
632 default y
633 select GPIOLIB_IRQCHIP
634 help
635 This option enables support for GPIOs found on Realtek DHC(Digital
636 Home Center) SoCs family, including RTD1295, RTD1315E, RTD1319,
637 RTD1319D, RTD1395, RTD1619 and RTD1619B.
638
639 Say yes here to support GPIO functionality and GPIO interrupt on
640 Realtek DHC SoCs.
641
642 config GPIO_SAMA5D2_PIOBU
643 tristate "SAMA5D2 PIOBU GPIO support"
644 depends on MFD_SYSCON
645 depends on OF_GPIO
646 depends on ARCH_AT91 || COMPILE_TEST
647 select GPIO_SYSCON
648 help
649 Say yes here to use the PIOBU pins as GPIOs.
650
651 PIOBU pins on the SAMA5D2 can be used as GPIOs.
652 The difference from regular GPIOs is that they
653 maintain their value during backup/self-refresh.
654
655 config GPIO_SIFIVE
656 tristate "SiFive GPIO support"
657 depends on OF_GPIO
658 select IRQ_DOMAIN_HIERARCHY
659 select GPIO_GENERIC
660 select GPIOLIB_IRQCHIP
661 select REGMAP_MMIO
662 help
663 Say yes here to support the GPIO device on SiFive SoCs.
664
665 config GPIO_SIOX
666 tristate "SIOX GPIO support"
667 depends on SIOX
668 select GPIOLIB_IRQCHIP
669 help
670 Say yes here to support SIOX I/O devices. These are units connected
671 via a SIOX bus and have a number of fixed-direction I/O lines.
672
673 config GPIO_SNPS_CREG
674 bool "Synopsys GPIO via CREG (Control REGisters) driver"
675 depends on ARC || COMPILE_TEST
676 depends on OF_GPIO
677 help
678 This driver supports GPIOs via CREG on various Synopsys SoCs.
679 This is a single-register MMIO GPIO driver for complex cases
680 where only several fields in register belong to GPIO lines and
681 each GPIO line owns a field with different length and on/off value.
682
683 config GPIO_SPACEMIT_K1
684 tristate "SPACEMIT K1 GPIO support"
685 depends on ARCH_SPACEMIT || COMPILE_TEST
686 depends on OF_GPIO
687 select GPIO_GENERIC
688 select GPIOLIB_IRQCHIP
689 help
690 Say yes here to support the SpacemiT's K1 GPIO device.
691
692 config GPIO_SPEAR_SPICS
693 bool "ST SPEAr13xx SPI Chip Select as GPIO support"
694 depends on PLAT_SPEAR
695 select GENERIC_IRQ_CHIP
696 help
697 Say yes here to support ST SPEAr SPI Chip Select as GPIO device.
698
699 config GPIO_SPRD
700 tristate "Spreadtrum GPIO support"
701 depends on ARCH_SPRD || COMPILE_TEST
702 depends on OF_GPIO
703 select GPIOLIB_IRQCHIP
704 help
705 Say yes here to support Spreadtrum GPIO device.
706
707 config GPIO_STP_XWAY
708 bool "XWAY STP GPIOs"
709 depends on SOC_XWAY || COMPILE_TEST
710 depends on OF_GPIO
711 help
712 This enables support for the Serial To Parallel (STP) unit found on
713 XWAY SoC. The STP allows the SoC to drive a shift registers cascade,
714 that can be up to 24 bits. This peripheral is aimed at driving LEDs.
715 Some of the GPIOs/LEDs can be auto updated by the SoC with DSL and
716 phy status.
717
718 config GPIO_SYSCON
719 tristate "GPIO based on SYSCON"
720 depends on MFD_SYSCON && OF
721 help
722 Say yes here to support GPIO functionality though SYSCON driver.
723
724 config GPIO_TANGIER
725 tristate
726 select GPIOLIB_IRQCHIP
727 help
728 GPIO support for Intel Tangier and compatible platforms.
729 Currently supported:
730 - Elkhart Lake
731 - Merrifield
732
733 If built as a module its name will be gpio-tangier.
734
735 config GPIO_TB10X
736 bool "Abilis Systems TB10x GPIO controller"
737 depends on ARC_PLAT_TB10X || COMPILE_TEST
738 select GPIO_GENERIC
739 select GENERIC_IRQ_CHIP
740
741 config GPIO_TEGRA
742 tristate "NVIDIA Tegra GPIO support"
743 default ARCH_TEGRA
744 depends on ARCH_TEGRA || COMPILE_TEST
745 depends on OF_GPIO
746 select GPIOLIB_IRQCHIP
747 select IRQ_DOMAIN_HIERARCHY
748 help
749 Say yes here to support GPIO pins on NVIDIA Tegra SoCs.
750
751 config GPIO_TEGRA186
752 tristate "NVIDIA Tegra186 GPIO support"
753 default ARCH_TEGRA_186_SOC || ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC
754 depends on ARCH_TEGRA_186_SOC || ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC || COMPILE_TEST
755 depends on OF_GPIO
756 select GPIOLIB_IRQCHIP
757 select IRQ_DOMAIN_HIERARCHY
758 help
759 Say yes here to support GPIO pins on NVIDIA Tegra186, 194 and 234 SoCs.
760
761 config GPIO_TS4800
762 tristate "TS-4800 DIO blocks and compatibles"
763 depends on OF_GPIO
764 depends on SOC_IMX51 || COMPILE_TEST
765 select GPIO_GENERIC
766 help
767 This driver support TS-4800 FPGA GPIO controllers.
768
769 config GPIO_THUNDERX
770 tristate "Cavium ThunderX/OCTEON-TX GPIO"
771 depends on ARCH_THUNDER || (64BIT && COMPILE_TEST)
772 depends on PCI_MSI
773 select GPIOLIB_IRQCHIP
774 select IRQ_DOMAIN_HIERARCHY
775 select IRQ_FASTEOI_HIERARCHY_HANDLERS
776 help
777 Say yes here to support the on-chip GPIO lines on the ThunderX
778 and OCTEON-TX families of SoCs.
779
780 config GPIO_UNIPHIER
781 tristate "UniPhier GPIO support"
782 depends on ARCH_UNIPHIER || COMPILE_TEST
783 depends on OF_GPIO
784 select IRQ_DOMAIN_HIERARCHY
785 help
786 Say yes here to support UniPhier GPIOs.
787
788 config GPIO_VF610
789 tristate "VF610 GPIO support"
790 default y if SOC_VF610
791 depends on ARCH_MXC || COMPILE_TEST
792 select GPIOLIB_IRQCHIP
793 select GPIO_GENERIC
794 help
795 Say yes here to support i.MX or Vybrid vf610 GPIOs.
796
797 config GPIO_VISCONTI
798 tristate "Toshiba Visconti GPIO support"
799 depends on ARCH_VISCONTI || COMPILE_TEST
800 depends on OF_GPIO
801 select GPIOLIB_IRQCHIP
802 select GPIO_GENERIC
803 select IRQ_DOMAIN_HIERARCHY
804 help
805 Say yes here to support GPIO on Tohisba Visconti.
806
807 config GPIO_WCD934X
808 tristate "Qualcomm Technologies Inc WCD9340/WCD9341 GPIO controller driver"
809 depends on MFD_WCD934X && OF_GPIO
810 help
811 This driver is to support GPIO block found on the Qualcomm Technologies
812 Inc WCD9340/WCD9341 Audio Codec.
813
814 config GPIO_XGENE
815 bool "APM X-Gene GPIO controller support"
816 depends on ARM64 && OF_GPIO
817 help
818 This driver is to support the GPIO block within the APM X-Gene SoC
819 platform's generic flash controller. The GPIO pins are muxed with
820 the generic flash controller's address and data pins. Say yes
821 here to enable the GFC GPIO functionality.
822
823 config GPIO_XGENE_SB
824 tristate "APM X-Gene GPIO standby controller support"
825 depends on (ARCH_XGENE || COMPILE_TEST)
826 select GPIO_GENERIC
827 select GPIOLIB_IRQCHIP
828 select IRQ_DOMAIN_HIERARCHY
829 help
830 This driver supports the GPIO block within the APM X-Gene
831 Standby Domain. Say yes here to enable the GPIO functionality.
832
833 config GPIO_XILINX
834 tristate "Xilinx GPIO support"
835 select GPIOLIB_IRQCHIP
836 help
837 Say yes here to support the Xilinx FPGA GPIO device.
838
839 config GPIO_XLP
840 tristate "Cavium ThunderX2 GPIO support"
841 depends on ARCH_THUNDER2 || COMPILE_TEST
842 select GPIOLIB_IRQCHIP
843 help
844 This driver provides support for GPIO interface on Cavium's ThunderX2
845 CN99XX SoCs (Originally from Netlogic XLP).
846
847 If unsure, say N.
848
849 config GPIO_XTENSA
850 bool "Xtensa GPIO32 support"
851 depends on XTENSA
852 depends on HAVE_XTENSA_GPIO32
853 depends on !SMP
854 help
855 Say yes here to support the Xtensa internal GPIO32 IMPWIRE (input)
856 and EXPSTATE (output) ports.
857
858 config GPIO_ZEVIO
859 bool "LSI ZEVIO SoC memory mapped GPIOs"
860 depends on ARM
861 help
862 Say yes here to support the GPIO controller in LSI ZEVIO SoCs.
863
864 config GPIO_ZYNQ
865 tristate "Xilinx Zynq GPIO support"
866 depends on ARCH_ZYNQ || ARCH_ZYNQMP || COMPILE_TEST
867 select GPIOLIB_IRQCHIP
868 help
869 Say yes here to support Xilinx Zynq GPIO controller.
870
871 config GPIO_ZYNQMP_MODEPIN
872 tristate "ZynqMP ps-mode pin GPIO configuration driver"
873 depends on ZYNQMP_FIRMWARE || COMPILE_TEST
874 default ZYNQMP_FIRMWARE
875 help
876 Say yes here to support the ZynqMP ps-mode pin GPIO configuration
877 driver.
878
879 This ps-mode pin GPIO driver is based on GPIO framework. PS_MODE
880 is 4-bits boot mode pins. It sets and gets the status of
881 the ps-mode pin. Every pin can be configured as input/output.
882
883 config GPIO_LOONGSON1
884 tristate "Loongson1 GPIO support"
885 depends on MACH_LOONGSON32 || COMPILE_TEST
886 select GPIO_GENERIC
887 help
888 Say Y or M here to support GPIO on Loongson1 SoCs.
889
890 config GPIO_AMD_FCH
891 tristate "GPIO support for AMD Fusion Controller Hub (G-series SOCs)"
892 help
893 This option enables driver for GPIO on AMD's Fusion Controller Hub,
894 as found on G-series SOCs (e.g. GX-412TC).
895
896 Note: This driver doesn't register itself automatically, as it
897 needs to be provided with platform-specific configuration.
898 (See e.g. CONFIG_PCENGINES_APU2.)
899
900 config GPIO_MSC313
901 bool "MStar MSC313 GPIO support"
902 depends on ARCH_MSTARV7 || COMPILE_TEST
903 default ARCH_MSTARV7
904 select GPIOLIB_IRQCHIP
905 select IRQ_DOMAIN_HIERARCHY
906 help
907 Say Y here to support the main GPIO block on MStar/SigmaStar
908 ARMv7-based SoCs.
909
910 config GPIO_IDT3243X
911 tristate "IDT 79RC3243X GPIO support"
912 depends on MIKROTIK_RB532 || COMPILE_TEST
913 select GPIO_GENERIC
914 select GPIOLIB_IRQCHIP
915 help
916 Select this option to enable GPIO driver for
917 IDT 79RC3243X-based devices like Mikrotik RB532.
918
919 To compile this driver as a module, choose M here: the module will
920 be called gpio-idt3243x.
921
922 endmenu
923
924 menu "Port-mapped I/O GPIO drivers"
925 depends on X86 && HAS_IOPORT # I/O space access
926
927 config GPIO_VX855
928 tristate "VIA VX855/VX875 GPIO"
929 depends on PCI
930 select MFD_CORE
931 select MFD_VX855
932 help
933 Support access to the VX855/VX875 GPIO lines through the GPIO library.
934
935 This driver provides common support for accessing the device.
936 Additional drivers must be enabled in order to use the
937 functionality of the device.
938
939 config GPIO_I8255
940 tristate
941 select GPIO_REGMAP
942 help
943 Enables support for the i8255 interface library functions. The i8255
944 interface library provides functions to facilitate communication with
945 interfaces compatible with the venerable Intel 8255 Programmable
946 Peripheral Interface (PPI). The Intel 8255 PPI chip was first released
947 in the early 1970s but compatible interfaces are nowadays typically
948 found embedded in larger VLSI processing chips and FPGA components.
949
950 If built as a module its name will be gpio-i8255.
951
952 config GPIO_104_DIO_48E
953 tristate "ACCES 104-DIO-48E GPIO support"
954 depends on PC104
955 select ISA_BUS_API
956 select REGMAP_MMIO
957 select REGMAP_IRQ
958 select GPIOLIB_IRQCHIP
959 select GPIO_I8255
960 select I8254
961 help
962 Enables GPIO support for the ACCES 104-DIO-48E series (104-DIO-48E,
963 104-DIO-24E). The base port addresses for the devices may be
964 configured via the base module parameter. The interrupt line numbers
965 for the devices may be configured via the irq module parameter.
966
967 config GPIO_104_IDIO_16
968 tristate "ACCES 104-IDIO-16 GPIO support"
969 depends on PC104
970 select ISA_BUS_API
971 select REGMAP_MMIO
972 select GPIO_IDIO_16
973 help
974 Enables GPIO support for the ACCES 104-IDIO-16 family (104-IDIO-16,
975 104-IDIO-16E, 104-IDO-16, 104-IDIO-8, 104-IDIO-8E, 104-IDO-8). The
976 base port addresses for the devices may be configured via the base
977 module parameter. The interrupt line numbers for the devices may be
978 configured via the irq module parameter.
979
980 config GPIO_104_IDI_48
981 tristate "ACCES 104-IDI-48 GPIO support"
982 depends on PC104
983 select ISA_BUS_API
984 select REGMAP_MMIO
985 select REGMAP_IRQ
986 select GPIOLIB_IRQCHIP
987 select GPIO_REGMAP
988 help
989 Enables GPIO support for the ACCES 104-IDI-48 family (104-IDI-48A,
990 104-IDI-48AC, 104-IDI-48B, 104-IDI-48BC). The base port addresses for
991 the devices may be configured via the base module parameter. The
992 interrupt line numbers for the devices may be configured via the irq
993 module parameter.
994
995 config GPIO_F7188X
996 tristate "Fintek and Nuvoton Super-I/O GPIO support"
997 help
998 This option enables support for GPIOs found on Fintek Super-I/O
999 chips F71869, F71869A, F71882FG, F71889F and F81866.
1000 As well as Nuvoton Super-I/O chip NCT6126D.
1001
1002 To compile this driver as a module, choose M here: the module will
1003 be called f7188x-gpio.
1004
1005 config GPIO_GPIO_MM
1006 tristate "Diamond Systems GPIO-MM GPIO support"
1007 depends on PC104
1008 select ISA_BUS_API
1009 select REGMAP_MMIO
1010 select GPIO_I8255
1011 help
1012 Enables GPIO support for the Diamond Systems GPIO-MM and GPIO-MM-12.
1013
1014 The Diamond Systems GPIO-MM device features 48 lines of digital I/O
1015 via the emulation of dual 82C55A PPI chips. This driver provides GPIO
1016 support for these 48 channels of digital I/O.
1017
1018 The base port addresses for the devices may be configured via the base
1019 array module parameter.
1020
1021 config GPIO_IT87
1022 tristate "IT87xx GPIO support"
1023 help
1024 Say yes here to support GPIO functionality of IT87xx Super I/O chips.
1025
1026 This driver is tested with ITE IT8728 and IT8732 Super I/O chips, and
1027 supports the IT8761E, IT8613, IT8620E, and IT8628E Super I/O chips as
1028 well.
1029
1030 To compile this driver as a module, choose M here: the module will
1031 be called gpio_it87.
1032
1033 config GPIO_SCH
1034 tristate "Intel SCH/TunnelCreek/Centerton/Quark X1000 GPIO"
1035 depends on (X86 || COMPILE_TEST) && ACPI
1036 depends on LPC_SCH
1037 select GPIOLIB_IRQCHIP
1038 help
1039 Say yes here to support GPIO interface on Intel Poulsbo SCH,
1040 Intel Tunnel Creek processor, Intel Centerton processor or
1041 Intel Quark X1000 SoC.
1042
1043 The Intel SCH contains a total of 14 GPIO pins. Ten GPIOs are
1044 powered by the core power rail and are turned off during sleep
1045 modes (S3 and higher). The remaining four GPIOs are powered by
1046 the Intel SCH suspend power supply. These GPIOs remain
1047 active during S3. The suspend-powered GPIOs can be used to wake the
1048 system from the Suspend-to-RAM state.
1049
1050 The Intel Tunnel Creek processor has 5 GPIOs powered by the
1051 core power rail and 9 from suspend power supply.
1052
1053 The Intel Centerton processor has a total of 30 GPIO pins.
1054 Twenty-one are powered by the core power rail and 9 from the
1055 suspend power supply.
1056
1057 The Intel Quark X1000 SoC has 2 GPIOs powered by the core
1058 power well and 6 from the suspend power well.
1059
1060 config GPIO_SCH311X
1061 tristate "SMSC SCH311x SuperI/O GPIO"
1062 help
1063 Driver to enable the GPIOs found on SMSC SMSC SCH3112, SCH3114 and
1064 SCH3116 "Super I/O" chipsets.
1065
1066 To compile this driver as a module, choose M here: the module will
1067 be called gpio-sch311x.
1068
1069 config GPIO_TS5500
1070 tristate "TS-5500 DIO blocks and compatibles"
1071 depends on TS5500 || COMPILE_TEST
1072 help
1073 This driver supports Digital I/O exposed by pin blocks found on some
1074 Technologic Systems platforms. It includes, but is not limited to, 3
1075 blocks of the TS-5500: DIO1, DIO2 and the LCD port, and the TS-5600
1076 LCD port.
1077
1078 config GPIO_WINBOND
1079 tristate "Winbond Super I/O GPIO support"
1080 select ISA_BUS_API
1081 help
1082 This option enables support for GPIOs found on Winbond Super I/O
1083 chips.
1084 Currently, only W83627UHG (also known as Nuvoton NCT6627UD) is
1085 supported.
1086
1087 You will need to provide a module parameter "gpios", or a
1088 boot-time parameter "gpio_winbond.gpios" with a bitmask of GPIO
1089 ports to enable (bit 0 is GPIO1, bit 1 is GPIO2, etc.).
1090
1091 To compile this driver as a module, choose M here: the module will
1092 be called gpio-winbond.
1093
1094 config GPIO_WS16C48
1095 tristate "WinSystems WS16C48 GPIO support"
1096 select ISA_BUS_API
1097 select REGMAP_IRQ
1098 select REGMAP_MMIO
1099 select GPIOLIB_IRQCHIP
1100 select GPIO_REGMAP
1101 help
1102 Enables GPIO support for the WinSystems WS16C48. The base port
1103 addresses for the devices may be configured via the base module
1104 parameter. The interrupt line numbers for the devices may be
1105 configured via the irq module parameter.
1106
1107 endmenu
1108
1109 menu "I2C GPIO expanders"
1110 depends on I2C
1111
1112 config GPIO_ADNP
1113 tristate "Avionic Design N-bit GPIO expander"
1114 depends on OF_GPIO
1115 select GPIOLIB_IRQCHIP
1116 help
1117 This option enables support for N GPIOs found on Avionic Design
1118 I2C GPIO expanders. The register space will be extended by powers
1119 of two, so the controller will need to accommodate for that. For
1120 example: if a controller provides 48 pins, 6 registers will be
1121 enough to represent all pins, but the driver will assume a
1122 register layout for 64 pins (8 registers).
1123
1124 config GPIO_FXL6408
1125 tristate "FXL6408 I2C GPIO expander"
1126 select GPIO_REGMAP
1127 select REGMAP_I2C
1128 help
1129 GPIO driver for Fairchild Semiconductor FXL6408 GPIO expander.
1130
1131 To compile this driver as a module, choose M here: the module will
1132 be called gpio-fxl6408.
1133
1134 config GPIO_DS4520
1135 tristate "DS4520 I2C GPIO expander"
1136 select REGMAP_I2C
1137 select GPIO_REGMAP
1138 help
1139 GPIO driver for ADI DS4520 I2C-based GPIO expander.
1140 Say yes here to enable the GPIO driver for the ADI DS4520 chip.
1141
1142 To compile this driver as a module, choose M here: the module will
1143 be called gpio-ds4520.
1144
1145 config GPIO_GW_PLD
1146 tristate "Gateworks PLD GPIO Expander"
1147 depends on OF_GPIO
1148 help
1149 Say yes here to provide access to the Gateworks I2C PLD GPIO
1150 Expander. This is used at least on the Cambria GW2358-4.
1151
1152 config GPIO_MAX7300
1153 tristate "Maxim MAX7300 GPIO expander"
1154 select GPIO_MAX730X
1155 help
1156 GPIO driver for Maxim MAX7300 I2C-based GPIO expander.
1157
1158 config GPIO_MAX732X
1159 tristate "MAX7319, MAX7320-7327 I2C Port Expanders"
1160 help
1161 Say yes here to support the MAX7319, MAX7320-7327 series of I2C
1162 Port Expanders. Each IO port on these chips has a fixed role of
1163 Input (designated by 'I'), Push-Pull Output ('O'), or Open-Drain
1164 Input and Output (designed by 'P'). The combinations are listed
1165 below:
1166
1167 8 bits: max7319 (8I), max7320 (8O), max7321 (8P),
1168 max7322 (4I4O), max7323 (4P4O)
1169
1170 16 bits: max7324 (8I8O), max7325 (8P8O),
1171 max7326 (4I12O), max7327 (4P12O)
1172
1173 Board setup code must specify the model to use, and the start
1174 number for these GPIOs.
1175
1176 config GPIO_MAX732X_IRQ
1177 bool "Interrupt controller support for MAX732x"
1178 depends on GPIO_MAX732X=y
1179 select GPIOLIB_IRQCHIP
1180 help
1181 Say yes here to enable the max732x to be used as an interrupt
1182 controller. It requires the driver to be built in the kernel.
1183
1184 config GPIO_PCA953X
1185 tristate "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports"
1186 select REGMAP_I2C
1187 help
1188 Say yes here to provide access to several register-oriented
1189 SMBus I/O expanders, made mostly by NXP or TI. Compatible
1190 models include:
1191
1192 4 bits: pca9536, pca9537
1193
1194 8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554,
1195 pca9556, pca9557, pca9574, tca6408, tca9554, xra1202,
1196 pcal6408, pcal9554b, tca9538, tcal6408
1197
1198 16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575,
1199 tca6416, pca6416, pcal6416, pcal9535, pcal9555a, max7318,
1200 tca9539, tcal6416
1201
1202 18 bits: tca6418
1203
1204 24 bits: tca6424, pcal6524
1205
1206 40 bits: pca9505, pca9698, pca9506
1207
1208 config GPIO_PCA953X_IRQ
1209 bool "Interrupt controller support for PCA953x"
1210 depends on GPIO_PCA953X
1211 select GPIOLIB_IRQCHIP
1212 help
1213 Say yes here to enable the pca953x to be used as an interrupt
1214 controller.
1215
1216 config GPIO_PCA9570
1217 tristate "PCA9570 4-Bit I2C GPO expander"
1218 help
1219 Say yes here to enable the GPO driver for the NXP PCA9570 chip.
1220
1221 To compile this driver as a module, choose M here: the module will
1222 be called gpio-pca9570.
1223
1224 config GPIO_PCF857X
1225 tristate "PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders"
1226 select GPIOLIB_IRQCHIP
1227 select IRQ_DOMAIN
1228 help
1229 Say yes here to provide access to most "quasi-bidirectional" I2C
1230 GPIO expanders used for additional digital outputs or inputs.
1231 Most of these parts are from NXP, though TI is a second source for
1232 some of them. Compatible models include:
1233
1234 8 bits: pcf8574, pcf8574a, pca8574, pca8574a,
1235 pca9670, pca9672, pca9674, pca9674a,
1236 max7328, max7329
1237
1238 16 bits: pcf8575, pcf8575c, pca8575,
1239 pca9671, pca9673, pca9675
1240
1241 Your board setup code will need to declare the expanders in
1242 use, and assign numbers to the GPIOs they expose. Those GPIOs
1243 can then be used from drivers and other kernel code, just like
1244 other GPIOs, but only accessible from task contexts.
1245
1246 This driver provides an in-kernel interface to those GPIOs using
1247 platform-neutral GPIO calls.
1248
1249 config GPIO_TPIC2810
1250 tristate "TPIC2810 8-Bit I2C GPO expander"
1251 help
1252 Say yes here to enable the GPO driver for the TI TPIC2810 chip.
1253
1254 To compile this driver as a module, choose M here: the module will
1255 be called gpio-tpic2810.
1256
1257 config GPIO_TS4900
1258 tristate "Technologic Systems FPGA I2C GPIO"
1259 depends on SOC_IMX6 || COMPILE_TEST
1260 select REGMAP_I2C
1261 help
1262 Say yes here to enabled the GPIO driver for Technologic's FPGA core.
1263 Series supported include TS-4100, TS-4900, TS-7970 and TS-7990.
1264
1265 endmenu
1266
1267 menu "MFD GPIO expanders"
1268
1269 config GPIO_ADP5520
1270 tristate "GPIO Support for ADP5520 PMIC"
1271 depends on PMIC_ADP5520
1272 help
1273 This option enables support for on-chip GPIO found
1274 on Analog Devices ADP5520 PMICs.
1275
1276 config GPIO_ADP5585
1277 tristate "GPIO Support for ADP5585"
1278 depends on MFD_ADP5585
1279 select GPIOLIB_IRQCHIP
1280 help
1281 This option enables support for the GPIO function found in the Analog
1282 Devices ADP5585.
1283
1284 config GPIO_ALTERA_A10SR
1285 tristate "Altera Arria10 System Resource GPIO"
1286 depends on MFD_ALTERA_A10SR
1287 help
1288 Driver for Arria10 Development Kit GPIO expansion which
1289 includes reads of pushbuttons and DIP switches as well
1290 as writes to LEDs.
1291
1292 config GPIO_ARIZONA
1293 tristate "Wolfson Microelectronics Arizona class devices"
1294 depends on MFD_ARIZONA
1295 help
1296 Support for GPIOs on Wolfson Arizona class devices.
1297
1298 config GPIO_BD71815
1299 tristate "ROHM BD71815 PMIC GPIO support"
1300 depends on MFD_ROHM_BD71828
1301 help
1302 Support for GPO(s) on ROHM BD71815 PMIC. There are two GPOs
1303 available on the ROHM PMIC.
1304
1305 This driver can also be built as a module. If so, the module
1306 will be called gpio-bd71815.
1307
1308 config GPIO_BD71828
1309 tristate "ROHM BD71828 GPIO support"
1310 depends on MFD_ROHM_BD71828
1311 help
1312 Support for GPIOs on ROHM BD71828 PMIC. There are three GPIOs
1313 available on the ROHM PMIC in total. The GPIOs are limited to
1314 outputs only and pins must be configured to GPIO outputs by
1315 OTP. Enable this only if you want to use these pins as outputs.
1316
1317 This driver can also be built as a module. If so, the module
1318 will be called gpio-bd71828.
1319
1320 config GPIO_BD72720
1321 tristate "ROHM BD72720 and BD73900 PMIC GPIO support"
1322 depends on MFD_ROHM_BD71828
1323 help
1324 Support for GPIO on ROHM BD72720 and BD73900 PMICs. There are two
1325 pins which can be configured to GPI or GPO, and three pins which can
1326 be configured to GPO on the ROHM PMIC. The pin configuration is done
1327 on OTP at manufacturing.
1328
1329 config GPIO_BD9571MWV
1330 tristate "ROHM BD9571 GPIO support"
1331 depends on MFD_BD9571MWV
1332 help
1333 Support for GPIOs on ROHM BD9571 PMIC. There are two GPIOs
1334 available on the ROHM PMIC in total, both of which can also
1335 generate interrupts.
1336
1337 This driver can also be built as a module. If so, the module
1338 will be called gpio-bd9571mwv.
1339
1340 config GPIO_CGBC
1341 tristate "Congatec Board Controller GPIO support"
1342 depends on MFD_CGBC
1343 help
1344 Select this option to enable GPIO support for the Congatec Board
1345 Controller.
1346
1347 This driver can also be built as a module. If so, the module will be
1348 called gpio-cgbc.
1349
1350 config GPIO_CROS_EC
1351 tristate "ChromeOS EC GPIO support"
1352 depends on CROS_EC
1353 help
1354 GPIO driver for the ChromeOS Embedded Controller (EC). GPIOs
1355 cannot be set unless the system is unlocked.
1356
1357 This driver can also be built as a module. If so, the module
1358 will be called gpio-cros-ec.
1359
1360 config GPIO_CRYSTAL_COVE
1361 tristate "GPIO support for Crystal Cove PMIC"
1362 depends on (X86 || COMPILE_TEST) && INTEL_SOC_PMIC
1363 select GPIOLIB_IRQCHIP
1364 help
1365 Support for GPIO pins on Crystal Cove PMIC.
1366
1367 Say Yes if you have a Intel SoC-based tablet with Crystal Cove PMIC
1368 inside.
1369
1370 This driver can also be built as a module. If so, the module will be
1371 called gpio-crystalcove.
1372
1373 config GPIO_CS5535
1374 tristate "AMD CS5535/CS5536 GPIO support"
1375 depends on X86 || MIPS || COMPILE_TEST
1376 depends on MFD_CS5535
1377 help
1378 The AMD CS5535 and CS5536 southbridges support 28 GPIO pins that
1379 can be used for quite a number of things. The CS5535/6 is found on
1380 AMD Geode and Lemote Yeeloong devices.
1381
1382 If unsure, say N.
1383
1384 config GPIO_DA9052
1385 tristate "Dialog DA9052 GPIO"
1386 depends on PMIC_DA9052
1387 help
1388 Say yes here to enable the GPIO driver for the DA9052 chip.
1389
1390 config GPIO_DA9055
1391 tristate "Dialog Semiconductor DA9055 GPIO"
1392 depends on MFD_DA9055
1393 help
1394 Say yes here to enable the GPIO driver for the DA9055 chip.
1395
1396 The Dialog DA9055 PMIC chip has 3 GPIO pins that can be
1397 be controlled by this driver.
1398
1399 If driver is built as a module it will be called gpio-da9055.
1400
1401 config GPIO_DLN2
1402 tristate "Diolan DLN2 GPIO support"
1403 depends on MFD_DLN2
1404 select GPIOLIB_IRQCHIP
1405
1406 help
1407 Select this option to enable GPIO driver for the Diolan DLN2
1408 board.
1409
1410 This driver can also be built as a module. If so, the module
1411 will be called gpio-dln2.
1412
1413 config HTC_EGPIO
1414 bool "HTC EGPIO support"
1415 depends on ARM || COMPILE_TEST
1416 help
1417 This driver supports the CPLD egpio chip present on
1418 several HTC phones. It provides basic support for input
1419 pins, output pins, and IRQs.
1420
1421 config GPIO_ELKHARTLAKE
1422 tristate "Intel Elkhart Lake PSE GPIO support"
1423 depends on INTEL_EHL_PSE_IO
1424 select GPIO_TANGIER
1425 help
1426 Select this option to enable GPIO support for Intel Elkhart Lake
1427 PSE GPIO IP.
1428
1429 To compile this driver as a module, choose M here: the module will
1430 be called gpio-elkhartlake.
1431
1432 config GPIO_JANZ_TTL
1433 tristate "Janz VMOD-TTL Digital IO Module"
1434 depends on MFD_JANZ_CMODIO
1435 help
1436 This enables support for the Janz VMOD-TTL Digital IO module.
1437 This driver provides support for driving the pins in output
1438 mode only. Input mode is not supported.
1439
1440 config GPIO_KEMPLD
1441 tristate "Kontron ETX / COMexpress GPIO"
1442 depends on MFD_KEMPLD
1443 help
1444 This enables support for the PLD GPIO interface on some Kontron ETX
1445 and COMexpress (ETXexpress) modules.
1446
1447 This driver can also be built as a module. If so, the module will be
1448 called gpio-kempld.
1449
1450 config GPIO_LJCA
1451 tristate "INTEL La Jolla Cove Adapter GPIO support"
1452 depends on USB_LJCA
1453 select GPIOLIB_IRQCHIP
1454 default USB_LJCA
1455 help
1456 Select this option to enable GPIO driver for the INTEL
1457 La Jolla Cove Adapter (LJCA) board.
1458
1459 This driver can also be built as a module. If so, the module
1460 will be called gpio-ljca.
1461
1462 config GPIO_LP3943
1463 tristate "TI/National Semiconductor LP3943 GPIO expander"
1464 depends on MFD_LP3943
1465 help
1466 GPIO driver for LP3943 MFD.
1467 LP3943 can be used as a GPIO expander which provides up to 16 GPIOs.
1468 Open drain outputs are required for this usage.
1469
1470 config GPIO_LP873X
1471 tristate "TI LP873X GPO"
1472 depends on MFD_TI_LP873X
1473 help
1474 This driver supports the GPO on TI Lp873x PMICs. 2 GPOs are present
1475 on LP873X PMICs.
1476
1477 This driver can also be built as a module. If so, the module will be
1478 called gpio-lp873x.
1479
1480 config GPIO_LP87565
1481 tristate "TI LP87565 GPIO"
1482 depends on MFD_TI_LP87565
1483 help
1484 This driver supports the GPIO on TI Lp873565 PMICs. 3 GPIOs are present
1485 on LP87565 PMICs.
1486
1487 This driver can also be built as a module. If so, the module will be
1488 called gpio-lp87565.
1489
1490 config GPIO_MACSMC
1491 tristate "Apple Mac SMC GPIO"
1492 depends on MFD_MACSMC
1493 help
1494 Support for GPIOs controlled by the SMC microcontroller on Apple Mac
1495 systems.
1496
1497 This driver can also be built as a module. If so, the module will be
1498 called gpio-macsmc.
1499
1500 config GPIO_MADERA
1501 tristate "Cirrus Logic Madera class codecs"
1502 depends on PINCTRL_MADERA
1503 help
1504 Support for GPIOs on Cirrus Logic Madera class codecs.
1505
1506 config GPIO_MAX7360
1507 tristate "MAX7360 GPIO support"
1508 depends on MFD_MAX7360
1509 select GPIO_REGMAP
1510 select REGMAP_IRQ
1511 help
1512 Allows to use MAX7360 I/O Expander PWM lines as GPIO and keypad COL
1513 lines as GPO.
1514
1515 This driver can also be built as a module. If so, the module will be
1516 called gpio-max7360.
1517
1518 config GPIO_MAX77620
1519 tristate "GPIO support for PMIC MAX77620 and MAX20024"
1520 depends on MFD_MAX77620
1521 select GPIOLIB_IRQCHIP
1522 help
1523 GPIO driver for MAX77620 and MAX20024 PMIC from Maxim Semiconductor.
1524 MAX77620 PMIC has 8 pins that can be configured as GPIOs. The
1525 driver also provides interrupt support for each of the GPIOs.
1526 Say yes here to enable the max77620 to be used as GPIO controller.
1527
1528 config GPIO_MAX77650
1529 tristate "Maxim MAX77650/77651 GPIO support"
1530 depends on MFD_MAX77650
1531 help
1532 GPIO driver for MAX77650/77651 PMIC from Maxim Semiconductor.
1533 These chips have a single pin that can be configured as GPIO.
1534
1535 config GPIO_MAX77759
1536 tristate "Maxim Integrated MAX77759 GPIO support"
1537 depends on MFD_MAX77759
1538 default MFD_MAX77759
1539 select GPIOLIB_IRQCHIP
1540 help
1541 GPIO driver for MAX77759 PMIC from Maxim Integrated.
1542 There are two GPIOs available on these chips in total, both of
1543 which can also generate interrupts.
1544
1545 This driver can also be built as a module. If so, the module will be
1546 called gpio-max77759.
1547
1548 config GPIO_NCT6694
1549 tristate "Nuvoton NCT6694 GPIO controller support"
1550 depends on MFD_NCT6694
1551 select GENERIC_IRQ_CHIP
1552 select GPIOLIB_IRQCHIP
1553 help
1554 This driver supports 8 GPIO pins per bank that can all be interrupt
1555 sources.
1556
1557 This driver can also be built as a module. If so, the module will be
1558 called gpio-nct6694.
1559
1560 config GPIO_PALMAS
1561 tristate "TI PALMAS series PMICs GPIO"
1562 depends on MFD_PALMAS
1563 help
1564 Select this option to enable GPIO driver for the TI PALMAS
1565 series chip family.
1566
1567 config GPIO_PMIC_EIC_SPRD
1568 tristate "Spreadtrum PMIC EIC support"
1569 depends on MFD_SC27XX_PMIC || COMPILE_TEST
1570 depends on OF_GPIO
1571 select GPIOLIB_IRQCHIP
1572 help
1573 Say yes here to support Spreadtrum PMIC EIC device.
1574
1575 config GPIO_QIXIS_FPGA
1576 tristate "NXP QIXIS FPGA GPIO support"
1577 depends on MFD_SIMPLE_MFD_I2C || COMPILE_TEST
1578 select GPIO_REGMAP
1579 select REGMAP_MMIO
1580 help
1581 This enables support for the GPIOs found in the QIXIS FPGA which is
1582 integrated on some NXP Layerscape boards such as LX2160ARDB and
1583 LS1046AQDS.
1584
1585 config GPIO_RC5T583
1586 bool "RICOH RC5T583 GPIO"
1587 depends on MFD_RC5T583
1588 help
1589 Select this option to enable GPIO driver for the Ricoh RC5T583
1590 chip family.
1591 This driver provides the support for driving/reading the GPIO pins
1592 of RC5T583 device through standard GPIO library.
1593
1594 config GPIO_SL28CPLD
1595 tristate "Kontron sl28cpld GPIO support"
1596 depends on MFD_SL28CPLD || COMPILE_TEST
1597 select GPIO_REGMAP
1598 select GPIOLIB_IRQCHIP
1599 select REGMAP_IRQ
1600 help
1601 This enables support for the GPIOs found on the Kontron sl28 CPLD.
1602
1603 This driver can also be built as a module. If so, the module will be
1604 called gpio-sl28cpld.
1605
1606 config GPIO_STMPE
1607 tristate "STMPE GPIOs"
1608 depends on MFD_STMPE
1609 depends on OF_GPIO
1610 select GPIOLIB_IRQCHIP
1611 help
1612 This enables support for the GPIOs found on the STMPE I/O
1613 Expanders.
1614
1615 config GPIO_TC3589X
1616 bool "TC3589X GPIOs"
1617 depends on MFD_TC3589X
1618 depends on OF_GPIO
1619 select GPIOLIB_IRQCHIP
1620 help
1621 This enables support for the GPIOs found on the TC3589X
1622 I/O Expander.
1623
1624 config GPIO_TIMBERDALE
1625 bool "Support for timberdale GPIO IP"
1626 depends on MFD_TIMBERDALE
1627 select GPIOLIB_IRQCHIP
1628 help
1629 Add support for the GPIO IP in the timberdale FPGA.
1630
1631 config GPIO_TN48M_CPLD
1632 tristate "Delta Networks TN48M switch CPLD GPIO driver"
1633 depends on MFD_TN48M_CPLD || COMPILE_TEST
1634 select GPIO_REGMAP
1635 help
1636 This enables support for the GPIOs found on the Delta
1637 Networks TN48M switch Lattice CPLD. It provides 12 pins in total,
1638 they are input-only or output-only type.
1639
1640 This driver can also be built as a module. If so, the
1641 module will be called gpio-tn48m.
1642
1643 config GPIO_TPS65086
1644 tristate "TI TPS65086 GPO"
1645 depends on MFD_TPS65086
1646 help
1647 This driver supports the GPO on TI TPS65086x PMICs.
1648
1649 config GPIO_TPS65218
1650 tristate "TPS65218 GPIO"
1651 depends on MFD_TPS65218
1652 help
1653 Select this option to enable GPIO driver for the TPS65218
1654 chip family.
1655
1656 config GPIO_TPS65219
1657 tristate "TPS65219 GPIO"
1658 depends on MFD_TPS65219
1659 default MFD_TPS65219
1660 help
1661 Select this option to enable GPIO driver for the TPS65219 chip
1662 family.
1663 GPIO0 is statically configured as either input or output prior to
1664 Linux boot. It is used for MULTI_DEVICE_ENABLE function. This setting
1665 is statically configured by NVM. GPIO0 can't be used as a generic
1666 GPIO. It's either a GPO when MULTI_DEVICE_EN=0 or a GPI when
1667 MULTI_DEVICE_EN=1.
1668
1669 This driver can also be built as a module. If so, the module will be
1670 called gpio_tps65219.
1671
1672 config GPIO_TPS6586X
1673 bool "TPS6586X GPIO"
1674 depends on MFD_TPS6586X
1675 help
1676 Select this option to enable GPIO driver for the TPS6586X
1677 chip family.
1678
1679 config GPIO_TPS65910
1680 bool "TPS65910 GPIO"
1681 depends on MFD_TPS65910
1682 help
1683 Select this option to enable GPIO driver for the TPS65910
1684 chip family.
1685
1686 config GPIO_TPS65912
1687 tristate "TI TPS65912 GPIO"
1688 depends on MFD_TPS65912
1689 help
1690 This driver supports TPS65912 GPIO chip.
1691
1692 config GPIO_TPS68470
1693 tristate "TPS68470 GPIO"
1694 depends on INTEL_SKL_INT3472
1695 help
1696 Select this option to enable GPIO driver for the TPS68470
1697 chip family.
1698 There are 7 GPIOs and few sensor-related GPIOs supported
1699 by the TPS68470. While the 7 GPIOs can be configured as
1700 input or output as appropriate, the sensor related GPIOs
1701 are "output only" GPIOs.
1702
1703 config GPIO_TQMX86
1704 tristate "TQ-Systems TQMx86 GPIO"
1705 depends on MFD_TQMX86 || COMPILE_TEST
1706 depends on HAS_IOPORT_MAP
1707 select GPIOLIB_IRQCHIP
1708 help
1709 This driver supports GPIO on the TQMX86 IO controller.
1710
1711 config GPIO_TWL4030
1712 tristate "TWL4030, TWL5030, and TPS659x0 GPIOs"
1713 depends on TWL4030_CORE
1714 help
1715 Say yes here to access the GPIO signals of various multi-function
1716 power management chips from Texas Instruments.
1717
1718 config GPIO_TWL6040
1719 tristate "TWL6040 GPO"
1720 depends on TWL6040_CORE
1721 help
1722 Say yes here to access the GPO signals of twl6040
1723 audio chip from Texas Instruments.
1724
1725 config GPIO_WHISKEY_COVE
1726 tristate "GPIO support for Whiskey Cove PMIC"
1727 depends on (X86 || COMPILE_TEST) && INTEL_SOC_PMIC_BXTWC
1728 select GPIOLIB_IRQCHIP
1729 help
1730 Support for GPIO pins on Whiskey Cove PMIC.
1731
1732 Say Yes if you have an Intel SoC-based tablet with Whiskey Cove PMIC
1733 inside.
1734
1735 This driver can also be built as a module. If so, the module will be
1736 called gpio-wcove.
1737
1738 config GPIO_WM831X
1739 tristate "WM831x GPIOs"
1740 depends on MFD_WM831X
1741 help
1742 Say yes here to access the GPIO signals of WM831x power management
1743 chips from Wolfson Microelectronics.
1744
1745 config GPIO_WM8350
1746 tristate "WM8350 GPIOs"
1747 depends on MFD_WM8350
1748 help
1749 Say yes here to access the GPIO signals of WM8350 power management
1750 chips from Wolfson Microelectronics.
1751
1752 config GPIO_WM8994
1753 tristate "WM8994 GPIOs"
1754 depends on MFD_WM8994
1755 help
1756 Say yes here to access the GPIO signals of WM8994 audio hub
1757 CODECs from Wolfson Microelectronics.
1758
1759 endmenu
1760
1761 menu "PCI GPIO expanders"
1762 depends on PCI
1763
1764 config GPIO_AMD8111
1765 tristate "AMD 8111 GPIO driver"
1766 depends on X86 || COMPILE_TEST
1767 depends on HAS_IOPORT_MAP
1768 help
1769 The AMD 8111 southbridge contains 32 GPIO pins which can be used.
1770
1771 Note that usually system firmware/ACPI handles GPIO pins on their
1772 own and users might easily break their systems with uncareful usage
1773 of this driver!
1774
1775 If unsure, say N
1776
1777 config GPIO_BT8XX
1778 tristate "BT8XX GPIO abuser"
1779 depends on VIDEO_BT848=n || COMPILE_TEST
1780 help
1781 The BT8xx frame grabber chip has 24 GPIO pins that can be abused
1782 as a cheap PCI GPIO card.
1783
1784 This chip can be found on Miro, Hauppauge and STB TV-cards.
1785
1786 The card needs to be physically altered for using it as a
1787 GPIO card. For more information on how to build a GPIO card
1788 from a BT8xx TV card, see the documentation file at
1789 Documentation/driver-api/gpio/bt8xxgpio.rst
1790
1791 If unsure, say N.
1792
1793 config GPIO_MERRIFIELD
1794 tristate "Intel Merrifield GPIO support"
1795 depends on X86_INTEL_MID
1796 select GPIO_TANGIER
1797 help
1798 Say Y here to support Intel Merrifield GPIO.
1799
1800 config GPIO_MLXBF
1801 tristate "Mellanox BlueField SoC GPIO"
1802 depends on (MELLANOX_PLATFORM && ARM64 && ACPI) || (64BIT && COMPILE_TEST)
1803 select GPIO_GENERIC
1804 help
1805 Say Y here if you want GPIO support on Mellanox BlueField SoC.
1806
1807 config GPIO_MLXBF2
1808 tristate "Mellanox BlueField 2 SoC GPIO"
1809 depends on (MELLANOX_PLATFORM && ARM64 && ACPI) || (64BIT && COMPILE_TEST)
1810 select GPIO_GENERIC
1811 select GPIOLIB_IRQCHIP
1812 help
1813 Say Y here if you want GPIO support on Mellanox BlueField 2 SoC.
1814
1815 config GPIO_MLXBF3
1816 tristate "Mellanox BlueField 3 SoC GPIO"
1817 depends on (MELLANOX_PLATFORM && ARM64) || COMPILE_TEST
1818 select GPIO_GENERIC
1819 select GPIOLIB_IRQCHIP
1820 help
1821 Say Y if you want GPIO support on Mellanox BlueField 3 SoC.
1822 This GPIO controller supports interrupt handling and enables the
1823 manipulation of certain GPIO pins.
1824 This controller should be used in parallel with pinctrl-mlxbf3 to
1825 control the desired GPIOs.
1826 This driver can also be built as a module called mlxbf3-gpio.
1827
1828 config GPIO_ML_IOH
1829 tristate "OKI SEMICONDUCTOR ML7213 IOH GPIO support"
1830 depends on X86 || COMPILE_TEST
1831 select GENERIC_IRQ_CHIP
1832 help
1833 ML7213 is companion chip for Intel Atom E6xx series.
1834 This driver can be used for OKI SEMICONDUCTOR ML7213 IOH (Input/Output
1835 Hub) which is for IVI (In-Vehicle Infotainment) use.
1836 This driver can access the IOH's GPIO device.
1837
1838 config GPIO_PCH
1839 tristate "Intel EG20T PCH/LAPIS Semiconductor IOH (ML7223/ML7831) GPIO"
1840 depends on X86_32 || MIPS || COMPILE_TEST
1841 select GENERIC_IRQ_CHIP
1842 help
1843 This driver is for PCH (Platform Controller Hub) GPIO of Intel Topcliff,
1844 which is an IOH (Input/Output Hub) for x86 embedded processor.
1845 This driver can access PCH GPIO device.
1846
1847 This driver also can be used for LAPIS Semiconductor IOH (Input/
1848 Output Hub), ML7223 and ML7831.
1849 ML7223 IOH is for MP (Media Phone) use.
1850 ML7831 IOH is for general purpose use.
1851 ML7223/ML7831 is companion chip for Intel Atom E6xx series.
1852 ML7223/ML7831 is completely compatible for Intel EG20T PCH.
1853
1854 config GPIO_PCI_IDIO_16
1855 tristate "ACCES PCI-IDIO-16 GPIO support"
1856 select REGMAP_MMIO
1857 select GPIO_IDIO_16
1858 help
1859 Enables GPIO support for the ACCES PCI-IDIO-16. An interrupt is
1860 generated when any of the inputs change state (low to high or high to
1861 low). Input filter control is not supported by this driver, and the
1862 input filters are deactivated by this driver.
1863
1864 config GPIO_PCIE_IDIO_24
1865 tristate "ACCES PCIe-IDIO-24 GPIO support"
1866 select REGMAP_IRQ
1867 select REGMAP_MMIO
1868 select GPIOLIB_IRQCHIP
1869 select GPIO_REGMAP
1870 help
1871 Enables GPIO support for the ACCES PCIe-IDIO-24 family (PCIe-IDIO-24,
1872 PCIe-IDI-24, PCIe-IDO-24, PCIe-IDIO-12). An interrupt is generated
1873 when any of the inputs change state (low to high or high to low).
1874 Input filter control is not supported by this driver, and the input
1875 filters are deactivated by this driver.
1876
1877 config GPIO_RDC321X
1878 tristate "RDC R-321x GPIO support"
1879 select MFD_CORE
1880 select MFD_RDC321X
1881 help
1882 Support for the RDC R321x SoC GPIOs over southbridge
1883 PCI configuration space.
1884
1885 config GPIO_SODAVILLE
1886 bool "Intel Sodaville GPIO support"
1887 depends on X86 && OF
1888 select GPIO_GENERIC
1889 select GENERIC_IRQ_CHIP
1890 help
1891 Say Y here to support Intel Sodaville GPIO.
1892
1893 endmenu
1894
1895 menu "SPI GPIO expanders"
1896 depends on SPI_MASTER
1897
1898 config GPIO_74X164
1899 tristate "74x164 serial-in/parallel-out 8-bits shift register"
1900 help
1901 Driver for 74x164 compatible serial-in/parallel-out 8-outputs
1902 shift registers. This driver can be used to provide access
1903 to more GPIO outputs.
1904
1905 config GPIO_MAX3191X
1906 tristate "Maxim MAX3191x industrial serializer"
1907 select CRC8
1908 help
1909 GPIO driver for Maxim MAX31910, MAX31911, MAX31912, MAX31913,
1910 MAX31953 and MAX31963 industrial serializer, a daisy-chainable
1911 chip to make 8 digital 24V inputs available via SPI. Supports
1912 CRC checksums to guard against electromagnetic interference,
1913 as well as undervoltage and overtemperature detection.
1914
1915 config GPIO_MAX7301
1916 tristate "Maxim MAX7301 GPIO expander"
1917 select GPIO_MAX730X
1918 help
1919 GPIO driver for Maxim MAX7301 SPI-based GPIO expander.
1920
1921 config GPIO_MC33880
1922 tristate "Freescale MC33880 high-side/low-side switch"
1923 help
1924 SPI driver for Freescale MC33880 high-side/low-side switch.
1925 This provides GPIO interface supporting inputs and outputs.
1926
1927 config GPIO_PISOSR
1928 tristate "Generic parallel-in/serial-out shift register"
1929 help
1930 GPIO driver for SPI compatible parallel-in/serial-out shift
1931 registers. These are input only devices.
1932
1933 config GPIO_XRA1403
1934 tristate "EXAR XRA1403 16-bit GPIO expander"
1935 select REGMAP_SPI
1936 help
1937 GPIO driver for EXAR XRA1403 16-bit SPI-based GPIO expander.
1938
1939 config GPIO_MOXTET
1940 tristate "Turris Mox Moxtet bus GPIO expander"
1941 depends on MOXTET
1942 help
1943 Say yes here if you are building for the Turris Mox router.
1944 This is the driver needed for configuring the GPIOs via the Moxtet
1945 bus. For example the Mox module with SFP cage needs this driver
1946 so that phylink can use corresponding GPIOs.
1947
1948 endmenu
1949
1950 menu "USB GPIO expanders"
1951 depends on USB
1952
1953 config GPIO_VIPERBOARD
1954 tristate "Viperboard GPIO a & b support"
1955 depends on MFD_VIPERBOARD
1956 help
1957 Say yes here to access the GPIO signals of Nano River
1958 Technologies Viperboard. There are two GPIO chips on the
1959 board: gpioa and gpiob.
1960 See viperboard API specification and Nano
1961 River Tech's viperboard.h for detailed meaning
1962 of the module parameters.
1963
1964 config GPIO_MPSSE
1965 tristate "FTDI MPSSE GPIO support"
1966 select GPIOLIB_IRQCHIP
1967 help
1968 GPIO driver for FTDI's MPSSE interface. These can do input and
1969 output. Each MPSSE provides 16 IO pins.
1970
1971 config GPIO_USBIO
1972 tristate "Intel USBIO GPIO support"
1973 depends on USB_USBIO
1974 default USB_USBIO
1975 help
1976 Select this option to enable GPIO driver for the INTEL
1977 USBIO driver stack.
1978
1979 This driver can also be built as a module. If so, the module
1980 will be called gpio_usbio.
1981
1982 endmenu
1983
1984 menu "Virtual GPIO drivers"
1985
1986 config GPIO_AGGREGATOR
1987 tristate "GPIO Aggregator"
1988 select CONFIGFS_FS
1989 help
1990 Say yes here to enable the GPIO Aggregator, which provides a way to
1991 aggregate existing GPIO lines into a new virtual GPIO chip.
1992 This can serve the following purposes:
1993 - Assign permissions for a collection of GPIO lines to a user,
1994 - Export a collection of GPIO lines to a virtual machine,
1995 - Provide a generic driver for a GPIO-operated device in an
1996 industrial control context, to be operated from userspace using
1997 the GPIO chardev interface.
1998
1999 config GPIO_LATCH
2000 tristate "GPIO latch driver"
2001 help
2002 Say yes here to enable a driver for GPIO multiplexers based on latches
2003 connected to other GPIOs.
2004
2005 config GPIO_LINE_MUX
2006 tristate "GPIO line mux driver"
2007 depends on OF_GPIO
2008 select MULTIPLEXER
2009 help
2010 Say Y here to support the GPIO line mux, which can provide virtual
2011 GPIOs backed by a shared real GPIO and a multiplexer in a 1-to-many
2012 fashion.
2013
2014 config GPIO_MOCKUP
2015 tristate "GPIO Testing Driver (DEPRECATED)"
2016 select IRQ_SIM
2017 help
2018 This module is DEPRECATED. Please consider using gpio-sim instead.
2019
2020 This enables GPIO Testing driver, which provides a way to test GPIO
2021 subsystem through sysfs (or char device) and debugfs.
2022 User could use it through the script in
2023 tools/testing/selftests/gpio/gpio-mockup.sh. Reference the usage in
2024 it.
2025
2026 config GPIO_VIRTIO
2027 tristate "VirtIO GPIO support"
2028 depends on VIRTIO
2029 select GPIOLIB_IRQCHIP
2030 help
2031 Say Y here to enable guest support for virtio-based GPIO controllers.
2032
2033 These virtual GPIOs can be routed to real GPIOs or attached to
2034 simulators on the host (like QEMU).
2035
2036 config GPIO_SIM
2037 tristate "GPIO Simulator Module"
2038 select IRQ_SIM
2039 select CONFIGFS_FS
2040 select DEV_SYNC_PROBE
2041 help
2042 This enables the GPIO simulator - a configfs-based GPIO testing
2043 driver.
2044
2045 config GPIO_SHARED_PROXY
2046 tristate "Proxy driver for non-exclusive GPIOs"
2047 default m
2048 depends on GPIO_SHARED || COMPILE_TEST
2049 select AUXILIARY_BUS
2050 help
2051 This enables the GPIO shared proxy driver - an abstraction layer
2052 for GPIO pins that are shared by multiple devices.
2053
2054 endmenu
2055
2056 menu "GPIO Debugging utilities"
2057
2058 config GPIO_SLOPPY_LOGIC_ANALYZER
2059 tristate "Sloppy GPIO logic analyzer"
2060 depends on (GPIOLIB || COMPILE_TEST) && CPUSETS && DEBUG_FS && EXPERT
2061 help
2062 This option enables support for a sloppy logic analyzer using polled
2063 GPIOs. Use the 'tools/gpio/gpio-sloppy-logic-analyzer' script with
2064 this driver. The script will make it easier to use and will also
2065 isolate a CPU for the polling task. Note that this is a last resort
2066 analyzer which can be affected by latencies, non-deterministic code
2067 paths, or NMIs. However, for e.g. remote development, it may be useful
2068 to get a first view and aid further debugging.
2069
2070 If this driver is built as a module it will be called
2071 'gpio-sloppy-logic-analyzer'.
2072
2073 config GPIO_VIRTUSER
2074 tristate "GPIO Virtual User Testing Module"
2075 select DEBUG_FS
2076 select CONFIGFS_FS
2077 select IRQ_WORK
2078 select DEV_SYNC_PROBE
2079 help
2080 Say Y here to enable the configurable, configfs-based virtual GPIO
2081 consumer testing driver.
2082
2083 This driver is aimed as a helper in spotting any regressions in
2084 hot-unplug handling in GPIOLIB.
2085
2086 endmenu
2087
2088 endif
2089
2090 config DEV_SYNC_PROBE
2091 tristate