Kconfig (a45ff5994c9cde41af627c46abb9f32beae68943) Kconfig (baa293e9544bea71361950d071579f0e4d5713ed)
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

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

57 non-sleeping contexts. They can make bitbanged serial protocols
58 slower. The diagnostics help catch the type of setup errors
59 that are most common when setting up new platforms or boards.
60
61config GPIO_SYSFS
62 bool "/sys/class/gpio/... (sysfs interface)"
63 depends on SYSFS
64 help
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

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

57 non-sleeping contexts. They can make bitbanged serial protocols
58 slower. The diagnostics help catch the type of setup errors
59 that are most common when setting up new platforms or boards.
60
61config GPIO_SYSFS
62 bool "/sys/class/gpio/... (sysfs interface)"
63 depends on SYSFS
64 help
65 Say Y here to add a sysfs interface for GPIOs.
65 Say Y here to add the legacy sysfs interface for GPIOs.
66
66
67 This is mostly useful to work around omissions in a system's
68 kernel support. Those are common in custom and semicustom
69 hardware assembled using standard kernels with a minimum of
70 custom patches. In those cases, userspace code may import
71 a given GPIO from the kernel, if no kernel driver requested it.
67 This ABI is deprecated. If you want to use GPIO from userspace,
68 use the character device /dev/gpiochipN with the appropriate
69 ioctl() operations instead. The character device is always
70 available.
72
71
73 Kernel drivers may also request that a particular GPIO be
74 exported to userspace; this can be useful when debugging.
75
76config GPIO_GENERIC
77 depends on HAS_IOMEM # Only for IOMEM drivers
78 tristate
79
80# put drivers in the right section, in alphabetical order
81
82# This symbol is selected by both I2C and SPI expanders
83config GPIO_MAX730X

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

173 depends on ARCH_CLPS711X || COMPILE_TEST
174 select GPIO_GENERIC
175 help
176 Say yes here to support GPIO on CLPS711X SoCs.
177
178config GPIO_DAVINCI
179 bool "TI Davinci/Keystone GPIO support"
180 default y if ARCH_DAVINCI
72config GPIO_GENERIC
73 depends on HAS_IOMEM # Only for IOMEM drivers
74 tristate
75
76# put drivers in the right section, in alphabetical order
77
78# This symbol is selected by both I2C and SPI expanders
79config GPIO_MAX730X

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

169 depends on ARCH_CLPS711X || COMPILE_TEST
170 select GPIO_GENERIC
171 help
172 Say yes here to support GPIO on CLPS711X SoCs.
173
174config GPIO_DAVINCI
175 bool "TI Davinci/Keystone GPIO support"
176 default y if ARCH_DAVINCI
181 depends on ARM && (ARCH_DAVINCI || ARCH_KEYSTONE)
177 depends on (ARM || ARM64) && (ARCH_DAVINCI || ARCH_KEYSTONE || ARCH_K3)
182 help
183 Say yes here to enable GPIO support for TI Davinci/Keystone SoCs.
184
185config GPIO_DWAPB
186 tristate "Synopsys DesignWare APB GPIO driver"
187 select GPIO_GENERIC
188 select GENERIC_IRQ_CHIP
189 help

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

488 depends on MFD_STA2X11
489 select GENERIC_IRQ_CHIP
490 help
491 Say yes here to support the STA2x11/ConneXt GPIO device.
492 The GPIO module has 128 GPIO pins with alternate functions.
493
494config GPIO_STP_XWAY
495 bool "XWAY STP GPIOs"
178 help
179 Say yes here to enable GPIO support for TI Davinci/Keystone SoCs.
180
181config GPIO_DWAPB
182 tristate "Synopsys DesignWare APB GPIO driver"
183 select GPIO_GENERIC
184 select GENERIC_IRQ_CHIP
185 help

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

