Kconfig

CONFIG_GPIOLIB_LEGACY

On
Default
  • y

CONFIG_HAVE_SHARED_GPIOS

Unknown

CONFIG_GPIOLIB GPIO Support

On

This enables GPIO support through the generic GPIO library. You only need to enable this if you also want to enable one or more of the GPIO drivers below.

If unsure, say N.

If GPIOLIB

CONFIG_GPIOLIB_FASTPATH_LIMIT Maximum number of GPIOs for fast path

This adjusts the point at which certain APIs will switch from using a stack allocated buffer to a dynamically allocated buffer.

You shouldn't need to change this unless you really need to optimize either stack space or performance. Change this carefully since setting an incorrect value could cause stack corruption.

CONFIG_DEBUG_GPIO Debug GPIO calls

On

Say Y here to add some extra checks and diagnostics to GPIO calls. These checks help ensure that GPIOs have been properly initialized before they are used, and that sleeping calls are not made from non-sleeping contexts. They can make bitbanged serial protocols slower. The diagnostics help catch the type of setup errors that are most common when setting up new platforms or boards.

CONFIG_GPIO_SYSFS /sys/class/gpio/... (sysfs interface)

On

Say Y here to add the legacy sysfs interface for GPIOs.

This ABI is deprecated. If you want to use GPIO from userspace, use the character device /dev/gpiochipN with the appropriate ioctl() operations instead.

If GPIO_SYSFS

CONFIG_GPIO_SYSFS_LEGACY Enable legacy functionalities of the sysfs interface

On

Say Y here if you want to enable the legacy, global GPIO numberspace-based functionalities of the sysfs interface.

CONFIG_GPIO_CDEV Character device (/dev/gpiochipN) support

On

Say Y here to add the character device /dev/gpiochipN interface for GPIOs. The character device allows userspace to control GPIOs using ioctl() operations.

Only say N if you are sure that the GPIO character device is not required.

If unsure, say Y.

If GPIO_CDEV

CONFIG_GPIO_CDEV_V1 Support GPIO ABI Version 1

On

Say Y here to support version 1 of the GPIO CDEV ABI.

This ABI version is deprecated. Please use the latest ABI for new developments.

CONFIG_GPIO_KUNIT Build GPIO Kunit test cases

  • Off
  • Module
  • Built in

Say Y here to build the module containing Kunit test cases verifying the functionality of the GPIO subsystem.

CONFIG_GPIO_SWNODE_UNDEFINED

On

This adds a special place holder for software nodes to contain an undefined GPIO reference, this is primarily used by SPI to allow a list of GPIO chip selects to mark a certain chip select as being controlled the SPI device's internal chip select mechanism and not a GPIO.

CONFIG_GPIO_MAX730X

  • Off
  • Module
  • Built in

CONFIG_GPIO_IDIO_16

  • Off
  • Module
  • Built in

Enables support for the idio-16 library functions. The idio-16 library provides functions to facilitate communication with devices within the ACCES IDIO-16 family such as the 104-IDIO-16 and the PCI-IDIO-16.

If built as a module its name will be gpio-idio-16.

Memory mapped GPIO drivers

CONFIG_GPIO_74XX_MMIO GPIO driver for 74xx-ICs with MMIO access

  • Off
  • Module
  • Built in
Say yes here to support GPIO functionality for 74xx-compatible ICs
with MMIO access. Compatible models include:
  1 bit:	741G125 (Input), 741G74 (Output)
  2 bits:	742G125 (Input), 7474 (Output)
  4 bits:	74125 (Input), 74175 (Output)
  6 bits:	74365 (Input), 74174 (Output)
  8 bits:	74244 (Input), 74273 (Output)
  16 bits:	741624 (Input), 7416374 (Output)

CONFIG_GPIO_AMDPT AMD Promontory GPIO support

  • Off
  • Module
  • Built in

Driver for GPIO functionality on Promontory IOHub. Requires ACPI ASL code to enumerate as a platform device.

CONFIG_GPIO_AXIADO_SGPIO Axiado AX3005 SGPIO support

  • Off
  • Module
  • Built in

Enable support for the Axiado AX3005 Serial GPIO (SGPIO) controller.

The SGPIO controller provides a serialized interface for controlling multiple GPIO signals over a limited number of physical lines. Each signal is exposed as one input and one output line, and input lines can raise interrupts.

This driver integrates with the Linux GPIO subsystem and exposes the controller as a standard GPIO provider.

To compile this driver as a module, choose M here: the module will be called gpio-axiado-sgpio.

CONFIG_GPIO_BLZP1600 Blaize BLZP1600 GPIO support

  • Off
  • Module
  • Built in

Say Y or M here to add support for the Blaize BLZP1600 GPIO device. The controller is based on the Verisilicon Microelectronics GPIO APB v0.2 IP block.

CONFIG_GPIO_BRCMSTB BRCMSTB GPIO support

  • Off
  • Module
  • Built in

Say yes here to enable GPIO support for Broadcom STB (BCM7XXX) SoCs.

CONFIG_GPIO_BY_PINCTRL GPIO support based on a pure pin control backend

  • Off
  • Module
  • Built in

Support for generic GPIO handling based on top of pin control. Traditionally, firmware creates a GPIO interface or a pin controller interface and we have a driver to support it. But in SCMI, the pin control interface is generic and we can create a simple GPIO device based on the pin control interface without doing anything custom.

This driver is used to access GPIOs over the ARM SCMI protocol.

CONFIG_GPIO_DAVINCI TI Davinci/Keystone GPIO support

  • Off
  • Module
  • Built in

