Kconfig (b5238b41858229b2dcb684cd71d81f4c6d6311c0) Kconfig (9384793036afb7529c1c564e839ef4356271d68e)
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

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

199 help
200 Support for common GPIO functionality provided on some GE Single Board
201 Computers.
202
203 This driver provides basic support (configure as input or output, read
204 and write pin state) for GPIO implemented in a number of GE single
205 board computers.
206
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

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

199 help
200 Support for common GPIO functionality provided on some GE Single Board
201 Computers.
202
203 This driver provides basic support (configure as input or output, read
204 and write pin state) for GPIO implemented in a number of GE single
205 board computers.
206
207config GPIO_GEMINI
208 bool "Gemini GPIO"
209 depends on ARCH_GEMINI
207config GPIO_FTGPIO010
208 bool "Faraday FTGPIO010 GPIO"
210 depends on OF_GPIO
211 select GPIO_GENERIC
212 select GPIOLIB_IRQCHIP
209 depends on OF_GPIO
210 select GPIO_GENERIC
211 select GPIOLIB_IRQCHIP
212 default (ARCH_GEMINI || ARCH_MOXART)
213 help
213 help
214 Support for common GPIOs found in Cortina systems Gemini platforms.
214 Support for common GPIOs from the Faraday FTGPIO010 IP core, found in
215 Cortina systems Gemini platforms, Moxa ART and others.
215
216config GPIO_GENERIC_PLATFORM
217 tristate "Generic memory-mapped GPIO controller support (MMIO platform device)"
218 select GPIO_GENERIC
219 help
220 Say yes here to support basic platform_device memory-mapped GPIO controllers.
221
222config GPIO_GRGPIO

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

303 help
304 This enables GPIO Testing driver, which provides a way to test GPIO
305 subsystem through sysfs(or char device) and debugfs. GPIO_SYSFS
306 must be selected for this test.
307 User could use it through the script in
308 tools/testing/selftests/gpio/gpio-mockup.sh. Reference the usage in
309 it.
310
216
217config GPIO_GENERIC_PLATFORM
218 tristate "Generic memory-mapped GPIO controller support (MMIO platform device)"
219 select GPIO_GENERIC
220 help
221 Say yes here to support basic platform_device memory-mapped GPIO controllers.
222
223config GPIO_GRGPIO

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

304 help
305 This enables GPIO Testing driver, which provides a way to test GPIO
306 subsystem through sysfs(or char device) and debugfs. GPIO_SYSFS
307 must be selected for this test.
308 User could use it through the script in
309 tools/testing/selftests/gpio/gpio-mockup.sh. Reference the usage in
310 it.
311
311config GPIO_MOXART
312 bool "MOXART GPIO support"
313 depends on ARCH_MOXART || COMPILE_TEST
314 select GPIO_GENERIC
315 help
316 Select this option to enable GPIO driver for
317 MOXA ART SoC devices.
318
319config GPIO_MPC5200
320 def_bool y
321 depends on PPC_MPC52xx
322
323config GPIO_MPC8XXX
324 bool "MPC512x/MPC8xxx/QorIQ GPIO support"
325 depends on PPC_MPC512x || PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || \
326 FSL_SOC_BOOKE || PPC_86xx || ARCH_LAYERSCAPE || ARM || \

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

382
383config GPIO_RCAR
384 tristate "Renesas R-Car GPIO"
385 depends on ARCH_RENESAS || COMPILE_TEST
386 select GPIOLIB_IRQCHIP
387 help
388 Say yes here to support GPIO on Renesas R-Car SoCs.
389
312config GPIO_MPC5200
313 def_bool y
314 depends on PPC_MPC52xx
315
316config GPIO_MPC8XXX
317 bool "MPC512x/MPC8xxx/QorIQ GPIO support"
318 depends on PPC_MPC512x || PPC_MPC831x || PPC_MPC834x || PPC_MPC837x || \
319 FSL_SOC_BOOKE || PPC_86xx || ARCH_LAYERSCAPE || ARM || \

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

