Kconfig (d9ba1025a46d368bc00a2981cb2b2a918e9209b7) Kconfig (8618b3b47c4590baf4ef3f241616914f4bb2a8a6)
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

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

42 one or more of the GPIO drivers below.
43
44 If unsure, say N.
45
46if GPIOLIB
47
48config OF_GPIO
49 def_bool y
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

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

42 one or more of the GPIO drivers below.
43
44 If unsure, say N.
45
46if GPIOLIB
47
48config OF_GPIO
49 def_bool y
50 depends on OF
50 depends on OF && !SPARC
51
51
52config GPIO_ACPI
53 def_bool y
54 depends on ACPI
55
56config DEBUG_GPIO
57 bool "Debug GPIO calls"
58 depends on DEBUG_KERNEL
59 help
60 Say Y here to add some extra checks and diagnostics to GPIO calls.
61 These checks help ensure that GPIOs have been properly initialized
62 before they are used, and that sleeping calls are not made from
63 non-sleeping contexts. They can make bitbanged serial protocols

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

85# put drivers in the right section, in alphabetical order
86
87config GPIO_DA9052
88 tristate "Dialog DA9052 GPIO"
89 depends on PMIC_DA9052
90 help
91 Say yes here to enable the GPIO driver for the DA9052 chip.
92
52config DEBUG_GPIO
53 bool "Debug GPIO calls"
54 depends on DEBUG_KERNEL
55 help
56 Say Y here to add some extra checks and diagnostics to GPIO calls.
57 These checks help ensure that GPIOs have been properly initialized
58 before they are used, and that sleeping calls are not made from
59 non-sleeping contexts. They can make bitbanged serial protocols

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

81# put drivers in the right section, in alphabetical order
82
83config GPIO_DA9052
84 tristate "Dialog DA9052 GPIO"
85 depends on PMIC_DA9052
86 help
87 Say yes here to enable the GPIO driver for the DA9052 chip.
88
89config GPIO_DA9055
90 tristate "Dialog Semiconductor DA9055 GPIO"
91 depends on MFD_DA9055
92 help
93 Say yes here to enable the GPIO driver for the DA9055 chip.
94
95 The Dialog DA9055 PMIC chip has 3 GPIO pins that can be
96 be controller by this driver.
97
98 If driver is built as a module it will be called gpio-da9055.
99
93config GPIO_MAX730X
94 tristate
95
96comment "Memory mapped GPIO drivers:"
97
100config GPIO_MAX730X
101 tristate
102
103comment "Memory mapped GPIO drivers:"
104
105config GPIO_CLPS711X
106 def_bool y
107 depends on ARCH_CLPS711X
108
98config GPIO_GENERIC_PLATFORM
99 tristate "Generic memory-mapped GPIO controller support (MMIO platform device)"
100 select GPIO_GENERIC
101 help
102 Say yes here to support basic platform_device memory-mapped GPIO controllers.
103
104config GPIO_IT8761E
105 tristate "IT8761E GPIO support"

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

169config GPIO_MXS
170 def_bool y
171 depends on ARCH_MXS
172 select GPIO_GENERIC
173 select GENERIC_IRQ_CHIP
174
175config GPIO_PL061
176 bool "PrimeCell PL061 GPIO support"
109config GPIO_GENERIC_PLATFORM
110 tristate "Generic memory-mapped GPIO controller support (MMIO platform device)"
111 select GPIO_GENERIC
112 help
113 Say yes here to support basic platform_device memory-mapped GPIO controllers.
114
115config GPIO_IT8761E
116 tristate "IT8761E GPIO support"

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

180config GPIO_MXS
181 def_bool y
182 depends on ARCH_MXS
183 select GPIO_GENERIC
184 select GENERIC_IRQ_CHIP
185
186config GPIO_PL061
187 bool "PrimeCell PL061 GPIO support"
177 depends on ARM_AMBA
188 depends on ARM && ARM_AMBA
178 select GENERIC_IRQ_CHIP
179 help
180 Say yes here to support the PrimeCell PL061 GPIO device
181
182config GPIO_PXA
183 bool "PXA GPIO support"
184 depends on ARCH_PXA || ARCH_MMP
185 help
186 Say yes here to support the PXA GPIO device
187
189 select GENERIC_IRQ_CHIP
190 help
191 Say yes here to support the PrimeCell PL061 GPIO device
192
193config GPIO_PXA
194 bool "PXA GPIO support"
195 depends on ARCH_PXA || ARCH_MMP
196 help
197 Say yes here to support the PXA GPIO device
198
199config GPIO_SPEAR_SPICS
200 bool "ST SPEAr13xx SPI Chip Select as GPIO support"
201 depends on PLAT_SPEAR
202 select GENERIC_IRQ_CHIP
203 help
204 Say yes here to support ST SPEAr SPI Chip Select as GPIO device
205
188config GPIO_STA2X11
189 bool "STA2x11/ConneXt GPIO support"
190 depends on MFD_STA2X11
191 select GENERIC_IRQ_CHIP
192 help
193 Say yes here to support the STA2x11/ConneXt GPIO device.
194 The GPIO module has 128 GPIO pins with alternate functions.
195

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

465 bool "Interrupt controller support for ADP5588"
466 depends on GPIO_ADP5588=y
467 help
468 Say yes here to enable the adp5588 to be used as an interrupt
469 controller. It requires the driver to be built in the kernel.
470
471config GPIO_ADNP
472 tristate "Avionic Design N-bit GPIO expander"
206config GPIO_STA2X11
207 bool "STA2x11/ConneXt GPIO support"
208 depends on MFD_STA2X11
209 select GENERIC_IRQ_CHIP
210 help
211 Say yes here to support the STA2x11/ConneXt GPIO device.
212 The GPIO module has 128 GPIO pins with alternate functions.
213

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

483 bool "Interrupt controller support for ADP5588"
484 depends on GPIO_ADP5588=y
485 help
486 Say yes here to enable the adp5588 to be used as an interrupt
487 controller. It requires the driver to be built in the kernel.
488
489config GPIO_ADNP
490 tristate "Avionic Design N-bit GPIO expander"
473 depends on I2C && OF_GPIO
491 depends on I2C && OF
474 help
475 This option enables support for N GPIOs found on Avionic Design
476 I2C GPIO expanders. The register space will be extended by powers
477 of two, so the controller will need to accomodate for that. For
478 example: if a controller provides 48 pins, 6 registers will be
479 enough to represent all pins, but the driver will assume a
480 register layout for 64 pins (8 registers).
481

--- 175 unchanged lines hidden ---
492 help
493 This option enables support for N GPIOs found on Avionic Design
494 I2C GPIO expanders. The register space will be extended by powers
495 of two, so the controller will need to accomodate for that. For
496 example: if a controller provides 48 pins, 6 registers will be
497 enough to represent all pins, but the driver will assume a
498 register layout for 64 pins (8 registers).
499

--- 175 unchanged lines hidden ---