Kconfig (d93618da6b6d453c6a9684a3460ffd51b9b4ef2e) Kconfig (80280df758c1498485988b30cf6887fde7796056)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# GPIO infrastructure and drivers
4#
5
6config ARCH_HAVE_CUSTOM_GPIO_H
7 bool
8 help

--- 95 unchanged lines hidden (view full) ---

104 tristate
105
106# put drivers in the right section, in alphabetical order
107
108# This symbol is selected by both I2C and SPI expanders
109config GPIO_MAX730X
110 tristate
111
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# GPIO infrastructure and drivers
4#
5
6config ARCH_HAVE_CUSTOM_GPIO_H
7 bool
8 help

--- 95 unchanged lines hidden (view full) ---

104 tristate
105
106# put drivers in the right section, in alphabetical order
107
108# This symbol is selected by both I2C and SPI expanders
109config GPIO_MAX730X
110 tristate
111
112config GPIO_IDIO_16
113 tristate
114 help
115 Enables support for the idio-16 library functions. The idio-16 library
116 provides functions to facilitate communication with devices within the
117 ACCES IDIO-16 family such as the 104-IDIO-16 and the PCI-IDIO-16.
118
119 If built as a module its name will be gpio-idio-16.
120
112menu "Memory mapped GPIO drivers"
113 depends on HAS_IOMEM
114
115config GPIO_74XX_MMIO
116 tristate "GPIO driver for 74xx-ICs with MMIO access"
117 depends on OF_GPIO
118 select GPIO_GENERIC
119 help

--- 185 unchanged lines hidden (view full) ---

305 select GPIO_GENERIC
306 select IRQ_DOMAIN
307 help
308 Select this to support Aeroflex Gaisler GRGPIO cores from the GRLIB
309 VHDL IP core library.
310
311config GPIO_HISI
312 tristate "HiSilicon GPIO controller driver"
121menu "Memory mapped GPIO drivers"
122 depends on HAS_IOMEM
123
124config GPIO_74XX_MMIO
125 tristate "GPIO driver for 74xx-ICs with MMIO access"
126 depends on OF_GPIO
127 select GPIO_GENERIC
128 help

--- 185 unchanged lines hidden (view full) ---

314 select GPIO_GENERIC
315 select IRQ_DOMAIN
316 help
317 Select this to support Aeroflex Gaisler GRGPIO cores from the GRLIB
318 VHDL IP core library.
319
320config GPIO_HISI
321 tristate "HiSilicon GPIO controller driver"
313 depends on (ARM64 && ACPI) || COMPILE_TEST
322 depends on ARM64 || COMPILE_TEST
314 select GPIO_GENERIC
315 select GPIOLIB_IRQCHIP
316 help
317 Say Y or M here to build support for the HiSilicon GPIO controller
318 driver GPIO block.
319 This GPIO controller supports double-edge interrupt and multi-core
320 concurrent access.
321

--- 273 unchanged lines hidden (view full) ---

595config GPIO_SPRD
596 tristate "Spreadtrum GPIO support"
597 depends on ARCH_SPRD || COMPILE_TEST
598 depends on OF_GPIO
599 select GPIOLIB_IRQCHIP
600 help
601 Say yes here to support Spreadtrum GPIO device.
602
323 select GPIO_GENERIC
324 select GPIOLIB_IRQCHIP
325 help
326 Say Y or M here to build support for the HiSilicon GPIO controller
327 driver GPIO block.
328 This GPIO controller supports double-edge interrupt and multi-core
329 concurrent access.
330

--- 273 unchanged lines hidden (view full) ---

604config GPIO_SPRD
605 tristate "Spreadtrum GPIO support"
606 depends on ARCH_SPRD || COMPILE_TEST
607 depends on OF_GPIO
608 select GPIOLIB_IRQCHIP
609 help
610 Say yes here to support Spreadtrum GPIO device.
611
603config GPIO_STA2X11
604 bool "STA2x11/ConneXt GPIO support"
605 depends on MFD_STA2X11
606 select GENERIC_IRQ_CHIP
607 help
608 Say yes here to support the STA2x11/ConneXt GPIO device.
609 The GPIO module has 128 GPIO pins with alternate functions.
610
611config GPIO_STP_XWAY
612 bool "XWAY STP GPIOs"
613 depends on SOC_XWAY || COMPILE_TEST
614 depends on OF_GPIO
615 help
616 This enables support for the Serial To Parallel (STP) unit found on
617 XWAY SoC. The STP allows the SoC to drive a shift registers cascade,
618 that can be up to 24 bits. This peripheral is aimed at driving LEDs.

--- 233 unchanged lines hidden (view full) ---

852 configured via the base module parameter. The interrupt line numbers
853 for the devices may be configured via the irq module parameter.
854
855config GPIO_104_IDIO_16
856 tristate "ACCES 104-IDIO-16 GPIO support"
857 depends on PC104
858 select ISA_BUS_API
859 select GPIOLIB_IRQCHIP
612config GPIO_STP_XWAY
613 bool "XWAY STP GPIOs"
614 depends on SOC_XWAY || COMPILE_TEST
615 depends on OF_GPIO
616 help
617 This enables support for the Serial To Parallel (STP) unit found on
618 XWAY SoC. The STP allows the SoC to drive a shift registers cascade,
619 that can be up to 24 bits. This peripheral is aimed at driving LEDs.

