Kconfig (cb144fe8e0e70ccb12e93c9c9f010a25b3f2a158) Kconfig (b53bc2819a71099ecfc3d61ba0796b3dcc6be321)
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
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

--- 22 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
51
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

--- 22 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
89config GPIO_MAX730X
90 tristate
91
92comment "Memory mapped GPIO drivers:"
93
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
94config GPIO_GENERIC_PLATFORM
95 tristate "Generic memory-mapped GPIO controller support (MMIO platform device)"
96 select GPIO_GENERIC
97 help
98 Say yes here to support basic platform_device memory-mapped GPIO controllers.
99
100config GPIO_IT8761E
101 tristate "IT8761E GPIO support"

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

176 Say yes here to support the PrimeCell PL061 GPIO device
177
178config GPIO_PXA
179 bool "PXA GPIO support"
180 depends on ARCH_PXA || ARCH_MMP
181 help
182 Say yes here to support the PXA GPIO device
183
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"

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

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
184config GPIO_STA2X11
185 bool "STA2x11/ConneXt GPIO support"
186 depends on MFD_STA2X11
187 select GENERIC_IRQ_CHIP
188 help
189 Say yes here to support the STA2x11/ConneXt GPIO device.
190 The GPIO module has 128 GPIO pins with alternate functions.
191

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

461 bool "Interrupt controller support for ADP5588"
462 depends on GPIO_ADP5588=y
463 help
464 Say yes here to enable the adp5588 to be used as an interrupt
465 controller. It requires the driver to be built in the kernel.
466
467config GPIO_ADNP
468 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"
469 depends on I2C && OF_GPIO
491 depends on I2C && OF
470 help
471 This option enables support for N GPIOs found on Avionic Design
472 I2C GPIO expanders. The register space will be extended by powers
473 of two, so the controller will need to accomodate for that. For
474 example: if a controller provides 48 pins, 6 registers will be
475 enough to represent all pins, but the driver will assume a
476 register layout for 64 pins (8 registers).
477

--- 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 ---