1# SPDX-License-Identifier: GPL-2.0-only 2# 3# GPIO infrastructure and drivers 4# 5 6menuconfig GPIOLIB 7 bool "GPIO Support" 8 help 9 This enables GPIO support through the generic GPIO library. 10 You only need to enable this if you also want to enable 11 one or more of the GPIO drivers below. 12 13 If unsure, say N. 14 15config GPIOLIB_LEGACY 16 def_bool y 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 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 412 depends on OF 413 select GPIO_GENERIC 414 select GPIOLIB_IRQCHIP 415 select IRQ_DOMAIN_HIERARCHY 416 help 417 Say yes here to support the GPIO functionality of a number of Intel 418 IXP4xx series of chips. 419 420 If unsure, say N. 421 422config GPIO_LOGICVC 423 tristate "Xylon LogiCVC GPIO support" 424 depends on MFD_SYSCON && OF 425 help 426 Say yes here to support GPIO functionality of the Xylon LogiCVC 427 programmable logic block. 428 429config GPIO_LOONGSON 430 bool "Loongson-2/3 GPIO support" 431 depends on CPU_LOONGSON2EF || CPU_LOONGSON64 432 help 433 Driver for GPIO functionality on Loongson-2F/3A/3B processors. 434 435config GPIO_LOONGSON_64BIT 436 tristate "Loongson 64 bit GPIO support" 437 depends on LOONGARCH || COMPILE_TEST 438 depends on OF_GPIO 439 select GPIO_GENERIC 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 739 select GPIO_GENERIC 740 select GENERIC_IRQ_CHIP 741 select OF_GPIO 742 743config GPIO_TEGRA 744 tristate "NVIDIA Tegra GPIO support" 745 default ARCH_TEGRA 746 depends on ARCH_TEGRA || COMPILE_TEST 747 depends on OF_GPIO 748 select GPIOLIB_IRQCHIP 749 select IRQ_DOMAIN_HIERARCHY 750 help 751 Say yes here to support GPIO pins on NVIDIA Tegra SoCs. 752 753config GPIO_TEGRA186 754 tristate "NVIDIA Tegra186 GPIO support" 755 default ARCH_TEGRA_186_SOC || ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC 756 depends on ARCH_TEGRA_186_SOC || ARCH_TEGRA_194_SOC || ARCH_TEGRA_234_SOC || COMPILE_TEST 757 depends on OF_GPIO 758 select GPIOLIB_IRQCHIP 759 select IRQ_DOMAIN_HIERARCHY 760 help 761 Say yes here to support GPIO pins on NVIDIA Tegra186, 194 and 234 SoCs. 762 763config GPIO_TS4800 764 tristate "TS-4800 DIO blocks and compatibles" 765 depends on OF_GPIO 766 depends on SOC_IMX51 || COMPILE_TEST 767 select GPIO_GENERIC 768 help 769 This driver support TS-4800 FPGA GPIO controllers. 770 771config GPIO_THUNDERX 772 tristate "Cavium ThunderX/OCTEON-TX GPIO" 773 depends on ARCH_THUNDER || (64BIT && COMPILE_TEST) 774 depends on PCI_MSI 775 select GPIOLIB_IRQCHIP 776 select IRQ_DOMAIN_HIERARCHY 777 select IRQ_FASTEOI_HIERARCHY_HANDLERS 778 help 779 Say yes here to support the on-chip GPIO lines on the ThunderX 780 and OCTEON-TX families of SoCs. 781 782config GPIO_UNIPHIER 783 tristate "UniPhier GPIO support" 784 depends on ARCH_UNIPHIER || COMPILE_TEST 785 depends on OF_GPIO 786 select IRQ_DOMAIN_HIERARCHY 787 help 788 Say yes here to support UniPhier GPIOs. 789 790config GPIO_VF610 791 tristate "VF610 GPIO support" 792 default y if SOC_VF610 793 depends on ARCH_MXC || COMPILE_TEST 794 select GPIOLIB_IRQCHIP 795 select GPIO_GENERIC 796 help 797 Say yes here to support i.MX or Vybrid vf610 GPIOs. 798 799config GPIO_VISCONTI 800 tristate "Toshiba Visconti GPIO support" 801 depends on ARCH_VISCONTI || COMPILE_TEST 802 depends on OF_GPIO 803 select GPIOLIB_IRQCHIP 804 select GPIO_GENERIC 805 select IRQ_DOMAIN_HIERARCHY 806 help 807 Say yes here to support GPIO on Tohisba Visconti. 808 809config GPIO_WCD934X 810 tristate "Qualcomm Technologies Inc WCD9340/WCD9341 GPIO controller driver" 811 depends on MFD_WCD934X && OF_GPIO 812 help 813 This driver is to support GPIO block found on the Qualcomm Technologies 814 Inc WCD9340/WCD9341 Audio Codec. 815 816config GPIO_XGENE 817 bool "APM X-Gene GPIO controller support" 818 depends on ARM64 && OF_GPIO 819 help 820 This driver is to support the GPIO block within the APM X-Gene SoC 821 platform's generic flash controller. The GPIO pins are muxed with 822 the generic flash controller's address and data pins. Say yes 823 here to enable the GFC GPIO functionality. 824 825config GPIO_XGENE_SB 826 tristate "APM X-Gene GPIO standby controller support" 827 depends on (ARCH_XGENE || COMPILE_TEST) 828 select GPIO_GENERIC 829 select GPIOLIB_IRQCHIP 830 select IRQ_DOMAIN_HIERARCHY 831 help 832 This driver supports the GPIO block within the APM X-Gene 833 Standby Domain. Say yes here to enable the GPIO functionality. 834 835config GPIO_XILINX 836 tristate "Xilinx GPIO support" 837 select GPIOLIB_IRQCHIP 838 help 839 Say yes here to support the Xilinx FPGA GPIO device. 840 841config GPIO_XLP 842 tristate "Cavium ThunderX2 GPIO support" 843 depends on ARCH_THUNDER2 || COMPILE_TEST 844 select GPIOLIB_IRQCHIP 845 help 846 This driver provides support for GPIO interface on Cavium's ThunderX2 847 CN99XX SoCs (Originally from Netlogic XLP). 848 849 If unsure, say N. 850 851config GPIO_XTENSA 852 bool "Xtensa GPIO32 support" 853 depends on XTENSA 854 depends on HAVE_XTENSA_GPIO32 855 depends on !SMP 856 help 857 Say yes here to support the Xtensa internal GPIO32 IMPWIRE (input) 858 and EXPSTATE (output) ports. 859 860config GPIO_ZEVIO 861 bool "LSI ZEVIO SoC memory mapped GPIOs" 862 depends on ARM 863 help 864 Say yes here to support the GPIO controller in LSI ZEVIO SoCs. 865 866config GPIO_ZYNQ 867 tristate "Xilinx Zynq GPIO support" 868 depends on ARCH_ZYNQ || ARCH_ZYNQMP || COMPILE_TEST 869 select GPIOLIB_IRQCHIP 870 help 871 Say yes here to support Xilinx Zynq GPIO controller. 872 873config GPIO_ZYNQMP_MODEPIN 874 tristate "ZynqMP ps-mode pin GPIO configuration driver" 875 depends on ZYNQMP_FIRMWARE || COMPILE_TEST 876 default ZYNQMP_FIRMWARE 877 help 878 Say yes here to support the ZynqMP ps-mode pin GPIO configuration 879 driver. 880 881 This ps-mode pin GPIO driver is based on GPIO framework. PS_MODE 882 is 4-bits boot mode pins. It sets and gets the status of 883 the ps-mode pin. Every pin can be configured as input/output. 884 885config GPIO_LOONGSON1 886 tristate "Loongson1 GPIO support" 887 depends on MACH_LOONGSON32 888 select GPIO_GENERIC 889 help 890 Say Y or M here to support GPIO on Loongson1 SoCs. 891 892config GPIO_AMD_FCH 893 tristate "GPIO support for AMD Fusion Controller Hub (G-series SOCs)" 894 help 895 This option enables driver for GPIO on AMD's Fusion Controller Hub, 896 as found on G-series SOCs (e.g. GX-412TC). 897 898 Note: This driver doesn't register itself automatically, as it 899 needs to be provided with platform-specific configuration. 900 (See e.g. CONFIG_PCENGINES_APU2.) 901 902config GPIO_MSC313 903 bool "MStar MSC313 GPIO support" 904 depends on ARCH_MSTARV7 || COMPILE_TEST 905 default ARCH_MSTARV7 906 select GPIOLIB_IRQCHIP 907 select IRQ_DOMAIN_HIERARCHY 908 help 909 Say Y here to support the main GPIO block on MStar/SigmaStar 910 ARMv7-based SoCs. 911 912config GPIO_IDT3243X 913 tristate "IDT 79RC3243X GPIO support" 914 depends on MIKROTIK_RB532 || COMPILE_TEST 915 select GPIO_GENERIC 916 select GPIOLIB_IRQCHIP 917 help 918 Select this option to enable GPIO driver for 919 IDT 79RC3243X-based devices like Mikrotik RB532. 920 921 To compile this driver as a module, choose M here: the module will 922 be called gpio-idt3243x. 923 924endmenu 925 926menu "Port-mapped I/O GPIO drivers" 927 depends on X86 && HAS_IOPORT # I/O space access 928 929config GPIO_VX855 930 tristate "VIA VX855/VX875 GPIO" 931 depends on PCI 932 select MFD_CORE 933 select MFD_VX855 934 help 935 Support access to the VX855/VX875 GPIO lines through the GPIO library. 936 937 This driver provides common support for accessing the device. 938 Additional drivers must be enabled in order to use the 939 functionality of the device. 940 941config GPIO_I8255 942 tristate 943 select GPIO_REGMAP 944 help 945 Enables support for the i8255 interface library functions. The i8255 946 interface library provides functions to facilitate communication with 947 interfaces compatible with the venerable Intel 8255 Programmable 948 Peripheral Interface (PPI). The Intel 8255 PPI chip was first released 949 in the early 1970s but compatible interfaces are nowadays typically 950 found embedded in larger VLSI processing chips and FPGA components. 951 952 If built as a module its name will be gpio-i8255. 953 954config GPIO_104_DIO_48E 955 tristate "ACCES 104-DIO-48E GPIO support" 956 depends on PC104 957 select ISA_BUS_API 958 select REGMAP_MMIO 959 select REGMAP_IRQ 960 select GPIOLIB_IRQCHIP 961 select GPIO_I8255 962 select I8254 963 help 964 Enables GPIO support for the ACCES 104-DIO-48E series (104-DIO-48E, 965 104-DIO-24E). The base port addresses for the devices may be 966 configured via the base module parameter. The interrupt line numbers 967 for the devices may be configured via the irq module parameter. 968 969config GPIO_104_IDIO_16 970 tristate "ACCES 104-IDIO-16 GPIO support" 971 depends on PC104 972 select ISA_BUS_API 973 select REGMAP_MMIO 974 select GPIO_IDIO_16 975 help 976 Enables GPIO support for the ACCES 104-IDIO-16 family (104-IDIO-16, 977 104-IDIO-16E, 104-IDO-16, 104-IDIO-8, 104-IDIO-8E, 104-IDO-8). The 978 base port addresses for the devices may be configured via the base 979 module parameter. The interrupt line numbers for the devices may be 980 configured via the irq module parameter. 981 982config GPIO_104_IDI_48 983 tristate "ACCES 104-IDI-48 GPIO support" 984 depends on PC104 985 select ISA_BUS_API 986 select REGMAP_MMIO 987 select REGMAP_IRQ 988 select GPIOLIB_IRQCHIP 989 select GPIO_REGMAP 990 help 991 Enables GPIO support for the ACCES 104-IDI-48 family (104-IDI-48A, 992 104-IDI-48AC, 104-IDI-48B, 104-IDI-48BC). The base port addresses for 993 the devices may be configured via the base module parameter. The 994 interrupt line numbers for the devices may be configured via the irq 995 module parameter. 996 997config GPIO_F7188X 998 tristate "Fintek and Nuvoton Super-I/O GPIO support" 999 help 1000 This option enables support for GPIOs found on Fintek Super-I/O 1001 chips F71869, F71869A, F71882FG, F71889F and F81866. 1002 As well as Nuvoton Super-I/O chip NCT6126D. 1003 1004 To compile this driver as a module, choose M here: the module will 1005 be called f7188x-gpio. 1006 1007config GPIO_GPIO_MM 1008 tristate "Diamond Systems GPIO-MM GPIO support" 1009 depends on PC104 1010 select ISA_BUS_API 1011 select REGMAP_MMIO 1012 select GPIO_I8255 1013 help 1014 Enables GPIO support for the Diamond Systems GPIO-MM and GPIO-MM-12. 1015 1016 The Diamond Systems GPIO-MM device features 48 lines of digital I/O 1017 via the emulation of dual 82C55A PPI chips. This driver provides GPIO 1018 support for these 48 channels of digital I/O. 1019 1020 The base port addresses for the devices may be configured via the base 1021 array module parameter. 1022 1023config GPIO_IT87 1024 tristate "IT87xx GPIO support" 1025 help 1026 Say yes here to support GPIO functionality of IT87xx Super I/O chips. 1027 1028 This driver is tested with ITE IT8728 and IT8732 Super I/O chips, and 1029 supports the IT8761E, IT8613, IT8620E, and IT8628E Super I/O chips as 1030 well. 1031 1032 To compile this driver as a module, choose M here: the module will 1033 be called gpio_it87. 1034 1035config GPIO_SCH 1036 tristate "Intel SCH/TunnelCreek/Centerton/Quark X1000 GPIO" 1037 depends on (X86 || COMPILE_TEST) && ACPI 1038 depends on LPC_SCH 1039 select GPIOLIB_IRQCHIP 1040 help 1041 Say yes here to support GPIO interface on Intel Poulsbo SCH, 1042 Intel Tunnel Creek processor, Intel Centerton processor or 1043 Intel Quark X1000 SoC. 1044 1045 The Intel SCH contains a total of 14 GPIO pins. Ten GPIOs are 1046 powered by the core power rail and are turned off during sleep 1047 modes (S3 and higher). The remaining four GPIOs are powered by 1048 the Intel SCH suspend power supply. These GPIOs remain 1049 active during S3. The suspend-powered GPIOs can be used to wake the 1050 system from the Suspend-to-RAM state. 1051 1052 The Intel Tunnel Creek processor has 5 GPIOs powered by the 1053 core power rail and 9 from suspend power supply. 1054 1055 The Intel Centerton processor has a total of 30 GPIO pins. 1056 Twenty-one are powered by the core power rail and 9 from the 1057 suspend power supply. 1058 1059 The Intel Quark X1000 SoC has 2 GPIOs powered by the core 1060 power well and 6 from the suspend power well. 1061 1062config GPIO_SCH311X 1063 tristate "SMSC SCH311x SuperI/O GPIO" 1064 help 1065 Driver to enable the GPIOs found on SMSC SMSC SCH3112, SCH3114 and 1066 SCH3116 "Super I/O" chipsets. 1067 1068 To compile this driver as a module, choose M here: the module will 1069 be called gpio-sch311x. 1070 1071config GPIO_TS5500 1072 tristate "TS-5500 DIO blocks and compatibles" 1073 depends on TS5500 || COMPILE_TEST 1074 help 1075 This driver supports Digital I/O exposed by pin blocks found on some 1076 Technologic Systems platforms. It includes, but is not limited to, 3 1077 blocks of the TS-5500: DIO1, DIO2 and the LCD port, and the TS-5600 1078 LCD port. 1079 1080config GPIO_WINBOND 1081 tristate "Winbond Super I/O GPIO support" 1082 select ISA_BUS_API 1083 help 1084 This option enables support for GPIOs found on Winbond Super I/O 1085 chips. 1086 Currently, only W83627UHG (also known as Nuvoton NCT6627UD) is 1087 supported. 1088 1089 You will need to provide a module parameter "gpios", or a 1090 boot-time parameter "gpio_winbond.gpios" with a bitmask of GPIO 1091 ports to enable (bit 0 is GPIO1, bit 1 is GPIO2, etc.). 1092 1093 To compile this driver as a module, choose M here: the module will 1094 be called gpio-winbond. 1095 1096config GPIO_WS16C48 1097 tristate "WinSystems WS16C48 GPIO support" 1098 select ISA_BUS_API 1099 select REGMAP_IRQ 1100 select REGMAP_MMIO 1101 select GPIOLIB_IRQCHIP 1102 select GPIO_REGMAP 1103 help 1104 Enables GPIO support for the WinSystems WS16C48. The base port 1105 addresses for the devices may be configured via the base module 1106 parameter. The interrupt line numbers for the devices may be 1107 configured via the irq module parameter. 1108 1109endmenu 1110 1111menu "I2C GPIO expanders" 1112 depends on I2C 1113 1114config GPIO_ADNP 1115 tristate "Avionic Design N-bit GPIO expander" 1116 depends on OF_GPIO 1117 select GPIOLIB_IRQCHIP 1118 help 1119 This option enables support for N GPIOs found on Avionic Design 1120 I2C GPIO expanders. The register space will be extended by powers 1121 of two, so the controller will need to accommodate for that. For 1122 example: if a controller provides 48 pins, 6 registers will be 1123 enough to represent all pins, but the driver will assume a 1124 register layout for 64 pins (8 registers). 1125 1126config GPIO_FXL6408 1127 tristate "FXL6408 I2C GPIO expander" 1128 select GPIO_REGMAP 1129 select REGMAP_I2C 1130 help 1131 GPIO driver for Fairchild Semiconductor FXL6408 GPIO expander. 1132 1133 To compile this driver as a module, choose M here: the module will 1134 be called gpio-fxl6408. 1135 1136config GPIO_DS4520 1137 tristate "DS4520 I2C GPIO expander" 1138 select REGMAP_I2C 1139 select GPIO_REGMAP 1140 help 1141 GPIO driver for ADI DS4520 I2C-based GPIO expander. 1142 Say yes here to enable the GPIO driver for the ADI DS4520 chip. 1143 1144 To compile this driver as a module, choose M here: the module will 1145 be called gpio-ds4520. 1146 1147config GPIO_GW_PLD 1148 tristate "Gateworks PLD GPIO Expander" 1149 depends on OF_GPIO 1150 help 1151 Say yes here to provide access to the Gateworks I2C PLD GPIO 1152 Expander. This is used at least on the Cambria GW2358-4. 1153 1154config GPIO_MAX7300 1155 tristate "Maxim MAX7300 GPIO expander" 1156 select GPIO_MAX730X 1157 help 1158 GPIO driver for Maxim MAX7300 I2C-based GPIO expander. 1159 1160config GPIO_MAX732X 1161 tristate "MAX7319, MAX7320-7327 I2C Port Expanders" 1162 help 1163 Say yes here to support the MAX7319, MAX7320-7327 series of I2C 1164 Port Expanders. Each IO port on these chips has a fixed role of 1165 Input (designated by 'I'), Push-Pull Output ('O'), or Open-Drain 1166 Input and Output (designed by 'P'). The combinations are listed 1167 below: 1168 1169 8 bits: max7319 (8I), max7320 (8O), max7321 (8P), 1170 max7322 (4I4O), max7323 (4P4O) 1171 1172 16 bits: max7324 (8I8O), max7325 (8P8O), 1173 max7326 (4I12O), max7327 (4P12O) 1174 1175 Board setup code must specify the model to use, and the start 1176 number for these GPIOs. 1177 1178config GPIO_MAX732X_IRQ 1179 bool "Interrupt controller support for MAX732x" 1180 depends on GPIO_MAX732X=y 1181 select GPIOLIB_IRQCHIP 1182 help 1183 Say yes here to enable the max732x to be used as an interrupt 1184 controller. It requires the driver to be built in the kernel. 1185 1186config GPIO_PCA953X 1187 tristate "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports" 1188 select REGMAP_I2C 1189 help 1190 Say yes here to provide access to several register-oriented 1191 SMBus I/O expanders, made mostly by NXP or TI. Compatible 1192 models include: 1193 1194 4 bits: pca9536, pca9537 1195 1196 8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554, 1197 pca9556, pca9557, pca9574, tca6408, tca9554, xra1202 1198 1199 16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575, 1200 tca6416 1201 1202 24 bits: tca6424 1203 1204 40 bits: pca9505, pca9698 1205 1206config GPIO_PCA953X_IRQ 1207 bool "Interrupt controller support for PCA953x" 1208 depends on GPIO_PCA953X 1209 select GPIOLIB_IRQCHIP 1210 help 1211 Say yes here to enable the pca953x to be used as an interrupt 1212 controller. 1213 1214config GPIO_PCA9570 1215 tristate "PCA9570 4-Bit I2C GPO expander" 1216 help 1217 Say yes here to enable the GPO driver for the NXP PCA9570 chip. 1218 1219 To compile this driver as a module, choose M here: the module will 1220 be called gpio-pca9570. 1221 1222config GPIO_PCF857X 1223 tristate "PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders" 1224 select GPIOLIB_IRQCHIP 1225 select IRQ_DOMAIN 1226 help 1227 Say yes here to provide access to most "quasi-bidirectional" I2C 1228 GPIO expanders used for additional digital outputs or inputs. 1229 Most of these parts are from NXP, though TI is a second source for 1230 some of them. Compatible models include: 1231 1232 8 bits: pcf8574, pcf8574a, pca8574, pca8574a, 1233 pca9670, pca9672, pca9674, pca9674a, 1234 max7328, max7329 1235 1236 16 bits: pcf8575, pcf8575c, pca8575, 1237 pca9671, pca9673, pca9675 1238 1239 Your board setup code will need to declare the expanders in 1240 use, and assign numbers to the GPIOs they expose. Those GPIOs 1241 can then be used from drivers and other kernel code, just like 1242 other GPIOs, but only accessible from task contexts. 1243 1244 This driver provides an in-kernel interface to those GPIOs using 1245 platform-neutral GPIO calls. 1246 1247config GPIO_TPIC2810 1248 tristate "TPIC2810 8-Bit I2C GPO expander" 1249 help 1250 Say yes here to enable the GPO driver for the TI TPIC2810 chip. 1251 1252 To compile this driver as a module, choose M here: the module will 1253 be called gpio-tpic2810. 1254 1255config GPIO_TS4900 1256 tristate "Technologic Systems FPGA I2C GPIO" 1257 depends on SOC_IMX6 || COMPILE_TEST 1258 select REGMAP_I2C 1259 help 1260 Say yes here to enabled the GPIO driver for Technologic's FPGA core. 1261 Series supported include TS-4100, TS-4900, TS-7970 and TS-7990. 1262 1263endmenu 1264 1265menu "MFD GPIO expanders" 1266 1267config GPIO_ADP5520 1268 tristate "GPIO Support for ADP5520 PMIC" 1269 depends on PMIC_ADP5520 1270 help 1271 This option enables support for on-chip GPIO found 1272 on Analog Devices ADP5520 PMICs. 1273 1274config GPIO_ADP5585 1275 tristate "GPIO Support for ADP5585" 1276 depends on MFD_ADP5585 1277 select GPIOLIB_IRQCHIP 1278 help 1279 This option enables support for the GPIO function found in the Analog 1280 Devices ADP5585. 1281 1282config GPIO_ALTERA_A10SR 1283 tristate "Altera Arria10 System Resource GPIO" 1284 depends on MFD_ALTERA_A10SR 1285 help 1286 Driver for Arria10 Development Kit GPIO expansion which 1287 includes reads of pushbuttons and DIP switches as well 1288 as writes to LEDs. 1289 1290config GPIO_ARIZONA 1291 tristate "Wolfson Microelectronics Arizona class devices" 1292 depends on MFD_ARIZONA 1293 help 1294 Support for GPIOs on Wolfson Arizona class devices. 1295 1296config GPIO_BD71815 1297 tristate "ROHM BD71815 PMIC GPIO support" 1298 depends on MFD_ROHM_BD71828 1299 help 1300 Support for GPO(s) on ROHM BD71815 PMIC. There are two GPOs 1301 available on the ROHM PMIC. 1302 1303 This driver can also be built as a module. If so, the module 1304 will be called gpio-bd71815. 1305 1306config GPIO_BD71828 1307 tristate "ROHM BD71828 GPIO support" 1308 depends on MFD_ROHM_BD71828 1309 help 1310 Support for GPIOs on ROHM BD71828 PMIC. There are three GPIOs 1311 available on the ROHM PMIC in total. The GPIOs are limited to 1312 outputs only and pins must be configured to GPIO outputs by 1313 OTP. Enable this only if you want to use these pins as outputs. 1314 1315 This driver can also be built as a module. If so, the module 1316 will be called gpio-bd71828. 1317 1318config GPIO_BD9571MWV 1319 tristate "ROHM BD9571 GPIO support" 1320 depends on MFD_BD9571MWV 1321 help 1322 Support for GPIOs on ROHM BD9571 PMIC. There are two GPIOs 1323 available on the ROHM PMIC in total, both of which can also 1324 generate interrupts. 1325 1326 This driver can also be built as a module. If so, the module 1327 will be called gpio-bd9571mwv. 1328 1329config GPIO_CGBC 1330 tristate "Congatec Board Controller GPIO support" 1331 depends on MFD_CGBC 1332 help 1333 Select this option to enable GPIO support for the Congatec Board 1334 Controller. 1335 1336 This driver can also be built as a module. If so, the module will be 1337 called gpio-cgbc. 1338 1339config GPIO_CROS_EC 1340 tristate "ChromeOS EC GPIO support" 1341 depends on CROS_EC 1342 help 1343 GPIO driver for the ChromeOS Embedded Controller (EC). GPIOs 1344 cannot be set unless the system is unlocked. 1345 1346 This driver can also be built as a module. If so, the module 1347 will be called gpio-cros-ec. 1348 1349config GPIO_CRYSTAL_COVE 1350 tristate "GPIO support for Crystal Cove PMIC" 1351 depends on (X86 || COMPILE_TEST) && INTEL_SOC_PMIC 1352 select GPIOLIB_IRQCHIP 1353 help 1354 Support for GPIO pins on Crystal Cove PMIC. 1355 1356 Say Yes if you have a Intel SoC-based tablet with Crystal Cove PMIC 1357 inside. 1358 1359 This driver can also be built as a module. If so, the module will be 1360 called gpio-crystalcove. 1361 1362config GPIO_CS5535 1363 tristate "AMD CS5535/CS5536 GPIO support" 1364 depends on X86 || MIPS || COMPILE_TEST 1365 depends on MFD_CS5535 1366 help 1367 The AMD CS5535 and CS5536 southbridges support 28 GPIO pins that 1368 can be used for quite a number of things. The CS5535/6 is found on 1369 AMD Geode and Lemote Yeeloong devices. 1370 1371 If unsure, say N. 1372 1373config GPIO_DA9052 1374 tristate "Dialog DA9052 GPIO" 1375 depends on PMIC_DA9052 1376 help 1377 Say yes here to enable the GPIO driver for the DA9052 chip. 1378 1379config GPIO_DA9055 1380 tristate "Dialog Semiconductor DA9055 GPIO" 1381 depends on MFD_DA9055 1382 help 1383 Say yes here to enable the GPIO driver for the DA9055 chip. 1384 1385 The Dialog DA9055 PMIC chip has 3 GPIO pins that can be 1386 be controlled by this driver. 1387 1388 If driver is built as a module it will be called gpio-da9055. 1389 1390config GPIO_DLN2 1391 tristate "Diolan DLN2 GPIO support" 1392 depends on MFD_DLN2 1393 select GPIOLIB_IRQCHIP 1394 1395 help 1396 Select this option to enable GPIO driver for the Diolan DLN2 1397 board. 1398 1399 This driver can also be built as a module. If so, the module 1400 will be called gpio-dln2. 1401 1402config HTC_EGPIO 1403 bool "HTC EGPIO support" 1404 depends on ARM || COMPILE_TEST 1405 help 1406 This driver supports the CPLD egpio chip present on 1407 several HTC phones. It provides basic support for input 1408 pins, output pins, and IRQs. 1409 1410config GPIO_ELKHARTLAKE 1411 tristate "Intel Elkhart Lake PSE GPIO support" 1412 depends on X86 || COMPILE_TEST 1413 select GPIO_TANGIER 1414 help 1415 Select this option to enable GPIO support for Intel Elkhart Lake 1416 PSE GPIO IP. 1417 1418 To compile this driver as a module, choose M here: the module will 1419 be called gpio-elkhartlake. 1420 1421config GPIO_JANZ_TTL 1422 tristate "Janz VMOD-TTL Digital IO Module" 1423 depends on MFD_JANZ_CMODIO 1424 help 1425 This enables support for the Janz VMOD-TTL Digital IO module. 1426 This driver provides support for driving the pins in output 1427 mode only. Input mode is not supported. 1428 1429config GPIO_KEMPLD 1430 tristate "Kontron ETX / COMexpress GPIO" 1431 depends on MFD_KEMPLD 1432 help 1433 This enables support for the PLD GPIO interface on some Kontron ETX 1434 and COMexpress (ETXexpress) modules. 1435 1436 This driver can also be built as a module. If so, the module will be 1437 called gpio-kempld. 1438 1439config GPIO_LJCA 1440 tristate "INTEL La Jolla Cove Adapter GPIO support" 1441 depends on USB_LJCA 1442 select GPIOLIB_IRQCHIP 1443 default USB_LJCA 1444 help 1445 Select this option to enable GPIO driver for the INTEL 1446 La Jolla Cove Adapter (LJCA) board. 1447 1448 This driver can also be built as a module. If so, the module 1449 will be called gpio-ljca. 1450 1451config GPIO_LP3943 1452 tristate "TI/National Semiconductor LP3943 GPIO expander" 1453 depends on MFD_LP3943 1454 help 1455 GPIO driver for LP3943 MFD. 1456 LP3943 can be used as a GPIO expander which provides up to 16 GPIOs. 1457 Open drain outputs are required for this usage. 1458 1459config GPIO_LP873X 1460 tristate "TI LP873X GPO" 1461 depends on MFD_TI_LP873X 1462 help 1463 This driver supports the GPO on TI Lp873x PMICs. 2 GPOs are present 1464 on LP873X PMICs. 1465 1466 This driver can also be built as a module. If so, the module will be 1467 called gpio-lp873x. 1468 1469config GPIO_LP87565 1470 tristate "TI LP87565 GPIO" 1471 depends on MFD_TI_LP87565 1472 help 1473 This driver supports the GPIO on TI Lp873565 PMICs. 3 GPIOs are present 1474 on LP87565 PMICs. 1475 1476 This driver can also be built as a module. If so, the module will be 1477 called gpio-lp87565. 1478 1479config GPIO_MACSMC 1480 tristate "Apple Mac SMC GPIO" 1481 depends on MFD_MACSMC 1482 help 1483 Support for GPIOs controlled by the SMC microcontroller on Apple Mac 1484 systems. 1485 1486 This driver can also be built as a module. If so, the module will be 1487 called gpio-macsmc. 1488 1489config GPIO_MADERA 1490 tristate "Cirrus Logic Madera class codecs" 1491 depends on PINCTRL_MADERA 1492 help 1493 Support for GPIOs on Cirrus Logic Madera class codecs. 1494 1495config GPIO_MAX77620 1496 tristate "GPIO support for PMIC MAX77620 and MAX20024" 1497 depends on MFD_MAX77620 1498 select GPIOLIB_IRQCHIP 1499 help 1500 GPIO driver for MAX77620 and MAX20024 PMIC from Maxim Semiconductor. 1501 MAX77620 PMIC has 8 pins that can be configured as GPIOs. The 1502 driver also provides interrupt support for each of the GPIOs. 1503 Say yes here to enable the max77620 to be used as GPIO controller. 1504 1505config GPIO_MAX77650 1506 tristate "Maxim MAX77650/77651 GPIO support" 1507 depends on MFD_MAX77650 1508 help 1509 GPIO driver for MAX77650/77651 PMIC from Maxim Semiconductor. 1510 These chips have a single pin that can be configured as GPIO. 1511 1512config GPIO_MAX77759 1513 tristate "Maxim Integrated MAX77759 GPIO support" 1514 depends on MFD_MAX77759 1515 default MFD_MAX77759 1516 select GPIOLIB_IRQCHIP 1517 help 1518 GPIO driver for MAX77759 PMIC from Maxim Integrated. 1519 There are two GPIOs available on these chips in total, both of 1520 which can also generate interrupts. 1521 1522 This driver can also be built as a module. If so, the module will be 1523 called gpio-max77759. 1524 1525config GPIO_PALMAS 1526 tristate "TI PALMAS series PMICs GPIO" 1527 depends on MFD_PALMAS 1528 help 1529 Select this option to enable GPIO driver for the TI PALMAS 1530 series chip family. 1531 1532config GPIO_PMIC_EIC_SPRD 1533 tristate "Spreadtrum PMIC EIC support" 1534 depends on MFD_SC27XX_PMIC || COMPILE_TEST 1535 depends on OF_GPIO 1536 select GPIOLIB_IRQCHIP 1537 help 1538 Say yes here to support Spreadtrum PMIC EIC device. 1539 1540config GPIO_RC5T583 1541 bool "RICOH RC5T583 GPIO" 1542 depends on MFD_RC5T583 1543 help 1544 Select this option to enable GPIO driver for the Ricoh RC5T583 1545 chip family. 1546 This driver provides the support for driving/reading the GPIO pins 1547 of RC5T583 device through standard GPIO library. 1548 1549config GPIO_SL28CPLD 1550 tristate "Kontron sl28cpld GPIO support" 1551 depends on MFD_SL28CPLD || COMPILE_TEST 1552 select GPIO_REGMAP 1553 select GPIOLIB_IRQCHIP 1554 select REGMAP_IRQ 1555 help 1556 This enables support for the GPIOs found on the Kontron sl28 CPLD. 1557 1558 This driver can also be built as a module. If so, the module will be 1559 called gpio-sl28cpld. 1560 1561config GPIO_STMPE 1562 bool "STMPE GPIOs" 1563 depends on MFD_STMPE 1564 depends on OF_GPIO 1565 select GPIOLIB_IRQCHIP 1566 help 1567 This enables support for the GPIOs found on the STMPE I/O 1568 Expanders. 1569 1570config GPIO_TC3589X 1571 bool "TC3589X GPIOs" 1572 depends on MFD_TC3589X 1573 depends on OF_GPIO 1574 select GPIOLIB_IRQCHIP 1575 help 1576 This enables support for the GPIOs found on the TC3589X 1577 I/O Expander. 1578 1579config GPIO_TIMBERDALE 1580 bool "Support for timberdale GPIO IP" 1581 depends on MFD_TIMBERDALE 1582 select GPIOLIB_IRQCHIP 1583 help 1584 Add support for the GPIO IP in the timberdale FPGA. 1585 1586config GPIO_TN48M_CPLD 1587 tristate "Delta Networks TN48M switch CPLD GPIO driver" 1588 depends on MFD_TN48M_CPLD || COMPILE_TEST 1589 select GPIO_REGMAP 1590 help 1591 This enables support for the GPIOs found on the Delta 1592 Networks TN48M switch Lattice CPLD. It provides 12 pins in total, 1593 they are input-only or output-only type. 1594 1595 This driver can also be built as a module. If so, the 1596 module will be called gpio-tn48m. 1597 1598config GPIO_TPS65086 1599 tristate "TI TPS65086 GPO" 1600 depends on MFD_TPS65086 1601 help 1602 This driver supports the GPO on TI TPS65086x PMICs. 1603 1604config GPIO_TPS65218 1605 tristate "TPS65218 GPIO" 1606 depends on MFD_TPS65218 1607 help 1608 Select this option to enable GPIO driver for the TPS65218 1609 chip family. 1610 1611config GPIO_TPS65219 1612 tristate "TPS65219 GPIO" 1613 depends on MFD_TPS65219 1614 default MFD_TPS65219 1615 help 1616 Select this option to enable GPIO driver for the TPS65219 chip 1617 family. 1618 GPIO0 is statically configured as either input or output prior to 1619 Linux boot. It is used for MULTI_DEVICE_ENABLE function. This setting 1620 is statically configured by NVM. GPIO0 can't be used as a generic 1621 GPIO. It's either a GPO when MULTI_DEVICE_EN=0 or a GPI when 1622 MULTI_DEVICE_EN=1. 1623 1624 This driver can also be built as a module. If so, the module will be 1625 called gpio_tps65219. 1626 1627config GPIO_TPS6586X 1628 bool "TPS6586X GPIO" 1629 depends on MFD_TPS6586X 1630 help 1631 Select this option to enable GPIO driver for the TPS6586X 1632 chip family. 1633 1634config GPIO_TPS65910 1635 bool "TPS65910 GPIO" 1636 depends on MFD_TPS65910 1637 help 1638 Select this option to enable GPIO driver for the TPS65910 1639 chip family. 1640 1641config GPIO_TPS65912 1642 tristate "TI TPS65912 GPIO" 1643 depends on MFD_TPS65912 1644 help 1645 This driver supports TPS65912 GPIO chip. 1646 1647config GPIO_TPS68470 1648 tristate "TPS68470 GPIO" 1649 depends on INTEL_SKL_INT3472 1650 help 1651 Select this option to enable GPIO driver for the TPS68470 1652 chip family. 1653 There are 7 GPIOs and few sensor-related GPIOs supported 1654 by the TPS68470. While the 7 GPIOs can be configured as 1655 input or output as appropriate, the sensor related GPIOs 1656 are "output only" GPIOs. 1657 1658config GPIO_TQMX86 1659 tristate "TQ-Systems TQMx86 GPIO" 1660 depends on MFD_TQMX86 || COMPILE_TEST 1661 depends on HAS_IOPORT_MAP 1662 select GPIOLIB_IRQCHIP 1663 help 1664 This driver supports GPIO on the TQMX86 IO controller. 1665 1666config GPIO_TWL4030 1667 tristate "TWL4030, TWL5030, and TPS659x0 GPIOs" 1668 depends on TWL4030_CORE 1669 help 1670 Say yes here to access the GPIO signals of various multi-function 1671 power management chips from Texas Instruments. 1672 1673config GPIO_TWL6040 1674 tristate "TWL6040 GPO" 1675 depends on TWL6040_CORE 1676 help 1677 Say yes here to access the GPO signals of twl6040 1678 audio chip from Texas Instruments. 1679 1680config GPIO_WHISKEY_COVE 1681 tristate "GPIO support for Whiskey Cove PMIC" 1682 depends on (X86 || COMPILE_TEST) && INTEL_SOC_PMIC_BXTWC 1683 select GPIOLIB_IRQCHIP 1684 help 1685 Support for GPIO pins on Whiskey Cove PMIC. 1686 1687 Say Yes if you have an Intel SoC-based tablet with Whiskey Cove PMIC 1688 inside. 1689 1690 This driver can also be built as a module. If so, the module will be 1691 called gpio-wcove. 1692 1693config GPIO_WM831X 1694 tristate "WM831x GPIOs" 1695 depends on MFD_WM831X 1696 help 1697 Say yes here to access the GPIO signals of WM831x power management 1698 chips from Wolfson Microelectronics. 1699 1700config GPIO_WM8350 1701 tristate "WM8350 GPIOs" 1702 depends on MFD_WM8350 1703 help 1704 Say yes here to access the GPIO signals of WM8350 power management 1705 chips from Wolfson Microelectronics. 1706 1707config GPIO_WM8994 1708 tristate "WM8994 GPIOs" 1709 depends on MFD_WM8994 1710 help 1711 Say yes here to access the GPIO signals of WM8994 audio hub 1712 CODECs from Wolfson Microelectronics. 1713 1714endmenu 1715 1716menu "PCI GPIO expanders" 1717 depends on PCI 1718 1719config GPIO_AMD8111 1720 tristate "AMD 8111 GPIO driver" 1721 depends on X86 || COMPILE_TEST 1722 depends on HAS_IOPORT_MAP 1723 help 1724 The AMD 8111 southbridge contains 32 GPIO pins which can be used. 1725 1726 Note that usually system firmware/ACPI handles GPIO pins on their 1727 own and users might easily break their systems with uncareful usage 1728 of this driver! 1729 1730 If unsure, say N 1731 1732config GPIO_BT8XX 1733 tristate "BT8XX GPIO abuser" 1734 depends on VIDEO_BT848=n || COMPILE_TEST 1735 help 1736 The BT8xx frame grabber chip has 24 GPIO pins that can be abused 1737 as a cheap PCI GPIO card. 1738 1739 This chip can be found on Miro, Hauppauge and STB TV-cards. 1740 1741 The card needs to be physically altered for using it as a 1742 GPIO card. For more information on how to build a GPIO card 1743 from a BT8xx TV card, see the documentation file at 1744 Documentation/driver-api/gpio/bt8xxgpio.rst 1745 1746 If unsure, say N. 1747 1748config GPIO_MERRIFIELD 1749 tristate "Intel Merrifield GPIO support" 1750 depends on X86_INTEL_MID 1751 select GPIO_TANGIER 1752 help 1753 Say Y here to support Intel Merrifield GPIO. 1754 1755config GPIO_MLXBF 1756 tristate "Mellanox BlueField SoC GPIO" 1757 depends on (MELLANOX_PLATFORM && ARM64 && ACPI) || (64BIT && COMPILE_TEST) 1758 select GPIO_GENERIC 1759 help 1760 Say Y here if you want GPIO support on Mellanox BlueField SoC. 1761 1762config GPIO_MLXBF2 1763 tristate "Mellanox BlueField 2 SoC GPIO" 1764 depends on (MELLANOX_PLATFORM && ARM64 && ACPI) || (64BIT && COMPILE_TEST) 1765 select GPIO_GENERIC 1766 select GPIOLIB_IRQCHIP 1767 help 1768 Say Y here if you want GPIO support on Mellanox BlueField 2 SoC. 1769 1770config GPIO_MLXBF3 1771 tristate "Mellanox BlueField 3 SoC GPIO" 1772 depends on (MELLANOX_PLATFORM && ARM64) || COMPILE_TEST 1773 select GPIO_GENERIC 1774 select GPIOLIB_IRQCHIP 1775 help 1776 Say Y if you want GPIO support on Mellanox BlueField 3 SoC. 1777 This GPIO controller supports interrupt handling and enables the 1778 manipulation of certain GPIO pins. 1779 This controller should be used in parallel with pinctrl-mlxbf3 to 1780 control the desired GPIOs. 1781 This driver can also be built as a module called mlxbf3-gpio. 1782 1783config GPIO_ML_IOH 1784 tristate "OKI SEMICONDUCTOR ML7213 IOH GPIO support" 1785 depends on X86 || COMPILE_TEST 1786 select GENERIC_IRQ_CHIP 1787 help 1788 ML7213 is companion chip for Intel Atom E6xx series. 1789 This driver can be used for OKI SEMICONDUCTOR ML7213 IOH (Input/Output 1790 Hub) which is for IVI (In-Vehicle Infotainment) use. 1791 This driver can access the IOH's GPIO device. 1792 1793config GPIO_PCH 1794 tristate "Intel EG20T PCH/LAPIS Semiconductor IOH (ML7223/ML7831) GPIO" 1795 depends on X86_32 || MIPS || COMPILE_TEST 1796 select GENERIC_IRQ_CHIP 1797 help 1798 This driver is for PCH (Platform Controller Hub) GPIO of Intel Topcliff, 1799 which is an IOH (Input/Output Hub) for x86 embedded processor. 1800 This driver can access PCH GPIO device. 1801 1802 This driver also can be used for LAPIS Semiconductor IOH (Input/ 1803 Output Hub), ML7223 and ML7831. 1804 ML7223 IOH is for MP (Media Phone) use. 1805 ML7831 IOH is for general purpose use. 1806 ML7223/ML7831 is companion chip for Intel Atom E6xx series. 1807 ML7223/ML7831 is completely compatible for Intel EG20T PCH. 1808 1809config GPIO_PCI_IDIO_16 1810 tristate "ACCES PCI-IDIO-16 GPIO support" 1811 select REGMAP_MMIO 1812 select GPIO_IDIO_16 1813 help 1814 Enables GPIO support for the ACCES PCI-IDIO-16. An interrupt is 1815 generated when any of the inputs change state (low to high or high to 1816 low). Input filter control is not supported by this driver, and the 1817 input filters are deactivated by this driver. 1818 1819config GPIO_PCIE_IDIO_24 1820 tristate "ACCES PCIe-IDIO-24 GPIO support" 1821 select REGMAP_IRQ 1822 select REGMAP_MMIO 1823 select GPIOLIB_IRQCHIP 1824 select GPIO_REGMAP 1825 help 1826 Enables GPIO support for the ACCES PCIe-IDIO-24 family (PCIe-IDIO-24, 1827 PCIe-IDI-24, PCIe-IDO-24, PCIe-IDIO-12). An interrupt is generated 1828 when any of the inputs change state (low to high or high to low). 1829 Input filter control is not supported by this driver, and the input 1830 filters are deactivated by this driver. 1831 1832config GPIO_RDC321X 1833 tristate "RDC R-321x GPIO support" 1834 select MFD_CORE 1835 select MFD_RDC321X 1836 help 1837 Support for the RDC R321x SoC GPIOs over southbridge 1838 PCI configuration space. 1839 1840config GPIO_SODAVILLE 1841 bool "Intel Sodaville GPIO support" 1842 depends on X86 && OF 1843 select GPIO_GENERIC 1844 select GENERIC_IRQ_CHIP 1845 help 1846 Say Y here to support Intel Sodaville GPIO. 1847 1848endmenu 1849 1850menu "SPI GPIO expanders" 1851 depends on SPI_MASTER 1852 1853config GPIO_74X164 1854 tristate "74x164 serial-in/parallel-out 8-bits shift register" 1855 help 1856 Driver for 74x164 compatible serial-in/parallel-out 8-outputs 1857 shift registers. This driver can be used to provide access 1858 to more GPIO outputs. 1859 1860config GPIO_MAX3191X 1861 tristate "Maxim MAX3191x industrial serializer" 1862 select CRC8 1863 help 1864 GPIO driver for Maxim MAX31910, MAX31911, MAX31912, MAX31913, 1865 MAX31953 and MAX31963 industrial serializer, a daisy-chainable 1866 chip to make 8 digital 24V inputs available via SPI. Supports 1867 CRC checksums to guard against electromagnetic interference, 1868 as well as undervoltage and overtemperature detection. 1869 1870config GPIO_MAX7301 1871 tristate "Maxim MAX7301 GPIO expander" 1872 select GPIO_MAX730X 1873 help 1874 GPIO driver for Maxim MAX7301 SPI-based GPIO expander. 1875 1876config GPIO_MC33880 1877 tristate "Freescale MC33880 high-side/low-side switch" 1878 help 1879 SPI driver for Freescale MC33880 high-side/low-side switch. 1880 This provides GPIO interface supporting inputs and outputs. 1881 1882config GPIO_PISOSR 1883 tristate "Generic parallel-in/serial-out shift register" 1884 help 1885 GPIO driver for SPI compatible parallel-in/serial-out shift 1886 registers. These are input only devices. 1887 1888config GPIO_XRA1403 1889 tristate "EXAR XRA1403 16-bit GPIO expander" 1890 select REGMAP_SPI 1891 help 1892 GPIO driver for EXAR XRA1403 16-bit SPI-based GPIO expander. 1893 1894config GPIO_MOXTET 1895 tristate "Turris Mox Moxtet bus GPIO expander" 1896 depends on MOXTET 1897 help 1898 Say yes here if you are building for the Turris Mox router. 1899 This is the driver needed for configuring the GPIOs via the Moxtet 1900 bus. For example the Mox module with SFP cage needs this driver 1901 so that phylink can use corresponding GPIOs. 1902 1903endmenu 1904 1905menu "USB GPIO expanders" 1906 depends on USB 1907 1908config GPIO_VIPERBOARD 1909 tristate "Viperboard GPIO a & b support" 1910 depends on MFD_VIPERBOARD 1911 help 1912 Say yes here to access the GPIO signals of Nano River 1913 Technologies Viperboard. There are two GPIO chips on the 1914 board: gpioa and gpiob. 1915 See viperboard API specification and Nano 1916 River Tech's viperboard.h for detailed meaning 1917 of the module parameters. 1918 1919config GPIO_MPSSE 1920 tristate "FTDI MPSSE GPIO support" 1921 select GPIOLIB_IRQCHIP 1922 help 1923 GPIO driver for FTDI's MPSSE interface. These can do input and 1924 output. Each MPSSE provides 16 IO pins. 1925 1926endmenu 1927 1928menu "Virtual GPIO drivers" 1929 1930config GPIO_AGGREGATOR 1931 tristate "GPIO Aggregator" 1932 select CONFIGFS_FS 1933 select DEV_SYNC_PROBE 1934 help 1935 Say yes here to enable the GPIO Aggregator, which provides a way to 1936 aggregate existing GPIO lines into a new virtual GPIO chip. 1937 This can serve the following purposes: 1938 - Assign permissions for a collection of GPIO lines to a user, 1939 - Export a collection of GPIO lines to a virtual machine, 1940 - Provide a generic driver for a GPIO-operated device in an 1941 industrial control context, to be operated from userspace using 1942 the GPIO chardev interface. 1943 1944config GPIO_LATCH 1945 tristate "GPIO latch driver" 1946 help 1947 Say yes here to enable a driver for GPIO multiplexers based on latches 1948 connected to other GPIOs. 1949 1950config GPIO_MOCKUP 1951 tristate "GPIO Testing Driver (DEPRECATED)" 1952 select IRQ_SIM 1953 help 1954 This module is DEPRECATED. Please consider using gpio-sim instead. 1955 1956 This enables GPIO Testing driver, which provides a way to test GPIO 1957 subsystem through sysfs (or char device) and debugfs. 1958 User could use it through the script in 1959 tools/testing/selftests/gpio/gpio-mockup.sh. Reference the usage in 1960 it. 1961 1962config GPIO_VIRTIO 1963 tristate "VirtIO GPIO support" 1964 depends on VIRTIO 1965 select GPIOLIB_IRQCHIP 1966 help 1967 Say Y here to enable guest support for virtio-based GPIO controllers. 1968 1969 These virtual GPIOs can be routed to real GPIOs or attached to 1970 simulators on the host (like QEMU). 1971 1972config GPIO_SIM 1973 tristate "GPIO Simulator Module" 1974 select IRQ_SIM 1975 select CONFIGFS_FS 1976 select DEV_SYNC_PROBE 1977 help 1978 This enables the GPIO simulator - a configfs-based GPIO testing 1979 driver. 1980 1981endmenu 1982 1983menu "GPIO Debugging utilities" 1984 1985config GPIO_SLOPPY_LOGIC_ANALYZER 1986 tristate "Sloppy GPIO logic analyzer" 1987 depends on (GPIOLIB || COMPILE_TEST) && CPUSETS && DEBUG_FS && EXPERT 1988 help 1989 This option enables support for a sloppy logic analyzer using polled 1990 GPIOs. Use the 'tools/gpio/gpio-sloppy-logic-analyzer' script with 1991 this driver. The script will make it easier to use and will also 1992 isolate a CPU for the polling task. Note that this is a last resort 1993 analyzer which can be affected by latencies, non-deterministic code 1994 paths, or NMIs. However, for e.g. remote development, it may be useful 1995 to get a first view and aid further debugging. 1996 1997 If this driver is built as a module it will be called 1998 'gpio-sloppy-logic-analyzer'. 1999 2000config GPIO_VIRTUSER 2001 tristate "GPIO Virtual User Testing Module" 2002 select DEBUG_FS 2003 select CONFIGFS_FS 2004 select IRQ_WORK 2005 select DEV_SYNC_PROBE 2006 help 2007 Say Y here to enable the configurable, configfs-based virtual GPIO 2008 consumer testing driver. 2009 2010 This driver is aimed as a helper in spotting any regressions in 2011 hot-unplug handling in GPIOLIB. 2012 2013endmenu 2014 2015endif 2016 2017config DEV_SYNC_PROBE 2018 tristate 2019