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