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