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