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