Say yes here to enable GPIO support for TI Davinci/Keystone SoCs.

CONFIG_GPIO_GENERIC_PLATFORM Generic memory-mapped GPIO controller support (MMIO platform device)

  • Off
  • Module
  • Built in

Say yes here to support basic platform_device memory-mapped GPIO controllers.

CONFIG_GPIO_GRANITERAPIDS Intel Granite Rapids-D vGPIO support

  • Off
  • Module
  • Built in

Select this to enable virtual GPIO support on platforms with the following SoCs:

- Intel Granite Rapids-D

The driver enables basic GPIO functionality and implements interrupt support. The virtual GPIO driver controls GPIO lines via a firmware interface. The physical GPIO pins reside on device that is external from the main SoC package, such as a BMC or a CPLD.

To compile this driver as a module, choose M here: the module will be called gpio-graniterapids.

CONFIG_GPIO_ICH Intel ICH GPIO

  • Off
  • Module
  • Built in

Say yes here to support the GPIO functionality of a number of Intel ICH-based chipsets. Currently supported devices: ICH6, ICH7, ICH8 ICH9, ICH10, Series 5/3400 (e.g. Ibex Peak), Series 6/C200 (e.g. Cougar Point), NM10 (Tiger Point), and 3100 (Whitmore Lake).

If unsure, say N.

CONFIG_GPIO_LOGICVC Xylon LogiCVC GPIO support

  • Off
  • Module
  • Built in

Say yes here to support GPIO functionality of the Xylon LogiCVC programmable logic block.

CONFIG_GPIO_LOONGSON_64BIT Loongson 64 bit GPIO support

  • Off
  • Module
  • Built in

Say yes here to support the GPIO functionality of a number of Loongson series of chips. The Loongson GPIO controller supports up to 60 GPIOS in total, 4 of which are dedicated GPIO pins, and the remaining 56 are reused with other functions, with edge or level triggered interrupts.

CONFIG_GPIO_MB86S7X GPIO support for Fujitsu MB86S7x Platforms

  • Off
  • Module
  • Built in

Say yes here to support the GPIO controller in Fujitsu MB86S70 SoCs.

CONFIG_GPIO_MM_LANTIQ Lantiq Memory mapped GPIOs

Unknown

This enables support for memory mapped GPIOs on the External Bus Unit (EBU) found on Lantiq SoCs. The GPIOs are output only as they are created by attaching a 16-bit latch to the bus.

CONFIG_GPIO_MPC8XXX MPC512x/MPC8xxx/QorIQ GPIO support

On

Say Y here if you're going to use hardware that connects to the MPC512x/831x/834x/837x/8572/8610/QorIQ GPIOs.

CONFIG_GPIO_NOMADIK Nomadik GPIO driver

On

Say yes here to support the Nomadik SoC GPIO block. This block is also used by the Mobileye EyeQ5 SoC.

It handles up to 32 GPIOs per bank, that can all be interrupt sources. It is deeply interconnected with the associated pinctrl driver as GPIO registers handle muxing ("alternate functions") as well.

CONFIG_GPIO_REALTEK_OTTO Realtek Otto GPIO support

  • Off
  • Module
  • Built in

The GPIO controller on the Otto MIPS platform supports up to two banks of 32 GPIOs, with edge triggered interrupts. The 32 GPIOs are grouped in four 8-bit wide ports.

When built as a module, the module will be called realtek_otto_gpio.

CONFIG_GPIO_REG

Unknown

A 32-bit single register GPIO fixed in/out implementation. This can be used to represent any register as a set of GPIO signals.

CONFIG_GPIO_RTD Realtek DHC GPIO support

  • Off
  • Module
  • Built in

This option enables support for GPIOs found on Realtek DHC(Digital Home Center) SoCs family, including RTD1295, RTD1315E, RTD1319, RTD1319D, RTD1395, RTD1619 and RTD1619B.

Say yes here to support GPIO functionality and GPIO interrupt on Realtek DHC SoCs.

CONFIG_GPIO_RTD1625 Realtek DHC RTD1625 GPIO support

  • Off
  • Module
  • Built in

This option enables support for the GPIO controller on Realtek DHC (Digital Home Center) RTD1625 SoC.

Say yes here to support both basic GPIO line functionality and GPIO interrupt handling capabilities for this platform.

CONFIG_GPIO_SNPS_CREG Synopsys GPIO via CREG (Control REGisters) driver

On

This driver supports GPIOs via CREG on various Synopsys SoCs. This is a single-register MMIO GPIO driver for complex cases where only several fields in register belong to GPIO lines and each GPIO line owns a field with different length and on/off value.

CONFIG_GPIO_STP_XWAY XWAY STP GPIOs

On

This enables support for the Serial To Parallel (STP) unit found on XWAY SoC. The STP allows the SoC to drive a shift registers cascade, that can be up to 24 bits. This peripheral is aimed at driving LEDs. Some of the GPIOs/LEDs can be auto updated by the SoC with DSL and phy status.

CONFIG_GPIO_SYSCON GPIO based on SYSCON

  • Off
  • Module
  • Built in

Say yes here to support GPIO functionality though SYSCON driver.

CONFIG_GPIO_TANGIER

  • Off
  • Module
  • Built in
GPIO support for Intel Tangier and compatible platforms.
Currently supported:
 - Elkhart Lake
 - Merrifield

If built as a module its name will be gpio-tangier.

CONFIG_GPIO_TEGRA186 NVIDIA Tegra186 GPIO support

  • Off
  • Module
  • Built in

Say yes here to support GPIO pins on NVIDIA Tegra186, 194 and 234 SoCs.

