Kconfig (77f9db89c928773e5fb1df0df4d13d5cc8abd178) Kconfig (e29482e8487954c87dc7b4fdbc53574bf1d4cce2)
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

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

44 If unsure, say N.
45
46if GPIOLIB
47
48config OF_GPIO
49 def_bool y
50 depends on OF
51
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

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

44 If unsure, say N.
45
46if GPIOLIB
47
48config OF_GPIO
49 def_bool y
50 depends on OF
51
52config GPIO_ACPI
53 def_bool y
54 depends on ACPI
55
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

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

147 depends on GPIOLIB && ARCH_MSM
148 help
149 Say yes here to support the GPIO interface on ARM v7 based
150 Qualcomm MSM chips. Most of the pins on the MSM can be
151 selected for GPIO, and are controlled by this driver.
152
153config GPIO_MVEBU
154 def_bool y
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

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

151 depends on GPIOLIB && ARCH_MSM
152 help
153 Say yes here to support the GPIO interface on ARM v7 based
154 Qualcomm MSM chips. Most of the pins on the MSM can be
155 selected for GPIO, and are controlled by this driver.
156
157config GPIO_MVEBU
158 def_bool y
155 depends on PLAT_ORION
159 depends on ARCH_MVEBU
156 select GPIO_GENERIC
157 select GENERIC_IRQ_CHIP
158
159config GPIO_MXC
160 def_bool y
161 depends on ARCH_MXC
162 select GPIO_GENERIC
163 select GENERIC_IRQ_CHIP

--- 297 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"
160 select GPIO_GENERIC
161 select GENERIC_IRQ_CHIP
162
163config GPIO_MXC
164 def_bool y
165 depends on ARCH_MXC
166 select GPIO_GENERIC
167 select GENERIC_IRQ_CHIP

--- 297 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"
469 depends on I2C && OF_GPIO
473 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 ---
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 ---