--- 233 unchanged lines hidden (view full) ---

853 configured via the base module parameter. The interrupt line numbers
854 for the devices may be configured via the irq module parameter.
855
856config GPIO_104_IDIO_16
857 tristate "ACCES 104-IDIO-16 GPIO support"
858 depends on PC104
859 select ISA_BUS_API
860 select GPIOLIB_IRQCHIP
861 select GPIO_IDIO_16
860 help
861 Enables GPIO support for the ACCES 104-IDIO-16 family (104-IDIO-16,
862 104-IDIO-16E, 104-IDO-16, 104-IDIO-8, 104-IDIO-8E, 104-IDO-8). The
863 base port addresses for the devices may be configured via the base
864 module parameter. The interrupt line numbers for the devices may be
865 configured via the irq module parameter.
866
867config GPIO_104_IDI_48

--- 688 unchanged lines hidden (view full) ---

1556 ML7223 IOH is for MP (Media Phone) use.
1557 ML7831 IOH is for general purpose use.
1558 ML7223/ML7831 is companion chip for Intel Atom E6xx series.
1559 ML7223/ML7831 is completely compatible for Intel EG20T PCH.
1560
1561config GPIO_PCI_IDIO_16
1562 tristate "ACCES PCI-IDIO-16 GPIO support"
1563 select GPIOLIB_IRQCHIP
862 help
863 Enables GPIO support for the ACCES 104-IDIO-16 family (104-IDIO-16,
864 104-IDIO-16E, 104-IDO-16, 104-IDIO-8, 104-IDIO-8E, 104-IDO-8). The
865 base port addresses for the devices may be configured via the base
866 module parameter. The interrupt line numbers for the devices may be
867 configured via the irq module parameter.
868
869config GPIO_104_IDI_48

--- 688 unchanged lines hidden (view full) ---

1558 ML7223 IOH is for MP (Media Phone) use.
1559 ML7831 IOH is for general purpose use.
1560 ML7223/ML7831 is companion chip for Intel Atom E6xx series.
1561 ML7223/ML7831 is completely compatible for Intel EG20T PCH.
1562
1563config GPIO_PCI_IDIO_16
1564 tristate "ACCES PCI-IDIO-16 GPIO support"
1565 select GPIOLIB_IRQCHIP
1566 select GPIO_IDIO_16
1564 help
1565 Enables GPIO support for the ACCES PCI-IDIO-16. An interrupt is
1566 generated when any of the inputs change state (low to high or high to
1567 low). Input filter control is not supported by this driver, and the
1568 input filters are deactivated by this driver.
1569
1570config GPIO_PCIE_IDIO_24
1571 tristate "ACCES PCIe-IDIO-24 GPIO support"

--- 104 unchanged lines hidden (view full) ---

1676 aggregate existing GPIO lines into a new virtual GPIO chip.
1677 This can serve the following purposes:
1678 - Assign permissions for a collection of GPIO lines to a user,
1679 - Export a collection of GPIO lines to a virtual machine,
1680 - Provide a generic driver for a GPIO-operated device in an
1681 industrial control context, to be operated from userspace using
1682 the GPIO chardev interface.
1683
1567 help
1568 Enables GPIO support for the ACCES PCI-IDIO-16. An interrupt is
1569 generated when any of the inputs change state (low to high or high to
1570 low). Input filter control is not supported by this driver, and the
1571 input filters are deactivated by this driver.
1572
1573config GPIO_PCIE_IDIO_24
1574 tristate "ACCES PCIe-IDIO-24 GPIO support"

--- 104 unchanged lines hidden (view full) ---

1679 aggregate existing GPIO lines into a new virtual GPIO chip.
1680 This can serve the following purposes:
1681 - Assign permissions for a collection of GPIO lines to a user,
1682 - Export a collection of GPIO lines to a virtual machine,
1683 - Provide a generic driver for a GPIO-operated device in an
1684 industrial control context, to be operated from userspace using
1685 the GPIO chardev interface.
1686
1687config GPIO_LATCH
1688 tristate "GPIO latch driver"
1689 help
1690 Say yes here to enable a driver for GPIO multiplexers based on latches
1691 connected to other GPIOs.
1692
1684config GPIO_MOCKUP
1685 tristate "GPIO Testing Driver"
1686 select IRQ_SIM
1687 help
1688 This enables GPIO Testing driver, which provides a way to test GPIO
1689 subsystem through sysfs (or char device) and debugfs.
1690 User could use it through the script in
1691 tools/testing/selftests/gpio/gpio-mockup.sh. Reference the usage in

--- 23 unchanged lines hidden ---
1693config GPIO_MOCKUP
1694 tristate "GPIO Testing Driver"
1695 select IRQ_SIM
1696 help
1697 This enables GPIO Testing driver, which provides a way to test GPIO
1698 subsystem through sysfs (or char device) and debugfs.
1699 User could use it through the script in
1700 tools/testing/selftests/gpio/gpio-mockup.sh. Reference the usage in

--- 23 unchanged lines hidden ---