375
376config GPIO_RCAR
377 tristate "Renesas R-Car GPIO"
378 depends on ARCH_RENESAS || COMPILE_TEST
379 select GPIOLIB_IRQCHIP
380 help
381 Say yes here to support GPIO on Renesas R-Car SoCs.
382
383config GPIO_REG
384 bool
385 help
386 A 32-bit single register GPIO fixed in/out implementation. This
387 can be used to represent any register as a set of GPIO signals.
388
390config GPIO_SPEAR_SPICS
391 bool "ST SPEAr13xx SPI Chip Select as GPIO support"
392 depends on PLAT_SPEAR
393 select GENERIC_IRQ_CHIP
394 help
395 Say yes here to support ST SPEAr SPI Chip Select as GPIO device
396
397config GPIO_STA2X11

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

500config GPIO_XILINX
501 tristate "Xilinx GPIO support"
502 depends on OF_GPIO
503 help
504 Say yes here to support the Xilinx FPGA GPIO device
505
506config GPIO_XLP
507 tristate "Netlogic XLP GPIO support"
389config GPIO_SPEAR_SPICS
390 bool "ST SPEAr13xx SPI Chip Select as GPIO support"
391 depends on PLAT_SPEAR
392 select GENERIC_IRQ_CHIP
393 help
394 Say yes here to support ST SPEAr SPI Chip Select as GPIO device
395
396config GPIO_STA2X11

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

499config GPIO_XILINX
500 tristate "Xilinx GPIO support"
501 depends on OF_GPIO
502 help
503 Say yes here to support the Xilinx FPGA GPIO device
504
505config GPIO_XLP
506 tristate "Netlogic XLP GPIO support"
508 depends on OF_GPIO && (CPU_XLP || ARCH_VULCAN || COMPILE_TEST)
507 depends on OF_GPIO && (CPU_XLP || ARCH_VULCAN || ARCH_THUNDER2 || COMPILE_TEST)
509 select GPIOLIB_IRQCHIP
510 help
511 This driver provides support for GPIO interface on Netlogic XLP MIPS64
512 SoCs. Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX,
513 XLP9XX and XLP5XX.
514
515 If unsure, say N.
516

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

552
553endmenu
554
555menu "Port-mapped I/O GPIO drivers"
556 depends on X86 # Unconditional I/O space access
557
558config GPIO_104_DIO_48E
559 tristate "ACCES 104-DIO-48E GPIO support"
508 select GPIOLIB_IRQCHIP
509 help
510 This driver provides support for GPIO interface on Netlogic XLP MIPS64
511 SoCs. Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX,
512 XLP9XX and XLP5XX.
513
514 If unsure, say N.
515

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

