Kconfig (0bfb85c6ba620c39c0e5124851a1bea0f5a56e05) Kconfig (c78e3cf14e4c77746168936d84d03c119d0c984e)
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

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

28 for all their GPIOs, usually starting with ones integrated
29 into SOC processors.
30 Selecting this from the architecture code will cause the gpiolib
31 code to always get built in.
32
33
34menuconfig GPIOLIB
35 bool "GPIO Support"
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

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

28 for all their GPIOs, usually starting with ones integrated
29 into SOC processors.
30 Selecting this from the architecture code will cause the gpiolib
31 code to always get built in.
32
33
34menuconfig GPIOLIB
35 bool "GPIO Support"
36 select ANON_INODES
37 help
38 This enables GPIO support through the generic GPIO library.
39 You only need to enable this, if you also want to enable
40 one or more of the GPIO drivers below.
41
42 If unsure, say N.
43
44if GPIOLIB
45
46config GPIO_DEVRES
47 def_bool y
48 depends on HAS_IOMEM
49
50config OF_GPIO
51 def_bool y
36 help
37 This enables GPIO support through the generic GPIO library.
38 You only need to enable this, if you also want to enable
39 one or more of the GPIO drivers below.
40
41 If unsure, say N.
42
43if GPIOLIB
44
45config GPIO_DEVRES
46 def_bool y
47 depends on HAS_IOMEM
48
49config OF_GPIO
50 def_bool y
52 depends on OF
51 depends on OF || COMPILE_TEST
53
54config GPIO_ACPI
55 def_bool y
56 depends on ACPI
57
58config GPIOLIB_IRQCHIP
59 select IRQ_DOMAIN
60 bool

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

245
246config GPIO_LOONGSON
247 bool "Loongson-2/3 GPIO support"
248 depends on CPU_LOONGSON2 || CPU_LOONGSON3
249 help
250 driver for GPIO functionality on Loongson-2F/3A/3B processors.
251
252config GPIO_LPC18XX
52
53config GPIO_ACPI
54 def_bool y
55 depends on ACPI
56
57config GPIOLIB_IRQCHIP
58 select IRQ_DOMAIN
59 bool

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

244
245config GPIO_LOONGSON
246 bool "Loongson-2/3 GPIO support"
247 depends on CPU_LOONGSON2 || CPU_LOONGSON3
248 help
249 driver for GPIO functionality on Loongson-2F/3A/3B processors.
250
251config GPIO_LPC18XX
253 bool "NXP LPC18XX/43XX GPIO support"
252 tristate "NXP LPC18XX/43XX GPIO support"
254 default y if ARCH_LPC18XX
255 depends on OF_GPIO && (ARCH_LPC18XX || COMPILE_TEST)
256 help
257 Select this option to enable GPIO driver for
258 NXP LPC18XX/43XX devices.
259
260config GPIO_LYNXPOINT
261 tristate "Intel Lynxpoint GPIO support"

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

397 Say yes here to support GPIO functionality though SYSCON driver.
398
399config GPIO_TB10X
400 bool
401 select GENERIC_IRQ_CHIP
402 select OF_GPIO
403
404config GPIO_TEGRA
253 default y if ARCH_LPC18XX
254 depends on OF_GPIO && (ARCH_LPC18XX || COMPILE_TEST)
255 help
256 Select this option to enable GPIO driver for
257 NXP LPC18XX/43XX devices.
258
259config GPIO_LYNXPOINT
260 tristate "Intel Lynxpoint GPIO support"

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

396 Say yes here to support GPIO functionality though SYSCON driver.
397
398config GPIO_TB10X
399 bool
400 select GENERIC_IRQ_CHIP
401 select OF_GPIO
402
403config GPIO_TEGRA
405 bool "NVIDIA Tegra GPIO support"
406 default ARCH_TEGRA
404 bool
405 default y
407 depends on ARCH_TEGRA || COMPILE_TEST
406 depends on ARCH_TEGRA || COMPILE_TEST
408 depends on OF
409 help
410 Say yes here to support GPIO pins on NVIDIA Tegra SoCs.
411
412config GPIO_TS4800
413 tristate "TS-4800 DIO blocks and compatibles"
414 depends on OF_GPIO
415 depends on SOC_IMX51 || COMPILE_TEST
416 select GPIO_GENERIC
417 help
418 This driver support TS-4800 FPGA GPIO controllers.

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

