Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at master 2110 lines 63 kB view raw
1# SPDX-License-Identifier: GPL-2.0-only 2# 3# GPIO infrastructure and drivers 4# 5 6config GPIOLIB_LEGACY 7 def_bool y 8 9config HAVE_SHARED_GPIOS 10 bool 11 12menuconfig GPIOLIB 13 bool "GPIO Support" 14 help 15 This enables GPIO support through the generic GPIO library. 16 You only need to enable this if you also want to enable 17 one or more of the GPIO drivers below. 18 19 If unsure, say N. 20 21if GPIOLIB 22 23config GPIOLIB_FASTPATH_LIMIT 24 int "Maximum number of GPIOs for fast path" 25 range 32 512 26 default 512 27 help 28 This adjusts the point at which certain APIs will switch from 29 using a stack allocated buffer to a dynamically allocated buffer. 30 31 You shouldn't need to change this unless you really need to 32 optimize either stack space or performance. Change this carefully 33 since setting an incorrect value could cause stack corruption. 34 35config OF_GPIO 36 def_bool y 37 depends on OF 38 depends on HAS_IOMEM 39 40config GPIO_ACPI 41 def_bool y 42 depends on ACPI 43 44config GPIOLIB_IRQCHIP 45 select IRQ_DOMAIN 46 bool 47 48config GPIO_SHARED 49 def_bool y 50 depends on HAVE_SHARED_GPIOS || COMPILE_TEST 51 select AUXILIARY_BUS 52 53config DEBUG_GPIO 54 bool "Debug GPIO calls" 55 depends on DEBUG_KERNEL 56 help 57 Say Y here to add some extra checks and diagnostics to GPIO calls. 58 These checks help ensure that GPIOs have been properly initialized 59 before they are used, and that sleeping calls are not made from 60 non-sleeping contexts. They can make bitbanged serial protocols 61 slower. The diagnostics help catch the type of setup errors 62 that are most common when setting up new platforms or boards. 63 64config GPIO_SYSFS 65 bool "/sys/class/gpio/... (sysfs interface)" if EXPERT 66 depends on SYSFS 67 select GPIO_CDEV # We need to encourage the new ABI 68 help 69 Say Y here to add the legacy sysfs interface for GPIOs. 70 71 This ABI is deprecated. If you want to use GPIO from userspace, 72 use the character device /dev/gpiochipN with the appropriate 73 ioctl() operations instead. 74 75config GPIO_SYSFS_LEGACY 76 bool "Enable legacy functionalities of the sysfs interface" 77 depends on GPIO_SYSFS 78 default y if GPIO_SYSFS 79 help 80 Say Y here if you want to enable the legacy, global GPIO 81 numberspace-based functionalities of the sysfs interface. 82 83config GPIO_CDEV 84 bool "Character device (/dev/gpiochipN) support" if EXPERT 85 default y 86 help 87 Say Y here to add the character device /dev/gpiochipN interface 88 for GPIOs. The character device allows userspace to control GPIOs 89 using ioctl() operations. 90 91 Only say N if you are sure that the GPIO character device is not 92 required. 93 94 If unsure, say Y. 95 96config GPIO_CDEV_V1 97 bool "Support GPIO ABI Version 1" 98 depends on GPIO_CDEV 99 help 100 Say Y here to support version 1 of the GPIO CDEV ABI. 101 102 This ABI version is deprecated. 103 Please use the latest ABI for new developments. 104 105config GPIO_GENERIC 106 depends on HAS_IOMEM # Only for IOMEM drivers 107 tristate 108 109config GPIO_REGMAP 110 select REGMAP 111 tristate 112 113config GPIO_SWNODE_UNDEFINED 114 bool 115 help 116 This adds a special place holder for software nodes to contain an 117 undefined GPIO reference, this is primarily used by SPI to allow a 118 list of GPIO chip selects to mark a certain chip select as being 119 controlled the SPI device's internal chip select mechanism and not 120 a GPIO. 121 122# put drivers in the right section, in alphabetical order 123 124# This symbol is selected by both I2C and SPI expanders 125config GPIO_MAX730X 126 tristate 127 128config GPIO_IDIO_16 129 tristate 130 select REGMAP_IRQ 131 select GPIOLIB_IRQCHIP 132 select GPIO_REGMAP 133 help 134 Enables support for the idio-16 library functions. The idio-16 library 135 provides functions to facilitate communication with devices within the 136 ACCES IDIO-16 family such as the 104-IDIO-16 and the PCI-IDIO-16. 137 138 If built as a module its name will be gpio-idio-16. 139 140menu "Memory mapped GPIO drivers" 141 depends on HAS_IOMEM 142 143config GPIO_74XX_MMIO 144 tristate "GPIO driver for 74xx-ICs with MMIO access" 145 depends on OF 146 select GPIO_GENERIC 147 help 148 Say yes here to support GPIO functionality for 74xx-compatible ICs 149 with MMIO access. Compatible models include: 150 1 bit: 741G125 (Input), 741G74 (Output) 151 2 bits: 742G125 (Input), 7474 (Output) 152 4 bits: 74125 (Input), 74175 (Output) 153 6 bits: 74365 (Input), 74174 (Output) 154 8 bits: 74244 (Input), 74273 (Output) 155 16 bits: 741624 (Input), 7416374 (Output) 156 157config GPIO_ALTERA 158 tristate "Altera GPIO" 159 select GPIOLIB_IRQCHIP 160 help 161 Say Y or M here to build support for the Altera PIO device. 162 163 If driver is built as a module it will be called gpio-altera. 164 165config GPIO_AMDPT 166 tristate "AMD Promontory GPIO support" 167 depends on ACPI 168 select GPIO_GENERIC 169 help 170 Driver for GPIO functionality on Promontory IOHub. 171 Requires ACPI ASL code to enumerate as a platform device. 172 173config GPIO_ASPEED 174 tristate "Aspeed GPIO support" 175 depends on ARCH_ASPEED || COMPILE_TEST 176 select GPIOLIB_IRQCHIP 177 help 178 Say Y here to support Aspeed AST2400 and AST2500 GPIO controllers. 179 180config GPIO_ASPEED_SGPIO 181 bool "Aspeed SGPIO support" 182 depends on ARCH_ASPEED || COMPILE_TEST 183 select GPIO_GENERIC 184 select GPIOLIB_IRQCHIP 185 help 186 Say Y here to support Aspeed AST2500 SGPIO functionality. 187 188config GPIO_ATH79 189 tristate "Atheros AR71XX/AR724X/AR913X GPIO support" 190 default y if ATH79 191 depends on ATH79 || COMPILE_TEST 192 select GPIO_GENERIC 193 select GPIOLIB_IRQCHIP 194 help 195 Select this option to enable GPIO driver for 196 Atheros AR71XX/AR724X/AR913X SoC devices. 197 198config GPIO_RASPBERRYPI_EXP 199 tristate "Raspberry Pi 3 GPIO Expander" 200 default RASPBERRYPI_FIRMWARE 201 # Make sure not 'y' when RASPBERRYPI_FIRMWARE is 'm'. This can only 202 # happen when COMPILE_TEST=y, hence the added !RASPBERRYPI_FIRMWARE. 203 depends on (ARCH_BCM2835 && RASPBERRYPI_FIRMWARE) || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE) 204 help 205 Turn on GPIO support for the expander on Raspberry Pi 3 boards, using 206 the firmware mailbox to communicate with VideoCore on BCM283x chips. 207 208config GPIO_BCM_KONA 209 bool "Broadcom Kona GPIO" 210 depends on ARCH_BCM_MOBILE || COMPILE_TEST 211 select GPIOLIB_IRQCHIP 212 help 213 Turn on GPIO support for Broadcom "Kona" chips. 214 215config GPIO_BCM_XGS_IPROC 216 tristate "BRCM XGS iProc GPIO support" 217 depends on ARCH_BCM_IPROC || COMPILE_TEST 218 select GPIO_GENERIC 219 select GPIOLIB_IRQCHIP 220 default ARCH_BCM_IPROC 221 help 222 Say yes here to enable GPIO support for Broadcom XGS iProc SoCs. 223 224config GPIO_BLZP1600 225 tristate "Blaize BLZP1600 GPIO support" 226 default y if ARCH_BLAIZE 227 depends on ARCH_BLAIZE || COMPILE_TEST 228 select GPIO_GENERIC 229 select GPIOLIB_IRQCHIP 230 help 231 Say Y or M here to add support for the Blaize BLZP1600 GPIO device. 232 The controller is based on the Verisilicon Microelectronics GPIO APB v0.2 233 IP block. 234 235config GPIO_BRCMSTB 236 tristate "BRCMSTB GPIO support" 237 default y if (ARCH_BRCMSTB || BMIPS_GENERIC) 238 depends on ARCH_BRCMSTB || ARCH_BCM2835 || BMIPS_GENERIC || COMPILE_TEST 239 depends on OF 240 select GPIO_GENERIC 241 select IRQ_DOMAIN 242 help 243 Say yes here to enable GPIO support for Broadcom STB (BCM7XXX) SoCs. 244 245config GPIO_BY_PINCTRL 246 tristate "GPIO support based on a pure pin control backend" 247 depends on GPIOLIB 248 help 249 Support for generic GPIO handling based on top of pin control. 250 Traditionally, firmware creates a GPIO interface or a pin 251 controller interface and we have a driver to support it. But 252 in SCMI, the pin control interface is generic and we can 253 create a simple GPIO device based on the pin control interface 254 without doing anything custom. 255 256 This driver is used to access GPIOs over the ARM SCMI protocol. 257 258config GPIO_CADENCE 259 tristate "Cadence GPIO support" 260 depends on OF 261 select GPIO_GENERIC 262 select GPIOLIB_IRQCHIP 263 help 264 Say yes here to enable support for Cadence GPIO controller. 265 266config GPIO_CLPS711X 267 tristate "CLPS711X GPIO support" 268 depends on ARCH_CLPS711X || COMPILE_TEST 269 select GPIO_GENERIC 270 help 271 Say yes here to support GPIO on CLPS711X SoCs. 272 273config GPIO_DAVINCI 274 tristate "TI Davinci/Keystone GPIO support" 275 default y if ARCH_DAVINCI 276 depends on ((ARM || ARM64) && (ARCH_DAVINCI || ARCH_KEYSTONE || ARCH_K3)) || COMPILE_TEST 277 select GPIOLIB_IRQCHIP 278 help 279 Say yes here to enable GPIO support for TI Davinci/Keystone SoCs. 280 281config GPIO_DWAPB 282 tristate "Synopsys DesignWare APB GPIO driver" 283 select GPIO_GENERIC 284 select GPIOLIB_IRQCHIP 285 help 286 Say Y or M here to build support for the Synopsys DesignWare APB 287 GPIO block. 288 289config GPIO_EIC_SPRD 290 tristate "Spreadtrum EIC support" 291 depends on ARCH_SPRD || COMPILE_TEST 292 select GPIOLIB_IRQCHIP 293 help 294 Say yes here to support Spreadtrum EIC device. 295 296config GPIO_EM 297 tristate "Emma Mobile GPIO" 298 depends on ARCH_EMEV2 || COMPILE_TEST 299 help 300 Say yes here to support GPIO on Renesas Emma Mobile SoCs. 301 302config GPIO_EN7523 303 tristate "Airoha GPIO support" 304 depends on ARCH_AIROHA 305 default ARCH_AIROHA 306 select GPIO_GENERIC 307 select GPIOLIB_IRQCHIP 308 help 309 Say Y or M here to support the GPIO controller block on the 310 Airoha EN7523 SoC. It supports two banks of 32 GPIOs. 311 312config GPIO_EP93XX 313 def_bool y 314 depends on ARCH_EP93XX || COMPILE_TEST 315 select GPIO_GENERIC 316 select GPIOLIB_IRQCHIP 317 318config GPIO_EXAR 319 tristate "Support for GPIO pins on XR17V352/354/358" 320 depends on SERIAL_8250_EXAR 321 select REGMAP_MMIO 322 help 323 Selecting this option will enable handling of GPIO pins present 324 on Exar XR17V352/354/358 chips. 325 326config GPIO_GE_FPGA 327 bool "GE FPGA based GPIO" 328 depends on GE_FPGA || COMPILE_TEST 329 select GPIO_GENERIC 330 help 331 Support for common GPIO functionality provided on some GE Single Board 332 Computers. 333 334 This driver provides basic support (configure as input or output, read 335 and write pin state) for GPIO implemented in a number of GE single 336 board computers. 337 338config GPIO_FTGPIO010 339 bool "Faraday FTGPIO010 GPIO" 340 depends on OF 341 select GPIO_GENERIC 342 select GPIOLIB_IRQCHIP 343 default (ARCH_GEMINI || ARCH_MOXART) 344 help 345 Support for common GPIOs from the Faraday FTGPIO010 IP core, found in 346 Cortina systems Gemini platforms, Moxa ART and others. 347 348config GPIO_GENERIC_PLATFORM 349 tristate "Generic memory-mapped GPIO controller support (MMIO platform device)" 350 select GPIO_GENERIC 351 help 352 Say yes here to support basic platform_device memory-mapped GPIO controllers. 353 354config GPIO_GRANITERAPIDS 355 tristate "Intel Granite Rapids-D vGPIO support" 356 depends on X86 || COMPILE_TEST 357 select GPIOLIB_IRQCHIP 358 help 359 Select this to enable virtual GPIO support on platforms with the 360 following SoCs: 361 362 - Intel Granite Rapids-D 363 364 The driver enables basic GPIO functionality and implements interrupt 365 support. The virtual GPIO driver controls GPIO lines via a firmware 366 interface. The physical GPIO pins reside on device that is external 367 from the main SoC package, such as a BMC or a CPLD. 368 369 To compile this driver as a module, choose M here: the module will 370 be called gpio-graniterapids. 371 372config GPIO_GRGPIO 373 tristate "Aeroflex Gaisler GRGPIO support" 374 depends on OF || COMPILE_TEST 375 select GPIO_GENERIC 376 select GPIOLIB_IRQCHIP 377 help 378 Select this to support Aeroflex Gaisler GRGPIO cores from the GRLIB 379 VHDL IP core library. 380 381config GPIO_HISI 382 tristate "HiSilicon GPIO controller driver" 383 depends on ARM64 || COMPILE_TEST 384 select GPIO_GENERIC 385 select GPIOLIB_IRQCHIP 386 help 387 Say Y or M here to build support for the HiSilicon GPIO controller 388 driver GPIO block. 389 This GPIO controller supports double-edge interrupt and multi-core 390 concurrent access. 391 392config GPIO_HLWD 393 tristate "Nintendo Wii (Hollywood) GPIO" 394 depends on OF 395 select GPIO_GENERIC 396 select GPIOLIB_IRQCHIP 397 help 398 Select this to support the GPIO controller of the Nintendo Wii. 399 400 If unsure, say N. 401 402config GPIO_ICH 403 tristate "Intel ICH GPIO" 404 depends on (X86 && LPC_ICH) || (COMPILE_TEST && HAS_IOPORT) 405 help 406 Say yes here to support the GPIO functionality of a number of Intel 407 ICH-based chipsets. Currently supported devices: ICH6, ICH7, ICH8 408 ICH9, ICH10, Series 5/3400 (e.g. Ibex Peak), Series 6/C200 (e.g. 409 Cougar Point), NM10 (Tiger Point), and 3100 (Whitmore Lake). 410 411 If unsure, say N. 412 413config GPIO_IMX_SCU 414 def_bool y 415 depends on IMX_SCU 416 417config GPIO_IXP4XX 418 bool "Intel IXP4xx GPIO" 419 depends on (ARCH_IXP4XX && OF) || COMPILE_TEST 420 select GPIO_GENERIC 421 select GPIOLIB_IRQCHIP 422 select IRQ_DOMAIN_HIERARCHY 423 help 424 Say yes here to support the GPIO functionality of a number of Intel 425 IXP4xx series of chips. 426 427 If unsure, say N. 428 429config GPIO_LOGICVC 430 tristate "Xylon LogiCVC GPIO support" 431 depends on MFD_SYSCON && OF 432 help 433 Say yes here to support GPIO functionality of the Xylon LogiCVC 434 programmable logic block. 435 436config GPIO_LOONGSON 437 bool "Loongson-2/3 GPIO support" 438 depends on CPU_LOONGSON2EF || CPU_LOONGSON64 439 help 440 Driver for GPIO functionality on Loongson-2F/3A/3B processors. 441 442config GPIO_LOONGSON_64BIT 443 tristate "Loongson 64 bit GPIO support" 444 depends on LOONGARCH || COMPILE_TEST 445 select GPIO_GENERIC 446 select GPIOLIB_IRQCHIP 447 help 448 Say yes here to support the GPIO functionality of a number of 449 Loongson series of chips. The Loongson GPIO controller supports 450 up to 60 GPIOS in total, 4 of which are dedicated GPIO pins, and 451 the remaining 56 are reused with other functions, with edge or 452 level triggered interrupts. 453 454config GPIO_LPC18XX 455 tristate "NXP LPC18XX/43XX GPIO support" 456 default y if ARCH_LPC18XX 457 depends on ARCH_LPC18XX || COMPILE_TEST 458 select IRQ_DOMAIN_HIERARCHY 459 select GPIOLIB_IRQCHIP 460 help 461 Select this option to enable GPIO driver for 462 NXP LPC18XX/43XX devices. 463 464config GPIO_LPC32XX 465 tristate "NXP LPC32XX GPIO support" 466 depends on ARCH_LPC32XX || COMPILE_TEST 467 depends on OF 468 help 469 Select this option to enable GPIO driver for 470 NXP LPC32XX devices. 471 472config GPIO_MB86S7X 473 tristate "GPIO support for Fujitsu MB86S7x Platforms" 474 help 475 Say yes here to support the GPIO controller in Fujitsu MB86S70 SoCs. 476 477config GPIO_MENZ127 478 tristate "MEN 16Z127 GPIO support" 479 depends on MCB 480 select GPIO_GENERIC 481 help 482 Say yes here to support the MEN 16Z127 GPIO Controller. 483 484config GPIO_MM_LANTIQ 485 bool "Lantiq Memory mapped GPIOs" 486 depends on LANTIQ && SOC_XWAY 487 help 488 This enables support for memory mapped GPIOs on the External Bus Unit 489 (EBU) found on Lantiq SoCs. The GPIOs are output only as they are 490 created by attaching a 16-bit latch to the bus. 491 492config GPIO_MPC5200 493 def_bool y 494 depends on PPC_MPC52xx 495 496config GPIO_MPC8XXX 497 bool "MPC512x/MPC8xxx/QorIQ GPIO support" 498 depends on PPC_MPC512x || PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || \ 499 FSL_SOC_BOOKE || PPC_86xx || ARCH_LAYERSCAPE || ARM || \ 500 COMPILE_TEST 501 select GPIO_GENERIC 502 select GPIOLIB_IRQCHIP 503 help 504 Say Y here if you're going to use hardware that connects to the 505 MPC512x/831x/834x/837x/8572/8610/QorIQ GPIOs. 506 507config GPIO_MT7621 508 bool "Mediatek MT7621 GPIO Support" 509 depends on SOC_MT7620 || SOC_MT7621 || COMPILE_TEST 510 depends on OF 511 select GPIO_GENERIC 512 select GPIOLIB_IRQCHIP 513 help 514 Say yes here to support the Mediatek MT7621 SoC GPIO device. 515 516config GPIO_MVEBU 517 bool "Marvell Orion and EBU GPIO support" if COMPILE_TEST 518 depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST 519 default PLAT_ORION || ARCH_MVEBU 520 select GENERIC_IRQ_CHIP 521 select REGMAP_MMIO 522 523config GPIO_MXC 524 tristate "i.MX GPIO support" 525 depends on ARCH_MXC || COMPILE_TEST 526 select GPIO_GENERIC 527 select GENERIC_IRQ_CHIP 528 529config GPIO_MXS 530 bool "Freescale MXS GPIO support" if COMPILE_TEST 531 depends on ARCH_MXS || COMPILE_TEST 532 default y if ARCH_MXS 533 select GPIO_GENERIC 534 select GENERIC_IRQ_CHIP 535 536config GPIO_NOMADIK 537 bool "Nomadik GPIO driver" 538 depends on ARCH_U8500 || ARCH_NOMADIK || MACH_EYEQ5 || COMPILE_TEST 539 select GPIOLIB_IRQCHIP 540 help 541 Say yes here to support the Nomadik SoC GPIO block. This block is also 542 used by the Mobileye EyeQ5 SoC. 543 544 It handles up to 32 GPIOs per bank, that can all be interrupt sources. 545 It is deeply interconnected with the associated pinctrl driver as GPIO 546 registers handle muxing ("alternate functions") as well. 547 548config GPIO_NPCM_SGPIO 549 bool "Nuvoton SGPIO support" 550 depends on ARCH_NPCM || COMPILE_TEST 551 select GPIOLIB_IRQCHIP 552 help 553 Say Y here to support Nuvoton NPCM7XX/NPCM8XX SGPIO functionality. 554 555config GPIO_OCTEON 556 tristate "Cavium OCTEON GPIO" 557 depends on CAVIUM_OCTEON_SOC 558 default y 559 help 560 Say yes here to support the on-chip GPIO lines on the OCTEON 561 family of SOCs. 562 563config GPIO_OMAP 564 tristate "TI OMAP GPIO support" 565 depends on ARCH_OMAP || COMPILE_TEST 566 default y if ARCH_OMAP 567 select GENERIC_IRQ_CHIP 568 select GPIOLIB_IRQCHIP 569 help 570 Say yes here to enable GPIO support for TI OMAP SoCs. 571 572config GPIO_PL061 573 tristate "PrimeCell PL061 GPIO support" 574 depends on ARM_AMBA || COMPILE_TEST 575 select IRQ_DOMAIN 576 select GPIOLIB_IRQCHIP 577 help 578 Say yes here to support the PrimeCell PL061 GPIO device. 579 580config GPIO_POLARFIRE_SOC 581 bool "Microchip FPGA GPIO support" 582 select REGMAP_MMIO 583 help 584 Say yes here to support the GPIO controllers on Microchip FPGAs. 585 586config GPIO_PXA 587 bool "PXA GPIO support" 588 depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST 589 select GPIOLIB_IRQCHIP 590 help 591 Say yes here to support the PXA GPIO device. 592 593config GPIO_RCAR 594 tristate "Renesas R-Car and RZ/G GPIO support" 595 depends on ARCH_RENESAS || COMPILE_TEST 596 select GPIOLIB_IRQCHIP 597 help 598 Say yes here to support GPIO on Renesas R-Car or RZ/G SoCs. 599 600config GPIO_RDA 601 bool "RDA Micro GPIO controller support" 602 depends on ARCH_RDA || COMPILE_TEST 603 select GPIO_GENERIC 604 select GPIOLIB_IRQCHIP 605 help 606 Say Y here to support RDA Micro GPIO controller. 607 608config GPIO_REALTEK_OTTO 609 tristate "Realtek Otto GPIO support" 610 depends on MACH_REALTEK_RTL || COMPILE_TEST 611 default MACH_REALTEK_RTL 612 select GPIO_GENERIC 613 select GPIOLIB_IRQCHIP 614 help 615 The GPIO controller on the Otto MIPS platform supports up to two 616 banks of 32 GPIOs, with edge triggered interrupts. The 32 GPIOs 617 are grouped in four 8-bit wide ports. 618 619 When built as a module, the module will be called realtek_otto_gpio. 620 621config GPIO_REG 622 bool 623 help 624 A 32-bit single register GPIO fixed in/out implementation. This 625 can be used to represent any register as a set of GPIO signals. 626 627config GPIO_ROCKCHIP 628 tristate "Rockchip GPIO support" 629 depends on ARCH_ROCKCHIP || COMPILE_TEST 630 select GENERIC_IRQ_CHIP 631 select GPIOLIB_IRQCHIP 632 default ARCH_ROCKCHIP 633 help 634 Say yes here to support GPIO on Rockchip SoCs. 635 636config GPIO_RTD 637 tristate "Realtek DHC GPIO support" 638 depends on ARCH_REALTEK || COMPILE_TEST 639 default y 640 select GPIOLIB_IRQCHIP 641 help 642 This option enables support for GPIOs found on Realtek DHC(Digital 643 Home Center) SoCs family, including RTD1295, RTD1315E, RTD1319, 644 RTD1319D, RTD1395, RTD1619 and RTD1619B. 645 646 Say yes here to support GPIO functionality and GPIO interrupt on 647 Realtek DHC SoCs. 648 649config GPIO_SAMA5D2_PIOBU 650 tristate "SAMA5D2 PIOBU GPIO support" 651 depends on OF 652 depends on MFD_SYSCON 653 depends on ARCH_AT91 || COMPILE_TEST 654 select GPIO_SYSCON 655 help 656 Say yes here to use the PIOBU pins as GPIOs. 657 658 PIOBU pins on the SAMA5D2 can be used as GPIOs. 659 The difference from regular GPIOs is that they 660 maintain their value during backup/self-refresh. 661 662config GPIO_SIFIVE 663 tristate "SiFive GPIO support" 664 depends on OF 665 select IRQ_DOMAIN_HIERARCHY 666 select GPIO_GENERIC 667 select GPIOLIB_IRQCHIP 668 select REGMAP_MMIO 669 help 670 Say yes here to support the GPIO device on SiFive SoCs. 671 672config GPIO_SIOX 673 tristate "SIOX GPIO support" 674 depends on SIOX 675 select GPIOLIB_IRQCHIP 676 help 677 Say yes here to support SIOX I/O devices. These are units connected 678 via a SIOX bus and have a number of fixed-direction I/O lines. 679 680config GPIO_SNPS_CREG 681 bool "Synopsys GPIO via CREG (Control REGisters) driver" 682 depends on ARC || COMPILE_TEST 683 help 684 This driver supports GPIOs via CREG on various Synopsys SoCs. 685 This is a single-register MMIO GPIO driver for complex cases 686 where only several fields in register belong to GPIO lines and 687 each GPIO line owns a field with different length and on/off value. 688 689config GPIO_SPACEMIT_K1 690 tristate "SPACEMIT K1 GPIO support" 691 depends on ARCH_SPACEMIT || COMPILE_TEST 692 depends on OF 693 select GPIO_GENERIC 694 select GPIOLIB_IRQCHIP 695 help 696 Say yes here to support the SpacemiT's K1 GPIO device. 697 698config GPIO_SPEAR_SPICS 699 bool "ST SPEAr13xx SPI Chip Select as GPIO support" 700 depends on PLAT_SPEAR 701 select GENERIC_IRQ_CHIP 702 help 703 Say yes here to support ST SPEAr SPI Chip Select as GPIO device. 704 705config GPIO_SPRD 706 tristate "Spreadtrum GPIO support" 707 depends on ARCH_SPRD || COMPILE_TEST 708 select GPIOLIB_IRQCHIP 709 help 710 Say yes here to support Spreadtrum GPIO device. 711 712config GPIO_STP_XWAY 713 bool "XWAY STP GPIOs" 714 depends on SOC_XWAY || COMPILE_TEST 715 help 716 This enables support for the Serial To Parallel (STP) unit found on 717 XWAY SoC. The STP allows the SoC to drive a shift registers cascade, 718 that can be up to 24 bits. This peripheral is aimed at driving LEDs. 719 Some of the GPIOs/LEDs can be auto updated by the SoC with DSL and 720 phy status. 721 722config GPIO_SYSCON 723 tristate "GPIO based on SYSCON" 724 depends on MFD_SYSCON && OF 725 help 726 Say yes here to support GPIO functionality though SYSCON driver. 727 728config GPIO_TANGIER 729 tristate 730 select GPIOLIB_IRQCHIP 731 help 732 GPIO support for Intel Tangier and compatible platforms. 733 Currently supported: 734 - Elkhart Lake 735 - Merrifield 736 737 If built as a module its name will be gpio-tangier. 738 739config GPIO_TB10X 740 bool "Abilis Systems TB10x GPIO controller" 741 depends on ARC_PLAT_TB10X || COMPILE_TEST 742 select GPIO_GENERIC 743 select GENERIC_IRQ_CHIP 744 745config GPIO_TEGRA 746 tristate "NVIDIA Tegra GPIO support" 747 default ARCH_TEGRA 748 depends on ARCH_TEGRA || COMPILE_TEST 749 select GPIOLIB_IRQCHIP 750 select IRQ_DOMAIN_HIERARCHY 751 help 752 Say yes here to support GPIO pins on NVIDIA Tegra SoCs. 753 754config GPIO_TEGRA186 755 tristate "NVIDIA Tegra186 GPIO support" 756 default ARCH_TEGRA_186_SOC || ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC 757 depends on ARCH_TEGRA_186_SOC || ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC || COMPILE_TEST 758 depends on OF 759 select GPIOLIB_IRQCHIP 760 select IRQ_DOMAIN_HIERARCHY 761 help 762 Say yes here to support GPIO pins on NVIDIA Tegra186, 194 and 234 SoCs. 763 764config GPIO_TS4800 765 tristate "TS-4800 DIO blocks and compatibles" 766 depends on SOC_IMX51 || COMPILE_TEST 767 select GPIO_GENERIC 768 help 769 This driver support TS-4800 FPGA GPIO controllers. 770 771config GPIO_THUNDERX 772 tristate "Cavium ThunderX/OCTEON-TX GPIO" 773 depends on ARCH_THUNDER || (64BIT && COMPILE_TEST) 774 depends on PCI_MSI 775 select GPIOLIB_IRQCHIP 776 select IRQ_DOMAIN_HIERARCHY 777 select IRQ_FASTEOI_HIERARCHY_HANDLERS 778 help 779 Say yes here to support the on-chip GPIO lines on the ThunderX 780 and OCTEON-TX families of SoCs. 781 782config GPIO_UNIPHIER 783 tristate "UniPhier GPIO support" 784 depends on ARCH_UNIPHIER || COMPILE_TEST 785 select IRQ_DOMAIN_HIERARCHY 786 help 787 Say yes here to support UniPhier GPIOs. 788 789config GPIO_VF610 790 tristate "VF610 GPIO support" 791 default y if SOC_VF610 792 depends on ARCH_MXC || COMPILE_TEST 793 select GPIOLIB_IRQCHIP 794 select GPIO_GENERIC 795 help 796 Say yes here to support i.MX or Vybrid vf610 GPIOs. 797 798config GPIO_VISCONTI 799 tristate "Toshiba Visconti GPIO support" 800 depends on ARCH_VISCONTI || COMPILE_TEST 801 select GPIOLIB_IRQCHIP 802 select GPIO_GENERIC 803 select IRQ_DOMAIN_HIERARCHY 804 help 805 Say yes here to support GPIO on Tohisba Visconti. 806 807config GPIO_WCD934X 808 tristate "Qualcomm Technologies Inc WCD9340/WCD9341 GPIO controller driver" 809 depends on MFD_WCD934X 810 help 811 This driver is to support GPIO block found on the Qualcomm Technologies 812 Inc WCD9340/WCD9341 Audio Codec. 813 814config GPIO_XGENE 815 bool "APM X-Gene GPIO controller support" 816 depends on ARM64 817 help 818 This driver is to support the GPIO block within the APM X-Gene SoC 819 platform's generic flash controller. The GPIO pins are muxed with 820 the generic flash controller's address and data pins. Say yes 821 here to enable the GFC GPIO functionality. 822 823config GPIO_XGENE_SB 824 tristate "APM X-Gene GPIO standby controller support" 825 depends on (ARCH_XGENE || COMPILE_TEST) 826 select GPIO_GENERIC 827 select GPIOLIB_IRQCHIP 828 select IRQ_DOMAIN_HIERARCHY 829 help 830 This driver supports the GPIO block within the APM X-Gene 831 Standby Domain. Say yes here to enable the GPIO functionality. 832 833config GPIO_XILINX 834 tristate "Xilinx GPIO support" 835 select GPIOLIB_IRQCHIP 836 help 837 Say yes here to support the Xilinx FPGA GPIO device. 838 839config GPIO_XLP 840 tristate "Cavium ThunderX2 GPIO support" 841 depends on ARCH_THUNDER2 || COMPILE_TEST 842 select GPIOLIB_IRQCHIP 843 help 844 This driver provides support for GPIO interface on Cavium's ThunderX2 845 CN99XX SoCs (Originally from Netlogic XLP). 846 847 If unsure, say N. 848 849config GPIO_XTENSA 850 bool "Xtensa GPIO32 support" 851 depends on XTENSA 852 depends on HAVE_XTENSA_GPIO32 853 depends on !SMP 854 help 855 Say yes here to support the Xtensa internal GPIO32 IMPWIRE (input) 856 and EXPSTATE (output) ports. 857 858config GPIO_ZEVIO 859 bool "LSI ZEVIO SoC memory mapped GPIOs" 860 depends on ARM 861 help 862 Say yes here to support the GPIO controller in LSI ZEVIO SoCs. 863 864config GPIO_ZYNQ 865 tristate "Xilinx Zynq GPIO support" 866 depends on ARCH_ZYNQ || ARCH_ZYNQMP || COMPILE_TEST 867 select GPIOLIB_IRQCHIP 868 help 869 Say yes here to support Xilinx Zynq GPIO controller. 870 871config GPIO_ZYNQMP_MODEPIN 872 tristate "ZynqMP ps-mode pin GPIO configuration driver" 873 depends on ZYNQMP_FIRMWARE || COMPILE_TEST 874 default ZYNQMP_FIRMWARE 875 help 876 Say yes here to support the ZynqMP ps-mode pin GPIO configuration 877 driver. 878 879 This ps-mode pin GPIO driver is based on GPIO framework. PS_MODE 880 is 4-bits boot mode pins. It sets and gets the status of 881 the ps-mode pin. Every pin can be configured as input/output. 882 883config GPIO_LOONGSON1 884 tristate "Loongson1 GPIO support" 885 depends on MACH_LOONGSON32 || COMPILE_TEST 886 select GPIO_GENERIC 887 help 888 Say Y or M here to support GPIO on Loongson1 SoCs. 889 890config GPIO_AMD_FCH 891 tristate "GPIO support for AMD Fusion Controller Hub (G-series SOCs)" 892 help 893 This option enables driver for GPIO on AMD's Fusion Controller Hub, 894 as found on G-series SOCs (e.g. GX-412TC). 895 896 Note: This driver doesn't register itself automatically, as it 897 needs to be provided with platform-specific configuration. 898 (See e.g. CONFIG_PCENGINES_APU2.) 899 900config GPIO_MSC313 901 bool "MStar MSC313 GPIO support" 902 depends on ARCH_MSTARV7 || COMPILE_TEST 903 default ARCH_MSTARV7 904 select GPIOLIB_IRQCHIP 905 select IRQ_DOMAIN_HIERARCHY 906 help 907 Say Y here to support the main GPIO block on MStar/SigmaStar 908 ARMv7-based SoCs. 909 910config GPIO_IDT3243X 911 tristate "IDT 79RC3243X GPIO support" 912 depends on MIKROTIK_RB532 || COMPILE_TEST 913 select GPIO_GENERIC 914 select GPIOLIB_IRQCHIP 915 help 916 Select this option to enable GPIO driver for 917 IDT 79RC3243X-based devices like Mikrotik RB532. 918 919 To compile this driver as a module, choose M here: the module will 920 be called gpio-idt3243x. 921 922endmenu 923 924menu "Port-mapped I/O GPIO drivers" 925 depends on X86 && HAS_IOPORT # I/O space access 926 927config GPIO_VX855 928 tristate "VIA VX855/VX875 GPIO" 929 depends on PCI 930 select MFD_CORE 931 select MFD_VX855 932 help 933 Support access to the VX855/VX875 GPIO lines through the GPIO library. 934 935 This driver provides common support for accessing the device. 936 Additional drivers must be enabled in order to use the 937 functionality of the device. 938 939config GPIO_I8255 940 tristate 941 select GPIO_REGMAP 942 help 943 Enables support for the i8255 interface library functions. The i8255 944 interface library provides functions to facilitate communication with 945 interfaces compatible with the venerable Intel 8255 Programmable 946 Peripheral Interface (PPI). The Intel 8255 PPI chip was first released 947 in the early 1970s but compatible interfaces are nowadays typically 948 found embedded in larger VLSI processing chips and FPGA components. 949 950 If built as a module its name will be gpio-i8255. 951 952config GPIO_104_DIO_48E 953 tristate "ACCES 104-DIO-48E GPIO support" 954 depends on PC104 955 select ISA_BUS_API 956 select REGMAP_MMIO 957 select REGMAP_IRQ 958 select GPIOLIB_IRQCHIP 959 select GPIO_I8255 960 select I8254 961 help 962 Enables GPIO support for the ACCES 104-DIO-48E series (104-DIO-48E, 963 104-DIO-24E). The base port addresses for the devices may be 964 configured via the base module parameter. The interrupt line numbers 965 for the devices may be configured via the irq module parameter. 966 967config GPIO_104_IDIO_16 968 tristate "ACCES 104-IDIO-16 GPIO support" 969 depends on PC104 970 select ISA_BUS_API 971 select REGMAP_MMIO 972 select GPIO_IDIO_16 973 help 974 Enables GPIO support for the ACCES 104-IDIO-16 family (104-IDIO-16, 975 104-IDIO-16E, 104-IDO-16, 104-IDIO-8, 104-IDIO-8E, 104-IDO-8). The 976 base port addresses for the devices may be configured via the base 977 module parameter. The interrupt line numbers for the devices may be 978 configured via the irq module parameter. 979 980config GPIO_104_IDI_48 981 tristate "ACCES 104-IDI-48 GPIO support" 982 depends on PC104 983 select ISA_BUS_API 984 select REGMAP_MMIO 985 select REGMAP_IRQ 986 select GPIOLIB_IRQCHIP 987 select GPIO_REGMAP 988 help 989 Enables GPIO support for the ACCES 104-IDI-48 family (104-IDI-48A, 990 104-IDI-48AC, 104-IDI-48B, 104-IDI-48BC). The base port addresses for 991 the devices may be configured via the base module parameter. The 992 interrupt line numbers for the devices may be configured via the irq 993 module parameter. 994 995config GPIO_F7188X 996 tristate "Fintek and Nuvoton Super-I/O GPIO support" 997 help 998 This option enables support for GPIOs found on Fintek Super-I/O 999 chips F71869, F71869A, F71882FG, F71889F and F81866. 1000 As well as Nuvoton Super-I/O chip NCT6126D. 1001 1002 To compile this driver as a module, choose M here: the module will 1003 be called f7188x-gpio. 1004 1005config GPIO_GPIO_MM 1006 tristate "Diamond Systems GPIO-MM GPIO support" 1007 depends on PC104 1008 select ISA_BUS_API 1009 select REGMAP_MMIO 1010 select GPIO_I8255 1011 help 1012 Enables GPIO support for the Diamond Systems GPIO-MM and GPIO-MM-12. 1013 1014 The Diamond Systems GPIO-MM device features 48 lines of digital I/O 1015 via the emulation of dual 82C55A PPI chips. This driver provides GPIO 1016 support for these 48 channels of digital I/O. 1017 1018 The base port addresses for the devices may be configured via the base 1019 array module parameter. 1020 1021config GPIO_IT87 1022 tristate "IT87xx GPIO support" 1023 help 1024 Say yes here to support GPIO functionality of IT87xx Super I/O chips. 1025 1026 This driver is tested with ITE IT8728 and IT8732 Super I/O chips, and 1027 supports the IT8761E, IT8613, IT8620E, and IT8628E Super I/O chips as 1028 well. 1029 1030 To compile this driver as a module, choose M here: the module will 1031 be called gpio_it87. 1032 1033config GPIO_SCH 1034 tristate "Intel SCH/TunnelCreek/Centerton/Quark X1000 GPIO" 1035 depends on (X86 || COMPILE_TEST) && ACPI 1036 depends on LPC_SCH 1037 select GPIOLIB_IRQCHIP 1038 help 1039 Say yes here to support GPIO interface on Intel Poulsbo SCH, 1040 Intel Tunnel Creek processor, Intel Centerton processor or 1041 Intel Quark X1000 SoC. 1042 1043 The Intel SCH contains a total of 14 GPIO pins. Ten GPIOs are 1044 powered by the core power rail and are turned off during sleep 1045 modes (S3 and higher). The remaining four GPIOs are powered by 1046 the Intel SCH suspend power supply. These GPIOs remain 1047 active during S3. The suspend-powered GPIOs can be used to wake the 1048 system from the Suspend-to-RAM state. 1049 1050 The Intel Tunnel Creek processor has 5 GPIOs powered by the 1051 core power rail and 9 from suspend power supply. 1052 1053 The Intel Centerton processor has a total of 30 GPIO pins. 1054 Twenty-one are powered by the core power rail and 9 from the 1055 suspend power supply. 1056 1057 The Intel Quark X1000 SoC has 2 GPIOs powered by the core 1058 power well and 6 from the suspend power well. 1059 1060config GPIO_NOVALAKE 1061 tristate "Intel Nova Lake GPIO-signaled ACPI events support" 1062 depends on (X86 || COMPILE_TEST) && ACPI 1063 select GPIOLIB_IRQCHIP 1064 help 1065 Select this to enable GPIO-signaled ACPI events support on platforms 1066 with the following SoCs: 1067 1068 - Intel Nova Lake 1069 1070 This driver adds support for new mode of handling platform events, 1071 through the use of GPIO-signaled ACPI events. Main purpose is to 1072 handle platform IRQs that originate in PCH components, for example 1073 interrupt triggered by Power Management Event (PME). 1074 1075 This driver, at this time, is not required to handle platform events. 1076 Listed platform(s) will stay in legacy mode, handling ACPI events as 1077 in previous generations. However, future platforms will eventually 1078 switch to new handling mode, requiring this driver to run events 1079 properly. 1080 1081 Driver supports up to 128 GPIO pins per GPE block. 1082 1083 To compile this driver as a module, choose M here: the module will 1084 be called gpio-novalake-events. 1085 1086config GPIO_SCH311X 1087 tristate "SMSC SCH311x SuperI/O GPIO" 1088 help 1089 Driver to enable the GPIOs found on SMSC SMSC SCH3112, SCH3114 and 1090 SCH3116 "Super I/O" chipsets. 1091 1092 To compile this driver as a module, choose M here: the module will 1093 be called gpio-sch311x. 1094 1095config GPIO_TS5500 1096 tristate "TS-5500 DIO blocks and compatibles" 1097 depends on TS5500 || COMPILE_TEST 1098 help 1099 This driver supports Digital I/O exposed by pin blocks found on some 1100 Technologic Systems platforms. It includes, but is not limited to, 3 1101 blocks of the TS-5500: DIO1, DIO2 and the LCD port, and the TS-5600 1102 LCD port. 1103 1104config GPIO_WINBOND 1105 tristate "Winbond Super I/O GPIO support" 1106 select ISA_BUS_API 1107 help 1108 This option enables support for GPIOs found on Winbond Super I/O 1109 chips. 1110 Currently, only W83627UHG (also known as Nuvoton NCT6627UD) is 1111 supported. 1112 1113 You will need to provide a module parameter "gpios", or a 1114 boot-time parameter "gpio_winbond.gpios" with a bitmask of GPIO 1115 ports to enable (bit 0 is GPIO1, bit 1 is GPIO2, etc.). 1116 1117 To compile this driver as a module, choose M here: the module will 1118 be called gpio-winbond. 1119 1120config GPIO_WS16C48 1121 tristate "WinSystems WS16C48 GPIO support" 1122 select ISA_BUS_API 1123 select REGMAP_IRQ 1124 select REGMAP_MMIO 1125 select GPIOLIB_IRQCHIP 1126 select GPIO_REGMAP 1127 help 1128 Enables GPIO support for the WinSystems WS16C48. The base port 1129 addresses for the devices may be configured via the base module 1130 parameter. The interrupt line numbers for the devices may be 1131 configured via the irq module parameter. 1132 1133endmenu 1134 1135menu "I2C GPIO expanders" 1136 depends on I2C 1137 1138config GPIO_ADNP 1139 tristate "Avionic Design N-bit GPIO expander" 1140 depends on OF 1141 select GPIOLIB_IRQCHIP 1142 help 1143 This option enables support for N GPIOs found on Avionic Design 1144 I2C GPIO expanders. The register space will be extended by powers 1145 of two, so the controller will need to accommodate for that. For 1146 example: if a controller provides 48 pins, 6 registers will be 1147 enough to represent all pins, but the driver will assume a 1148 register layout for 64 pins (8 registers). 1149 1150config GPIO_FXL6408 1151 tristate "FXL6408 I2C GPIO expander" 1152 select GPIO_REGMAP 1153 select REGMAP_I2C 1154 help 1155 GPIO driver for Fairchild Semiconductor FXL6408 GPIO expander. 1156 1157 To compile this driver as a module, choose M here: the module will 1158 be called gpio-fxl6408. 1159 1160config GPIO_DS4520 1161 tristate "DS4520 I2C GPIO expander" 1162 select REGMAP_I2C 1163 select GPIO_REGMAP 1164 help 1165 GPIO driver for ADI DS4520 I2C-based GPIO expander. 1166 Say yes here to enable the GPIO driver for the ADI DS4520 chip. 1167 1168 To compile this driver as a module, choose M here: the module will 1169 be called gpio-ds4520. 1170 1171config GPIO_GW_PLD 1172 tristate "Gateworks PLD GPIO Expander" 1173 depends on OF 1174 help 1175 Say yes here to provide access to the Gateworks I2C PLD GPIO 1176 Expander. This is used at least on the Cambria GW2358-4. 1177 1178config GPIO_MAX7300 1179 tristate "Maxim MAX7300 GPIO expander" 1180 select GPIO_MAX730X 1181 help 1182 GPIO driver for Maxim MAX7300 I2C-based GPIO expander. 1183 1184config GPIO_MAX732X 1185 tristate "MAX7319, MAX7320-7327 I2C Port Expanders" 1186 help 1187 Say yes here to support the MAX7319, MAX7320-7327 series of I2C 1188 Port Expanders. Each IO port on these chips has a fixed role of 1189 Input (designated by 'I'), Push-Pull Output ('O'), or Open-Drain 1190 Input and Output (designed by 'P'). The combinations are listed 1191 below: 1192 1193 8 bits: max7319 (8I), max7320 (8O), max7321 (8P), 1194 max7322 (4I4O), max7323 (4P4O) 1195 1196 16 bits: max7324 (8I8O), max7325 (8P8O), 1197 max7326 (4I12O), max7327 (4P12O) 1198 1199 Board setup code must specify the model to use, and the start 1200 number for these GPIOs. 1201 1202config GPIO_MAX732X_IRQ 1203 bool "Interrupt controller support for MAX732x" 1204 depends on GPIO_MAX732X=y 1205 select GPIOLIB_IRQCHIP 1206 help 1207 Say yes here to enable the max732x to be used as an interrupt 1208 controller. It requires the driver to be built in the kernel. 1209 1210config GPIO_PCA953X 1211 tristate "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports" 1212 select REGMAP_I2C 1213 help 1214 Say yes here to provide access to several register-oriented 1215 SMBus I/O expanders, made mostly by NXP or TI. Compatible 1216 models include: 1217 1218 4 bits: pca9536, pca9537 1219 1220 8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554, 1221 pca9556, pca9557, pca9574, tca6408, tca9554, xra1202, 1222 pcal6408, pcal9554b, tca9538, tcal6408 1223 1224 16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575, 1225 tca6416, pca6416, pcal6416, pcal9535, pcal9555a, max7318, 1226 tca9539, tcal6416 1227 1228 18 bits: tca6418 1229 1230 24 bits: tca6424, pcal6524 1231 1232 40 bits: pca9505, pca9698, pca9506 1233 1234config GPIO_PCA953X_IRQ 1235 bool "Interrupt controller support for PCA953x" 1236 depends on GPIO_PCA953X 1237 select GPIOLIB_IRQCHIP 1238 help 1239 Say yes here to enable the pca953x to be used as an interrupt 1240 controller. 1241 1242config GPIO_PCA9570 1243 tristate "PCA9570 4-Bit I2C GPO expander" 1244 help 1245 Say yes here to enable the GPO driver for the NXP PCA9570 chip. 1246 1247 To compile this driver as a module, choose M here: the module will 1248 be called gpio-pca9570. 1249 1250config GPIO_PCF857X 1251 tristate "PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders" 1252 select GPIOLIB_IRQCHIP 1253 select IRQ_DOMAIN 1254 help 1255 Say yes here to provide access to most "quasi-bidirectional" I2C 1256 GPIO expanders used for additional digital outputs or inputs. 1257 Most of these parts are from NXP, though TI is a second source for 1258 some of them. Compatible models include: 1259 1260 8 bits: pcf8574, pcf8574a, pca8574, pca8574a, 1261 pca9670, pca9672, pca9674, pca9674a, 1262 max7328, max7329 1263 1264 16 bits: pcf8575, pcf8575c, pca8575, 1265 pca9671, pca9673, pca9675 1266 1267 Your board setup code will need to declare the expanders in 1268 use, and assign numbers to the GPIOs they expose. Those GPIOs 1269 can then be used from drivers and other kernel code, just like 1270 other GPIOs, but only accessible from task contexts. 1271 1272 This driver provides an in-kernel interface to those GPIOs using 1273 platform-neutral GPIO calls. 1274 1275config GPIO_TPIC2810 1276 tristate "TPIC2810 8-Bit I2C GPO expander" 1277 help 1278 Say yes here to enable the GPO driver for the TI TPIC2810 chip. 1279 1280 To compile this driver as a module, choose M here: the module will 1281 be called gpio-tpic2810. 1282 1283config GPIO_TS4900 1284 tristate "Technologic Systems FPGA I2C GPIO" 1285 depends on SOC_IMX6 || COMPILE_TEST 1286 select REGMAP_I2C 1287 help 1288 Say yes here to enabled the GPIO driver for Technologic's FPGA core. 1289 Series supported include TS-4100, TS-4900, TS-7970 and TS-7990. 1290 1291endmenu 1292 1293menu "MFD GPIO expanders" 1294 1295config GPIO_ADP5520 1296 tristate "GPIO Support for ADP5520 PMIC" 1297 depends on PMIC_ADP5520 1298 help 1299 This option enables support for on-chip GPIO found 1300 on Analog Devices ADP5520 PMICs. 1301 1302config GPIO_ADP5585 1303 tristate "GPIO Support for ADP5585" 1304 depends on MFD_ADP5585 1305 select GPIOLIB_IRQCHIP 1306 help 1307 This option enables support for the GPIO function found in the Analog 1308 Devices ADP5585. 1309 1310config GPIO_ALTERA_A10SR 1311 tristate "Altera Arria10 System Resource GPIO" 1312 depends on MFD_ALTERA_A10SR 1313 help 1314 Driver for Arria10 Development Kit GPIO expansion which 1315 includes reads of pushbuttons and DIP switches as well 1316 as writes to LEDs. 1317 1318config GPIO_ARIZONA 1319 tristate "Wolfson Microelectronics Arizona class devices" 1320 depends on MFD_ARIZONA 1321 help 1322 Support for GPIOs on Wolfson Arizona class devices. 1323 1324config GPIO_BD71815 1325 tristate "ROHM BD71815 PMIC GPIO support" 1326 depends on MFD_ROHM_BD71828 1327 help 1328 Support for GPO(s) on ROHM BD71815 PMIC. There are two GPOs 1329 available on the ROHM PMIC. 1330 1331 This driver can also be built as a module. If so, the module 1332 will be called gpio-bd71815. 1333 1334config GPIO_BD71828 1335 tristate "ROHM BD71828 GPIO support" 1336 depends on MFD_ROHM_BD71828 1337 help 1338 Support for GPIOs on ROHM BD71828 PMIC. There are three GPIOs 1339 available on the ROHM PMIC in total. The GPIOs are limited to 1340 outputs only and pins must be configured to GPIO outputs by 1341 OTP. Enable this only if you want to use these pins as outputs. 1342 1343 This driver can also be built as a module. If so, the module 1344 will be called gpio-bd71828. 1345 1346config GPIO_BD72720 1347 tristate "ROHM BD72720 and BD73900 PMIC GPIO support" 1348 depends on MFD_ROHM_BD71828 1349 help 1350 Support for GPIO on ROHM BD72720 and BD73900 PMICs. There are two 1351 pins which can be configured to GPI or GPO, and three pins which can 1352 be configured to GPO on the ROHM PMIC. The pin configuration is done 1353 on OTP at manufacturing. 1354 1355config GPIO_BD9571MWV 1356 tristate "ROHM BD9571 GPIO support" 1357 depends on MFD_BD9571MWV 1358 help 1359 Support for GPIOs on ROHM BD9571 PMIC. There are two GPIOs 1360 available on the ROHM PMIC in total, both of which can also 1361 generate interrupts. 1362 1363 This driver can also be built as a module. If so, the module 1364 will be called gpio-bd9571mwv. 1365 1366config GPIO_CGBC 1367 tristate "Congatec Board Controller GPIO support" 1368 depends on MFD_CGBC 1369 help 1370 Select this option to enable GPIO support for the Congatec Board 1371 Controller. 1372 1373 This driver can also be built as a module. If so, the module will be 1374 called gpio-cgbc. 1375 1376config GPIO_CROS_EC 1377 tristate "ChromeOS EC GPIO support" 1378 depends on CROS_EC 1379 help 1380 GPIO driver for the ChromeOS Embedded Controller (EC). GPIOs 1381 cannot be set unless the system is unlocked. 1382 1383 This driver can also be built as a module. If so, the module 1384 will be called gpio-cros-ec. 1385 1386config GPIO_CRYSTAL_COVE 1387 tristate "GPIO support for Crystal Cove PMIC" 1388 depends on (X86 || COMPILE_TEST) && INTEL_SOC_PMIC 1389 select GPIOLIB_IRQCHIP 1390 help 1391 Support for GPIO pins on Crystal Cove PMIC. 1392 1393 Say Yes if you have a Intel SoC-based tablet with Crystal Cove PMIC 1394 inside. 1395 1396 This driver can also be built as a module. If so, the module will be 1397 called gpio-crystalcove. 1398 1399config GPIO_CS5535 1400 tristate "AMD CS5535/CS5536 GPIO support" 1401 depends on X86 || MIPS || COMPILE_TEST 1402 depends on MFD_CS5535 1403 help 1404 The AMD CS5535 and CS5536 southbridges support 28 GPIO pins that 1405 can be used for quite a number of things. The CS5535/6 is found on 1406 AMD Geode and Lemote Yeeloong devices. 1407 1408 If unsure, say N. 1409 1410config GPIO_DA9052 1411 tristate "Dialog DA9052 GPIO" 1412 depends on PMIC_DA9052 1413 help 1414 Say yes here to enable the GPIO driver for the DA9052 chip. 1415 1416config GPIO_DA9055 1417 tristate "Dialog Semiconductor DA9055 GPIO" 1418 depends on MFD_DA9055 1419 help 1420 Say yes here to enable the GPIO driver for the DA9055 chip. 1421 1422 The Dialog DA9055 PMIC chip has 3 GPIO pins that can be 1423 be controlled by this driver. 1424 1425 If driver is built as a module it will be called gpio-da9055. 1426 1427config GPIO_DLN2 1428 tristate "Diolan DLN2 GPIO support" 1429 depends on MFD_DLN2 1430 select GPIOLIB_IRQCHIP 1431 1432 help 1433 Select this option to enable GPIO driver for the Diolan DLN2 1434 board. 1435 1436 This driver can also be built as a module. If so, the module 1437 will be called gpio-dln2. 1438 1439config HTC_EGPIO 1440 bool "HTC EGPIO support" 1441 depends on ARM || COMPILE_TEST 1442 help 1443 This driver supports the CPLD egpio chip present on 1444 several HTC phones. It provides basic support for input 1445 pins, output pins, and IRQs. 1446 1447config GPIO_ELKHARTLAKE 1448 tristate "Intel Elkhart Lake PSE GPIO support" 1449 depends on INTEL_EHL_PSE_IO 1450 select GPIO_TANGIER 1451 help 1452 Select this option to enable GPIO support for Intel Elkhart Lake 1453 PSE GPIO IP. 1454 1455 To compile this driver as a module, choose M here: the module will 1456 be called gpio-elkhartlake. 1457 1458config GPIO_JANZ_TTL 1459 tristate "Janz VMOD-TTL Digital IO Module" 1460 depends on MFD_JANZ_CMODIO 1461 help 1462 This enables support for the Janz VMOD-TTL Digital IO module. 1463 This driver provides support for driving the pins in output 1464 mode only. Input mode is not supported. 1465 1466config GPIO_KEMPLD 1467 tristate "Kontron ETX / COMexpress GPIO" 1468 depends on MFD_KEMPLD 1469 select GPIOLIB_IRQCHIP 1470 help 1471 This enables support for the PLD GPIO interface on some Kontron ETX 1472 and COMexpress (ETXexpress) modules. 1473 1474 This driver can also be built as a module. If so, the module will be 1475 called gpio-kempld. 1476 1477config GPIO_LJCA 1478 tristate "INTEL La Jolla Cove Adapter GPIO support" 1479 depends on USB_LJCA 1480 select GPIOLIB_IRQCHIP 1481 default USB_LJCA 1482 help 1483 Select this option to enable GPIO driver for the INTEL 1484 La Jolla Cove Adapter (LJCA) board. 1485 1486 This driver can also be built as a module. If so, the module 1487 will be called gpio-ljca. 1488 1489config GPIO_LP3943 1490 tristate "TI/National Semiconductor LP3943 GPIO expander" 1491 depends on MFD_LP3943 1492 help 1493 GPIO driver for LP3943 MFD. 1494 LP3943 can be used as a GPIO expander which provides up to 16 GPIOs. 1495 Open drain outputs are required for this usage. 1496 1497config GPIO_LP873X 1498 tristate "TI LP873X GPO" 1499 depends on MFD_TI_LP873X 1500 help 1501 This driver supports the GPO on TI Lp873x PMICs. 2 GPOs are present 1502 on LP873X PMICs. 1503 1504 This driver can also be built as a module. If so, the module will be 1505 called gpio-lp873x. 1506 1507config GPIO_LP87565 1508 tristate "TI LP87565 GPIO" 1509 depends on MFD_TI_LP87565 1510 help 1511 This driver supports the GPIO on TI Lp873565 PMICs. 3 GPIOs are present 1512 on LP87565 PMICs. 1513 1514 This driver can also be built as a module. If so, the module will be 1515 called gpio-lp87565. 1516 1517config GPIO_MACSMC 1518 tristate "Apple Mac SMC GPIO" 1519 depends on MFD_MACSMC 1520 help 1521 Support for GPIOs controlled by the SMC microcontroller on Apple Mac 1522 systems. 1523 1524 This driver can also be built as a module. If so, the module will be 1525 called gpio-macsmc. 1526 1527config GPIO_MADERA 1528 tristate "Cirrus Logic Madera class codecs" 1529 depends on PINCTRL_MADERA 1530 help 1531 Support for GPIOs on Cirrus Logic Madera class codecs. 1532 1533config GPIO_MAX7360 1534 tristate "MAX7360 GPIO support" 1535 depends on MFD_MAX7360 1536 select GPIO_REGMAP 1537 select REGMAP_IRQ 1538 help 1539 Allows to use MAX7360 I/O Expander PWM lines as GPIO and keypad COL 1540 lines as GPO. 1541 1542 This driver can also be built as a module. If so, the module will be 1543 called gpio-max7360. 1544 1545config GPIO_MAX77620 1546 tristate "GPIO support for PMIC MAX77620 and MAX20024" 1547 depends on MFD_MAX77620 1548 select GPIOLIB_IRQCHIP 1549 help 1550 GPIO driver for MAX77620 and MAX20024 PMIC from Maxim Semiconductor. 1551 MAX77620 PMIC has 8 pins that can be configured as GPIOs. The 1552 driver also provides interrupt support for each of the GPIOs. 1553 Say yes here to enable the max77620 to be used as GPIO controller. 1554 1555config GPIO_MAX77650 1556 tristate "Maxim MAX77650/77651 GPIO support" 1557 depends on MFD_MAX77650 1558 help 1559 GPIO driver for MAX77650/77651 PMIC from Maxim Semiconductor. 1560 These chips have a single pin that can be configured as GPIO. 1561 1562config GPIO_MAX77759 1563 tristate "Maxim Integrated MAX77759 GPIO support" 1564 depends on MFD_MAX77759 1565 default MFD_MAX77759 1566 select GPIOLIB_IRQCHIP 1567 help 1568 GPIO driver for MAX77759 PMIC from Maxim Integrated. 1569 There are two GPIOs available on these chips in total, both of 1570 which can also generate interrupts. 1571 1572 This driver can also be built as a module. If so, the module will be 1573 called gpio-max77759. 1574 1575config GPIO_NCT6694 1576 tristate "Nuvoton NCT6694 GPIO controller support" 1577 depends on MFD_NCT6694 1578 select GENERIC_IRQ_CHIP 1579 select GPIOLIB_IRQCHIP 1580 help 1581 This driver supports 8 GPIO pins per bank that can all be interrupt 1582 sources. 1583 1584 This driver can also be built as a module. If so, the module will be 1585 called gpio-nct6694. 1586 1587config GPIO_PALMAS 1588 tristate "TI PALMAS series PMICs GPIO" 1589 depends on MFD_PALMAS 1590 help 1591 Select this option to enable GPIO driver for the TI PALMAS 1592 series chip family. 1593 1594config GPIO_PMIC_EIC_SPRD 1595 tristate "Spreadtrum PMIC EIC support" 1596 depends on MFD_SC27XX_PMIC || COMPILE_TEST 1597 select GPIOLIB_IRQCHIP 1598 help 1599 Say yes here to support Spreadtrum PMIC EIC device. 1600 1601config GPIO_QIXIS_FPGA 1602 tristate "NXP QIXIS FPGA GPIO support" 1603 depends on MFD_SIMPLE_MFD_I2C || COMPILE_TEST 1604 select GPIO_REGMAP 1605 select REGMAP_MMIO 1606 help 1607 This enables support for the GPIOs found in the QIXIS FPGA which is 1608 integrated on some NXP Layerscape boards such as LX2160ARDB and 1609 LS1046AQDS. 1610 1611config GPIO_RC5T583 1612 bool "RICOH RC5T583 GPIO" 1613 depends on MFD_RC5T583 1614 help 1615 Select this option to enable GPIO driver for the Ricoh RC5T583 1616 chip family. 1617 This driver provides the support for driving/reading the GPIO pins 1618 of RC5T583 device through standard GPIO library. 1619 1620config GPIO_SL28CPLD 1621 tristate "Kontron sl28cpld GPIO support" 1622 depends on MFD_SL28CPLD || COMPILE_TEST 1623 select GPIO_REGMAP 1624 select GPIOLIB_IRQCHIP 1625 select REGMAP_IRQ 1626 help 1627 This enables support for the GPIOs found on the Kontron sl28 CPLD. 1628 1629 This driver can also be built as a module. If so, the module will be 1630 called gpio-sl28cpld. 1631 1632config GPIO_STMPE 1633 tristate "STMPE GPIOs" 1634 depends on MFD_STMPE 1635 select GPIOLIB_IRQCHIP 1636 help 1637 This enables support for the GPIOs found on the STMPE I/O 1638 Expanders. 1639 1640config GPIO_TC3589X 1641 bool "TC3589X GPIOs" 1642 depends on MFD_TC3589X 1643 select GPIOLIB_IRQCHIP 1644 help 1645 This enables support for the GPIOs found on the TC3589X 1646 I/O Expander. 1647 1648config GPIO_TIMBERDALE 1649 bool "Support for timberdale GPIO IP" 1650 depends on MFD_TIMBERDALE 1651 select GPIOLIB_IRQCHIP 1652 help 1653 Add support for the GPIO IP in the timberdale FPGA. 1654 1655config GPIO_TN48M_CPLD 1656 tristate "Delta Networks TN48M switch CPLD GPIO driver" 1657 depends on MFD_TN48M_CPLD || COMPILE_TEST 1658 select GPIO_REGMAP 1659 help 1660 This enables support for the GPIOs found on the Delta 1661 Networks TN48M switch Lattice CPLD. It provides 12 pins in total, 1662 they are input-only or output-only type. 1663 1664 This driver can also be built as a module. If so, the 1665 module will be called gpio-tn48m. 1666 1667config GPIO_TPS65086 1668 tristate "TI TPS65086 GPO" 1669 depends on MFD_TPS65086 1670 help 1671 This driver supports the GPO on TI TPS65086x PMICs. 1672 1673config GPIO_TPS65218 1674 tristate "TPS65218 GPIO" 1675 depends on MFD_TPS65218 1676 help 1677 Select this option to enable GPIO driver for the TPS65218 1678 chip family. 1679 1680config GPIO_TPS65219 1681 tristate "TPS65219 GPIO" 1682 depends on MFD_TPS65219 1683 default MFD_TPS65219 1684 help 1685 Select this option to enable GPIO driver for the TPS65219 chip 1686 family. 1687 GPIO0 is statically configured as either input or output prior to 1688 Linux boot. It is used for MULTI_DEVICE_ENABLE function. This setting 1689 is statically configured by NVM. GPIO0 can't be used as a generic 1690 GPIO. It's either a GPO when MULTI_DEVICE_EN=0 or a GPI when 1691 MULTI_DEVICE_EN=1. 1692 1693 This driver can also be built as a module. If so, the module will be 1694 called gpio_tps65219. 1695 1696config GPIO_TPS6586X 1697 bool "TPS6586X GPIO" 1698 depends on MFD_TPS6586X 1699 help 1700 Select this option to enable GPIO driver for the TPS6586X 1701 chip family. 1702 1703config GPIO_TPS65910 1704 bool "TPS65910 GPIO" 1705 depends on MFD_TPS65910 1706 help 1707 Select this option to enable GPIO driver for the TPS65910 1708 chip family. 1709 1710config GPIO_TPS65912 1711 tristate "TI TPS65912 GPIO" 1712 depends on MFD_TPS65912 1713 help 1714 This driver supports TPS65912 GPIO chip. 1715 1716config GPIO_TPS68470 1717 tristate "TPS68470 GPIO" 1718 depends on INTEL_SKL_INT3472 1719 help 1720 Select this option to enable GPIO driver for the TPS68470 1721 chip family. 1722 There are 7 GPIOs and few sensor-related GPIOs supported 1723 by the TPS68470. While the 7 GPIOs can be configured as 1724 input or output as appropriate, the sensor related GPIOs 1725 are "output only" GPIOs. 1726 1727config GPIO_TQMX86 1728 tristate "TQ-Systems TQMx86 GPIO" 1729 depends on MFD_TQMX86 || COMPILE_TEST 1730 depends on HAS_IOPORT_MAP 1731 select GPIOLIB_IRQCHIP 1732 help 1733 This driver supports GPIO on the TQMX86 IO controller. 1734 1735config GPIO_TWL4030 1736 tristate "TWL4030, TWL5030, and TPS659x0 GPIOs" 1737 depends on TWL4030_CORE 1738 help 1739 Say yes here to access the GPIO signals of various multi-function 1740 power management chips from Texas Instruments. 1741 1742config GPIO_TWL6040 1743 tristate "TWL6040 GPO" 1744 depends on TWL6040_CORE 1745 help 1746 Say yes here to access the GPO signals of twl6040 1747 audio chip from Texas Instruments. 1748 1749config GPIO_WHISKEY_COVE 1750 tristate "GPIO support for Whiskey Cove PMIC" 1751 depends on (X86 || COMPILE_TEST) && INTEL_SOC_PMIC_BXTWC 1752 select GPIOLIB_IRQCHIP 1753 help 1754 Support for GPIO pins on Whiskey Cove PMIC. 1755 1756 Say Yes if you have an Intel SoC-based tablet with Whiskey Cove PMIC 1757 inside. 1758 1759 This driver can also be built as a module. If so, the module will be 1760 called gpio-wcove. 1761 1762config GPIO_WM831X 1763 tristate "WM831x GPIOs" 1764 depends on MFD_WM831X 1765 help 1766 Say yes here to access the GPIO signals of WM831x power management 1767 chips from Wolfson Microelectronics. 1768 1769config GPIO_WM8350 1770 tristate "WM8350 GPIOs" 1771 depends on MFD_WM8350 1772 help 1773 Say yes here to access the GPIO signals of WM8350 power management 1774 chips from Wolfson Microelectronics. 1775 1776config GPIO_WM8994 1777 tristate "WM8994 GPIOs" 1778 depends on MFD_WM8994 1779 help 1780 Say yes here to access the GPIO signals of WM8994 audio hub 1781 CODECs from Wolfson Microelectronics. 1782 1783endmenu 1784 1785menu "PCI GPIO expanders" 1786 depends on PCI 1787 1788config GPIO_AMD8111 1789 tristate "AMD 8111 GPIO driver" 1790 depends on X86 || COMPILE_TEST 1791 depends on HAS_IOPORT_MAP 1792 help 1793 The AMD 8111 southbridge contains 32 GPIO pins which can be used. 1794 1795 Note that usually system firmware/ACPI handles GPIO pins on their 1796 own and users might easily break their systems with uncareful usage 1797 of this driver! 1798 1799 If unsure, say N 1800 1801config GPIO_BT8XX 1802 tristate "BT8XX GPIO abuser" 1803 depends on VIDEO_BT848=n || COMPILE_TEST 1804 help 1805 The BT8xx frame grabber chip has 24 GPIO pins that can be abused 1806 as a cheap PCI GPIO card. 1807 1808 This chip can be found on Miro, Hauppauge and STB TV-cards. 1809 1810 The card needs to be physically altered for using it as a 1811 GPIO card. For more information on how to build a GPIO card 1812 from a BT8xx TV card, see the documentation file at 1813 Documentation/driver-api/gpio/bt8xxgpio.rst 1814 1815 If unsure, say N. 1816 1817config GPIO_MERRIFIELD 1818 tristate "Intel Merrifield GPIO support" 1819 depends on X86_INTEL_MID 1820 select GPIO_TANGIER 1821 help 1822 Say Y here to support Intel Merrifield GPIO. 1823 1824config GPIO_MLXBF 1825 tristate "Mellanox BlueField SoC GPIO" 1826 depends on (MELLANOX_PLATFORM && ARM64 && ACPI) || (64BIT && COMPILE_TEST) 1827 select GPIO_GENERIC 1828 help 1829 Say Y here if you want GPIO support on Mellanox BlueField SoC. 1830 1831config GPIO_MLXBF2 1832 tristate "Mellanox BlueField 2 SoC GPIO" 1833 depends on (MELLANOX_PLATFORM && ARM64 && ACPI) || (64BIT && COMPILE_TEST) 1834 select GPIO_GENERIC 1835 select GPIOLIB_IRQCHIP 1836 help 1837 Say Y here if you want GPIO support on Mellanox BlueField 2 SoC. 1838 1839config GPIO_MLXBF3 1840 tristate "Mellanox BlueField 3 SoC GPIO" 1841 depends on (MELLANOX_PLATFORM && ARM64) || COMPILE_TEST 1842 select GPIO_GENERIC 1843 select GPIOLIB_IRQCHIP 1844 help 1845 Say Y if you want GPIO support on Mellanox BlueField 3 SoC. 1846 This GPIO controller supports interrupt handling and enables the 1847 manipulation of certain GPIO pins. 1848 This controller should be used in parallel with pinctrl-mlxbf3 to 1849 control the desired GPIOs. 1850 This driver can also be built as a module called mlxbf3-gpio. 1851 1852config GPIO_ML_IOH 1853 tristate "OKI SEMICONDUCTOR ML7213 IOH GPIO support" 1854 depends on X86 || COMPILE_TEST 1855 select GENERIC_IRQ_CHIP 1856 help 1857 ML7213 is companion chip for Intel Atom E6xx series. 1858 This driver can be used for OKI SEMICONDUCTOR ML7213 IOH (Input/Output 1859 Hub) which is for IVI (In-Vehicle Infotainment) use. 1860 This driver can access the IOH's GPIO device. 1861 1862config GPIO_PCH 1863 tristate "Intel EG20T PCH/LAPIS Semiconductor IOH (ML7223/ML7831) GPIO" 1864 depends on X86_32 || MIPS || COMPILE_TEST 1865 select GENERIC_IRQ_CHIP 1866 help 1867 This driver is for PCH (Platform Controller Hub) GPIO of Intel Topcliff, 1868 which is an IOH (Input/Output Hub) for x86 embedded processor. 1869 This driver can access PCH GPIO device. 1870 1871 This driver also can be used for LAPIS Semiconductor IOH (Input/ 1872 Output Hub), ML7223 and ML7831. 1873 ML7223 IOH is for MP (Media Phone) use. 1874 ML7831 IOH is for general purpose use. 1875 ML7223/ML7831 is companion chip for Intel Atom E6xx series. 1876 ML7223/ML7831 is completely compatible for Intel EG20T PCH. 1877 1878config GPIO_PCI_IDIO_16 1879 tristate "ACCES PCI-IDIO-16 GPIO support" 1880 select REGMAP_MMIO 1881 select GPIO_IDIO_16 1882 help 1883 Enables GPIO support for the ACCES PCI-IDIO-16. An interrupt is 1884 generated when any of the inputs change state (low to high or high to 1885 low). Input filter control is not supported by this driver, and the 1886 input filters are deactivated by this driver. 1887 1888config GPIO_PCIE_IDIO_24 1889 tristate "ACCES PCIe-IDIO-24 GPIO support" 1890 select REGMAP_IRQ 1891 select REGMAP_MMIO 1892 select GPIOLIB_IRQCHIP 1893 select GPIO_REGMAP 1894 help 1895 Enables GPIO support for the ACCES PCIe-IDIO-24 family (PCIe-IDIO-24, 1896 PCIe-IDI-24, PCIe-IDO-24, PCIe-IDIO-12). An interrupt is generated 1897 when any of the inputs change state (low to high or high to low). 1898 Input filter control is not supported by this driver, and the input 1899 filters are deactivated by this driver. 1900 1901config GPIO_RDC321X 1902 tristate "RDC R-321x GPIO support" 1903 select MFD_CORE 1904 select MFD_RDC321X 1905 help 1906 Support for the RDC R321x SoC GPIOs over southbridge 1907 PCI configuration space. 1908 1909config GPIO_SODAVILLE 1910 bool "Intel Sodaville GPIO support" 1911 depends on X86 && OF 1912 select GPIO_GENERIC 1913 select GENERIC_IRQ_CHIP 1914 help 1915 Say Y here to support Intel Sodaville GPIO. 1916 1917endmenu 1918 1919menu "SPI GPIO expanders" 1920 depends on SPI_MASTER 1921 1922config GPIO_74X164 1923 tristate "74x164 serial-in/parallel-out 8-bits shift register" 1924 help 1925 Driver for 74x164 compatible serial-in/parallel-out 8-outputs 1926 shift registers. This driver can be used to provide access 1927 to more GPIO outputs. 1928 1929config GPIO_MAX3191X 1930 tristate "Maxim MAX3191x industrial serializer" 1931 select CRC8 1932 help 1933 GPIO driver for Maxim MAX31910, MAX31911, MAX31912, MAX31913, 1934 MAX31953 and MAX31963 industrial serializer, a daisy-chainable 1935 chip to make 8 digital 24V inputs available via SPI. Supports 1936 CRC checksums to guard against electromagnetic interference, 1937 as well as undervoltage and overtemperature detection. 1938 1939config GPIO_MAX7301 1940 tristate "Maxim MAX7301 GPIO expander" 1941 select GPIO_MAX730X 1942 help 1943 GPIO driver for Maxim MAX7301 SPI-based GPIO expander. 1944 1945config GPIO_MC33880 1946 tristate "Freescale MC33880 high-side/low-side switch" 1947 help 1948 SPI driver for Freescale MC33880 high-side/low-side switch. 1949 This provides GPIO interface supporting inputs and outputs. 1950 1951config GPIO_PISOSR 1952 tristate "Generic parallel-in/serial-out shift register" 1953 help 1954 GPIO driver for SPI compatible parallel-in/serial-out shift 1955 registers. These are input only devices. 1956 1957config GPIO_XRA1403 1958 tristate "EXAR XRA1403 16-bit GPIO expander" 1959 select REGMAP_SPI 1960 help 1961 GPIO driver for EXAR XRA1403 16-bit SPI-based GPIO expander. 1962 1963config GPIO_MOXTET 1964 tristate "Turris Mox Moxtet bus GPIO expander" 1965 depends on MOXTET 1966 help 1967 Say yes here if you are building for the Turris Mox router. 1968 This is the driver needed for configuring the GPIOs via the Moxtet 1969 bus. For example the Mox module with SFP cage needs this driver 1970 so that phylink can use corresponding GPIOs. 1971 1972endmenu 1973 1974menu "USB GPIO expanders" 1975 depends on USB 1976 1977config GPIO_VIPERBOARD 1978 tristate "Viperboard GPIO a & b support" 1979 depends on MFD_VIPERBOARD 1980 help 1981 Say yes here to access the GPIO signals of Nano River 1982 Technologies Viperboard. There are two GPIO chips on the 1983 board: gpioa and gpiob. 1984 See viperboard API specification and Nano 1985 River Tech's viperboard.h for detailed meaning 1986 of the module parameters. 1987 1988config GPIO_MPSSE 1989 tristate "FTDI MPSSE GPIO support" 1990 select GPIOLIB_IRQCHIP 1991 help 1992 GPIO driver for FTDI's MPSSE interface. These can do input and 1993 output. Each MPSSE provides 16 IO pins. 1994 1995config GPIO_USBIO 1996 tristate "Intel USBIO GPIO support" 1997 depends on USB_USBIO 1998 default USB_USBIO 1999 help 2000 Select this option to enable GPIO driver for the INTEL 2001 USBIO driver stack. 2002 2003 This driver can also be built as a module. If so, the module 2004 will be called gpio_usbio. 2005 2006endmenu 2007 2008menu "Virtual GPIO drivers" 2009 2010config GPIO_AGGREGATOR 2011 tristate "GPIO Aggregator" 2012 select CONFIGFS_FS 2013 help 2014 Say yes here to enable the GPIO Aggregator, which provides a way to 2015 aggregate existing GPIO lines into a new virtual GPIO chip. 2016 This can serve the following purposes: 2017 - Assign permissions for a collection of GPIO lines to a user, 2018 - Export a collection of GPIO lines to a virtual machine, 2019 - Provide a generic driver for a GPIO-operated device in an 2020 industrial control context, to be operated from userspace using 2021 the GPIO chardev interface. 2022 2023config GPIO_LATCH 2024 tristate "GPIO latch driver" 2025 help 2026 Say yes here to enable a driver for GPIO multiplexers based on latches 2027 connected to other GPIOs. 2028 2029config GPIO_LINE_MUX 2030 tristate "GPIO line mux driver" 2031 depends on OF 2032 select MULTIPLEXER 2033 help 2034 Say Y here to support the GPIO line mux, which can provide virtual 2035 GPIOs backed by a shared real GPIO and a multiplexer in a 1-to-many 2036 fashion. 2037 2038config GPIO_MOCKUP 2039 tristate "GPIO Testing Driver (DEPRECATED)" 2040 select IRQ_SIM 2041 help 2042 This module is DEPRECATED. Please consider using gpio-sim instead. 2043 2044 This enables GPIO Testing driver, which provides a way to test GPIO 2045 subsystem through sysfs (or char device) and debugfs. 2046 User could use it through the script in 2047 tools/testing/selftests/gpio/gpio-mockup.sh. Reference the usage in 2048 it. 2049 2050config GPIO_VIRTIO 2051 tristate "VirtIO GPIO support" 2052 depends on VIRTIO 2053 select GPIOLIB_IRQCHIP 2054 help 2055 Say Y here to enable guest support for virtio-based GPIO controllers. 2056 2057 These virtual GPIOs can be routed to real GPIOs or attached to 2058 simulators on the host (like QEMU). 2059 2060config GPIO_SIM 2061 tristate "GPIO Simulator Module" 2062 select IRQ_SIM 2063 select CONFIGFS_FS 2064 help 2065 This enables the GPIO simulator - a configfs-based GPIO testing 2066 driver. 2067 2068config GPIO_SHARED_PROXY 2069 tristate "Proxy driver for non-exclusive GPIOs" 2070 default m 2071 depends on GPIO_SHARED || COMPILE_TEST 2072 select AUXILIARY_BUS 2073 help 2074 This enables the GPIO shared proxy driver - an abstraction layer 2075 for GPIO pins that are shared by multiple devices. 2076 2077endmenu 2078 2079menu "GPIO Debugging utilities" 2080 2081config GPIO_SLOPPY_LOGIC_ANALYZER 2082 tristate "Sloppy GPIO logic analyzer" 2083 depends on (GPIOLIB || COMPILE_TEST) && CPUSETS && DEBUG_FS && EXPERT 2084 help 2085 This option enables support for a sloppy logic analyzer using polled 2086 GPIOs. Use the 'tools/gpio/gpio-sloppy-logic-analyzer' script with 2087 this driver. The script will make it easier to use and will also 2088 isolate a CPU for the polling task. Note that this is a last resort 2089 analyzer which can be affected by latencies, non-deterministic code 2090 paths, or NMIs. However, for e.g. remote development, it may be useful 2091 to get a first view and aid further debugging. 2092 2093 If this driver is built as a module it will be called 2094 'gpio-sloppy-logic-analyzer'. 2095 2096config GPIO_VIRTUSER 2097 tristate "GPIO Virtual User Testing Module" 2098 select DEBUG_FS 2099 select CONFIGFS_FS 2100 select IRQ_WORK 2101 help 2102 Say Y here to enable the configurable, configfs-based virtual GPIO 2103 consumer testing driver. 2104 2105 This driver is aimed as a helper in spotting any regressions in 2106 hot-unplug handling in GPIOLIB. 2107 2108endmenu 2109 2110endif