551
552endmenu
553
554menu "Port-mapped I/O GPIO drivers"
555 depends on X86 # Unconditional I/O space access
556
557config GPIO_104_DIO_48E
558 tristate "ACCES 104-DIO-48E GPIO support"
560 depends on ISA_BUS_API
559 depends on PC104 && ISA_BUS_API
561 select GPIOLIB_IRQCHIP
562 help
563 Enables GPIO support for the ACCES 104-DIO-48E series (104-DIO-48E,
564 104-DIO-24E). The base port addresses for the devices may be
565 configured via the base module parameter. The interrupt line numbers
566 for the devices may be configured via the irq module parameter.
567
568config GPIO_104_IDIO_16
569 tristate "ACCES 104-IDIO-16 GPIO support"
560 select GPIOLIB_IRQCHIP
561 help
562 Enables GPIO support for the ACCES 104-DIO-48E series (104-DIO-48E,
563 104-DIO-24E). The base port addresses for the devices may be
564 configured via the base module parameter. The interrupt line numbers
565 for the devices may be configured via the irq module parameter.
566
567config GPIO_104_IDIO_16
568 tristate "ACCES 104-IDIO-16 GPIO support"
570 depends on ISA_BUS_API
569 depends on PC104 && ISA_BUS_API
571 select GPIOLIB_IRQCHIP
572 help
573 Enables GPIO support for the ACCES 104-IDIO-16 family (104-IDIO-16,
574 104-IDIO-16E, 104-IDO-16, 104-IDIO-8, 104-IDIO-8E, 104-IDO-8). The
575 base port addresses for the devices may be configured via the base
576 module parameter. The interrupt line numbers for the devices may be
577 configured via the irq module parameter.
578
579config GPIO_104_IDI_48
580 tristate "ACCES 104-IDI-48 GPIO support"
570 select GPIOLIB_IRQCHIP
571 help
572 Enables GPIO support for the ACCES 104-IDIO-16 family (104-IDIO-16,
573 104-IDIO-16E, 104-IDO-16, 104-IDIO-8, 104-IDIO-8E, 104-IDO-8). The
574 base port addresses for the devices may be configured via the base
575 module parameter. The interrupt line numbers for the devices may be
576 configured via the irq module parameter.
577
578config GPIO_104_IDI_48
579 tristate "ACCES 104-IDI-48 GPIO support"
581 depends on ISA_BUS_API
580 depends on PC104 && ISA_BUS_API
582 select GPIOLIB_IRQCHIP
583 help
584 Enables GPIO support for the ACCES 104-IDI-48 family (104-IDI-48A,
585 104-IDI-48AC, 104-IDI-48B, 104-IDI-48BC). The base port addresses for
586 the devices may be configured via the base module parameter. The
587 interrupt line numbers for the devices may be configured via the irq
588 module parameter.
589
590config GPIO_F7188X
591 tristate "F71869, F71869A, F71882FG, F71889F and F81866 GPIO support"
592 help
593 This option enables support for GPIOs found on Fintek Super-I/O
594 chips F71869, F71869A, F71882FG, F71889F and F81866.
595
596 To compile this driver as a module, choose M here: the module will
597 be called f7188x-gpio.
598
599config GPIO_GPIO_MM
600 tristate "Diamond Systems GPIO-MM GPIO support"
581 select GPIOLIB_IRQCHIP
582 help
583 Enables GPIO support for the ACCES 104-IDI-48 family (104-IDI-48A,
584 104-IDI-48AC, 104-IDI-48B, 104-IDI-48BC). The base port addresses for
585 the devices may be configured via the base module parameter. The
586 interrupt line numbers for the devices may be configured via the irq
587 module parameter.
588
589config GPIO_F7188X
590 tristate "F71869, F71869A, F71882FG, F71889F and F81866 GPIO support"
591 help
592 This option enables support for GPIOs found on Fintek Super-I/O
593 chips F71869, F71869A, F71882FG, F71889F and F81866.
594
595 To compile this driver as a module, choose M here: the module will
596 be called f7188x-gpio.
597
598config GPIO_GPIO_MM
599 tristate "Diamond Systems GPIO-MM GPIO support"
601 depends on ISA_BUS_API
600 depends on PC104 && ISA_BUS_API
602 help
603 Enables GPIO support for the Diamond Systems GPIO-MM and GPIO-MM-12.
604
605 The Diamond Systems GPIO-MM device features 48 lines of digital I/O
606 via the emulation of dual 82C55A PPI chips. This driver provides GPIO
607 support for these 48 channels of digital I/O.
608
609 The base port addresses for the devices may be configured via the base

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

748 help
749 Say yes here to provide access to several register-oriented
750 SMBus I/O expanders, made mostly by NXP or TI. Compatible
751 models include:
752
753 4 bits: pca9536, pca9537
754
755 8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554,
601 help
602 Enables GPIO support for the Diamond Systems GPIO-MM and GPIO-MM-12.
603
604 The Diamond Systems GPIO-MM device features 48 lines of digital I/O
605 via the emulation of dual 82C55A PPI chips. This driver provides GPIO
606 support for these 48 channels of digital I/O.
607
608 The base port addresses for the devices may be configured via the base

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