CONFIG_GPIO_THUNDERX Cavium ThunderX/OCTEON-TX GPIO

  • Off
  • Module
  • Built in

Say yes here to support the on-chip GPIO lines on the ThunderX and OCTEON-TX families of SoCs.

CONFIG_GPIO_WCD934X Qualcomm WCD9340/WCD9341 GPIO controller driver

  • Off
  • Module
  • Built in

This driver is to support GPIO block found on the Qualcomm Technologies Inc WCD9340/WCD9341 Audio Codec.

CONFIG_GPIO_XGENE APM X-Gene GPIO controller support

On

This driver is to support the GPIO block within the APM X-Gene SoC platform's generic flash controller. The GPIO pins are muxed with the generic flash controller's address and data pins. Say yes here to enable the GFC GPIO functionality.

CONFIG_GPIO_XTENSA Xtensa GPIO32 support

Unknown

Say yes here to support the Xtensa internal GPIO32 IMPWIRE (input) and EXPSTATE (output) ports.

CONFIG_GPIO_ZEVIO LSI ZEVIO SoC memory mapped GPIOs

On

Say yes here to support the GPIO controller in LSI ZEVIO SoCs.

CONFIG_GPIO_AMD_FCH GPIO support for AMD Fusion Controller Hub (G-series SOCs)

  • Off
  • Module
  • Built in

This option enables driver for GPIO on AMD's Fusion Controller Hub, as found on G-series SOCs (e.g. GX-412TC).

Note: This driver doesn't register itself automatically, as it needs to be provided with platform-specific configuration. (See e.g. CONFIG_PCENGINES_APU2.)

End of Memory mapped GPIO drivers

Port-mapped I/O GPIO drivers

CONFIG_GPIO_I8255

  • Off
  • Module
  • Built in

Enables support for the i8255 interface library functions. The i8255 interface library provides functions to facilitate communication with interfaces compatible with the venerable Intel 8255 Programmable Peripheral Interface (PPI). The Intel 8255 PPI chip was first released in the early 1970s but compatible interfaces are nowadays typically found embedded in larger VLSI processing chips and FPGA components.

If built as a module its name will be gpio-i8255.

CONFIG_GPIO_104_DIO_48E ACCES 104-DIO-48E GPIO support

  • Off
  • Module
  • Built in

Enables GPIO support for the ACCES 104-DIO-48E series (104-DIO-48E, 104-DIO-24E). The base port addresses for the devices may be configured via the base module parameter. The interrupt line numbers for the devices may be configured via the irq module parameter.

CONFIG_GPIO_104_IDIO_16 ACCES 104-IDIO-16 GPIO support

  • Off
  • Module
  • Built in

Enables GPIO support for the ACCES 104-IDIO-16 family (104-IDIO-16, 104-IDIO-16E, 104-IDO-16, 104-IDIO-8, 104-IDIO-8E, 104-IDO-8). The base port addresses for the devices may be configured via the base module parameter. The interrupt line numbers for the devices may be configured via the irq module parameter.

CONFIG_GPIO_104_IDI_48 ACCES 104-IDI-48 GPIO support

  • Off
  • Module
  • Built in

Enables GPIO support for the ACCES 104-IDI-48 family (104-IDI-48A, 104-IDI-48AC, 104-IDI-48B, 104-IDI-48BC). The base port addresses for the devices may be configured via the base module parameter. The interrupt line numbers for the devices may be configured via the irq module parameter.

CONFIG_GPIO_F7188X Fintek and Nuvoton Super-I/O GPIO support

  • Off
  • Module
  • Built in

This option enables support for GPIOs found on Fintek Super-I/O chips F71869, F71869A, F71882FG, F71889F and F81866. As well as Nuvoton Super-I/O chip NCT6126D.

To compile this driver as a module, choose M here: the module will be called f7188x-gpio.

CONFIG_GPIO_GPIO_MM Diamond Systems GPIO-MM GPIO support

  • Off
  • Module
  • Built in

Enables GPIO support for the Diamond Systems GPIO-MM and GPIO-MM-12.

The Diamond Systems GPIO-MM device features 48 lines of digital I/O via the emulation of dual 82C55A PPI chips. This driver provides GPIO support for these 48 channels of digital I/O.

The base port addresses for the devices may be configured via the base array module parameter.

CONFIG_GPIO_IT87 IT87xx GPIO support

  • Off
  • Module
  • Built in

Say yes here to support GPIO functionality of IT87xx Super I/O chips.

This driver is tested with ITE IT8728 and IT8732 Super I/O chips, and supports the IT8761E, IT8613, IT8620E, and IT8628E Super I/O chips as well.

To compile this driver as a module, choose M here: the module will be called gpio_it87.

CONFIG_GPIO_SCH Intel SCH/TunnelCreek/Centerton/Quark X1000 GPIO

  • Off
  • Module
  • Built in

Say yes here to support GPIO interface on Intel Poulsbo SCH, Intel Tunnel Creek processor, Intel Centerton processor or Intel Quark X1000 SoC.

The Intel SCH contains a total of 14 GPIO pins. Ten GPIOs are powered by the core power rail and are turned off during sleep modes (S3 and higher). The remaining four GPIOs are powered by the Intel SCH suspend power supply. These GPIOs remain active during S3. The suspend-powered GPIOs can be used to wake the system from the Suspend-to-RAM state.

The Intel Tunnel Creek processor has 5 GPIOs powered by the core power rail and 9 from suspend power supply.

The Intel Centerton processor has a total of 30 GPIO pins. Twenty-one are powered by the core power rail and 9 from the suspend power supply.

