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