529
530endmenu
531
532menu "Port-mapped I/O GPIO drivers"
533 depends on X86 # Unconditional I/O space access
534
535config GPIO_104_DIO_48E
536 tristate "ACCES 104-DIO-48E GPIO support"
407
408config GPIO_TS4800
409 tristate "TS-4800 DIO blocks and compatibles"
410 depends on OF_GPIO
411 depends on SOC_IMX51 || COMPILE_TEST
412 select GPIO_GENERIC
413 help
414 This driver support TS-4800 FPGA GPIO controllers.

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

525
526endmenu
527
528menu "Port-mapped I/O GPIO drivers"
529 depends on X86 # Unconditional I/O space access
530
531config GPIO_104_DIO_48E
532 tristate "ACCES 104-DIO-48E GPIO support"
537 depends on ISA_BUS_API
533 depends on ISA
538 select GPIOLIB_IRQCHIP
539 help
540 Enables GPIO support for the ACCES 104-DIO-48E series (104-DIO-48E,
541 104-DIO-24E). The base port addresses for the devices may be
542 configured via the base module parameter. The interrupt line numbers
543 for the devices may be configured via the irq module parameter.
544
545config GPIO_104_IDIO_16
546 tristate "ACCES 104-IDIO-16 GPIO support"
534 select GPIOLIB_IRQCHIP
535 help
536 Enables GPIO support for the ACCES 104-DIO-48E series (104-DIO-48E,
537 104-DIO-24E). The base port addresses for the devices may be
538 configured via the base module parameter. The interrupt line numbers
539 for the devices may be configured via the irq module parameter.
540
541config GPIO_104_IDIO_16
542 tristate "ACCES 104-IDIO-16 GPIO support"
547 depends on ISA_BUS_API
543 depends on ISA
548 select GPIOLIB_IRQCHIP
549 help
550 Enables GPIO support for the ACCES 104-IDIO-16 family (104-IDIO-16,
551 104-IDIO-16E, 104-IDO-16, 104-IDIO-8, 104-IDIO-8E, 104-IDO-8). The
552 base port addresses for the devices may be configured via the base
553 module parameter. The interrupt line numbers for the devices may be
554 configured via the irq module parameter.
555
556config GPIO_104_IDI_48
557 tristate "ACCES 104-IDI-48 GPIO support"
544 select GPIOLIB_IRQCHIP
545 help
546 Enables GPIO support for the ACCES 104-IDIO-16 family (104-IDIO-16,
547 104-IDIO-16E, 104-IDO-16, 104-IDIO-8, 104-IDIO-8E, 104-IDO-8). The
548 base port addresses for the devices may be configured via the base
549 module parameter. The interrupt line numbers for the devices may be
550 configured via the irq module parameter.
551
552config GPIO_104_IDI_48
553 tristate "ACCES 104-IDI-48 GPIO support"
558 depends on ISA_BUS_API
554 depends on ISA
559 select GPIOLIB_IRQCHIP
560 help
561 Enables GPIO support for the ACCES 104-IDI-48 family (104-IDI-48A,
562 104-IDI-48AC, 104-IDI-48B, 104-IDI-48BC). The base port addresses for
563 the devices may be configured via the base module parameter. The
564 interrupt line numbers for the devices may be configured via the irq
565 module parameter.
566

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

626 help
627 This driver supports Digital I/O exposed by pin blocks found on some
628 Technologic Systems platforms. It includes, but is not limited to, 3
629 blocks of the TS-5500: DIO1, DIO2 and the LCD port, and the TS-5600
630 LCD port.
631
632config GPIO_WS16C48
633 tristate "WinSystems WS16C48 GPIO support"
555 select GPIOLIB_IRQCHIP
556 help
557 Enables GPIO support for the ACCES 104-IDI-48 family (104-IDI-48A,
558 104-IDI-48AC, 104-IDI-48B, 104-IDI-48BC). The base port addresses for
559 the devices may be configured via the base module parameter. The
560 interrupt line numbers for the devices may be configured via the irq
561 module parameter.
562

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