747 help
748 Say yes here to provide access to several register-oriented
749 SMBus I/O expanders, made mostly by NXP or TI. Compatible
750 models include:
751
752 4 bits: pca9536, pca9537
753
754 8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554,
756 pca9556, pca9557, pca9574, tca6408, xra1202
755 pca9556, pca9557, pca9574, tca6408, tca9554, xra1202
757
758 16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575,
759 tca6416
760
761 24 bits: tca6424
762
763 40 bits: pca9505, pca9698
764

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

840 as writes to LEDs.
841
842config GPIO_ARIZONA
843 tristate "Wolfson Microelectronics Arizona class devices"
844 depends on MFD_ARIZONA
845 help
846 Support for GPIOs on Wolfson Arizona class devices.
847
756
757 16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575,
758 tca6416
759
760 24 bits: tca6424
761
762 40 bits: pca9505, pca9698
763

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

839 as writes to LEDs.
840
841config GPIO_ARIZONA
842 tristate "Wolfson Microelectronics Arizona class devices"
843 depends on MFD_ARIZONA
844 help
845 Support for GPIOs on Wolfson Arizona class devices.
846
847config GPIO_BD9571MWV
848 tristate "ROHM BD9571 GPIO support"
849 depends on MFD_BD9571MWV
850 help
851 Support for GPIOs on ROHM BD9571 PMIC. There are two GPIOs
852 available on the ROHM PMIC in total, both of which can also
853 generate interrupts.
854
855 This driver can also be built as a module. If so, the module
856 will be called gpio-bd9571mwv.
857
848config GPIO_CRYSTAL_COVE
849 tristate "GPIO support for Crystal Cove PMIC"
850 depends on (X86 || COMPILE_TEST) && INTEL_SOC_PMIC
851 select GPIOLIB_IRQCHIP
852 help
853 Support for GPIO pins on Crystal Cove PMIC.
854
855 Say Yes if you have a Intel SoC based tablet with Crystal Cove PMIC

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

1049 tristate "Philips UCB1400 GPIO"
1050 depends on UCB1400_CORE
1051 help
1052 This enables support for the Philips UCB1400 GPIO pins.
1053 The UCB1400 is an AC97 audio codec.
1054
1055config GPIO_WHISKEY_COVE
1056 tristate "GPIO support for Whiskey Cove PMIC"
858config GPIO_CRYSTAL_COVE
859 tristate "GPIO support for Crystal Cove PMIC"
860 depends on (X86 || COMPILE_TEST) && INTEL_SOC_PMIC
861 select GPIOLIB_IRQCHIP
862 help
863 Support for GPIO pins on Crystal Cove PMIC.
864
865 Say Yes if you have a Intel SoC based tablet with Crystal Cove PMIC

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

1059 tristate "Philips UCB1400 GPIO"
1060 depends on UCB1400_CORE
1061 help
1062 This enables support for the Philips UCB1400 GPIO pins.
1063 The UCB1400 is an AC97 audio codec.
1064
1065config GPIO_WHISKEY_COVE
1066 tristate "GPIO support for Whiskey Cove PMIC"
1057 depends on (X86 || COMPILE_TEST) && INTEL_SOC_PMIC_BXTWC
1067 depends on (X86 || COMPILE_TEST) && INTEL_SOC_PMIC
1058 select GPIOLIB_IRQCHIP
1059 help
1060 Support for GPIO pins on Whiskey Cove PMIC.
1061
1062 Say Yes if you have a Intel SoC based tablet with Whiskey Cove PMIC
1063 inside.
1064
1065 This driver can also be built as a module. If so, the module will be

--- 188 unchanged lines hidden ---
1068 select GPIOLIB_IRQCHIP
1069 help
1070 Support for GPIO pins on Whiskey Cove PMIC.
1071
1072 Say Yes if you have a Intel SoC based tablet with Whiskey Cove PMIC
1073 inside.
1074
1075 This driver can also be built as a module. If so, the module will be

--- 188 unchanged lines hidden ---