The Intel Quark X1000 SoC has 2 GPIOs powered by the core power well and 6 from the suspend power well.

CONFIG_GPIO_NOVALAKE Intel Nova Lake GPIO-signaled ACPI events support

  • Off
  • Module
  • Built in

Select this to enable GPIO-signaled ACPI events support on platforms with the following SoCs:

- Intel Nova Lake

This driver adds support for new mode of handling platform events, through the use of GPIO-signaled ACPI events. Main purpose is to handle platform IRQs that originate in PCH components, for example interrupt triggered by Power Management Event (PME).

This driver, at this time, is not required to handle platform events. Listed platform(s) will stay in legacy mode, handling ACPI events as in previous generations. However, future platforms will eventually switch to new handling mode, requiring this driver to run events properly.

Driver supports up to 128 GPIO pins per GPE block.

To compile this driver as a module, choose M here: the module will be called gpio-novalake-events.

CONFIG_GPIO_SCH311X SMSC SCH311x SuperI/O GPIO

  • Off
  • Module
  • Built in

Driver to enable the GPIOs found on SMSC SMSC SCH3112, SCH3114 and SCH3116 "Super I/O" chipsets.

To compile this driver as a module, choose M here: the module will be called gpio-sch311x.

CONFIG_GPIO_WINBOND Winbond Super I/O GPIO support

  • Off
  • Module
  • Built in

This option enables support for GPIOs found on Winbond Super I/O chips. Currently, only W83627UHG (also known as Nuvoton NCT6627UD) is supported.

You will need to provide a module parameter "gpios", or a boot-time parameter "gpio_winbond.gpios" with a bitmask of GPIO ports to enable (bit 0 is GPIO1, bit 1 is GPIO2, etc.).

To compile this driver as a module, choose M here: the module will be called gpio-winbond.

CONFIG_GPIO_WS16C48 WinSystems WS16C48 GPIO support

  • Off
  • Module
  • Built in

Enables GPIO support for the WinSystems WS16C48. The base port addresses for the devices may be configured via the base module parameter. The interrupt line numbers for the devices may be configured via the irq module parameter.

End of Port-mapped I/O GPIO drivers

I2C GPIO expanders

CONFIG_GPIO_ADNP Avionic Design N-bit GPIO expander

  • Off
  • Module
  • Built in

This option enables support for N GPIOs found on Avionic Design I2C GPIO expanders. The register space will be extended by powers of two, so the controller will need to accommodate for that. For example: if a controller provides 48 pins, 6 registers will be enough to represent all pins, but the driver will assume a register layout for 64 pins (8 registers).

CONFIG_GPIO_FXL6408 FXL6408 I2C GPIO expander

  • Off
  • Module
  • Built in

GPIO driver for Fairchild Semiconductor FXL6408 GPIO expander.

To compile this driver as a module, choose M here: the module will be called gpio-fxl6408.

CONFIG_GPIO_DS4520 DS4520 I2C GPIO expander

  • Off
  • Module
  • Built in

GPIO driver for ADI DS4520 I2C-based GPIO expander. Say yes here to enable the GPIO driver for the ADI DS4520 chip.

To compile this driver as a module, choose M here: the module will be called gpio-ds4520.

CONFIG_GPIO_GW_PLD Gateworks PLD GPIO Expander

  • Off
  • Module
  • Built in

Say yes here to provide access to the Gateworks I2C PLD GPIO Expander. This is used at least on the Cambria GW2358-4.

CONFIG_GPIO_MAX7300 Maxim MAX7300 GPIO expander

  • Off
  • Module
  • Built in

GPIO driver for Maxim MAX7300 I2C-based GPIO expander.

CONFIG_GPIO_MAX732X MAX7319, MAX7320-7327 I2C Port Expanders

  • Off
  • Module
  • Built in

Say yes here to support the MAX7319, MAX7320-7327 series of I2C Port Expanders. Each IO port on these chips has a fixed role of Input (designated by 'I'), Push-Pull Output ('O'), or Open-Drain Input and Output (designed by 'P'). The combinations are listed below:

8 bits:       max7319 (8I), max7320 (8O), max7321 (8P),
              max7322 (4I4O), max7323 (4P4O)
16 bits:      max7324 (8I8O), max7325 (8P8O),
              max7326 (4I12O), max7327 (4P12O)

Board setup code must specify the model to use, and the start number for these GPIOs.

CONFIG_GPIO_MAX732X_IRQ Interrupt controller support for MAX732x

Unknown

Say yes here to enable the max732x to be used as an interrupt controller. It requires the driver to be built in the kernel.

CONFIG_GPIO_PCA953X PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports

  • Off
  • Module
  • Built in

Say yes here to provide access to several register-oriented SMBus I/O expanders, made mostly by NXP or TI. Compatible models include:

4 bits: pca9536, pca9537

8 bits:       max7310, max7315, pca6107, pca9534, pca9538, pca9554,
              pca9556, pca9557, pca9574, tca6408, tca9554, xra1202,
              pcal6408, pcal9554b, tca9538, tcal6408
16 bits:      max7312, max7313, pca9535, pca9539, pca9555, pca9575,
              tca6416, pca6416, pcal6416, pcal9535, pcal9555a, max7318,
              tca9539, tcal6416

18 bits: tca6418

24 bits: tca6424, pcal6524

40 bits: pca9505, pca9698, pca9506

If GPIO_PCA953X

CONFIG_GPIO_PCA9570 PCA9570 4-Bit I2C GPO expander

  • Off
  • Module
  • Built in

Say yes here to enable the GPO driver for the NXP PCA9570 chip.

