Kconfig (9c6686322d749814e3e7af492954ca1777444023) Kconfig (2527ecc9195e9c66252af24c4689e8a67cd4ccb9)
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
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
13config ARCH_WANT_OPTIONAL_GPIOLIB
14 bool
15 help
16 Select this config option from the architecture Kconfig, if
17 it is possible to use gpiolib on the architecture, but let the
18 user decide whether to actually build it or not.
19 Select this instead of ARCH_REQUIRE_GPIOLIB, if your architecture does
20 not depend on GPIOs being available, but rather let the user
21 decide whether he needs it or not.
22
23config ARCH_REQUIRE_GPIOLIB
24 bool
25 select GPIOLIB
26 help
27 Platforms select gpiolib if they use this infrastructure
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
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
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
52 depends on OF
53 depends on HAS_IOMEM
32
33config GPIO_ACPI
34 def_bool y
35 depends on ACPI
36
37config GPIOLIB_IRQCHIP
38 select IRQ_DOMAIN
39 bool

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

111 default y if ATH79
112 depends on ATH79 || COMPILE_TEST
113 select GPIO_GENERIC
114 select GPIOLIB_IRQCHIP
115 help
116 Select this option to enable GPIO driver for
117 Atheros AR71XX/AR724X/AR913X SoC devices.
118
54
55config GPIO_ACPI
56 def_bool y
57 depends on ACPI
58
59config GPIOLIB_IRQCHIP
60 select IRQ_DOMAIN
61 bool

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

133 default y if ATH79
134 depends on ATH79 || COMPILE_TEST
135 select GPIO_GENERIC
136 select GPIOLIB_IRQCHIP
137 help
138 Select this option to enable GPIO driver for
139 Atheros AR71XX/AR724X/AR913X SoC devices.
140
119config GPIO_AXP209
120 tristate "X-Powers AXP209 PMIC GPIO Support"
121 depends on MFD_AXP20X
122 help
123 Say yes to enable GPIO support for the AXP209 PMIC
124
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"

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

553 tristate "F71869, F71869A, F71882FG, F71889F and F81866 GPIO support"
554 help
555 This option enables support for GPIOs found on Fintek Super-I/O
556 chips F71869, F71869A, F71882FG, F71889F and F81866.
557
558 To compile this driver as a module, choose M here: the module will
559 be called f7188x-gpio.
560
141config GPIO_BCM_KONA
142 bool "Broadcom Kona GPIO"
143 depends on OF_GPIO && (ARCH_BCM_MOBILE || COMPILE_TEST)
144 help
145 Turn on GPIO support for Broadcom "Kona" chips.
146
147config GPIO_BRCMSTB
148 tristate "BRCMSTB GPIO support"

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

569 tristate "F71869, F71869A, F71882FG, F71889F and F81866 GPIO support"
570 help
571 This option enables support for GPIOs found on Fintek Super-I/O
572 chips F71869, F71869A, F71882FG, F71889F and F81866.
573
574 To compile this driver as a module, choose M here: the module will
575 be called f7188x-gpio.
576
561config GPIO_GPIO_MM
562 tristate "Diamond Systems GPIO-MM GPIO support"
563 depends on ISA_BUS_API
564 help
565 Enables GPIO support for the Diamond Systems GPIO-MM and GPIO-MM-12.
566
567 The Diamond Systems GPIO-MM device features 48 lines of digital I/O
568 via the emulation of dual 82C55A PPI chips. This driver provides GPIO
569 support for these 48 channels of digital I/O.
570
571 The base port addresses for the devices may be configured via the base
572 array module parameter.
573
574config GPIO_IT87
575 tristate "IT87xx GPIO support"
576 help
577 Say yes here to support GPIO functionality of IT87xx Super I/O chips.
578
579 This driver is tested with ITE IT8728 and IT8732 Super I/O chips, and
580 supports the IT8761E, IT8620E and IT8628E Super I/O chip as well.
581

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

772config GPIO_TPIC2810
773 tristate "TPIC2810 8-Bit I2C GPO expander"
774 help
775 Say yes here to enable the GPO driver for the TI TPIC2810 chip.
776
777 To compile this driver as a module, choose M here: the module will
778 be called gpio-tpic2810.
779
577config GPIO_IT87
578 tristate "IT87xx GPIO support"
579 help
580 Say yes here to support GPIO functionality of IT87xx Super I/O chips.
581
582 This driver is tested with ITE IT8728 and IT8732 Super I/O chips, and
583 supports the IT8761E, IT8620E and IT8628E Super I/O chip as well.
584

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

775config GPIO_TPIC2810
776 tristate "TPIC2810 8-Bit I2C GPO expander"
777 help
778 Say yes here to enable the GPO driver for the TI TPIC2810 chip.
779
780 To compile this driver as a module, choose M here: the module will
781 be called gpio-tpic2810.
782
780config GPIO_TS4900
781 tristate "Technologic Systems FPGA I2C GPIO"
782 select REGMAP_I2C
783 help
784 Say yes here to enabled the GPIO driver for Technologic's FPGA core.
785 Series supported include TS-4100, TS-4900, TS-7970 and TS-7990.
786
787endmenu
788
789menu "MFD GPIO expanders"
790
791config GPIO_ADP5520
792 tristate "GPIO Support for ADP5520 PMIC"
793 depends on PMIC_ADP5520
794 help

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

984
985config GPIO_UCB1400
986 tristate "Philips UCB1400 GPIO"
987 depends on UCB1400_CORE
988 help
989 This enables support for the Philips UCB1400 GPIO pins.
990 The UCB1400 is an AC97 audio codec.
991
783endmenu
784
785menu "MFD GPIO expanders"
786
787config GPIO_ADP5520
788 tristate "GPIO Support for ADP5520 PMIC"
789 depends on PMIC_ADP5520
790 help

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

980
981config GPIO_UCB1400
982 tristate "Philips UCB1400 GPIO"
983 depends on UCB1400_CORE
984 help
985 This enables support for the Philips UCB1400 GPIO pins.
986 The UCB1400 is an AC97 audio codec.
987
992config GPIO_WHISKEY_COVE
993 tristate "GPIO support for Whiskey Cove PMIC"
994 depends on INTEL_SOC_PMIC
995 select GPIOLIB_IRQCHIP
996 help
997 Support for GPIO pins on Whiskey Cove PMIC.
998
999 Say Yes if you have a Intel SoC based tablet with Whiskey Cove PMIC
1000 inside.
1001
1002 This driver can also be built as a module. If so, the module will be
1003 called gpio-wcove.
1004
1005config GPIO_WM831X
1006 tristate "WM831x GPIOs"
1007 depends on MFD_WM831X
1008 help
1009 Say yes here to access the GPIO signals of WM831x power management
1010 chips from Wolfson Microelectronics.
1011
1012config GPIO_WM8350

--- 164 unchanged lines hidden ---
988config GPIO_WM831X
989 tristate "WM831x GPIOs"
990 depends on MFD_WM831X
991 help
992 Say yes here to access the GPIO signals of WM831x power management
993 chips from Wolfson Microelectronics.
994
995config GPIO_WM8350

--- 164 unchanged lines hidden ---