]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - drivers/gpio/Kconfig
UBUNTU: Ubuntu-raspi2-4.10.0-1002.4
[mirror_ubuntu-zesty-kernel.git] / drivers / gpio / Kconfig
1 #
2 # GPIO infrastructure and drivers
3 #
4
5 config ARCH_HAVE_CUSTOM_GPIO_H
6 bool
7 help
8 Selecting this config option from the architecture Kconfig allows
9 the architecture to provide a custom asm/gpio.h implementation
10 overriding the default implementations. New uses of this are
11 strongly discouraged.
12
13 menuconfig GPIOLIB
14 bool "GPIO Support"
15 select ANON_INODES
16 help
17 This enables GPIO support through the generic GPIO library.
18 You only need to enable this, if you also want to enable
19 one or more of the GPIO drivers below.
20
21 If unsure, say N.
22
23 if GPIOLIB
24
25 config OF_GPIO
26 def_bool y
27 depends on OF
28 depends on HAS_IOMEM
29
30 config GPIO_ACPI
31 def_bool y
32 depends on ACPI
33
34 config GPIOLIB_IRQCHIP
35 select IRQ_DOMAIN
36 bool
37
38 config DEBUG_GPIO
39 bool "Debug GPIO calls"
40 depends on DEBUG_KERNEL
41 help
42 Say Y here to add some extra checks and diagnostics to GPIO calls.
43 These checks help ensure that GPIOs have been properly initialized
44 before they are used, and that sleeping calls are not made from
45 non-sleeping contexts. They can make bitbanged serial protocols
46 slower. The diagnostics help catch the type of setup errors
47 that are most common when setting up new platforms or boards.
48
49 config GPIO_SYSFS
50 bool "/sys/class/gpio/... (sysfs interface)"
51 depends on SYSFS
52 help
53 Say Y here to add a sysfs interface for GPIOs.
54
55 This is mostly useful to work around omissions in a system's
56 kernel support. Those are common in custom and semicustom
57 hardware assembled using standard kernels with a minimum of
58 custom patches. In those cases, userspace code may import
59 a given GPIO from the kernel, if no kernel driver requested it.
60
61 Kernel drivers may also request that a particular GPIO be
62 exported to userspace; this can be useful when debugging.
63
64 config GPIO_GENERIC
65 depends on HAS_IOMEM # Only for IOMEM drivers
66 tristate
67
68 # put drivers in the right section, in alphabetical order
69
70 # This symbol is selected by both I2C and SPI expanders
71 config GPIO_MAX730X
72 tristate
73
74 menu "Memory mapped GPIO drivers"
75 depends on HAS_IOMEM
76
77 config GPIO_74XX_MMIO
78 tristate "GPIO driver for 74xx-ICs with MMIO access"
79 depends on OF_GPIO
80 select GPIO_GENERIC
81 help
82 Say yes here to support GPIO functionality for 74xx-compatible ICs
83 with MMIO access. Compatible models include:
84 1 bit: 741G125 (Input), 741G74 (Output)
85 2 bits: 742G125 (Input), 7474 (Output)
86 4 bits: 74125 (Input), 74175 (Output)
87 6 bits: 74365 (Input), 74174 (Output)
88 8 bits: 74244 (Input), 74273 (Output)
89 16 bits: 741624 (Input), 7416374 (Output)
90
91 config GPIO_ALTERA
92 tristate "Altera GPIO"
93 depends on OF_GPIO
94 select GPIOLIB_IRQCHIP
95 help
96 Say Y or M here to build support for the Altera PIO device.
97
98 If driver is built as a module it will be called gpio-altera.
99
100 config GPIO_AMDPT
101 tristate "AMD Promontory GPIO support"
102 depends on ACPI
103 select GPIO_GENERIC
104 help
105 driver for GPIO functionality on Promontory IOHub
106 Require ACPI ASL code to enumerate as a platform device.
107
108 config GPIO_ASPEED
109 tristate "Aspeed GPIO support"
110 depends on (ARCH_ASPEED || COMPILE_TEST) && OF_GPIO
111 select GPIOLIB_IRQCHIP
112 help
113 Say Y here to support Aspeed AST2400 and AST2500 GPIO controllers.
114
115 config GPIO_ATH79
116 tristate "Atheros AR71XX/AR724X/AR913X GPIO support"
117 default y if ATH79
118 depends on ATH79 || COMPILE_TEST
119 select GPIO_GENERIC
120 select GPIOLIB_IRQCHIP
121 help
122 Select this option to enable GPIO driver for
123 Atheros AR71XX/AR724X/AR913X SoC devices.
124
125 config GPIO_AXP209
126 tristate "X-Powers AXP209 PMIC GPIO Support"
127 depends on MFD_AXP20X
128 help
129 Say yes to enable GPIO support for the AXP209 PMIC
130
131 config GPIO_BCM_EXP
132 bool "Broadcom Exp GPIO"
133 depends on OF_GPIO && RASPBERRYPI_FIRMWARE && (ARCH_BCM2835 || COMPILE_TEST)
134 help
135 Turn on GPIO support for Broadcom chips using the firmware mailbox
136 to communicate with VideoCore on BCM283x chips.
137
138 config GPIO_BCM_KONA
139 bool "Broadcom Kona GPIO"
140 depends on OF_GPIO && (ARCH_BCM_MOBILE || COMPILE_TEST)
141 help
142 Turn on GPIO support for Broadcom "Kona" chips.
143
144 config GPIO_BCM_VIRT
145 bool "Broadcom Virt GPIO"
146 depends on OF_GPIO && RASPBERRYPI_FIRMWARE && (ARCH_BCM2835 || COMPILE_TEST)
147 help
148 Turn on virtual GPIO support for Broadcom BCM283X chips.
149
150 config GPIO_BRCMSTB
151 tristate "BRCMSTB GPIO support"
152 default y if (ARCH_BRCMSTB || BMIPS_GENERIC)
153 depends on OF_GPIO && (ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST)
154 select GPIO_GENERIC
155 select GPIOLIB_IRQCHIP
156 help
157 Say yes here to enable GPIO support for Broadcom STB (BCM7XXX) SoCs.
158
159 config GPIO_CLPS711X
160 tristate "CLPS711X GPIO support"
161 depends on ARCH_CLPS711X || COMPILE_TEST
162 select GPIO_GENERIC
163 help
164 Say yes here to support GPIO on CLPS711X SoCs.
165
166 config GPIO_DAVINCI
167 bool "TI Davinci/Keystone GPIO support"
168 default y if ARCH_DAVINCI
169 depends on ARM && (ARCH_DAVINCI || ARCH_KEYSTONE)
170 help
171 Say yes here to enable GPIO support for TI Davinci/Keystone SoCs.
172
173 config GPIO_DWAPB
174 tristate "Synopsys DesignWare APB GPIO driver"
175 select GPIO_GENERIC
176 select GENERIC_IRQ_CHIP
177 help
178 Say Y or M here to build support for the Synopsys DesignWare APB
179 GPIO block.
180
181 config GPIO_EM
182 tristate "Emma Mobile GPIO"
183 depends on (ARCH_EMEV2 || COMPILE_TEST) && OF_GPIO
184 help
185 Say yes here to support GPIO on Renesas Emma Mobile SoCs.
186
187 config GPIO_EP93XX
188 def_bool y
189 depends on ARCH_EP93XX
190 select GPIO_GENERIC
191
192 config GPIO_ETRAXFS
193 bool "Axis ETRAX FS General I/O"
194 depends on CRIS || COMPILE_TEST
195 depends on OF_GPIO
196 select GPIO_GENERIC
197 select GPIOLIB_IRQCHIP
198 help
199 Say yes here to support the GPIO controller on Axis ETRAX FS SoCs.
200
201 config GPIO_GE_FPGA
202 bool "GE FPGA based GPIO"
203 depends on GE_FPGA
204 select GPIO_GENERIC
205 help
206 Support for common GPIO functionality provided on some GE Single Board
207 Computers.
208
209 This driver provides basic support (configure as input or output, read
210 and write pin state) for GPIO implemented in a number of GE single
211 board computers.
212
213 config GPIO_GENERIC_PLATFORM
214 tristate "Generic memory-mapped GPIO controller support (MMIO platform device)"
215 select GPIO_GENERIC
216 help
217 Say yes here to support basic platform_device memory-mapped GPIO controllers.
218
219 config GPIO_GRGPIO
220 tristate "Aeroflex Gaisler GRGPIO support"
221 depends on OF_GPIO
222 select GPIO_GENERIC
223 select IRQ_DOMAIN
224 help
225 Select this to support Aeroflex Gaisler GRGPIO cores from the GRLIB
226 VHDL IP core library.
227
228 config GPIO_ICH
229 tristate "Intel ICH GPIO"
230 depends on PCI && X86
231 select MFD_CORE
232 select LPC_ICH
233 help
234 Say yes here to support the GPIO functionality of a number of Intel
235 ICH-based chipsets. Currently supported devices: ICH6, ICH7, ICH8
236 ICH9, ICH10, Series 5/3400 (eg Ibex Peak), Series 6/C200 (eg
237 Cougar Point), NM10 (Tiger Point), and 3100 (Whitmore Lake).
238
239 If unsure, say N.
240
241 config GPIO_IOP
242 tristate "Intel IOP GPIO"
243 depends on ARCH_IOP32X || ARCH_IOP33X || COMPILE_TEST
244 select GPIO_GENERIC
245 help
246 Say yes here to support the GPIO functionality of a number of Intel
247 IOP32X or IOP33X.
248
249 If unsure, say N.
250
251 config GPIO_LOONGSON
252 bool "Loongson-2/3 GPIO support"
253 depends on CPU_LOONGSON2 || CPU_LOONGSON3
254 help
255 driver for GPIO functionality on Loongson-2F/3A/3B processors.
256
257 config GPIO_LPC18XX
258 tristate "NXP LPC18XX/43XX GPIO support"
259 default y if ARCH_LPC18XX
260 depends on OF_GPIO && (ARCH_LPC18XX || COMPILE_TEST)
261 help
262 Select this option to enable GPIO driver for
263 NXP LPC18XX/43XX devices.
264
265 config GPIO_LYNXPOINT
266 tristate "Intel Lynxpoint GPIO support"
267 depends on ACPI && X86
268 select GPIOLIB_IRQCHIP
269 help
270 driver for GPIO functionality on Intel Lynxpoint PCH chipset
271 Requires ACPI device enumeration code to set up a platform device.
272
273 config GPIO_MB86S7X
274 bool "GPIO support for Fujitsu MB86S7x Platforms"
275 depends on ARCH_MB86S7X || COMPILE_TEST
276 help
277 Say yes here to support the GPIO controller in Fujitsu MB86S70 SoCs.
278
279 config GPIO_MENZ127
280 tristate "MEN 16Z127 GPIO support"
281 depends on MCB
282 select GPIO_GENERIC
283 help
284 Say yes here to support the MEN 16Z127 GPIO Controller
285
286 config GPIO_MM_LANTIQ
287 bool "Lantiq Memory mapped GPIOs"
288 depends on LANTIQ && SOC_XWAY
289 help
290 This enables support for memory mapped GPIOs on the External Bus Unit
291 (EBU) found on Lantiq SoCs. The gpios are output only as they are
292 created by attaching a 16bit latch to the bus.
293
294 config GPIO_MOCKUP
295 tristate "GPIO Testing Driver"
296 depends on GPIOLIB && SYSFS
297 select GPIO_SYSFS
298 help
299 This enables GPIO Testing driver, which provides a way to test GPIO
300 subsystem through sysfs(or char device) and debugfs. GPIO_SYSFS
301 must be selected for this test.
302 User could use it through the script in
303 tools/testing/selftests/gpio/gpio-mockup.sh. Reference the usage in
304 it.
305
306 config GPIO_MOXART
307 bool "MOXART GPIO support"
308 depends on ARCH_MOXART || COMPILE_TEST
309 select GPIO_GENERIC
310 help
311 Select this option to enable GPIO driver for
312 MOXA ART SoC devices.
313
314 config GPIO_MPC5200
315 def_bool y
316 depends on PPC_MPC52xx
317
318 config GPIO_MPC8XXX
319 bool "MPC512x/MPC8xxx/QorIQ GPIO support"
320 depends on PPC_MPC512x || PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || \
321 FSL_SOC_BOOKE || PPC_86xx || ARCH_LAYERSCAPE || ARM || \
322 COMPILE_TEST
323 select GPIO_GENERIC
324 select IRQ_DOMAIN
325 help
326 Say Y here if you're going to use hardware that connects to the
327 MPC512x/831x/834x/837x/8572/8610/QorIQ GPIOs.
328
329 config GPIO_MVEBU
330 def_bool y
331 depends on PLAT_ORION
332 depends on OF_GPIO
333 select GENERIC_IRQ_CHIP
334
335 config GPIO_MXC
336 def_bool y
337 depends on ARCH_MXC
338 select GPIO_GENERIC
339 select GENERIC_IRQ_CHIP
340
341 config GPIO_MXS
342 def_bool y
343 depends on ARCH_MXS
344 select GPIO_GENERIC
345 select GENERIC_IRQ_CHIP
346
347 config GPIO_OCTEON
348 tristate "Cavium OCTEON GPIO"
349 depends on GPIOLIB && CAVIUM_OCTEON_SOC
350 default y
351 help
352 Say yes here to support the on-chip GPIO lines on the OCTEON
353 family of SOCs.
354
355 config GPIO_OMAP
356 tristate "TI OMAP GPIO support" if ARCH_OMAP2PLUS || COMPILE_TEST
357 default y if ARCH_OMAP
358 depends on ARM
359 select GENERIC_IRQ_CHIP
360 select GPIOLIB_IRQCHIP
361 help
362 Say yes here to enable GPIO support for TI OMAP SoCs.
363
364 config GPIO_PL061
365 bool "PrimeCell PL061 GPIO support"
366 depends on ARM_AMBA
367 select IRQ_DOMAIN
368 select GPIOLIB_IRQCHIP
369 help
370 Say yes here to support the PrimeCell PL061 GPIO device
371
372 config GPIO_PXA
373 bool "PXA GPIO support"
374 depends on ARCH_PXA || ARCH_MMP
375 help
376 Say yes here to support the PXA GPIO device
377
378 config GPIO_RCAR
379 tristate "Renesas R-Car GPIO"
380 depends on ARCH_RENESAS || COMPILE_TEST
381 select GPIOLIB_IRQCHIP
382 help
383 Say yes here to support GPIO on Renesas R-Car SoCs.
384
385 config GPIO_SPEAR_SPICS
386 bool "ST SPEAr13xx SPI Chip Select as GPIO support"
387 depends on PLAT_SPEAR
388 select GENERIC_IRQ_CHIP
389 help
390 Say yes here to support ST SPEAr SPI Chip Select as GPIO device
391
392 config GPIO_STA2X11
393 bool "STA2x11/ConneXt GPIO support"
394 depends on MFD_STA2X11
395 select GENERIC_IRQ_CHIP
396 help
397 Say yes here to support the STA2x11/ConneXt GPIO device.
398 The GPIO module has 128 GPIO pins with alternate functions.
399
400 config GPIO_STP_XWAY
401 bool "XWAY STP GPIOs"
402 depends on SOC_XWAY
403 help
404 This enables support for the Serial To Parallel (STP) unit found on
405 XWAY SoC. The STP allows the SoC to drive a shift registers cascade,
406 that can be up to 24 bit. This peripheral is aimed at driving leds.
407 Some of the gpios/leds can be auto updated by the soc with dsl and
408 phy status.
409
410 config GPIO_SYSCON
411 tristate "GPIO based on SYSCON"
412 depends on MFD_SYSCON && OF
413 help
414 Say yes here to support GPIO functionality though SYSCON driver.
415
416 config GPIO_TB10X
417 bool
418 select GENERIC_IRQ_CHIP
419 select OF_GPIO
420
421 config GPIO_TEGRA
422 bool "NVIDIA Tegra GPIO support"
423 default ARCH_TEGRA
424 depends on ARCH_TEGRA || COMPILE_TEST
425 depends on OF_GPIO
426 help
427 Say yes here to support GPIO pins on NVIDIA Tegra SoCs.
428
429 config GPIO_TS4800
430 tristate "TS-4800 DIO blocks and compatibles"
431 depends on OF_GPIO
432 depends on SOC_IMX51 || COMPILE_TEST
433 select GPIO_GENERIC
434 help
435 This driver support TS-4800 FPGA GPIO controllers.
436
437 config GPIO_TZ1090
438 bool "Toumaz Xenif TZ1090 GPIO support"
439 depends on SOC_TZ1090
440 select GENERIC_IRQ_CHIP
441 default y
442 help
443 Say yes here to support Toumaz Xenif TZ1090 GPIOs.
444
445 config GPIO_TZ1090_PDC
446 bool "Toumaz Xenif TZ1090 PDC GPIO support"
447 depends on SOC_TZ1090
448 default y
449 help
450 Say yes here to support Toumaz Xenif TZ1090 PDC GPIOs.
451
452 config GPIO_VF610
453 def_bool y
454 depends on ARCH_MXC && SOC_VF610
455 select GPIOLIB_IRQCHIP
456 help
457 Say yes here to support Vybrid vf610 GPIOs.
458
459 config GPIO_VR41XX
460 tristate "NEC VR4100 series General-purpose I/O Uint support"
461 depends on CPU_VR41XX
462 help
463 Say yes here to support the NEC VR4100 series General-purpose I/O Uint
464
465 config GPIO_VX855
466 tristate "VIA VX855/VX875 GPIO"
467 depends on (X86 || COMPILE_TEST) && PCI
468 select MFD_CORE
469 select MFD_VX855
470 help
471 Support access to the VX855/VX875 GPIO lines through the gpio library.
472
473 This driver provides common support for accessing the device,
474 additional drivers must be enabled in order to use the
475 functionality of the device.
476
477 config GPIO_XGENE
478 bool "APM X-Gene GPIO controller support"
479 depends on ARM64 && OF_GPIO
480 help
481 This driver is to support the GPIO block within the APM X-Gene SoC
482 platform's generic flash controller. The GPIO pins are muxed with
483 the generic flash controller's address and data pins. Say yes
484 here to enable the GFC GPIO functionality.
485
486 config GPIO_XGENE_SB
487 tristate "APM X-Gene GPIO standby controller support"
488 depends on ARCH_XGENE && OF_GPIO
489 select GPIO_GENERIC
490 select GPIOLIB_IRQCHIP
491 help
492 This driver supports the GPIO block within the APM X-Gene
493 Standby Domain. Say yes here to enable the GPIO functionality.
494
495 config GPIO_XILINX
496 tristate "Xilinx GPIO support"
497 depends on OF_GPIO
498 help
499 Say yes here to support the Xilinx FPGA GPIO device
500
501 config GPIO_XLP
502 tristate "Netlogic XLP GPIO support"
503 depends on OF_GPIO && (CPU_XLP || ARCH_VULCAN || COMPILE_TEST)
504 select GPIOLIB_IRQCHIP
505 help
506 This driver provides support for GPIO interface on Netlogic XLP MIPS64
507 SoCs. Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX,
508 XLP9XX and XLP5XX.
509
510 If unsure, say N.
511
512 config GPIO_XTENSA
513 bool "Xtensa GPIO32 support"
514 depends on XTENSA
515 depends on HAVE_XTENSA_GPIO32
516 depends on !SMP
517 help
518 Say yes here to support the Xtensa internal GPIO32 IMPWIRE (input)
519 and EXPSTATE (output) ports
520
521 config GPIO_ZEVIO
522 bool "LSI ZEVIO SoC memory mapped GPIOs"
523 depends on ARM && OF_GPIO
524 help
525 Say yes here to support the GPIO controller in LSI ZEVIO SoCs.
526
527 config GPIO_ZYNQ
528 tristate "Xilinx Zynq GPIO support"
529 depends on ARCH_ZYNQ || ARCH_ZYNQMP
530 select GPIOLIB_IRQCHIP
531 help
532 Say yes here to support Xilinx Zynq GPIO controller.
533
534 config GPIO_ZX
535 bool "ZTE ZX GPIO support"
536 depends on ARCH_ZX || COMPILE_TEST
537 select GPIOLIB_IRQCHIP
538 help
539 Say yes here to support the GPIO device on ZTE ZX SoCs.
540
541 config GPIO_LOONGSON1
542 tristate "Loongson1 GPIO support"
543 depends on MACH_LOONGSON32
544 select GPIO_GENERIC
545 help
546 Say Y or M here to support GPIO on Loongson1 SoCs.
547
548 endmenu
549
550 menu "Port-mapped I/O GPIO drivers"
551 depends on X86 # Unconditional I/O space access
552
553 config GPIO_104_DIO_48E
554 tristate "ACCES 104-DIO-48E GPIO support"
555 depends on ISA_BUS_API
556 select GPIOLIB_IRQCHIP
557 help
558 Enables GPIO support for the ACCES 104-DIO-48E series (104-DIO-48E,
559 104-DIO-24E). The base port addresses for the devices may be
560 configured via the base module parameter. The interrupt line numbers
561 for the devices may be configured via the irq module parameter.
562
563 config GPIO_104_IDIO_16
564 tristate "ACCES 104-IDIO-16 GPIO support"
565 depends on ISA_BUS_API
566 select GPIOLIB_IRQCHIP
567 help
568 Enables GPIO support for the ACCES 104-IDIO-16 family (104-IDIO-16,
569 104-IDIO-16E, 104-IDO-16, 104-IDIO-8, 104-IDIO-8E, 104-IDO-8). The
570 base port addresses for the devices may be configured via the base
571 module parameter. The interrupt line numbers for the devices may be
572 configured via the irq module parameter.
573
574 config GPIO_104_IDI_48
575 tristate "ACCES 104-IDI-48 GPIO support"
576 depends on ISA_BUS_API
577 select GPIOLIB_IRQCHIP
578 help
579 Enables GPIO support for the ACCES 104-IDI-48 family (104-IDI-48A,
580 104-IDI-48AC, 104-IDI-48B, 104-IDI-48BC). The base port addresses for
581 the devices may be configured via the base module parameter. The
582 interrupt line numbers for the devices may be configured via the irq
583 module parameter.
584
585 config GPIO_F7188X
586 tristate "F71869, F71869A, F71882FG, F71889F and F81866 GPIO support"
587 help
588 This option enables support for GPIOs found on Fintek Super-I/O
589 chips F71869, F71869A, F71882FG, F71889F and F81866.
590
591 To compile this driver as a module, choose M here: the module will
592 be called f7188x-gpio.
593
594 config GPIO_GPIO_MM
595 tristate "Diamond Systems GPIO-MM GPIO support"
596 depends on ISA_BUS_API
597 help
598 Enables GPIO support for the Diamond Systems GPIO-MM and GPIO-MM-12.
599
600 The Diamond Systems GPIO-MM device features 48 lines of digital I/O
601 via the emulation of dual 82C55A PPI chips. This driver provides GPIO
602 support for these 48 channels of digital I/O.
603
604 The base port addresses for the devices may be configured via the base
605 array module parameter.
606
607 config GPIO_IT87
608 tristate "IT87xx GPIO support"
609 help
610 Say yes here to support GPIO functionality of IT87xx Super I/O chips.
611
612 This driver is tested with ITE IT8728 and IT8732 Super I/O chips, and
613 supports the IT8761E, IT8620E and IT8628E Super I/O chip as well.
614
615 To compile this driver as a module, choose M here: the module will
616 be called gpio_it87
617
618 config GPIO_SCH
619 tristate "Intel SCH/TunnelCreek/Centerton/Quark X1000 GPIO"
620 depends on (X86 || COMPILE_TEST) && PCI
621 select MFD_CORE
622 select LPC_SCH
623 help
624 Say yes here to support GPIO interface on Intel Poulsbo SCH,
625 Intel Tunnel Creek processor, Intel Centerton processor or
626 Intel Quark X1000 SoC.
627
628 The Intel SCH contains a total of 14 GPIO pins. Ten GPIOs are
629 powered by the core power rail and are turned off during sleep
630 modes (S3 and higher). The remaining four GPIOs are powered by
631 the Intel SCH suspend power supply. These GPIOs remain
632 active during S3. The suspend powered GPIOs can be used to wake the
633 system from the Suspend-to-RAM state.
634
635 The Intel Tunnel Creek processor has 5 GPIOs powered by the
636 core power rail and 9 from suspend power supply.
637
638 The Intel Centerton processor has a total of 30 GPIO pins.
639 Twenty-one are powered by the core power rail and 9 from the
640 suspend power supply.
641
642 The Intel Quark X1000 SoC has 2 GPIOs powered by the core
643 power well and 6 from the suspend power well.
644
645 config GPIO_SCH311X
646 tristate "SMSC SCH311x SuperI/O GPIO"
647 help
648 Driver to enable the GPIOs found on SMSC SMSC SCH3112, SCH3114 and
649 SCH3116 "Super I/O" chipsets.
650
651 To compile this driver as a module, choose M here: the module will
652 be called gpio-sch311x.
653
654 config GPIO_TS5500
655 tristate "TS-5500 DIO blocks and compatibles"
656 depends on TS5500 || COMPILE_TEST
657 help
658 This driver supports Digital I/O exposed by pin blocks found on some
659 Technologic Systems platforms. It includes, but is not limited to, 3
660 blocks of the TS-5500: DIO1, DIO2 and the LCD port, and the TS-5600
661 LCD port.
662
663 config GPIO_WS16C48
664 tristate "WinSystems WS16C48 GPIO support"
665 depends on ISA_BUS_API
666 select GPIOLIB_IRQCHIP
667 help
668 Enables GPIO support for the WinSystems WS16C48. The base port
669 addresses for the devices may be configured via the base module
670 parameter. The interrupt line numbers for the devices may be
671 configured via the irq module parameter.
672
673 endmenu
674
675 menu "I2C GPIO expanders"
676 depends on I2C
677
678 config GPIO_ADP5588
679 tristate "ADP5588 I2C GPIO expander"
680 help
681 This option enables support for 18 GPIOs found
682 on Analog Devices ADP5588 GPIO Expanders.
683
684 config GPIO_ADP5588_IRQ
685 bool "Interrupt controller support for ADP5588"
686 depends on GPIO_ADP5588=y
687 help
688 Say yes here to enable the adp5588 to be used as an interrupt
689 controller. It requires the driver to be built in the kernel.
690
691 config GPIO_ADNP
692 tristate "Avionic Design N-bit GPIO expander"
693 depends on OF_GPIO
694 select GPIOLIB_IRQCHIP
695 help
696 This option enables support for N GPIOs found on Avionic Design
697 I2C GPIO expanders. The register space will be extended by powers
698 of two, so the controller will need to accommodate for that. For
699 example: if a controller provides 48 pins, 6 registers will be
700 enough to represent all pins, but the driver will assume a
701 register layout for 64 pins (8 registers).
702
703 config GPIO_MAX7300
704 tristate "Maxim MAX7300 GPIO expander"
705 select GPIO_MAX730X
706 help
707 GPIO driver for Maxim MAX7300 I2C-based GPIO expander.
708
709 config GPIO_MAX732X
710 tristate "MAX7319, MAX7320-7327 I2C Port Expanders"
711 help
712 Say yes here to support the MAX7319, MAX7320-7327 series of I2C
713 Port Expanders. Each IO port on these chips has a fixed role of
714 Input (designated by 'I'), Push-Pull Output ('O'), or Open-Drain
715 Input and Output (designed by 'P'). The combinations are listed
716 below:
717
718 8 bits: max7319 (8I), max7320 (8O), max7321 (8P),
719 max7322 (4I4O), max7323 (4P4O)
720
721 16 bits: max7324 (8I8O), max7325 (8P8O),
722 max7326 (4I12O), max7327 (4P12O)
723
724 Board setup code must specify the model to use, and the start
725 number for these GPIOs.
726
727 config GPIO_MAX732X_IRQ
728 bool "Interrupt controller support for MAX732x"
729 depends on GPIO_MAX732X=y
730 select GPIOLIB_IRQCHIP
731 help
732 Say yes here to enable the max732x to be used as an interrupt
733 controller. It requires the driver to be built in the kernel.
734
735 config GPIO_MC9S08DZ60
736 bool "MX35 3DS BOARD MC9S08DZ60 GPIO functions"
737 depends on I2C=y && MACH_MX35_3DS
738 help
739 Select this to enable the MC9S08DZ60 GPIO driver
740
741 config GPIO_PCA953X
742 tristate "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports"
743 help
744 Say yes here to provide access to several register-oriented
745 SMBus I/O expanders, made mostly by NXP or TI. Compatible
746 models include:
747
748 4 bits: pca9536, pca9537
749
750 8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554,
751 pca9556, pca9557, pca9574, tca6408, xra1202
752
753 16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575,
754 tca6416
755
756 24 bits: tca6424
757
758 40 bits: pca9505, pca9698
759
760 config GPIO_PCA953X_IRQ
761 bool "Interrupt controller support for PCA953x"
762 depends on GPIO_PCA953X=y
763 select GPIOLIB_IRQCHIP
764 help
765 Say yes here to enable the pca953x to be used as an interrupt
766 controller. It requires the driver to be built in the kernel.
767
768 config GPIO_PCF857X
769 tristate "PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders"
770 select GPIOLIB_IRQCHIP
771 select IRQ_DOMAIN
772 help
773 Say yes here to provide access to most "quasi-bidirectional" I2C
774 GPIO expanders used for additional digital outputs or inputs.
775 Most of these parts are from NXP, though TI is a second source for
776 some of them. Compatible models include:
777
778 8 bits: pcf8574, pcf8574a, pca8574, pca8574a,
779 pca9670, pca9672, pca9674, pca9674a,
780 max7328, max7329
781
782 16 bits: pcf8575, pcf8575c, pca8575,
783 pca9671, pca9673, pca9675
784
785 Your board setup code will need to declare the expanders in
786 use, and assign numbers to the GPIOs they expose. Those GPIOs
787 can then be used from drivers and other kernel code, just like
788 other GPIOs, but only accessible from task contexts.
789
790 This driver provides an in-kernel interface to those GPIOs using
791 platform-neutral GPIO calls.
792
793 config GPIO_SX150X
794 bool "Semtech SX150x I2C GPIO expander (deprecated)"
795 depends on PINCTRL && I2C=y
796 select PINCTRL_SX150X
797 default n
798 help
799 Say yes here to provide support for Semtech SX150x-series I2C
800 GPIO expanders. The GPIO driver was replaced by a Pinctrl version.
801
802 config GPIO_TPIC2810
803 tristate "TPIC2810 8-Bit I2C GPO expander"
804 help
805 Say yes here to enable the GPO driver for the TI TPIC2810 chip.
806
807 To compile this driver as a module, choose M here: the module will
808 be called gpio-tpic2810.
809
810 config GPIO_TS4900
811 tristate "Technologic Systems FPGA I2C GPIO"
812 depends on SOC_IMX6 || COMPILE_TEST
813 select REGMAP_I2C
814 help
815 Say yes here to enabled the GPIO driver for Technologic's FPGA core.
816 Series supported include TS-4100, TS-4900, TS-7970 and TS-7990.
817
818 endmenu
819
820 menu "MFD GPIO expanders"
821
822 config GPIO_ADP5520
823 tristate "GPIO Support for ADP5520 PMIC"
824 depends on PMIC_ADP5520
825 help
826 This option enables support for on-chip GPIO found
827 on Analog Devices ADP5520 PMICs.
828
829 config GPIO_ALTERA_A10SR
830 tristate "Altera Arria10 System Resource GPIO"
831 depends on MFD_ALTERA_A10SR
832 help
833 Driver for Arria10 Development Kit GPIO expansion which
834 includes reads of pushbuttons and DIP switches as well
835 as writes to LEDs.
836
837 config GPIO_ARIZONA
838 tristate "Wolfson Microelectronics Arizona class devices"
839 depends on MFD_ARIZONA
840 help
841 Support for GPIOs on Wolfson Arizona class devices.
842
843 config GPIO_CRYSTAL_COVE
844 tristate "GPIO support for Crystal Cove PMIC"
845 depends on (X86 || COMPILE_TEST) && INTEL_SOC_PMIC
846 select GPIOLIB_IRQCHIP
847 help
848 Support for GPIO pins on Crystal Cove PMIC.
849
850 Say Yes if you have a Intel SoC based tablet with Crystal Cove PMIC
851 inside.
852
853 This driver can also be built as a module. If so, the module will be
854 called gpio-crystalcove.
855
856 config GPIO_CS5535
857 tristate "AMD CS5535/CS5536 GPIO support"
858 depends on X86 || MIPS || COMPILE_TEST
859 depends on MFD_CS5535
860 help
861 The AMD CS5535 and CS5536 southbridges support 28 GPIO pins that
862 can be used for quite a number of things. The CS5535/6 is found on
863 AMD Geode and Lemote Yeeloong devices.
864
865 If unsure, say N.
866
867 config GPIO_DA9052
868 tristate "Dialog DA9052 GPIO"
869 depends on PMIC_DA9052
870 help
871 Say yes here to enable the GPIO driver for the DA9052 chip.
872
873 config GPIO_DA9055
874 tristate "Dialog Semiconductor DA9055 GPIO"
875 depends on MFD_DA9055
876 help
877 Say yes here to enable the GPIO driver for the DA9055 chip.
878
879 The Dialog DA9055 PMIC chip has 3 GPIO pins that can be
880 be controller by this driver.
881
882 If driver is built as a module it will be called gpio-da9055.
883
884 config GPIO_DLN2
885 tristate "Diolan DLN2 GPIO support"
886 depends on MFD_DLN2
887 select GPIOLIB_IRQCHIP
888
889 help
890 Select this option to enable GPIO driver for the Diolan DLN2
891 board.
892
893 This driver can also be built as a module. If so, the module
894 will be called gpio-dln2.
895
896 config HTC_EGPIO
897 bool "HTC EGPIO support"
898 depends on GPIOLIB && ARM
899 help
900 This driver supports the CPLD egpio chip present on
901 several HTC phones. It provides basic support for input
902 pins, output pins, and irqs.
903
904 config GPIO_JANZ_TTL
905 tristate "Janz VMOD-TTL Digital IO Module"
906 depends on MFD_JANZ_CMODIO
907 help
908 This enables support for the Janz VMOD-TTL Digital IO module.
909 This driver provides support for driving the pins in output
910 mode only. Input mode is not supported.
911
912 config GPIO_KEMPLD
913 tristate "Kontron ETX / COMexpress GPIO"
914 depends on MFD_KEMPLD
915 help
916 This enables support for the PLD GPIO interface on some Kontron ETX
917 and COMexpress (ETXexpress) modules.
918
919 This driver can also be built as a module. If so, the module will be
920 called gpio-kempld.
921
922 config GPIO_LP3943
923 tristate "TI/National Semiconductor LP3943 GPIO expander"
924 depends on MFD_LP3943
925 help
926 GPIO driver for LP3943 MFD.
927 LP3943 can be used as a GPIO expander which provides up to 16 GPIOs.
928 Open drain outputs are required for this usage.
929
930 config GPIO_LP873X
931 tristate "TI LP873X GPO"
932 depends on MFD_TI_LP873X
933 help
934 This driver supports the GPO on TI Lp873x PMICs. 2 GPOs are present
935 on LP873X PMICs.
936
937 This driver can also be built as a module. If so, the module will be
938 called gpio-lp873x.
939
940 config GPIO_MAX77620
941 tristate "GPIO support for PMIC MAX77620 and MAX20024"
942 depends on MFD_MAX77620
943 help
944 GPIO driver for MAX77620 and MAX20024 PMIC from Maxim Semiconductor.
945 MAX77620 PMIC has 8 pins that can be configured as GPIOs. The
946 driver also provides interrupt support for each of the gpios.
947 Say yes here to enable the max77620 to be used as gpio controller.
948
949 config GPIO_MSIC
950 bool "Intel MSIC mixed signal gpio support"
951 depends on (X86 || COMPILE_TEST) && MFD_INTEL_MSIC
952 help
953 Enable support for GPIO on intel MSIC controllers found in
954 intel MID devices
955
956 config GPIO_PALMAS
957 bool "TI PALMAS series PMICs GPIO"
958 depends on MFD_PALMAS
959 help
960 Select this option to enable GPIO driver for the TI PALMAS
961 series chip family.
962
963 config GPIO_RC5T583
964 bool "RICOH RC5T583 GPIO"
965 depends on MFD_RC5T583
966 help
967 Select this option to enable GPIO driver for the Ricoh RC5T583
968 chip family.
969 This driver provides the support for driving/reading the gpio pins
970 of RC5T583 device through standard gpio library.
971
972 config GPIO_STMPE
973 bool "STMPE GPIOs"
974 depends on MFD_STMPE
975 depends on OF_GPIO
976 select GPIOLIB_IRQCHIP
977 help
978 This enables support for the GPIOs found on the STMPE I/O
979 Expanders.
980
981 config GPIO_TC3589X
982 bool "TC3589X GPIOs"
983 depends on MFD_TC3589X
984 depends on OF_GPIO
985 select GPIOLIB_IRQCHIP
986 help
987 This enables support for the GPIOs found on the TC3589X
988 I/O Expander.
989
990 config GPIO_TIMBERDALE
991 bool "Support for timberdale GPIO IP"
992 depends on MFD_TIMBERDALE
993 ---help---
994 Add support for the GPIO IP in the timberdale FPGA.
995
996 config GPIO_TPS65086
997 tristate "TI TPS65086 GPO"
998 depends on MFD_TPS65086
999 help
1000 This driver supports the GPO on TI TPS65086x PMICs.
1001
1002 config GPIO_TPS65218
1003 tristate "TPS65218 GPIO"
1004 depends on MFD_TPS65218
1005 help
1006 Select this option to enable GPIO driver for the TPS65218
1007 chip family.
1008
1009 config GPIO_TPS6586X
1010 bool "TPS6586X GPIO"
1011 depends on MFD_TPS6586X
1012 help
1013 Select this option to enable GPIO driver for the TPS6586X
1014 chip family.
1015
1016 config GPIO_TPS65910
1017 bool "TPS65910 GPIO"
1018 depends on MFD_TPS65910
1019 help
1020 Select this option to enable GPIO driver for the TPS65910
1021 chip family.
1022
1023 config GPIO_TPS65912
1024 tristate "TI TPS65912 GPIO"
1025 depends on MFD_TPS65912
1026 help
1027 This driver supports TPS65912 gpio chip
1028
1029 config GPIO_TWL4030
1030 tristate "TWL4030, TWL5030, and TPS659x0 GPIOs"
1031 depends on TWL4030_CORE
1032 help
1033 Say yes here to access the GPIO signals of various multi-function
1034 power management chips from Texas Instruments.
1035
1036 config GPIO_TWL6040
1037 tristate "TWL6040 GPO"
1038 depends on TWL6040_CORE
1039 help
1040 Say yes here to access the GPO signals of twl6040
1041 audio chip from Texas Instruments.
1042
1043 config GPIO_UCB1400
1044 tristate "Philips UCB1400 GPIO"
1045 depends on UCB1400_CORE
1046 help
1047 This enables support for the Philips UCB1400 GPIO pins.
1048 The UCB1400 is an AC97 audio codec.
1049
1050 config GPIO_WHISKEY_COVE
1051 tristate "GPIO support for Whiskey Cove PMIC"
1052 depends on (X86 || COMPILE_TEST) && INTEL_SOC_PMIC
1053 select GPIOLIB_IRQCHIP
1054 help
1055 Support for GPIO pins on Whiskey Cove PMIC.
1056
1057 Say Yes if you have a Intel SoC based tablet with Whiskey Cove PMIC
1058 inside.
1059
1060 This driver can also be built as a module. If so, the module will be
1061 called gpio-wcove.
1062
1063 config GPIO_WM831X
1064 tristate "WM831x GPIOs"
1065 depends on MFD_WM831X
1066 help
1067 Say yes here to access the GPIO signals of WM831x power management
1068 chips from Wolfson Microelectronics.
1069
1070 config GPIO_WM8350
1071 tristate "WM8350 GPIOs"
1072 depends on MFD_WM8350
1073 help
1074 Say yes here to access the GPIO signals of WM8350 power management
1075 chips from Wolfson Microelectronics.
1076
1077 config GPIO_WM8994
1078 tristate "WM8994 GPIOs"
1079 depends on MFD_WM8994
1080 help
1081 Say yes here to access the GPIO signals of WM8994 audio hub
1082 CODECs from Wolfson Microelectronics.
1083
1084 endmenu
1085
1086 menu "PCI GPIO expanders"
1087 depends on PCI
1088
1089 config GPIO_AMD8111
1090 tristate "AMD 8111 GPIO driver"
1091 depends on X86 || COMPILE_TEST
1092 help
1093 The AMD 8111 south bridge contains 32 GPIO pins which can be used.
1094
1095 Note, that usually system firmware/ACPI handles GPIO pins on their
1096 own and users might easily break their systems with uncarefull usage
1097 of this driver!
1098
1099 If unsure, say N
1100
1101 config GPIO_BT8XX
1102 tristate "BT8XX GPIO abuser"
1103 depends on VIDEO_BT848=n
1104 help
1105 The BT8xx frame grabber chip has 24 GPIO pins that can be abused
1106 as a cheap PCI GPIO card.
1107
1108 This chip can be found on Miro, Hauppauge and STB TV-cards.
1109
1110 The card needs to be physically altered for using it as a
1111 GPIO card. For more information on how to build a GPIO card
1112 from a BT8xx TV card, see the documentation file at
1113 Documentation/bt8xxgpio.txt
1114
1115 If unsure, say N.
1116
1117 config GPIO_INTEL_MID
1118 bool "Intel MID GPIO support"
1119 depends on X86_INTEL_MID
1120 select GPIOLIB_IRQCHIP
1121 help
1122 Say Y here to support Intel MID GPIO.
1123
1124 config GPIO_MERRIFIELD
1125 tristate "Intel Merrifield GPIO support"
1126 depends on X86_INTEL_MID
1127 select GPIOLIB_IRQCHIP
1128 help
1129 Say Y here to support Intel Merrifield GPIO.
1130
1131 config GPIO_ML_IOH
1132 tristate "OKI SEMICONDUCTOR ML7213 IOH GPIO support"
1133 depends on X86 || COMPILE_TEST
1134 select GENERIC_IRQ_CHIP
1135 help
1136 ML7213 is companion chip for Intel Atom E6xx series.
1137 This driver can be used for OKI SEMICONDUCTOR ML7213 IOH(Input/Output
1138 Hub) which is for IVI(In-Vehicle Infotainment) use.
1139 This driver can access the IOH's GPIO device.
1140
1141 config GPIO_PCH
1142 tristate "Intel EG20T PCH/LAPIS Semiconductor IOH(ML7223/ML7831) GPIO"
1143 depends on X86_32 || MIPS || COMPILE_TEST
1144 select GENERIC_IRQ_CHIP
1145 help
1146 This driver is for PCH(Platform controller Hub) GPIO of Intel Topcliff
1147 which is an IOH(Input/Output Hub) for x86 embedded processor.
1148 This driver can access PCH GPIO device.
1149
1150 This driver also can be used for LAPIS Semiconductor IOH(Input/
1151 Output Hub), ML7223 and ML7831.
1152 ML7223 IOH is for MP(Media Phone) use.
1153 ML7831 IOH is for general purpose use.
1154 ML7223/ML7831 is companion chip for Intel Atom E6xx series.
1155 ML7223/ML7831 is completely compatible for Intel EG20T PCH.
1156
1157 config GPIO_RDC321X
1158 tristate "RDC R-321x GPIO support"
1159 select MFD_CORE
1160 select MFD_RDC321X
1161 help
1162 Support for the RDC R321x SoC GPIOs over southbridge
1163 PCI configuration space.
1164
1165 config GPIO_SODAVILLE
1166 bool "Intel Sodaville GPIO support"
1167 depends on X86 && OF
1168 select GPIO_GENERIC
1169 select GENERIC_IRQ_CHIP
1170 help
1171 Say Y here to support Intel Sodaville GPIO.
1172
1173 endmenu
1174
1175 menu "SPI GPIO expanders"
1176 depends on SPI_MASTER
1177
1178 config GPIO_74X164
1179 tristate "74x164 serial-in/parallel-out 8-bits shift register"
1180 depends on OF_GPIO
1181 help
1182 Driver for 74x164 compatible serial-in/parallel-out 8-outputs
1183 shift registers. This driver can be used to provide access
1184 to more gpio outputs.
1185
1186 config GPIO_MAX7301
1187 tristate "Maxim MAX7301 GPIO expander"
1188 select GPIO_MAX730X
1189 help
1190 GPIO driver for Maxim MAX7301 SPI-based GPIO expander.
1191
1192 config GPIO_MC33880
1193 tristate "Freescale MC33880 high-side/low-side switch"
1194 help
1195 SPI driver for Freescale MC33880 high-side/low-side switch.
1196 This provides GPIO interface supporting inputs and outputs.
1197
1198 config GPIO_PISOSR
1199 tristate "Generic parallel-in/serial-out shift register"
1200 help
1201 GPIO driver for SPI compatible parallel-in/serial-out shift
1202 registers. These are input only devices.
1203
1204 endmenu
1205
1206 menu "SPI or I2C GPIO expanders"
1207 depends on (SPI_MASTER && !I2C) || I2C
1208
1209 config GPIO_MCP23S08
1210 tristate "Microchip MCP23xxx I/O expander"
1211 depends on OF_GPIO
1212 select GPIOLIB_IRQCHIP
1213 help
1214 SPI/I2C driver for Microchip MCP23S08/MCP23S17/MCP23008/MCP23017
1215 I/O expanders.
1216 This provides a GPIO interface supporting inputs and outputs.
1217 The I2C versions of the chips can be used as interrupt-controller.
1218
1219 endmenu
1220
1221 menu "USB GPIO expanders"
1222 depends on USB
1223
1224 config GPIO_VIPERBOARD
1225 tristate "Viperboard GPIO a & b support"
1226 depends on MFD_VIPERBOARD
1227 help
1228 Say yes here to access the GPIO signals of Nano River
1229 Technologies Viperboard. There are two GPIO chips on the
1230 board: gpioa and gpiob.
1231 See viperboard API specification and Nano
1232 River Tech's viperboard.h for detailed meaning
1233 of the module parameters.
1234
1235 endmenu
1236
1237 endif