1 # SPDX-License-Identifier: GPL-2.0-only
3 # GPIO infrastructure and drivers
9 This enables GPIO support through the generic GPIO library.
10 You only need to enable this if you also want to enable
11 one or more of the GPIO drivers below.
17 config GPIOLIB_FASTPATH_LIMIT
18 int "Maximum number of GPIOs for fast path"
22 This adjusts the point at which certain APIs will switch from
23 using a stack allocated buffer to a dynamically allocated buffer.
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.
38 config GPIOLIB_IRQCHIP
43 bool "Debug GPIO calls"
44 depends on DEBUG_KERNEL
46 Say Y here to add some extra checks and diagnostics to GPIO calls.
47 These checks help ensure that GPIOs have been properly initialized
48 before they are used, and that sleeping calls are not made from
49 non-sleeping contexts. They can make bitbanged serial protocols
50 slower. The diagnostics help catch the type of setup errors
51 that are most common when setting up new platforms or boards.
54 bool "/sys/class/gpio/... (sysfs interface)" if EXPERT
56 select GPIO_CDEV # We need to encourage the new ABI
58 Say Y here to add the legacy sysfs interface for GPIOs.
60 This ABI is deprecated. If you want to use GPIO from userspace,
61 use the character device /dev/gpiochipN with the appropriate
62 ioctl() operations instead.
66 prompt "Character device (/dev/gpiochipN) support" if EXPERT
69 Say Y here to add the character device /dev/gpiochipN interface
70 for GPIOs. The character device allows userspace to control GPIOs
71 using ioctl() operations.
73 Only say N if you are sure that the GPIO character device is not
79 bool "Support GPIO ABI Version 1"
83 Say Y here to support version 1 of the GPIO CDEV ABI.
85 This ABI version is deprecated.
86 Please use the latest ABI for new developments.
91 depends on HAS_IOMEM # Only for IOMEM drivers
98 # put drivers in the right section, in alphabetical order
100 # This symbol is selected by both I2C and SPI expanders
107 Enables support for the idio-16 library functions. The idio-16 library
108 provides functions to facilitate communication with devices within the
109 ACCES IDIO-16 family such as the 104-IDIO-16 and the PCI-IDIO-16.
111 If built as a module its name will be gpio-idio-16.
113 menu "Memory mapped GPIO drivers"
116 config GPIO_74XX_MMIO
117 tristate "GPIO driver for 74xx-ICs with MMIO access"
121 Say yes here to support GPIO functionality for 74xx-compatible ICs
122 with MMIO access. Compatible models include:
123 1 bit: 741G125 (Input), 741G74 (Output)
124 2 bits: 742G125 (Input), 7474 (Output)
125 4 bits: 74125 (Input), 74175 (Output)
126 6 bits: 74365 (Input), 74174 (Output)
127 8 bits: 74244 (Input), 74273 (Output)
128 16 bits: 741624 (Input), 7416374 (Output)
131 tristate "Altera GPIO"
133 select GPIOLIB_IRQCHIP
135 Say Y or M here to build support for the Altera PIO device.
137 If driver is built as a module it will be called gpio-altera.
140 tristate "AMD Promontory GPIO support"
144 Driver for GPIO functionality on Promontory IOHub.
145 Requires ACPI ASL code to enumerate as a platform device.
148 tristate "Aspeed GPIO support"
149 depends on (ARCH_ASPEED || COMPILE_TEST) && OF_GPIO
150 select GPIOLIB_IRQCHIP
152 Say Y here to support Aspeed AST2400 and AST2500 GPIO controllers.
154 config GPIO_ASPEED_SGPIO
155 bool "Aspeed SGPIO support"
156 depends on (ARCH_ASPEED || COMPILE_TEST) && OF_GPIO
158 select GPIOLIB_IRQCHIP
160 Say Y here to support Aspeed AST2500 SGPIO functionality.
163 tristate "Atheros AR71XX/AR724X/AR913X GPIO support"
165 depends on ATH79 || COMPILE_TEST
167 select GPIOLIB_IRQCHIP
169 Select this option to enable GPIO driver for
170 Atheros AR71XX/AR724X/AR913X SoC devices.
172 config GPIO_RASPBERRYPI_EXP
173 tristate "Raspberry Pi 3 GPIO Expander"
174 default RASPBERRYPI_FIRMWARE
176 # Make sure not 'y' when RASPBERRYPI_FIRMWARE is 'm'. This can only
177 # happen when COMPILE_TEST=y, hence the added !RASPBERRYPI_FIRMWARE.
178 depends on (ARCH_BCM2835 && RASPBERRYPI_FIRMWARE) || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE)
180 Turn on GPIO support for the expander on Raspberry Pi 3 boards, using
181 the firmware mailbox to communicate with VideoCore on BCM283x chips.
184 bool "Broadcom Kona GPIO"
185 depends on OF_GPIO && (ARCH_BCM_MOBILE || COMPILE_TEST)
187 Turn on GPIO support for Broadcom "Kona" chips.
189 config GPIO_BCM_XGS_IPROC
190 tristate "BRCM XGS iProc GPIO support"
191 depends on OF_GPIO && (ARCH_BCM_IPROC || COMPILE_TEST)
193 select GPIOLIB_IRQCHIP
194 default ARCH_BCM_IPROC
196 Say yes here to enable GPIO support for Broadcom XGS iProc SoCs.
199 tristate "BRCMSTB GPIO support"
200 default y if (ARCH_BRCMSTB || BMIPS_GENERIC)
201 depends on OF_GPIO && (ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST)
205 Say yes here to enable GPIO support for Broadcom STB (BCM7XXX) SoCs.
208 tristate "Cadence GPIO support"
211 select GPIOLIB_IRQCHIP
213 Say yes here to enable support for Cadence GPIO controller.
216 tristate "CLPS711X GPIO support"
217 depends on ARCH_CLPS711X || COMPILE_TEST
220 Say yes here to support GPIO on CLPS711X SoCs.
223 tristate "TI Davinci/Keystone GPIO support"
224 default y if ARCH_DAVINCI
225 depends on (ARM || ARM64) && (ARCH_DAVINCI || ARCH_KEYSTONE || ARCH_K3)
227 Say yes here to enable GPIO support for TI Davinci/Keystone SoCs.
230 tristate "Synopsys DesignWare APB GPIO driver"
232 select GPIOLIB_IRQCHIP
234 Say Y or M here to build support for the Synopsys DesignWare APB
238 tristate "Spreadtrum EIC support"
239 depends on ARCH_SPRD || COMPILE_TEST
241 select GPIOLIB_IRQCHIP
243 Say yes here to support Spreadtrum EIC device.
246 tristate "Emma Mobile GPIO"
247 depends on (ARCH_EMEV2 || COMPILE_TEST) && OF_GPIO
249 Say yes here to support GPIO on Renesas Emma Mobile SoCs.
252 tristate "Airoha GPIO support"
253 depends on ARCH_AIROHA
256 select GPIOLIB_IRQCHIP
258 Say Y or M here to support the GPIO controller block on the
259 Airoha EN7523 SoC. It supports two banks of 32 GPIOs.
263 depends on ARCH_EP93XX
265 select GPIOLIB_IRQCHIP
268 tristate "Support for GPIO pins on XR17V352/354/358"
269 depends on SERIAL_8250_EXAR
272 Selecting this option will enable handling of GPIO pins present
273 on Exar XR17V352/354/358 chips.
276 bool "GE FPGA based GPIO"
280 Support for common GPIO functionality provided on some GE Single Board
283 This driver provides basic support (configure as input or output, read
284 and write pin state) for GPIO implemented in a number of GE single
287 config GPIO_FTGPIO010
288 bool "Faraday FTGPIO010 GPIO"
291 select GPIOLIB_IRQCHIP
292 default (ARCH_GEMINI || ARCH_MOXART)
294 Support for common GPIOs from the Faraday FTGPIO010 IP core, found in
295 Cortina systems Gemini platforms, Moxa ART and others.
297 config GPIO_GENERIC_PLATFORM
298 tristate "Generic memory-mapped GPIO controller support (MMIO platform device)"
301 Say yes here to support basic platform_device memory-mapped GPIO controllers.
304 tristate "Aeroflex Gaisler GRGPIO support"
309 Select this to support Aeroflex Gaisler GRGPIO cores from the GRLIB
310 VHDL IP core library.
313 tristate "HiSilicon GPIO controller driver"
314 depends on ARM64 || COMPILE_TEST
316 select GPIOLIB_IRQCHIP
318 Say Y or M here to build support for the HiSilicon GPIO controller
320 This GPIO controller supports double-edge interrupt and multi-core
324 tristate "Nintendo Wii (Hollywood) GPIO"
327 select GPIOLIB_IRQCHIP
329 Select this to support the GPIO controller of the Nintendo Wii.
334 tristate "Intel ICH GPIO"
338 Say yes here to support the GPIO functionality of a number of Intel
339 ICH-based chipsets. Currently supported devices: ICH6, ICH7, ICH8
340 ICH9, ICH10, Series 5/3400 (e.g. Ibex Peak), Series 6/C200 (e.g.
341 Cougar Point), NM10 (Tiger Point), and 3100 (Whitmore Lake).
350 bool "Intel IXP4xx GPIO"
351 depends on ARCH_IXP4XX
354 select GPIOLIB_IRQCHIP
355 select IRQ_DOMAIN_HIERARCHY
357 Say yes here to support the GPIO functionality of a number of Intel
358 IXP4xx series of chips.
363 tristate "Xylon LogiCVC GPIO support"
364 depends on MFD_SYSCON && OF
366 Say yes here to support GPIO functionality of the Xylon LogiCVC
367 programmable logic block.
370 bool "Loongson-2/3 GPIO support"
371 depends on CPU_LOONGSON2EF || CPU_LOONGSON64
373 Driver for GPIO functionality on Loongson-2F/3A/3B processors.
376 tristate "NXP LPC18XX/43XX GPIO support"
377 default y if ARCH_LPC18XX
378 depends on OF_GPIO && (ARCH_LPC18XX || COMPILE_TEST)
379 select IRQ_DOMAIN_HIERARCHY
381 Select this option to enable GPIO driver for
382 NXP LPC18XX/43XX devices.
385 tristate "NXP LPC32XX GPIO support"
386 depends on OF_GPIO && (ARCH_LPC32XX || COMPILE_TEST)
388 Select this option to enable GPIO driver for
392 tristate "GPIO support for Fujitsu MB86S7x Platforms"
394 Say yes here to support the GPIO controller in Fujitsu MB86S70 SoCs.
397 tristate "MEN 16Z127 GPIO support"
401 Say yes here to support the MEN 16Z127 GPIO Controller.
403 config GPIO_MM_LANTIQ
404 bool "Lantiq Memory mapped GPIOs"
405 depends on LANTIQ && SOC_XWAY
407 This enables support for memory mapped GPIOs on the External Bus Unit
408 (EBU) found on Lantiq SoCs. The GPIOs are output only as they are
409 created by attaching a 16-bit latch to the bus.
413 depends on PPC_MPC52xx
416 bool "MPC512x/MPC8xxx/QorIQ GPIO support"
417 depends on PPC_MPC512x || PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || \
418 FSL_SOC_BOOKE || PPC_86xx || ARCH_LAYERSCAPE || ARM || \
423 Say Y here if you're going to use hardware that connects to the
424 MPC512x/831x/834x/837x/8572/8610/QorIQ GPIOs.
427 bool "Mediatek MT7621 GPIO Support"
428 depends on SOC_MT7620 || SOC_MT7621 || COMPILE_TEST
431 select GPIOLIB_IRQCHIP
433 Say yes here to support the Mediatek MT7621 SoC GPIO device.
437 depends on PLAT_ORION || ARCH_MVEBU
439 select GENERIC_IRQ_CHIP
443 tristate "i.MX GPIO support"
444 depends on ARCH_MXC || COMPILE_TEST
446 select GENERIC_IRQ_CHIP
449 bool "Freescale MXS GPIO support" if COMPILE_TEST
450 depends on ARCH_MXS || COMPILE_TEST
451 default y if ARCH_MXS
453 select GENERIC_IRQ_CHIP
456 tristate "Cavium OCTEON GPIO"
457 depends on CAVIUM_OCTEON_SOC
460 Say yes here to support the on-chip GPIO lines on the OCTEON
464 tristate "TI OMAP GPIO support" if ARCH_OMAP2PLUS || COMPILE_TEST
465 default y if ARCH_OMAP
467 select GENERIC_IRQ_CHIP
468 select GPIOLIB_IRQCHIP
470 Say yes here to enable GPIO support for TI OMAP SoCs.
473 tristate "PrimeCell PL061 GPIO support"
476 select GPIOLIB_IRQCHIP
478 Say yes here to support the PrimeCell PL061 GPIO device.
480 config GPIO_PMIC_EIC_SPRD
481 tristate "Spreadtrum PMIC EIC support"
482 depends on MFD_SC27XX_PMIC || COMPILE_TEST
484 select GPIOLIB_IRQCHIP
486 Say yes here to support Spreadtrum PMIC EIC device.
489 bool "PXA GPIO support"
490 depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST
492 Say yes here to support the PXA GPIO device.
495 tristate "Renesas R-Car and RZ/G GPIO support"
496 depends on ARCH_RENESAS || COMPILE_TEST
497 select GPIOLIB_IRQCHIP
499 Say yes here to support GPIO on Renesas R-Car or RZ/G SoCs.
502 bool "RDA Micro GPIO controller support"
503 depends on ARCH_RDA || COMPILE_TEST
506 select GPIOLIB_IRQCHIP
508 Say Y here to support RDA Micro GPIO controller.
510 config GPIO_REALTEK_OTTO
511 tristate "Realtek Otto GPIO support"
512 depends on MACH_REALTEK_RTL
513 default MACH_REALTEK_RTL
515 select GPIOLIB_IRQCHIP
517 The GPIO controller on the Otto MIPS platform supports up to two
518 banks of 32 GPIOs, with edge triggered interrupts. The 32 GPIOs
519 are grouped in four 8-bit wide ports.
521 When built as a module, the module will be called realtek_otto_gpio.
526 A 32-bit single register GPIO fixed in/out implementation. This
527 can be used to represent any register as a set of GPIO signals.
530 tristate "Rockchip GPIO support"
531 depends on ARCH_ROCKCHIP || COMPILE_TEST
532 select GENERIC_IRQ_CHIP
533 select GPIOLIB_IRQCHIP
534 default ARCH_ROCKCHIP
536 Say yes here to support GPIO on Rockchip SoCs.
538 config GPIO_SAMA5D2_PIOBU
539 tristate "SAMA5D2 PIOBU GPIO support"
540 depends on MFD_SYSCON
542 depends on ARCH_AT91 || COMPILE_TEST
545 Say yes here to use the PIOBU pins as GPIOs.
547 PIOBU pins on the SAMA5D2 can be used as GPIOs.
548 The difference from regular GPIOs is that they
549 maintain their value during backup/self-refresh.
552 bool "SiFive GPIO support"
554 select IRQ_DOMAIN_HIERARCHY
556 select GPIOLIB_IRQCHIP
559 Say yes here to support the GPIO device on SiFive SoCs.
562 tristate "SIOX GPIO support"
564 select GPIOLIB_IRQCHIP
566 Say yes here to support SIOX I/O devices. These are units connected
567 via a SIOX bus and have a number of fixed-direction I/O lines.
569 config GPIO_SNPS_CREG
570 bool "Synopsys GPIO via CREG (Control REGisters) driver"
571 depends on ARC || COMPILE_TEST
574 This driver supports GPIOs via CREG on various Synopsys SoCs.
575 This is a single-register MMIO GPIO driver for complex cases
576 where only several fields in register belong to GPIO lines and
577 each GPIO line owns a field with different length and on/off value.
579 config GPIO_SPEAR_SPICS
580 bool "ST SPEAr13xx SPI Chip Select as GPIO support"
581 depends on PLAT_SPEAR
582 select GENERIC_IRQ_CHIP
584 Say yes here to support ST SPEAr SPI Chip Select as GPIO device.
587 tristate "Spreadtrum GPIO support"
588 depends on ARCH_SPRD || COMPILE_TEST
590 select GPIOLIB_IRQCHIP
592 Say yes here to support Spreadtrum GPIO device.
595 bool "XWAY STP GPIOs"
596 depends on SOC_XWAY || COMPILE_TEST
599 This enables support for the Serial To Parallel (STP) unit found on
600 XWAY SoC. The STP allows the SoC to drive a shift registers cascade,
601 that can be up to 24 bits. This peripheral is aimed at driving LEDs.
602 Some of the GPIOs/LEDs can be auto updated by the SoC with DSL and
606 tristate "GPIO based on SYSCON"
607 depends on MFD_SYSCON && OF
609 Say yes here to support GPIO functionality though SYSCON driver.
614 select GENERIC_IRQ_CHIP
618 tristate "NVIDIA Tegra GPIO support"
620 depends on ARCH_TEGRA || COMPILE_TEST
622 select GPIOLIB_IRQCHIP
623 select IRQ_DOMAIN_HIERARCHY
625 Say yes here to support GPIO pins on NVIDIA Tegra SoCs.
628 tristate "NVIDIA Tegra186 GPIO support"
629 default ARCH_TEGRA_186_SOC || ARCH_TEGRA_194_SOC
630 depends on ARCH_TEGRA_186_SOC || ARCH_TEGRA_194_SOC || COMPILE_TEST
632 select GPIOLIB_IRQCHIP
633 select IRQ_DOMAIN_HIERARCHY
635 Say yes here to support GPIO pins on NVIDIA Tegra186 SoCs.
638 tristate "TS-4800 DIO blocks and compatibles"
640 depends on SOC_IMX51 || COMPILE_TEST
643 This driver support TS-4800 FPGA GPIO controllers.
646 tristate "Cavium ThunderX/OCTEON-TX GPIO"
647 depends on ARCH_THUNDER || (64BIT && COMPILE_TEST)
649 select GPIOLIB_IRQCHIP
650 select IRQ_DOMAIN_HIERARCHY
651 select IRQ_FASTEOI_HIERARCHY_HANDLERS
653 Say yes here to support the on-chip GPIO lines on the ThunderX
654 and OCTEON-TX families of SoCs.
657 tristate "UniPhier GPIO support"
658 depends on ARCH_UNIPHIER || COMPILE_TEST
660 select IRQ_DOMAIN_HIERARCHY
662 Say yes here to support UniPhier GPIOs.
667 select GPIOLIB_IRQCHIP
669 Say yes here to support i.MX or Vybrid vf610 GPIOs.
672 tristate "Toshiba Visconti GPIO support"
673 depends on ARCH_VISCONTI || COMPILE_TEST
675 select GPIOLIB_IRQCHIP
677 select IRQ_DOMAIN_HIERARCHY
679 Say yes here to support GPIO on Tohisba Visconti.
682 tristate "VIA VX855/VX875 GPIO"
683 depends on (X86 || COMPILE_TEST) && PCI
687 Support access to the VX855/VX875 GPIO lines through the GPIO library.
689 This driver provides common support for accessing the device.
690 Additional drivers must be enabled in order to use the
691 functionality of the device.
694 tristate "Qualcomm Technologies Inc WCD9340/WCD9341 GPIO controller driver"
695 depends on MFD_WCD934X && OF_GPIO
697 This driver is to support GPIO block found on the Qualcomm Technologies
698 Inc WCD9340/WCD9341 Audio Codec.
701 bool "APM X-Gene GPIO controller support"
702 depends on ARM64 && OF_GPIO
704 This driver is to support the GPIO block within the APM X-Gene SoC
705 platform's generic flash controller. The GPIO pins are muxed with
706 the generic flash controller's address and data pins. Say yes
707 here to enable the GFC GPIO functionality.
710 tristate "APM X-Gene GPIO standby controller support"
711 depends on (ARCH_XGENE || COMPILE_TEST)
713 select GPIOLIB_IRQCHIP
714 select IRQ_DOMAIN_HIERARCHY
716 This driver supports the GPIO block within the APM X-Gene
717 Standby Domain. Say yes here to enable the GPIO functionality.
720 tristate "Xilinx GPIO support"
721 select GPIOLIB_IRQCHIP
724 Say yes here to support the Xilinx FPGA GPIO device.
727 tristate "Cavium ThunderX2 GPIO support"
728 depends on ARCH_THUNDER2 || COMPILE_TEST
729 select GPIOLIB_IRQCHIP
731 This driver provides support for GPIO interface on Cavium's ThunderX2
732 CN99XX SoCs (Originally from Netlogic XLP).
737 bool "Xtensa GPIO32 support"
739 depends on HAVE_XTENSA_GPIO32
742 Say yes here to support the Xtensa internal GPIO32 IMPWIRE (input)
743 and EXPSTATE (output) ports.
746 bool "LSI ZEVIO SoC memory mapped GPIOs"
749 Say yes here to support the GPIO controller in LSI ZEVIO SoCs.
752 tristate "Xilinx Zynq GPIO support"
753 depends on ARCH_ZYNQ || ARCH_ZYNQMP
754 select GPIOLIB_IRQCHIP
756 Say yes here to support Xilinx Zynq GPIO controller.
758 config GPIO_ZYNQMP_MODEPIN
759 tristate "ZynqMP ps-mode pin GPIO configuration driver"
760 depends on ZYNQMP_FIRMWARE
761 default ZYNQMP_FIRMWARE
763 Say yes here to support the ZynqMP ps-mode pin GPIO configuration
766 This ps-mode pin GPIO driver is based on GPIO framework. PS_MODE
767 is 4-bits boot mode pins. It sets and gets the status of
768 the ps-mode pin. Every pin can be configured as input/output.
770 config GPIO_LOONGSON1
771 tristate "Loongson1 GPIO support"
772 depends on MACH_LOONGSON32
775 Say Y or M here to support GPIO on Loongson1 SoCs.
778 tristate "GPIO support for AMD Fusion Controller Hub (G-series SOCs)"
780 This option enables driver for GPIO on AMD's Fusion Controller Hub,
781 as found on G-series SOCs (e.g. GX-412TC).
783 Note: This driver doesn't register itself automatically, as it
784 needs to be provided with platform-specific configuration.
785 (See e.g. CONFIG_PCENGINES_APU2.)
788 bool "MStar MSC313 GPIO support"
789 depends on ARCH_MSTARV7
791 select GPIOLIB_IRQCHIP
792 select IRQ_DOMAIN_HIERARCHY
794 Say Y here to support the main GPIO block on MStar/SigmaStar
798 tristate "IDT 79RC3243X GPIO support"
799 depends on MIKROTIK_RB532 || COMPILE_TEST
801 select GPIOLIB_IRQCHIP
803 Select this option to enable GPIO driver for
804 IDT 79RC3243X-based devices like Mikrotik RB532.
806 To compile this driver as a module, choose M here: the module will
807 be called gpio-idt3243x.
811 menu "Port-mapped I/O GPIO drivers"
812 depends on X86 # Unconditional I/O space access
818 Enables support for the i8255 interface library functions. The i8255
819 interface library provides functions to facilitate communication with
820 interfaces compatible with the venerable Intel 8255 Programmable
821 Peripheral Interface (PPI). The Intel 8255 PPI chip was first released
822 in the early 1970s but compatible interfaces are nowadays typically
823 found embedded in larger VLSI processing chips and FPGA components.
825 If built as a module its name will be gpio-i8255.
827 config GPIO_104_DIO_48E
828 tristate "ACCES 104-DIO-48E GPIO support"
833 select GPIOLIB_IRQCHIP
836 Enables GPIO support for the ACCES 104-DIO-48E series (104-DIO-48E,
837 104-DIO-24E). The base port addresses for the devices may be
838 configured via the base module parameter. The interrupt line numbers
839 for the devices may be configured via the irq module parameter.
841 config GPIO_104_IDIO_16
842 tristate "ACCES 104-IDIO-16 GPIO support"
845 select GPIOLIB_IRQCHIP
848 Enables GPIO support for the ACCES 104-IDIO-16 family (104-IDIO-16,
849 104-IDIO-16E, 104-IDO-16, 104-IDIO-8, 104-IDIO-8E, 104-IDO-8). The
850 base port addresses for the devices may be configured via the base
851 module parameter. The interrupt line numbers for the devices may be
852 configured via the irq module parameter.
854 config GPIO_104_IDI_48
855 tristate "ACCES 104-IDI-48 GPIO support"
860 select GPIOLIB_IRQCHIP
863 Enables GPIO support for the ACCES 104-IDI-48 family (104-IDI-48A,
864 104-IDI-48AC, 104-IDI-48B, 104-IDI-48BC). The base port addresses for
865 the devices may be configured via the base module parameter. The
866 interrupt line numbers for the devices may be configured via the irq
870 tristate "Fintek and Nuvoton Super-I/O GPIO support"
872 This option enables support for GPIOs found on Fintek Super-I/O
873 chips F71869, F71869A, F71882FG, F71889F and F81866.
874 As well as Nuvoton Super-I/O chip NCT6116D.
876 To compile this driver as a module, choose M here: the module will
877 be called f7188x-gpio.
880 tristate "Diamond Systems GPIO-MM GPIO support"
886 Enables GPIO support for the Diamond Systems GPIO-MM and GPIO-MM-12.
888 The Diamond Systems GPIO-MM device features 48 lines of digital I/O
889 via the emulation of dual 82C55A PPI chips. This driver provides GPIO
890 support for these 48 channels of digital I/O.
892 The base port addresses for the devices may be configured via the base
893 array module parameter.
896 tristate "IT87xx GPIO support"
898 Say yes here to support GPIO functionality of IT87xx Super I/O chips.
900 This driver is tested with ITE IT8728 and IT8732 Super I/O chips, and
901 supports the IT8761E, IT8613, IT8620E, and IT8628E Super I/O chips as
904 To compile this driver as a module, choose M here: the module will
908 tristate "Intel SCH/TunnelCreek/Centerton/Quark X1000 GPIO"
909 depends on (X86 || COMPILE_TEST) && ACPI
911 select GPIOLIB_IRQCHIP
913 Say yes here to support GPIO interface on Intel Poulsbo SCH,
914 Intel Tunnel Creek processor, Intel Centerton processor or
915 Intel Quark X1000 SoC.
917 The Intel SCH contains a total of 14 GPIO pins. Ten GPIOs are
918 powered by the core power rail and are turned off during sleep
919 modes (S3 and higher). The remaining four GPIOs are powered by
920 the Intel SCH suspend power supply. These GPIOs remain
921 active during S3. The suspend-powered GPIOs can be used to wake the
922 system from the Suspend-to-RAM state.
924 The Intel Tunnel Creek processor has 5 GPIOs powered by the
925 core power rail and 9 from suspend power supply.
927 The Intel Centerton processor has a total of 30 GPIO pins.
928 Twenty-one are powered by the core power rail and 9 from the
929 suspend power supply.
931 The Intel Quark X1000 SoC has 2 GPIOs powered by the core
932 power well and 6 from the suspend power well.
935 tristate "SMSC SCH311x SuperI/O GPIO"
937 Driver to enable the GPIOs found on SMSC SMSC SCH3112, SCH3114 and
938 SCH3116 "Super I/O" chipsets.
940 To compile this driver as a module, choose M here: the module will
941 be called gpio-sch311x.
944 tristate "TS-5500 DIO blocks and compatibles"
945 depends on TS5500 || COMPILE_TEST
947 This driver supports Digital I/O exposed by pin blocks found on some
948 Technologic Systems platforms. It includes, but is not limited to, 3
949 blocks of the TS-5500: DIO1, DIO2 and the LCD port, and the TS-5600
953 tristate "Winbond Super I/O GPIO support"
956 This option enables support for GPIOs found on Winbond Super I/O
958 Currently, only W83627UHG (also known as Nuvoton NCT6627UD) is
961 You will need to provide a module parameter "gpios", or a
962 boot-time parameter "gpio_winbond.gpios" with a bitmask of GPIO
963 ports to enable (bit 0 is GPIO1, bit 1 is GPIO2, etc.).
965 To compile this driver as a module, choose M here: the module will
966 be called gpio-winbond.
969 tristate "WinSystems WS16C48 GPIO support"
971 select GPIOLIB_IRQCHIP
973 Enables GPIO support for the WinSystems WS16C48. The base port
974 addresses for the devices may be configured via the base module
975 parameter. The interrupt line numbers for the devices may be
976 configured via the irq module parameter.
980 menu "I2C GPIO expanders"
984 tristate "Avionic Design N-bit GPIO expander"
986 select GPIOLIB_IRQCHIP
988 This option enables support for N GPIOs found on Avionic Design
989 I2C GPIO expanders. The register space will be extended by powers
990 of two, so the controller will need to accommodate for that. For
991 example: if a controller provides 48 pins, 6 registers will be
992 enough to represent all pins, but the driver will assume a
993 register layout for 64 pins (8 registers).
996 tristate "Gateworks PLD GPIO Expander"
999 Say yes here to provide access to the Gateworks I2C PLD GPIO
1000 Expander. This is used at least on the Cambria GW2358-4.
1003 tristate "Maxim MAX7300 GPIO expander"
1006 GPIO driver for Maxim MAX7300 I2C-based GPIO expander.
1009 tristate "MAX7319, MAX7320-7327 I2C Port Expanders"
1011 Say yes here to support the MAX7319, MAX7320-7327 series of I2C
1012 Port Expanders. Each IO port on these chips has a fixed role of
1013 Input (designated by 'I'), Push-Pull Output ('O'), or Open-Drain
1014 Input and Output (designed by 'P'). The combinations are listed
1017 8 bits: max7319 (8I), max7320 (8O), max7321 (8P),
1018 max7322 (4I4O), max7323 (4P4O)
1020 16 bits: max7324 (8I8O), max7325 (8P8O),
1021 max7326 (4I12O), max7327 (4P12O)
1023 Board setup code must specify the model to use, and the start
1024 number for these GPIOs.
1026 config GPIO_MAX732X_IRQ
1027 bool "Interrupt controller support for MAX732x"
1028 depends on GPIO_MAX732X=y
1029 select GPIOLIB_IRQCHIP
1031 Say yes here to enable the max732x to be used as an interrupt
1032 controller. It requires the driver to be built in the kernel.
1035 tristate "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports"
1038 Say yes here to provide access to several register-oriented
1039 SMBus I/O expanders, made mostly by NXP or TI. Compatible
1042 4 bits: pca9536, pca9537
1044 8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554,
1045 pca9556, pca9557, pca9574, tca6408, tca9554, xra1202
1047 16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575,
1052 40 bits: pca9505, pca9698
1054 config GPIO_PCA953X_IRQ
1055 bool "Interrupt controller support for PCA953x"
1056 depends on GPIO_PCA953X
1057 select GPIOLIB_IRQCHIP
1059 Say yes here to enable the pca953x to be used as an interrupt
1063 tristate "PCA9570 4-Bit I2C GPO expander"
1065 Say yes here to enable the GPO driver for the NXP PCA9570 chip.
1067 To compile this driver as a module, choose M here: the module will
1068 be called gpio-pca9570.
1071 tristate "PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders"
1072 select GPIOLIB_IRQCHIP
1075 Say yes here to provide access to most "quasi-bidirectional" I2C
1076 GPIO expanders used for additional digital outputs or inputs.
1077 Most of these parts are from NXP, though TI is a second source for
1078 some of them. Compatible models include:
1080 8 bits: pcf8574, pcf8574a, pca8574, pca8574a,
1081 pca9670, pca9672, pca9674, pca9674a,
1084 16 bits: pcf8575, pcf8575c, pca8575,
1085 pca9671, pca9673, pca9675
1087 Your board setup code will need to declare the expanders in
1088 use, and assign numbers to the GPIOs they expose. Those GPIOs
1089 can then be used from drivers and other kernel code, just like
1090 other GPIOs, but only accessible from task contexts.
1092 This driver provides an in-kernel interface to those GPIOs using
1093 platform-neutral GPIO calls.
1095 config GPIO_TPIC2810
1096 tristate "TPIC2810 8-Bit I2C GPO expander"
1098 Say yes here to enable the GPO driver for the TI TPIC2810 chip.
1100 To compile this driver as a module, choose M here: the module will
1101 be called gpio-tpic2810.
1104 tristate "Technologic Systems FPGA I2C GPIO"
1105 depends on SOC_IMX6 || COMPILE_TEST
1108 Say yes here to enabled the GPIO driver for Technologic's FPGA core.
1109 Series supported include TS-4100, TS-4900, TS-7970 and TS-7990.
1113 menu "MFD GPIO expanders"
1116 tristate "GPIO Support for ADP5520 PMIC"
1117 depends on PMIC_ADP5520
1119 This option enables support for on-chip GPIO found
1120 on Analog Devices ADP5520 PMICs.
1122 config GPIO_ALTERA_A10SR
1123 tristate "Altera Arria10 System Resource GPIO"
1124 depends on MFD_ALTERA_A10SR
1126 Driver for Arria10 Development Kit GPIO expansion which
1127 includes reads of pushbuttons and DIP switches as well
1131 tristate "Wolfson Microelectronics Arizona class devices"
1132 depends on MFD_ARIZONA
1134 Support for GPIOs on Wolfson Arizona class devices.
1137 tristate "ROHM BD71815 PMIC GPIO support"
1138 depends on MFD_ROHM_BD71828
1140 Support for GPO(s) on ROHM BD71815 PMIC. There are two GPOs
1141 available on the ROHM PMIC.
1143 This driver can also be built as a module. If so, the module
1144 will be called gpio-bd71815.
1147 tristate "ROHM BD71828 GPIO support"
1148 depends on MFD_ROHM_BD71828
1150 Support for GPIOs on ROHM BD71828 PMIC. There are three GPIOs
1151 available on the ROHM PMIC in total. The GPIOs are limited to
1152 outputs only and pins must be configured to GPIO outputs by
1153 OTP. Enable this only if you want to use these pins as outputs.
1155 This driver can also be built as a module. If so, the module
1156 will be called gpio-bd71828.
1158 config GPIO_BD9571MWV
1159 tristate "ROHM BD9571 GPIO support"
1160 depends on MFD_BD9571MWV
1162 Support for GPIOs on ROHM BD9571 PMIC. There are two GPIOs
1163 available on the ROHM PMIC in total, both of which can also
1164 generate interrupts.
1166 This driver can also be built as a module. If so, the module
1167 will be called gpio-bd9571mwv.
1169 config GPIO_CRYSTAL_COVE
1170 tristate "GPIO support for Crystal Cove PMIC"
1171 depends on (X86 || COMPILE_TEST) && INTEL_SOC_PMIC
1172 select GPIOLIB_IRQCHIP
1174 Support for GPIO pins on Crystal Cove PMIC.
1176 Say Yes if you have a Intel SoC-based tablet with Crystal Cove PMIC
1179 This driver can also be built as a module. If so, the module will be
1180 called gpio-crystalcove.
1183 tristate "AMD CS5535/CS5536 GPIO support"
1184 depends on X86 || MIPS || COMPILE_TEST
1185 depends on MFD_CS5535
1187 The AMD CS5535 and CS5536 southbridges support 28 GPIO pins that
1188 can be used for quite a number of things. The CS5535/6 is found on
1189 AMD Geode and Lemote Yeeloong devices.
1194 tristate "Dialog DA9052 GPIO"
1195 depends on PMIC_DA9052
1197 Say yes here to enable the GPIO driver for the DA9052 chip.
1200 tristate "Dialog Semiconductor DA9055 GPIO"
1201 depends on MFD_DA9055
1203 Say yes here to enable the GPIO driver for the DA9055 chip.
1205 The Dialog DA9055 PMIC chip has 3 GPIO pins that can be
1206 be controlled by this driver.
1208 If driver is built as a module it will be called gpio-da9055.
1211 tristate "Diolan DLN2 GPIO support"
1213 select GPIOLIB_IRQCHIP
1216 Select this option to enable GPIO driver for the Diolan DLN2
1219 This driver can also be built as a module. If so, the module
1220 will be called gpio-dln2.
1223 bool "HTC EGPIO support"
1226 This driver supports the CPLD egpio chip present on
1227 several HTC phones. It provides basic support for input
1228 pins, output pins, and IRQs.
1230 config GPIO_JANZ_TTL
1231 tristate "Janz VMOD-TTL Digital IO Module"
1232 depends on MFD_JANZ_CMODIO
1234 This enables support for the Janz VMOD-TTL Digital IO module.
1235 This driver provides support for driving the pins in output
1236 mode only. Input mode is not supported.
1239 tristate "Kontron ETX / COMexpress GPIO"
1240 depends on MFD_KEMPLD
1242 This enables support for the PLD GPIO interface on some Kontron ETX
1243 and COMexpress (ETXexpress) modules.
1245 This driver can also be built as a module. If so, the module will be
1249 tristate "TI/National Semiconductor LP3943 GPIO expander"
1250 depends on MFD_LP3943
1252 GPIO driver for LP3943 MFD.
1253 LP3943 can be used as a GPIO expander which provides up to 16 GPIOs.
1254 Open drain outputs are required for this usage.
1257 tristate "TI LP873X GPO"
1258 depends on MFD_TI_LP873X
1260 This driver supports the GPO on TI Lp873x PMICs. 2 GPOs are present
1263 This driver can also be built as a module. If so, the module will be
1267 tristate "TI LP87565 GPIO"
1268 depends on MFD_TI_LP87565
1270 This driver supports the GPIO on TI Lp873565 PMICs. 3 GPIOs are present
1273 This driver can also be built as a module. If so, the module will be
1274 called gpio-lp87565.
1277 tristate "Cirrus Logic Madera class codecs"
1278 depends on PINCTRL_MADERA
1280 Support for GPIOs on Cirrus Logic Madera class codecs.
1282 config GPIO_MAX77620
1283 tristate "GPIO support for PMIC MAX77620 and MAX20024"
1284 depends on MFD_MAX77620
1285 select GPIOLIB_IRQCHIP
1287 GPIO driver for MAX77620 and MAX20024 PMIC from Maxim Semiconductor.
1288 MAX77620 PMIC has 8 pins that can be configured as GPIOs. The
1289 driver also provides interrupt support for each of the GPIOs.
1290 Say yes here to enable the max77620 to be used as GPIO controller.
1292 config GPIO_MAX77650
1293 tristate "Maxim MAX77650/77651 GPIO support"
1294 depends on MFD_MAX77650
1296 GPIO driver for MAX77650/77651 PMIC from Maxim Semiconductor.
1297 These chips have a single pin that can be configured as GPIO.
1300 bool "TI PALMAS series PMICs GPIO"
1301 depends on MFD_PALMAS
1303 Select this option to enable GPIO driver for the TI PALMAS
1307 bool "RICOH RC5T583 GPIO"
1308 depends on MFD_RC5T583
1310 Select this option to enable GPIO driver for the Ricoh RC5T583
1312 This driver provides the support for driving/reading the GPIO pins
1313 of RC5T583 device through standard GPIO library.
1315 config GPIO_SL28CPLD
1316 tristate "Kontron sl28cpld GPIO support"
1317 depends on MFD_SL28CPLD || COMPILE_TEST
1319 select GPIOLIB_IRQCHIP
1322 This enables support for the GPIOs found on the Kontron sl28 CPLD.
1324 This driver can also be built as a module. If so, the module will be
1325 called gpio-sl28cpld.
1329 depends on MFD_STMPE
1331 select GPIOLIB_IRQCHIP
1333 This enables support for the GPIOs found on the STMPE I/O
1337 bool "TC3589X GPIOs"
1338 depends on MFD_TC3589X
1340 select GPIOLIB_IRQCHIP
1342 This enables support for the GPIOs found on the TC3589X
1345 config GPIO_TIMBERDALE
1346 bool "Support for timberdale GPIO IP"
1347 depends on MFD_TIMBERDALE
1349 Add support for the GPIO IP in the timberdale FPGA.
1351 config GPIO_TN48M_CPLD
1352 tristate "Delta Networks TN48M switch CPLD GPIO driver"
1353 depends on MFD_TN48M_CPLD
1356 This enables support for the GPIOs found on the Delta
1357 Networks TN48M switch Lattice CPLD. It provides 12 pins in total,
1358 they are input-only or output-only type.
1360 This driver can also be built as a module. If so, the
1361 module will be called gpio-tn48m.
1363 config GPIO_TPS65086
1364 tristate "TI TPS65086 GPO"
1365 depends on MFD_TPS65086
1367 This driver supports the GPO on TI TPS65086x PMICs.
1369 config GPIO_TPS65218
1370 tristate "TPS65218 GPIO"
1371 depends on MFD_TPS65218
1373 Select this option to enable GPIO driver for the TPS65218
1376 config GPIO_TPS6586X
1377 bool "TPS6586X GPIO"
1378 depends on MFD_TPS6586X
1380 Select this option to enable GPIO driver for the TPS6586X
1383 config GPIO_TPS65910
1384 bool "TPS65910 GPIO"
1385 depends on MFD_TPS65910
1387 Select this option to enable GPIO driver for the TPS65910
1390 config GPIO_TPS65912
1391 tristate "TI TPS65912 GPIO"
1392 depends on MFD_TPS65912
1394 This driver supports TPS65912 GPIO chip.
1396 config GPIO_TPS68470
1397 tristate "TPS68470 GPIO"
1398 depends on INTEL_SKL_INT3472
1400 Select this option to enable GPIO driver for the TPS68470
1402 There are 7 GPIOs and few sensor-related GPIOs supported
1403 by the TPS68470. While the 7 GPIOs can be configured as
1404 input or output as appropriate, the sensor related GPIOs
1405 are "output only" GPIOs.
1408 tristate "TQ-Systems QTMX86 GPIO"
1409 depends on MFD_TQMX86 || COMPILE_TEST
1410 depends on HAS_IOPORT_MAP
1411 select GPIOLIB_IRQCHIP
1413 This driver supports GPIO on the TQMX86 IO controller.
1416 tristate "TWL4030, TWL5030, and TPS659x0 GPIOs"
1417 depends on TWL4030_CORE
1419 Say yes here to access the GPIO signals of various multi-function
1420 power management chips from Texas Instruments.
1423 tristate "TWL6040 GPO"
1424 depends on TWL6040_CORE
1426 Say yes here to access the GPO signals of twl6040
1427 audio chip from Texas Instruments.
1429 config GPIO_WHISKEY_COVE
1430 tristate "GPIO support for Whiskey Cove PMIC"
1431 depends on (X86 || COMPILE_TEST) && INTEL_SOC_PMIC_BXTWC
1432 select GPIOLIB_IRQCHIP
1434 Support for GPIO pins on Whiskey Cove PMIC.
1436 Say Yes if you have an Intel SoC-based tablet with Whiskey Cove PMIC
1439 This driver can also be built as a module. If so, the module will be
1443 tristate "WM831x GPIOs"
1444 depends on MFD_WM831X
1446 Say yes here to access the GPIO signals of WM831x power management
1447 chips from Wolfson Microelectronics.
1450 tristate "WM8350 GPIOs"
1451 depends on MFD_WM8350
1453 Say yes here to access the GPIO signals of WM8350 power management
1454 chips from Wolfson Microelectronics.
1457 tristate "WM8994 GPIOs"
1458 depends on MFD_WM8994
1460 Say yes here to access the GPIO signals of WM8994 audio hub
1461 CODECs from Wolfson Microelectronics.
1465 menu "PCI GPIO expanders"
1469 tristate "AMD 8111 GPIO driver"
1470 depends on X86 || COMPILE_TEST
1471 depends on HAS_IOPORT_MAP
1473 The AMD 8111 southbridge contains 32 GPIO pins which can be used.
1475 Note that usually system firmware/ACPI handles GPIO pins on their
1476 own and users might easily break their systems with uncareful usage
1482 tristate "BT8XX GPIO abuser"
1483 depends on VIDEO_BT848=n
1485 The BT8xx frame grabber chip has 24 GPIO pins that can be abused
1486 as a cheap PCI GPIO card.
1488 This chip can be found on Miro, Hauppauge and STB TV-cards.
1490 The card needs to be physically altered for using it as a
1491 GPIO card. For more information on how to build a GPIO card
1492 from a BT8xx TV card, see the documentation file at
1493 Documentation/driver-api/gpio/bt8xxgpio.rst
1497 config GPIO_MERRIFIELD
1498 tristate "Intel Merrifield GPIO support"
1499 depends on X86_INTEL_MID
1500 select GPIOLIB_IRQCHIP
1502 Say Y here to support Intel Merrifield GPIO.
1505 tristate "Mellanox BlueField SoC GPIO"
1506 depends on (MELLANOX_PLATFORM && ARM64 && ACPI) || (64BIT && COMPILE_TEST)
1509 Say Y here if you want GPIO support on Mellanox BlueField SoC.
1512 tristate "Mellanox BlueField 2 SoC GPIO"
1513 depends on (MELLANOX_PLATFORM && ARM64 && ACPI) || (64BIT && COMPILE_TEST)
1515 select GPIOLIB_IRQCHIP
1517 Say Y here if you want GPIO support on Mellanox BlueField 2 SoC.
1520 tristate "OKI SEMICONDUCTOR ML7213 IOH GPIO support"
1521 depends on X86 || COMPILE_TEST
1522 select GENERIC_IRQ_CHIP
1524 ML7213 is companion chip for Intel Atom E6xx series.
1525 This driver can be used for OKI SEMICONDUCTOR ML7213 IOH (Input/Output
1526 Hub) which is for IVI (In-Vehicle Infotainment) use.
1527 This driver can access the IOH's GPIO device.
1530 tristate "Intel EG20T PCH/LAPIS Semiconductor IOH (ML7223/ML7831) GPIO"
1531 depends on X86_32 || MIPS || COMPILE_TEST
1532 select GENERIC_IRQ_CHIP
1534 This driver is for PCH (Platform Controller Hub) GPIO of Intel Topcliff,
1535 which is an IOH (Input/Output Hub) for x86 embedded processor.
1536 This driver can access PCH GPIO device.
1538 This driver also can be used for LAPIS Semiconductor IOH (Input/
1539 Output Hub), ML7223 and ML7831.
1540 ML7223 IOH is for MP (Media Phone) use.
1541 ML7831 IOH is for general purpose use.
1542 ML7223/ML7831 is companion chip for Intel Atom E6xx series.
1543 ML7223/ML7831 is completely compatible for Intel EG20T PCH.
1545 config GPIO_PCI_IDIO_16
1546 tristate "ACCES PCI-IDIO-16 GPIO support"
1547 select GPIOLIB_IRQCHIP
1550 Enables GPIO support for the ACCES PCI-IDIO-16. An interrupt is
1551 generated when any of the inputs change state (low to high or high to
1552 low). Input filter control is not supported by this driver, and the
1553 input filters are deactivated by this driver.
1555 config GPIO_PCIE_IDIO_24
1556 tristate "ACCES PCIe-IDIO-24 GPIO support"
1557 select GPIOLIB_IRQCHIP
1559 Enables GPIO support for the ACCES PCIe-IDIO-24 family (PCIe-IDIO-24,
1560 PCIe-IDI-24, PCIe-IDO-24, PCIe-IDIO-12). An interrupt is generated
1561 when any of the inputs change state (low to high or high to low).
1562 Input filter control is not supported by this driver, and the input
1563 filters are deactivated by this driver.
1566 tristate "RDC R-321x GPIO support"
1570 Support for the RDC R321x SoC GPIOs over southbridge
1571 PCI configuration space.
1573 config GPIO_SODAVILLE
1574 bool "Intel Sodaville GPIO support"
1575 depends on X86 && OF
1577 select GENERIC_IRQ_CHIP
1579 Say Y here to support Intel Sodaville GPIO.
1583 menu "SPI GPIO expanders"
1584 depends on SPI_MASTER
1587 tristate "74x164 serial-in/parallel-out 8-bits shift register"
1590 Driver for 74x164 compatible serial-in/parallel-out 8-outputs
1591 shift registers. This driver can be used to provide access
1592 to more GPIO outputs.
1594 config GPIO_MAX3191X
1595 tristate "Maxim MAX3191x industrial serializer"
1598 GPIO driver for Maxim MAX31910, MAX31911, MAX31912, MAX31913,
1599 MAX31953 and MAX31963 industrial serializer, a daisy-chainable
1600 chip to make 8 digital 24V inputs available via SPI. Supports
1601 CRC checksums to guard against electromagnetic interference,
1602 as well as undervoltage and overtemperature detection.
1605 tristate "Maxim MAX7301 GPIO expander"
1608 GPIO driver for Maxim MAX7301 SPI-based GPIO expander.
1611 tristate "Freescale MC33880 high-side/low-side switch"
1613 SPI driver for Freescale MC33880 high-side/low-side switch.
1614 This provides GPIO interface supporting inputs and outputs.
1617 tristate "Generic parallel-in/serial-out shift register"
1619 GPIO driver for SPI compatible parallel-in/serial-out shift
1620 registers. These are input only devices.
1623 tristate "EXAR XRA1403 16-bit GPIO expander"
1626 GPIO driver for EXAR XRA1403 16-bit SPI-based GPIO expander.
1629 tristate "Turris Mox Moxtet bus GPIO expander"
1632 Say yes here if you are building for the Turris Mox router.
1633 This is the driver needed for configuring the GPIOs via the Moxtet
1634 bus. For example the Mox module with SFP cage needs this driver
1635 so that phylink can use corresponding GPIOs.
1639 menu "USB GPIO expanders"
1642 config GPIO_VIPERBOARD
1643 tristate "Viperboard GPIO a & b support"
1644 depends on MFD_VIPERBOARD
1646 Say yes here to access the GPIO signals of Nano River
1647 Technologies Viperboard. There are two GPIO chips on the
1648 board: gpioa and gpiob.
1649 See viperboard API specification and Nano
1650 River Tech's viperboard.h for detailed meaning
1651 of the module parameters.
1655 menu "Virtual GPIO drivers"
1657 config GPIO_AGGREGATOR
1658 tristate "GPIO Aggregator"
1660 Say yes here to enable the GPIO Aggregator, which provides a way to
1661 aggregate existing GPIO lines into a new virtual GPIO chip.
1662 This can serve the following purposes:
1663 - Assign permissions for a collection of GPIO lines to a user,
1664 - Export a collection of GPIO lines to a virtual machine,
1665 - Provide a generic driver for a GPIO-operated device in an
1666 industrial control context, to be operated from userspace using
1667 the GPIO chardev interface.
1670 tristate "GPIO latch driver"
1672 Say yes here to enable a driver for GPIO multiplexers based on latches
1673 connected to other GPIOs.
1676 tristate "GPIO Testing Driver"
1679 This enables GPIO Testing driver, which provides a way to test GPIO
1680 subsystem through sysfs (or char device) and debugfs.
1681 User could use it through the script in
1682 tools/testing/selftests/gpio/gpio-mockup.sh. Reference the usage in
1686 tristate "VirtIO GPIO support"
1688 select GPIOLIB_IRQCHIP
1690 Say Y here to enable guest support for virtio-based GPIO controllers.
1692 These virtual GPIOs can be routed to real GPIOs or attached to
1693 simulators on the host (like QEMU).
1696 tristate "GPIO Simulator Module"
1700 This enables the GPIO simulator - a configfs-based GPIO testing