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