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