To compile this driver as a module, choose M here: the module will be called gpio-pca9570.

CONFIG_GPIO_PCF857X PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders

  • Off
  • Module
  • Built in

Say yes here to provide access to most "quasi-bidirectional" I2C GPIO expanders used for additional digital outputs or inputs. Most of these parts are from NXP, though TI is a second source for some of them. Compatible models include:

8 bits:   pcf8574, pcf8574a, pca8574, pca8574a,
          pca9670, pca9672, pca9674, pca9674a,
          max7328, max7329
16 bits:  pcf8575, pcf8575c, pca8575,
          pca9671, pca9673, pca9675

Your board setup code will need to declare the expanders in use, and assign numbers to the GPIOs they expose. Those GPIOs can then be used from drivers and other kernel code, just like other GPIOs, but only accessible from task contexts.

This driver provides an in-kernel interface to those GPIOs using platform-neutral GPIO calls.

CONFIG_GPIO_TPIC2810 TPIC2810 8-Bit I2C GPO expander

  • Off
  • Module
  • Built in

Say yes here to enable the GPO driver for the TI TPIC2810 chip.

To compile this driver as a module, choose M here: the module will be called gpio-tpic2810.

End of I2C GPIO expanders

MFD GPIO expanders

CONFIG_GPIO_ADP5520 GPIO Support for ADP5520 PMIC

  • Off
  • Module
  • Built in

This option enables support for on-chip GPIO found on Analog Devices ADP5520 PMICs.

CONFIG_GPIO_ALTERA_A10SR Altera Arria10 System Resource GPIO

  • Off
  • Module
  • Built in
Unknown

Driver for Arria10 Development Kit GPIO expansion which includes reads of pushbuttons and DIP switches as well as writes to LEDs.

CONFIG_GPIO_ARIZONA Wolfson Microelectronics Arizona class devices

  • Off
  • Module
  • Built in

Support for GPIOs on Wolfson Arizona class devices.

CONFIG_GPIO_BD71815 ROHM BD71815 PMIC GPIO support

  • Off
  • Module
  • Built in

Support for GPO(s) on ROHM BD71815 PMIC. There are two GPOs available on the ROHM PMIC.

This driver can also be built as a module. If so, the module will be called gpio-bd71815.

CONFIG_GPIO_BD71828 ROHM BD71828 GPIO support

  • Off
  • Module
  • Built in

Support for GPIOs on ROHM BD71828 PMIC. There are three GPIOs available on the ROHM PMIC in total. The GPIOs are limited to outputs only and pins must be configured to GPIO outputs by OTP. Enable this only if you want to use these pins as outputs.

This driver can also be built as a module. If so, the module will be called gpio-bd71828.

CONFIG_GPIO_BD72720 ROHM BD72720 and BD73900 PMIC GPIO support

  • Off
  • Module
  • Built in

Support for GPIO on ROHM BD72720 and BD73900 PMICs. There are two pins which can be configured to GPI or GPO, and three pins which can be configured to GPO on the ROHM PMIC. The pin configuration is done on OTP at manufacturing.

CONFIG_GPIO_BD73800 ROHM BD73800 GPIO support

  • Off
  • Module
  • Built in

Support for GPIOs on ROHM BD73800 PMIC. There can be up to 4 GPI or GPO pins available on the PMIC in total. The purpose of the pins is decided at the device manufacturing by OTP configuration and can't be reconfigured later. Enable this if your PMIC has pins set as GPIs or GPOs and if you wish to control the pins via the GPIO framework.

CONFIG_GPIO_BD9571MWV ROHM BD9571 GPIO support

  • Off
  • Module
  • Built in

Support for GPIOs on ROHM BD9571 PMIC. There are two GPIOs available on the ROHM PMIC in total, both of which can also generate interrupts.

This driver can also be built as a module. If so, the module will be called gpio-bd9571mwv.

CONFIG_GPIO_CGBC Congatec Board Controller GPIO support

  • Off
  • Module
  • Built in

Select this option to enable GPIO support for the Congatec Board Controller.

This driver can also be built as a module. If so, the module will be called gpio-cgbc.

CONFIG_GPIO_CROS_EC ChromeOS EC GPIO support

  • Off
  • Module
  • Built in

GPIO driver for the ChromeOS Embedded Controller (EC). GPIOs cannot be set unless the system is unlocked.

This driver can also be built as a module. If so, the module will be called gpio-cros-ec.

CONFIG_GPIO_CS5535 AMD CS5535/CS5536 GPIO support

  • Off
  • Module
  • Built in

The AMD CS5535 and CS5536 southbridges support 28 GPIO pins that can be used for quite a number of things. The CS5535/6 is found on AMD Geode and Lemote Yeeloong devices.

If unsure, say N.

CONFIG_GPIO_DA9052 Dialog DA9052 GPIO

  • Off
  • Module
  • Built in

Say yes here to enable the GPIO driver for the DA9052 chip.

CONFIG_GPIO_DA9055 Dialog Semiconductor DA9055 GPIO

  • Off
  • Module
  • Built in

Say yes here to enable the GPIO driver for the DA9055 chip.

The Dialog DA9055 PMIC chip has 3 GPIO pins that can be be controlled by this driver.

If driver is built as a module it will be called gpio-da9055.

CONFIG_GPIO_DLN2 Diolan DLN2 GPIO support

  • Off
  • Module
  • Built in

Select this option to enable GPIO driver for the Diolan DLN2 board.

This driver can also be built as a module. If so, the module will be called gpio-dln2.

CONFIG_HTC_EGPIO HTC EGPIO support

