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