Kconfig (a2071cd765637002523798358d2ca441306d708b) Kconfig (f72f4b44dfa88350b7072ca06fee83ce000a4177)
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
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

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

132 default y if ATH79
133 depends on ATH79 || COMPILE_TEST
134 select GPIO_GENERIC
135 select GPIOLIB_IRQCHIP
136 help
137 Select this option to enable GPIO driver for
138 Atheros AR71XX/AR724X/AR913X SoC devices.
139
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

--- 90 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
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
140config GPIO_BCM_KONA
141 bool "Broadcom Kona GPIO"
142 depends on OF_GPIO && (ARCH_BCM_MOBILE || COMPILE_TEST)
143 help
144 Turn on GPIO support for Broadcom "Kona" chips.
145
146config GPIO_BRCMSTB
147 tristate "BRCMSTB GPIO support"

--- 1011 unchanged lines hidden ---
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"

--- 1011 unchanged lines hidden ---