On

This driver supports the CPLD egpio chip present on several HTC phones. It provides basic support for input pins, output pins, and IRQs.

CONFIG_GPIO_ELKHARTLAKE Intel Elkhart Lake PSE GPIO support

  • Off
  • Module
  • Built in

Select this option to enable GPIO support for Intel Elkhart Lake PSE GPIO IP.

To compile this driver as a module, choose M here: the module will be called gpio-elkhartlake.

CONFIG_GPIO_JANZ_TTL Janz VMOD-TTL Digital IO Module

  • Off
  • Module
  • Built in

This enables support for the Janz VMOD-TTL Digital IO module. This driver provides support for driving the pins in output mode only. Input mode is not supported.

CONFIG_GPIO_KEMPLD Kontron ETX / COMexpress GPIO

  • Off
  • Module
  • Built in

This enables support for the PLD GPIO interface on some Kontron ETX and COMexpress (ETXexpress) modules.

This driver can also be built as a module. If so, the module will be called gpio-kempld.

CONFIG_GPIO_LJCA INTEL La Jolla Cove Adapter GPIO support

  • Off
  • Module
  • Built in

Select this option to enable GPIO driver for the INTEL La Jolla Cove Adapter (LJCA) board.

This driver can also be built as a module. If so, the module will be called gpio-ljca.

CONFIG_GPIO_LP3943 TI/National Semiconductor LP3943 GPIO expander

  • Off
  • Module
  • Built in

GPIO driver for LP3943 MFD. LP3943 can be used as a GPIO expander which provides up to 16 GPIOs. Open drain outputs are required for this usage.

CONFIG_GPIO_LP873X TI LP873X GPO

  • Off
  • Module
  • Built in

This driver supports the GPO on TI Lp873x PMICs. 2 GPOs are present on LP873X PMICs.

This driver can also be built as a module. If so, the module will be called gpio-lp873x.

CONFIG_GPIO_LP87565 TI LP87565 GPIO

  • Off
  • Module
  • Built in

This driver supports the GPIO on TI Lp873565 PMICs. 3 GPIOs are present on LP87565 PMICs.

This driver can also be built as a module. If so, the module will be called gpio-lp87565.

CONFIG_GPIO_MACSMC Apple Mac SMC GPIO

  • Off
  • Module
  • Built in

Support for GPIOs controlled by the SMC microcontroller on Apple Mac systems.

This driver can also be built as a module. If so, the module will be called gpio-macsmc.

CONFIG_GPIO_MADERA Cirrus Logic Madera class codecs

  • Off
  • Module
  • Built in

Support for GPIOs on Cirrus Logic Madera class codecs.

CONFIG_GPIO_MAX77620 GPIO support for PMIC MAX77620 and MAX20024

  • Off
  • Module
  • Built in

GPIO driver for MAX77620 and MAX20024 PMIC from Maxim Semiconductor. MAX77620 PMIC has 8 pins that can be configured as GPIOs. The driver also provides interrupt support for each of the GPIOs. Say yes here to enable the max77620 to be used as GPIO controller.

CONFIG_GPIO_MAX77650 Maxim MAX77650/77651 GPIO support

  • Off
  • Module
  • Built in

GPIO driver for MAX77650/77651 PMIC from Maxim Semiconductor. These chips have a single pin that can be configured as GPIO.

CONFIG_GPIO_MAX77759 Maxim Integrated MAX77759 GPIO support

  • Off
  • Module
  • Built in

GPIO driver for MAX77759 PMIC from Maxim Integrated. There are two GPIOs available on these chips in total, both of which can also generate interrupts.

This driver can also be built as a module. If so, the module will be called gpio-max77759.

CONFIG_GPIO_PALMAS TI PALMAS series PMICs GPIO

  • Off
  • Module
  • Built in

Select this option to enable GPIO driver for the TI PALMAS series chip family.

CONFIG_GPIO_RC5T583 RICOH RC5T583 GPIO

On

Select this option to enable GPIO driver for the Ricoh RC5T583 chip family. This driver provides the support for driving/reading the GPIO pins of RC5T583 device through standard GPIO library.

CONFIG_GPIO_TN48M_CPLD Delta Networks TN48M switch CPLD GPIO driver

  • Off
  • Module
  • Built in

This enables support for the GPIOs found on the Delta Networks TN48M switch Lattice CPLD. It provides 12 pins in total, they are input-only or output-only type.

This driver can also be built as a module. If so, the module will be called gpio-tn48m.

CONFIG_GPIO_TPS65086 TI TPS65086 GPO

  • Off
  • Module
  • Built in

This driver supports the GPO on TI TPS65086x PMICs.

CONFIG_GPIO_TPS65218 TPS65218 GPIO

  • Off
  • Module
  • Built in

Select this option to enable GPIO driver for the TPS65218 chip family.

CONFIG_GPIO_TPS65219 TPS65219 GPIO

  • Off
  • Module
  • Built in

Select this option to enable GPIO driver for the TPS65219 chip family. GPIO0 is statically configured as either input or output prior to Linux boot. It is used for MULTI_DEVICE_ENABLE function. This setting is statically configured by NVM. GPIO0 can't be used as a generic GPIO. It's either a GPO when MULTI_DEVICE_EN=0 or a GPI when MULTI_DEVICE_EN=1.

This driver can also be built as a module. If so, the module will be called gpio_tps65219.

CONFIG_GPIO_TPS6586X TPS6586X GPIO

On

Select this option to enable GPIO driver for the TPS6586X chip family.

CONFIG_GPIO_TPS65910 TPS65910 GPIO

