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