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