On

Select this option to enable GPIO driver for the TPS65910 chip family.

CONFIG_GPIO_TPS65912 TI TPS65912 GPIO

  • Off
  • Module
  • Built in

This driver supports TPS65912 GPIO chip.

CONFIG_GPIO_TPS68470 TPS68470 GPIO

  • Off
  • Module
  • Built in

Select this option to enable GPIO driver for the TPS68470 chip family. There are 7 GPIOs and few sensor-related GPIOs supported by the TPS68470. While the 7 GPIOs can be configured as input or output as appropriate, the sensor related GPIOs are "output only" GPIOs.

CONFIG_GPIO_TWL4030 TWL4030, TWL5030, and TPS659x0 GPIOs

  • Off
  • Module
  • Built in

Say yes here to access the GPIO signals of various multi-function power management chips from Texas Instruments.

CONFIG_GPIO_TWL6040 TWL6040 GPO

  • Off
  • Module
  • Built in

Say yes here to access the GPO signals of twl6040 audio chip from Texas Instruments.

CONFIG_GPIO_WM831X WM831x GPIOs

  • Off
  • Module
  • Built in

Say yes here to access the GPIO signals of WM831x power management chips from Wolfson Microelectronics.

CONFIG_GPIO_WM8350 WM8350 GPIOs

  • Off
  • Module
  • Built in

Say yes here to access the GPIO signals of WM8350 power management chips from Wolfson Microelectronics.

CONFIG_GPIO_WM8994 WM8994 GPIOs

  • Off
  • Module
  • Built in

Say yes here to access the GPIO signals of WM8994 audio hub CODECs from Wolfson Microelectronics.

End of MFD GPIO expanders

Auxiliary Bus GPIO drivers

CONFIG_GPIO_AD7768 Analog Devices AD7768 GPIO support

  • Off
  • Module
  • Built in

Say yes here to expose the AD7768 utility pins as GPIOs when the device tree node is marked as a GPIO controller.

To compile this driver as a module, choose M here: the module will be called gpio-ad7768.

CONFIG_GPIO_LTC4283 Analog Devices LTC4283 GPIO support

  • Off
  • Module
  • Built in

If you say yes here you want the GPIO function available in Analog Devices LTC4283 Negative Voltage Hot Swap Controller.

This driver can also be built as a module. If so, the module will be called gpio-ltc4283.

End of Auxiliary Bus GPIO drivers

CONFIG_GPIO_TC9563 Toshiba TC9563 GPIO support

  • Off
  • Module
  • Built in

This enables support for the GPIO controller embedded in the Toshiba TC9563 (and Qualcomm QPS615). This device connects to the host via PCIe port, which is the upstream port on an internal PCIe switch.

PCI GPIO expanders

CONFIG_GPIO_AMD8111 AMD 8111 GPIO driver

  • Off
  • Module
  • Built in

The AMD 8111 southbridge contains 32 GPIO pins which can be used.

Note that usually system firmware/ACPI handles GPIO pins on their own and users might easily break their systems with uncareful usage of this driver!

If unsure, say N

CONFIG_GPIO_BT8XX BT8XX GPIO abuser

  • Off
  • Module
  • Built in

The BT8xx frame grabber chip has 24 GPIO pins that can be abused as a cheap PCI GPIO card.

This chip can be found on Miro, Hauppauge and STB TV-cards.

The card needs to be physically altered for using it as a GPIO card. For more information on how to build a GPIO card from a BT8xx TV card, see the documentation file at Documentation/driver-api/gpio/bt8xxgpio.rst

If unsure, say N.

CONFIG_GPIO_MLXBF3 Mellanox BlueField 3 SoC GPIO

  • Off
  • Module
  • Built in

Say Y if you want GPIO support on Mellanox BlueField 3 SoC. This GPIO controller supports interrupt handling and enables the manipulation of certain GPIO pins. This controller should be used in parallel with pinctrl-mlxbf3 to control the desired GPIOs. This driver can also be built as a module called mlxbf3-gpio.

CONFIG_GPIO_ML_IOH OKI SEMICONDUCTOR ML7213 IOH GPIO support

  • Off
  • Module
  • Built in

ML7213 is companion chip for Intel Atom E6xx series. This driver can be used for OKI SEMICONDUCTOR ML7213 IOH (Input/Output Hub) which is for IVI (In-Vehicle Infotainment) use. This driver can access the IOH's GPIO device.

CONFIG_GPIO_PCH Intel EG20T PCH/LAPIS Semiconductor IOH (ML7223/ML7831) GPIO

  • Off
  • Module
  • Built in

This driver is for PCH (Platform Controller Hub) GPIO of Intel Topcliff, which is an IOH (Input/Output Hub) for x86 embedded processor. This driver can access PCH GPIO device.

This driver also can be used for LAPIS Semiconductor IOH (Input/ Output Hub), ML7223 and ML7831. ML7223 IOH is for MP (Media Phone) use. ML7831 IOH is for general purpose use. ML7223/ML7831 is companion chip for Intel Atom E6xx series. ML7223/ML7831 is completely compatible for Intel EG20T PCH.

CONFIG_GPIO_PCI_IDIO_16 ACCES PCI-IDIO-16 GPIO support

  • Off
  • Module
  • Built in

Enables GPIO support for the ACCES PCI-IDIO-16. An interrupt is generated when any of the inputs change state (low to high or high to low). Input filter control is not supported by this driver, and the input filters are deactivated by this driver.

CONFIG_GPIO_PCIE_IDIO_24 ACCES PCIe-IDIO-24 GPIO support

  • Off
  • Module
  • Built in

