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