484 depends on MFD_STA2X11
485 select GENERIC_IRQ_CHIP
486 help
487 Say yes here to support the STA2x11/ConneXt GPIO device.
488 The GPIO module has 128 GPIO pins with alternate functions.
489
490config GPIO_STP_XWAY
491 bool "XWAY STP GPIOs"
496 depends on SOC_XWAY
492 depends on SOC_XWAY || COMPILE_TEST
493 depends on OF_GPIO
497 help
498 This enables support for the Serial To Parallel (STP) unit found on
499 XWAY SoC. The STP allows the SoC to drive a shift registers cascade,
500 that can be up to 24 bit. This peripheral is aimed at driving leds.
501 Some of the gpios/leds can be auto updated by the soc with dsl and
502 phy status.
503
504config GPIO_SYSCON

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

597 select GPIOLIB_IRQCHIP
598 select IRQ_DOMAIN_HIERARCHY
599 help
600 This driver supports the GPIO block within the APM X-Gene
601 Standby Domain. Say yes here to enable the GPIO functionality.
602
603config GPIO_XILINX
604 tristate "Xilinx GPIO support"
494 help
495 This enables support for the Serial To Parallel (STP) unit found on
496 XWAY SoC. The STP allows the SoC to drive a shift registers cascade,
497 that can be up to 24 bit. This peripheral is aimed at driving leds.
498 Some of the gpios/leds can be auto updated by the soc with dsl and
499 phy status.
500
501config GPIO_SYSCON

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

594 select GPIOLIB_IRQCHIP
595 select IRQ_DOMAIN_HIERARCHY
596 help
597 This driver supports the GPIO block within the APM X-Gene
598 Standby Domain. Say yes here to enable the GPIO functionality.
599
600config GPIO_XILINX
601 tristate "Xilinx GPIO support"
605 depends on OF_GPIO
606 help
607 Say yes here to support the Xilinx FPGA GPIO device
608
609config GPIO_XLP
610 tristate "Netlogic XLP GPIO support"
611 depends on OF_GPIO && (CPU_XLP || ARCH_THUNDER2 || COMPILE_TEST)
612 select GPIOLIB_IRQCHIP
613 help

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

1300 The BT8xx frame grabber chip has 24 GPIO pins that can be abused
1301 as a cheap PCI GPIO card.
1302
1303 This chip can be found on Miro, Hauppauge and STB TV-cards.
1304
1305 The card needs to be physically altered for using it as a
1306 GPIO card. For more information on how to build a GPIO card
1307 from a BT8xx TV card, see the documentation file at
602 help
603 Say yes here to support the Xilinx FPGA GPIO device
604
605config GPIO_XLP
606 tristate "Netlogic XLP GPIO support"
607 depends on OF_GPIO && (CPU_XLP || ARCH_THUNDER2 || COMPILE_TEST)
608 select GPIOLIB_IRQCHIP
609 help

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

1296 The BT8xx frame grabber chip has 24 GPIO pins that can be abused
1297 as a cheap PCI GPIO card.
1298
1299 This chip can be found on Miro, Hauppauge and STB TV-cards.
1300
1301 The card needs to be physically altered for using it as a
1302 GPIO card. For more information on how to build a GPIO card
1303 from a BT8xx TV card, see the documentation file at
1308 Documentation/bt8xxgpio.txt
1304 Documentation/driver-api/bt8xxgpio.rst
1309
1310 If unsure, say N.
1311
1312config GPIO_INTEL_MID
1313 bool "Intel MID GPIO support"
1314 depends on X86_INTEL_MID
1315 select GPIOLIB_IRQCHIP
1316 help

--- 155 unchanged lines hidden ---
1305
1306 If unsure, say N.
1307
1308config GPIO_INTEL_MID
1309 bool "Intel MID GPIO support"
1310 depends on X86_INTEL_MID
1311 select GPIOLIB_IRQCHIP
1312 help

--- 155 unchanged lines hidden ---