Enables GPIO support for the ACCES PCIe-IDIO-24 family (PCIe-IDIO-24, PCIe-IDI-24, PCIe-IDO-24, PCIe-IDIO-12). An interrupt is generated when any of the inputs change state (low to high or high to low). Input filter control is not supported by this driver, and the input filters are deactivated by this driver.

End of PCI GPIO expanders

SPI GPIO expanders

CONFIG_GPIO_74X164 74x164 serial-in/parallel-out 8-bits shift register

  • Off
  • Module
  • Built in

Driver for 74x164 compatible serial-in/parallel-out 8-outputs shift registers. This driver can be used to provide access to more GPIO outputs.

CONFIG_GPIO_MAX3191X Maxim MAX3191x industrial serializer

  • Off
  • Module
  • Built in

GPIO driver for Maxim MAX31910, MAX31911, MAX31912, MAX31913, MAX31953 and MAX31963 industrial serializer, a daisy-chainable chip to make 8 digital 24V inputs available via SPI. Supports CRC checksums to guard against electromagnetic interference, as well as undervoltage and overtemperature detection.

CONFIG_GPIO_MC33880 Freescale MC33880 high-side/low-side switch

  • Off
  • Module
  • Built in

SPI driver for Freescale MC33880 high-side/low-side switch. This provides GPIO interface supporting inputs and outputs.

CONFIG_GPIO_PISOSR Generic parallel-in/serial-out shift register

  • Off
  • Module
  • Built in

GPIO driver for SPI compatible parallel-in/serial-out shift registers. These are input only devices.

CONFIG_GPIO_MOXTET Turris Mox Moxtet bus GPIO expander

  • Off
  • Module
  • Built in

Say yes here if you are building for the Turris Mox router. This is the driver needed for configuring the GPIOs via the Moxtet bus. For example the Mox module with SFP cage needs this driver so that phylink can use corresponding GPIOs.

End of SPI GPIO expanders

USB GPIO expanders

CONFIG_GPIO_VIPERBOARD Viperboard GPIO a & b support

  • Off
  • Module
  • Built in

Say yes here to access the GPIO signals of Nano River Technologies Viperboard. There are two GPIO chips on the board: gpioa and gpiob. See viperboard API specification and Nano River Tech's viperboard.h for detailed meaning of the module parameters.

CONFIG_GPIO_MPSSE FTDI MPSSE GPIO support

  • Off
  • Module
  • Built in

GPIO driver for FTDI's MPSSE interface. These can do input and output. Each MPSSE provides 16 IO pins.

CONFIG_GPIO_USBIO Intel USBIO GPIO support

  • Off
  • Module
  • Built in

Select this option to enable GPIO driver for the INTEL USBIO driver stack.

This driver can also be built as a module. If so, the module will be called gpio_usbio.

End of USB GPIO expanders

Virtual GPIO drivers

CONFIG_GPIO_AGGREGATOR GPIO Aggregator

  • Off
  • Module
  • Built in
Say yes here to enable the GPIO Aggregator, which provides a way to
aggregate existing GPIO lines into a new virtual GPIO chip.
This can serve the following purposes:
  - Assign permissions for a collection of GPIO lines to a user,
  - Export a collection of GPIO lines to a virtual machine,
  - Provide a generic driver for a GPIO-operated device in an
    industrial control context, to be operated from userspace using
    the GPIO chardev interface.

CONFIG_GPIO_LATCH GPIO latch driver

  • Off
  • Module
  • Built in

Say yes here to enable a driver for GPIO multiplexers based on latches connected to other GPIOs.

CONFIG_GPIO_LINE_MUX GPIO line mux driver

  • Off
  • Module
  • Built in

Say Y here to support the GPIO line mux, which can provide virtual GPIOs backed by a shared real GPIO and a multiplexer in a 1-to-many fashion.

CONFIG_GPIO_MOCKUP GPIO Testing Driver (DEPRECATED)

  • Off
  • Module
  • Built in

This module is DEPRECATED. Please consider using gpio-sim instead.

This enables GPIO Testing driver, which provides a way to test GPIO subsystem through sysfs (or char device) and debugfs. User could use it through the script in tools/testing/selftests/gpio/gpio-mockup.sh. Reference the usage in it.

CONFIG_GPIO_VIRTIO VirtIO GPIO support

  • Off
  • Module
  • Built in

Say Y here to enable guest support for virtio-based GPIO controllers.

These virtual GPIOs can be routed to real GPIOs or attached to simulators on the host (like QEMU).

End of Virtual GPIO drivers

GPIO Debugging utilities

CONFIG_GPIO_SLOPPY_LOGIC_ANALYZER Sloppy GPIO logic analyzer

  • Off
  • Module
  • Built in

This option enables support for a sloppy logic analyzer using polled GPIOs. Use the 'tools/gpio/gpio-sloppy-logic-analyzer' script with this driver. The script will make it easier to use and will also isolate a CPU for the polling task. Note that this is a last resort analyzer which can be affected by latencies, non-deterministic code paths, or NMIs. However, for e.g. remote development, it may be useful to get a first view and aid further debugging.

If this driver is built as a module it will be called 'gpio-sloppy-logic-analyzer'.

CONFIG_GPIO_VIRTUSER GPIO Virtual User Testing Module

  • Off
  • Module
  • Built in

Say Y here to enable the configurable, configfs-based virtual GPIO consumer testing driver.

This driver is aimed as a helper in spotting any regressions in hot-unplug handling in GPIOLIB.

End of GPIO Debugging utilities
CONFIG_MACH_LOONGSON32 declarations