Kconfig (9a95e8d25a140ba95654b34b44f531d0c485c7a7) Kconfig (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

--- 108 unchanged lines hidden (view full) ---

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
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

--- 108 unchanged lines hidden (view full) ---

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
125config GPIO_BCM_KONA
126 bool "Broadcom Kona GPIO"
127 depends on OF_GPIO && (ARCH_BCM_MOBILE || COMPILE_TEST)
128 help
129 Turn on GPIO support for Broadcom "Kona" chips.
130
131config GPIO_BRCMSTB
132 tristate "BRCMSTB GPIO support"

--- 21 unchanged lines hidden (view full) ---

154config GPIO_DWAPB
155 tristate "Synopsys DesignWare APB GPIO driver"
156 select GPIO_GENERIC
157 select GENERIC_IRQ_CHIP
158 help
159 Say Y or M here to build support for the Synopsys DesignWare APB
160 GPIO block.
161
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"

--- 21 unchanged lines hidden (view full) ---

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
162config GPIO_EM
163 tristate "Emma Mobile GPIO"
164 depends on (ARCH_EMEV2 || COMPILE_TEST) && OF_GPIO
165 help
166 Say yes here to support GPIO on Renesas Emma Mobile SoCs.
167
168config GPIO_EP93XX
169 def_bool y
170 depends on ARCH_EP93XX
171 select GPIO_GENERIC
172
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
173config GPIO_EXAR
174 tristate "Support for GPIO pins on XR17V352/354/358"
175 depends on SERIAL_8250_EXAR
176 help
177 Selecting this option will enable handling of GPIO pins present
178 on Exar XR17V352/354/358 chips.
179
180config GPIO_GE_FPGA

--- 28 unchanged lines hidden (view full) ---

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
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

--- 28 unchanged lines hidden (view full) ---

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
217config 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

--- 159 unchanged lines hidden (view full) ---

384
385config GPIO_SPEAR_SPICS
386 bool "ST SPEAr13xx SPI Chip Select as GPIO support"
387 depends on PLAT_SPEAR
388 select GENERIC_IRQ_CHIP
389 help
390 Say yes here to support ST SPEAr SPI Chip Select as GPIO device
391
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

--- 159 unchanged lines hidden (view full) ---

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
392config GPIO_STA2X11
393 bool "STA2x11/ConneXt GPIO support"
394 depends on MFD_STA2X11
395 select GENERIC_IRQ_CHIP
396 help
397 Say yes here to support the STA2x11/ConneXt GPIO device.
398 The GPIO module has 128 GPIO pins with alternate functions.
399

--- 48 unchanged lines hidden (view full) ---

448 depends on ARCH_THUNDER || (64BIT && COMPILE_TEST)
449 depends on PCI_MSI
450 select IRQ_DOMAIN_HIERARCHY
451 select IRQ_FASTEOI_HIERARCHY_HANDLERS
452 help
453 Say yes here to support the on-chip GPIO lines on the ThunderX
454 and OCTEON-TX families of SoCs.
455
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

--- 48 unchanged lines hidden (view full) ---

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
456config GPIO_TZ1090
457 bool "Toumaz Xenif TZ1090 GPIO support"
458 depends on SOC_TZ1090
459 select GENERIC_IRQ_CHIP
460 default y
461 help
462 Say yes here to support Toumaz Xenif TZ1090 GPIOs.
463
464config GPIO_TZ1090_PDC
465 bool "Toumaz Xenif TZ1090 PDC GPIO support"
466 depends on SOC_TZ1090
467 default y
468 help
469 Say yes here to support Toumaz Xenif TZ1090 PDC GPIOs.
470
471config GPIO_UNIPHIER
472 tristate "UniPhier GPIO support"
473 depends on ARCH_UNIPHIER || COMPILE_TEST
474 depends on OF_GPIO
475 select IRQ_DOMAIN_HIERARCHY
476 help
477 Say yes here to support UniPhier GPIOs.
478

--- 97 unchanged lines hidden (view full) ---

576
577endmenu
578
579menu "Port-mapped I/O GPIO drivers"
580 depends on X86 # Unconditional I/O space access
581
582config GPIO_104_DIO_48E
583 tristate "ACCES 104-DIO-48E GPIO support"
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

--- 97 unchanged lines hidden (view full) ---

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"
584 depends on PC104 && ISA_BUS_API
614 depends on PC104
615 select ISA_BUS_API
585 select GPIOLIB_IRQCHIP
586 help
587 Enables GPIO support for the ACCES 104-DIO-48E series (104-DIO-48E,
588 104-DIO-24E). The base port addresses for the devices may be
589 configured via the base module parameter. The interrupt line numbers
590 for the devices may be configured via the irq module parameter.
591
592config GPIO_104_IDIO_16
593 tristate "ACCES 104-IDIO-16 GPIO support"
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"
594 depends on PC104 && ISA_BUS_API
625 depends on PC104
626 select ISA_BUS_API
595 select GPIOLIB_IRQCHIP
596 help
597 Enables GPIO support for the ACCES 104-IDIO-16 family (104-IDIO-16,
598 104-IDIO-16E, 104-IDO-16, 104-IDIO-8, 104-IDIO-8E, 104-IDO-8). The
599 base port addresses for the devices may be configured via the base
600 module parameter. The interrupt line numbers for the devices may be
601 configured via the irq module parameter.
602
603config GPIO_104_IDI_48
604 tristate "ACCES 104-IDI-48 GPIO support"
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"
605 depends on PC104 && ISA_BUS_API
637 depends on PC104
638 select ISA_BUS_API
606 select GPIOLIB_IRQCHIP
607 help
608 Enables GPIO support for the ACCES 104-IDI-48 family (104-IDI-48A,
609 104-IDI-48AC, 104-IDI-48B, 104-IDI-48BC). The base port addresses for
610 the devices may be configured via the base module parameter. The
611 interrupt line numbers for the devices may be configured via the irq
612 module parameter.
613
614config GPIO_F7188X
615 tristate "F71869, F71869A, F71882FG, F71889F and F81866 GPIO support"
616 help
617 This option enables support for GPIOs found on Fintek Super-I/O
618 chips F71869, F71869A, F71882FG, F71889F and F81866.
619
620 To compile this driver as a module, choose M here: the module will
621 be called f7188x-gpio.
622
623config GPIO_GPIO_MM
624 tristate "Diamond Systems GPIO-MM GPIO support"
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"
625 depends on PC104 && ISA_BUS_API
658 depends on PC104
659 select ISA_BUS_API
626 help
627 Enables GPIO support for the Diamond Systems GPIO-MM and GPIO-MM-12.
628
629 The Diamond Systems GPIO-MM device features 48 lines of digital I/O
630 via the emulation of dual 82C55A PPI chips. This driver provides GPIO
631 support for these 48 channels of digital I/O.
632
633 The base port addresses for the devices may be configured via the base

--- 52 unchanged lines hidden (view full) ---

686 help
687 This driver supports Digital I/O exposed by pin blocks found on some
688 Technologic Systems platforms. It includes, but is not limited to, 3
689 blocks of the TS-5500: DIO1, DIO2 and the LCD port, and the TS-5600
690 LCD port.
691
692config GPIO_WINBOND
693 tristate "Winbond Super I/O GPIO support"
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

--- 52 unchanged lines hidden (view full) ---

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"
694 depends on ISA_BUS_API
728 select ISA_BUS_API
695 help
696 This option enables support for GPIOs found on Winbond Super I/O
697 chips.
698 Currently, only W83627UHG (also known as Nuvoton NCT6627UD) is
699 supported.
700
701 You will need to provide a module parameter "gpios", or a
702 boot-time parameter "gpio_winbond.gpios" with a bitmask of GPIO
703 ports to enable (bit 0 is GPIO1, bit 1 is GPIO2, etc.).
704
705 To compile this driver as a module, choose M here: the module will
706 be called gpio-winbond.
707
708config GPIO_WS16C48
709 tristate "WinSystems WS16C48 GPIO support"
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"
710 depends on ISA_BUS_API
744 select ISA_BUS_API
711 select GPIOLIB_IRQCHIP
712 help
713 Enables GPIO support for the WinSystems WS16C48. The base port
714 addresses for the devices may be configured via the base module
715 parameter. The interrupt line numbers for the devices may be
716 configured via the irq module parameter.
717
718endmenu

--- 611 unchanged lines hidden ---
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

--- 611 unchanged lines hidden ---