622 help
623 This driver supports Digital I/O exposed by pin blocks found on some
624 Technologic Systems platforms. It includes, but is not limited to, 3
625 blocks of the TS-5500: DIO1, DIO2 and the LCD port, and the TS-5600
626 LCD port.
627
628config GPIO_WS16C48
629 tristate "WinSystems WS16C48 GPIO support"
634 depends on ISA_BUS_API
630 depends on ISA
635 select GPIOLIB_IRQCHIP
636 help
637 Enables GPIO support for the WinSystems WS16C48. The base port
638 addresses for the devices may be configured via the base module
639 parameter. The interrupt line numbers for the devices may be
640 configured via the irq module parameter.
641
642endmenu

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

869config GPIO_LP3943
870 tristate "TI/National Semiconductor LP3943 GPIO expander"
871 depends on MFD_LP3943
872 help
873 GPIO driver for LP3943 MFD.
874 LP3943 can be used as a GPIO expander which provides up to 16 GPIOs.
875 Open drain outputs are required for this usage.
876
631 select GPIOLIB_IRQCHIP
632 help
633 Enables GPIO support for the WinSystems WS16C48. The base port
634 addresses for the devices may be configured via the base module
635 parameter. The interrupt line numbers for the devices may be
636 configured via the irq module parameter.
637
638endmenu

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

865config GPIO_LP3943
866 tristate "TI/National Semiconductor LP3943 GPIO expander"
867 depends on MFD_LP3943
868 help
869 GPIO driver for LP3943 MFD.
870 LP3943 can be used as a GPIO expander which provides up to 16 GPIOs.
871 Open drain outputs are required for this usage.
872
873config GPIO_MAX77620
874 tristate "GPIO support for PMIC MAX77620 and MAX20024"
875 depends on MFD_MAX77620
876 help
877 GPIO driver for MAX77620 and MAX20024 PMIC from Maxim Semiconductor.
878 MAX77620 PMIC has 8 pins that can be configured as GPIOs. The
879 driver also provides interrupt support for each of the gpios.
880 Say yes here to enable the max77620 to be used as gpio controller.
881
877config GPIO_MSIC
878 bool "Intel MSIC mixed signal gpio support"
879 depends on MFD_INTEL_MSIC
880 help
881 Enable support for GPIO on intel MSIC controllers found in
882 intel MID devices
883
884config GPIO_PALMAS

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

1024 The card needs to be physically altered for using it as a
1025 GPIO card. For more information on how to build a GPIO card
1026 from a BT8xx TV card, see the documentation file at
1027 Documentation/bt8xxgpio.txt
1028
1029 If unsure, say N.
1030
1031config GPIO_INTEL_MID
882config GPIO_MSIC
883 bool "Intel MSIC mixed signal gpio support"
884 depends on MFD_INTEL_MSIC
885 help
886 Enable support for GPIO on intel MSIC controllers found in
887 intel MID devices
888
889config GPIO_PALMAS

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

1029 The card needs to be physically altered for using it as a
1030 GPIO card. For more information on how to build a GPIO card
1031 from a BT8xx TV card, see the documentation file at
1032 Documentation/bt8xxgpio.txt
1033
1034 If unsure, say N.
1035
1036config GPIO_INTEL_MID
1032 bool "Intel Mid GPIO support"
1033 depends on X86
1037 bool "Intel MID GPIO support"
1038 depends on X86_INTEL_MID
1034 select GPIOLIB_IRQCHIP
1035 help
1039 select GPIOLIB_IRQCHIP
1040 help
1036 Say Y here to support Intel Mid GPIO.
1041 Say Y here to support Intel MID GPIO.
1037
1038config GPIO_ML_IOH
1039 tristate "OKI SEMICONDUCTOR ML7213 IOH GPIO support"
1040 select GENERIC_IRQ_CHIP
1041 help
1042 ML7213 is companion chip for Intel Atom E6xx series.
1043 This driver can be used for OKI SEMICONDUCTOR ML7213 IOH(Input/Output
1044 Hub) which is for IVI(In-Vehicle Infotainment) use.

--- 98 unchanged lines hidden ---
1042
1043config GPIO_ML_IOH
1044 tristate "OKI SEMICONDUCTOR ML7213 IOH GPIO support"
1045 select GENERIC_IRQ_CHIP
1046 help
1047 ML7213 is companion chip for Intel Atom E6xx series.
1048 This driver can be used for OKI SEMICONDUCTOR ML7213 IOH(Input/Output
1049 Hub) which is for IVI(In-Vehicle Infotainment) use.

--- 98 unchanged lines hidden ---