Kconfig (58f7553fa424fd0fd74e8b796d50c66014cebebe) | Kconfig (356b01a986a5550ee16dd0b85306c6741f2d02d5) |
---|---|
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 --- 45 unchanged lines hidden (view full) --- 54 Say Y here to add some extra checks and diagnostics to GPIO calls. 55 These checks help ensure that GPIOs have been properly initialized 56 before they are used, and that sleeping calls are not made from 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 | 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 --- 45 unchanged lines hidden (view full) --- 54 Say Y here to add some extra checks and diagnostics to GPIO calls. 55 These checks help ensure that GPIOs have been properly initialized 56 before they are used, and that sleeping calls are not made from 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)" | 62 bool "/sys/class/gpio/... (sysfs interface)" if EXPERT |
63 depends on SYSFS | 63 depends on SYSFS |
64 select GPIO_CDEV # We need to encourage the new ABI |
|
64 help 65 Say Y here to add the legacy sysfs interface for GPIOs. 66 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. 70 71config GPIO_CDEV --- 178 unchanged lines hidden (view full) --- 250 def_bool y 251 depends on ARCH_EP93XX 252 select GPIO_GENERIC 253 select GPIOLIB_IRQCHIP 254 255config GPIO_EXAR 256 tristate "Support for GPIO pins on XR17V352/354/358" 257 depends on SERIAL_8250_EXAR | 65 help 66 Say Y here to add the legacy sysfs interface for GPIOs. 67 68 This ABI is deprecated. If you want to use GPIO from userspace, 69 use the character device /dev/gpiochipN with the appropriate 70 ioctl() operations instead. 71 72config GPIO_CDEV --- 178 unchanged lines hidden (view full) --- 251 def_bool y 252 depends on ARCH_EP93XX 253 select GPIO_GENERIC 254 select GPIOLIB_IRQCHIP 255 256config GPIO_EXAR 257 tristate "Support for GPIO pins on XR17V352/354/358" 258 depends on SERIAL_8250_EXAR |
259 select REGMAP_MMIO |
|
258 help 259 Selecting this option will enable handling of GPIO pins present 260 on Exar XR17V352/354/358 chips. 261 262config GPIO_GE_FPGA 263 bool "GE FPGA based GPIO" 264 depends on GE_FPGA 265 select GPIO_GENERIC --- 25 unchanged lines hidden (view full) --- 291 tristate "Aeroflex Gaisler GRGPIO support" 292 depends on OF_GPIO 293 select GPIO_GENERIC 294 select IRQ_DOMAIN 295 help 296 Select this to support Aeroflex Gaisler GRGPIO cores from the GRLIB 297 VHDL IP core library. 298 | 260 help 261 Selecting this option will enable handling of GPIO pins present 262 on Exar XR17V352/354/358 chips. 263 264config GPIO_GE_FPGA 265 bool "GE FPGA based GPIO" 266 depends on GE_FPGA 267 select GPIO_GENERIC --- 25 unchanged lines hidden (view full) --- 293 tristate "Aeroflex Gaisler GRGPIO support" 294 depends on OF_GPIO 295 select GPIO_GENERIC 296 select IRQ_DOMAIN 297 help 298 Select this to support Aeroflex Gaisler GRGPIO cores from the GRLIB 299 VHDL IP core library. 300 |
301config GPIO_HISI 302 tristate "HiSilicon GPIO controller driver" 303 depends on (ARM64 || COMPILE_TEST) && ACPI 304 select GPIO_GENERIC 305 select GPIOLIB_IRQCHIP 306 help 307 Say Y or M here to build support for the HiSilicon GPIO controller 308 driver GPIO block. 309 This GPIO controller support double-edge interrupt and multi-core 310 concurrent access. 311 |
|
299config GPIO_HLWD 300 tristate "Nintendo Wii (Hollywood) GPIO" 301 depends on OF_GPIO 302 select GPIO_GENERIC 303 select GPIOLIB_IRQCHIP 304 help 305 Select this to support the GPIO controller of the Nintendo Wii. 306 --- 425 unchanged lines hidden (view full) --- 732 tristate "GPIO support for AMD Fusion Controller Hub (G-series SOCs)" 733 help 734 This option enables driver for GPIO on AMDs Fusion Controller Hub, 735 as found on G-series SOCs (eg. GX-412TC) 736 737 Note: This driver doesn't registers itself automatically, as it 738 needs to be provided with platform specific configuration. 739 (See eg. CONFIG_PCENGINES_APU2.) | 312config GPIO_HLWD 313 tristate "Nintendo Wii (Hollywood) GPIO" 314 depends on OF_GPIO 315 select GPIO_GENERIC 316 select GPIOLIB_IRQCHIP 317 help 318 Select this to support the GPIO controller of the Nintendo Wii. 319 --- 425 unchanged lines hidden (view full) --- 745 tristate "GPIO support for AMD Fusion Controller Hub (G-series SOCs)" 746 help 747 This option enables driver for GPIO on AMDs Fusion Controller Hub, 748 as found on G-series SOCs (eg. GX-412TC) 749 750 Note: This driver doesn't registers itself automatically, as it 751 needs to be provided with platform specific configuration. 752 (See eg. CONFIG_PCENGINES_APU2.) |
753 754config GPIO_MSC313 755 bool "MStar MSC313 GPIO support" 756 depends on ARCH_MSTARV7 757 default ARCH_MSTARV7 758 select GPIOLIB_IRQCHIP 759 select IRQ_DOMAIN_HIERARCHY 760 help 761 Say Y here to support the main GPIO block on MStar/SigmaStar 762 ARMv7 based SoCs. 763 |
|
740endmenu 741 742menu "Port-mapped I/O GPIO drivers" 743 depends on X86 # Unconditional I/O space access 744 745config GPIO_104_DIO_48E 746 tristate "ACCES 104-DIO-48E GPIO support" 747 depends on PC104 --- 837 unchanged lines hidden (view full) --- 1585 Technologies Viperboard. There are two GPIO chips on the 1586 board: gpioa and gpiob. 1587 See viperboard API specification and Nano 1588 River Tech's viperboard.h for detailed meaning 1589 of the module parameters. 1590 1591endmenu 1592 | 764endmenu 765 766menu "Port-mapped I/O GPIO drivers" 767 depends on X86 # Unconditional I/O space access 768 769config GPIO_104_DIO_48E 770 tristate "ACCES 104-DIO-48E GPIO support" 771 depends on PC104 --- 837 unchanged lines hidden (view full) --- 1609 Technologies Viperboard. There are two GPIO chips on the 1610 board: gpioa and gpiob. 1611 See viperboard API specification and Nano 1612 River Tech's viperboard.h for detailed meaning 1613 of the module parameters. 1614 1615endmenu 1616 |
1617menu "Virtual GPIO drivers" 1618 |
|
1593config GPIO_AGGREGATOR 1594 tristate "GPIO Aggregator" 1595 help 1596 Say yes here to enable the GPIO Aggregator, which provides a way to 1597 aggregate existing GPIO lines into a new virtual GPIO chip. 1598 This can serve the following purposes: 1599 - Assign permissions for a collection of GPIO lines to a user, 1600 - Export a collection of GPIO lines to a virtual machine, --- 7 unchanged lines hidden (view full) --- 1608 help 1609 This enables GPIO Testing driver, which provides a way to test GPIO 1610 subsystem through sysfs(or char device) and debugfs. GPIO_SYSFS 1611 must be selected for this test. 1612 User could use it through the script in 1613 tools/testing/selftests/gpio/gpio-mockup.sh. Reference the usage in 1614 it. 1615 | 1619config GPIO_AGGREGATOR 1620 tristate "GPIO Aggregator" 1621 help 1622 Say yes here to enable the GPIO Aggregator, which provides a way to 1623 aggregate existing GPIO lines into a new virtual GPIO chip. 1624 This can serve the following purposes: 1625 - Assign permissions for a collection of GPIO lines to a user, 1626 - Export a collection of GPIO lines to a virtual machine, --- 7 unchanged lines hidden (view full) --- 1634 help 1635 This enables GPIO Testing driver, which provides a way to test GPIO 1636 subsystem through sysfs(or char device) and debugfs. GPIO_SYSFS 1637 must be selected for this test. 1638 User could use it through the script in 1639 tools/testing/selftests/gpio/gpio-mockup.sh. Reference the usage in 1640 it. 1641 |
1642endmenu 1643 |
|
1616endif | 1644endif |