Kconfig (e59a7943f2f72a1dc218447f4f285c8b67b3a98e) Kconfig (752ad5e82dfd83851e44a2b9da8761994cd7e61c)
1#
2# GPIO infrastructure and drivers
3#
4
5config ARCH_WANT_OPTIONAL_GPIOLIB
6 bool
7 help
8 Select this config option from the architecture Kconfig, if

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

58 kernel support. Those are common in custom and semicustom
59 hardware assembled using standard kernels with a minimum of
60 custom patches. In those cases, userspace code may import
61 a given GPIO from the kernel, if no kernel driver requested it.
62
63 Kernel drivers may also request that a particular GPIO be
64 exported to userspace; this can be useful when debugging.
65
1#
2# GPIO infrastructure and drivers
3#
4
5config ARCH_WANT_OPTIONAL_GPIOLIB
6 bool
7 help
8 Select this config option from the architecture Kconfig, if

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

58 kernel support. Those are common in custom and semicustom
59 hardware assembled using standard kernels with a minimum of
60 custom patches. In those cases, userspace code may import
61 a given GPIO from the kernel, if no kernel driver requested it.
62
63 Kernel drivers may also request that a particular GPIO be
64 exported to userspace; this can be useful when debugging.
65
66config GPIO_GENERIC
67 tristate
68
66# put drivers in the right section, in alphabetical order
67
69# put drivers in the right section, in alphabetical order
70
71config GPIO_DA9052
72 tristate "Dialog DA9052 GPIO"
73 depends on PMIC_DA9052
74 help
75 Say yes here to enable the GPIO driver for the DA9052 chip.
76
68config GPIO_MAX730X
69 tristate
70
71comment "Memory mapped GPIO drivers:"
72
77config GPIO_MAX730X
78 tristate
79
80comment "Memory mapped GPIO drivers:"
81
73config GPIO_BASIC_MMIO_CORE
74 tristate
82config GPIO_GENERIC_PLATFORM
83 tristate "Generic memory-mapped GPIO controller support (MMIO platform device)"
84 select GPIO_GENERIC
75 help
85 help
76 Provides core functionality for basic memory-mapped GPIO controllers.
86 Say yes here to support basic platform_device memory-mapped GPIO controllers.
77
87
78config GPIO_BASIC_MMIO
79 tristate "Basic memory-mapped GPIO controllers support"
80 select GPIO_BASIC_MMIO_CORE
81 help
82 Say yes here to support basic memory-mapped GPIO controllers.
83
84config GPIO_IT8761E
85 tristate "IT8761E GPIO support"
86 help
87 Say yes here to support GPIO functionality of IT8761E super I/O chip.
88
88config GPIO_IT8761E
89 tristate "IT8761E GPIO support"
90 help
91 Say yes here to support GPIO functionality of IT8761E super I/O chip.
92
93config GPIO_EP93XX
94 def_bool y
95 depends on ARCH_EP93XX
96 select GPIO_GENERIC
97
89config GPIO_EXYNOS4
90 def_bool y
91 depends on CPU_EXYNOS4210
92
98config GPIO_EXYNOS4
99 def_bool y
100 depends on CPU_EXYNOS4210
101
93config GPIO_MXS
102config GPIO_MPC5200
94 def_bool y
103 def_bool y
95 depends on ARCH_MXS
104 depends on PPC_MPC52xx
96
97config GPIO_MXC
98 def_bool y
99 depends on ARCH_MXC
105
106config GPIO_MXC
107 def_bool y
108 depends on ARCH_MXC
100 select GPIO_BASIC_MMIO_CORE
109 select GPIO_GENERIC
110 select GENERIC_IRQ_CHIP
101
111
112config GPIO_MXS
113 def_bool y
114 depends on ARCH_MXS
115 select GPIO_GENERIC
116 select GENERIC_IRQ_CHIP
117
102config GPIO_PLAT_SAMSUNG
103 def_bool y
104 depends on SAMSUNG_GPIOLIB_4BIT
105
106config GPIO_S5PC100
107 def_bool y
108 depends on CPU_S5PC100
109

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

141 powered by the core power rail and are turned off during sleep
142 modes (S3 and higher). The remaining four GPIOs are powered by
143 the Intel SCH suspend power supply. These GPIOs remain
144 active during S3. The suspend powered GPIOs can be used to wake the
145 system from the Suspend-to-RAM state.
146 The Intel Tunnel Creek processor has 5 GPIOs powered by the
147 core power rail and 9 from suspend power supply.
148
118config GPIO_PLAT_SAMSUNG
119 def_bool y
120 depends on SAMSUNG_GPIOLIB_4BIT
121
122config GPIO_S5PC100
123 def_bool y
124 depends on CPU_S5PC100
125

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

157 powered by the core power rail and are turned off during sleep
158 modes (S3 and higher). The remaining four GPIOs are powered by
159 the Intel SCH suspend power supply. These GPIOs remain
160 active during S3. The suspend powered GPIOs can be used to wake the
161 system from the Suspend-to-RAM state.
162 The Intel Tunnel Creek processor has 5 GPIOs powered by the
163 core power rail and 9 from suspend power supply.
164
149 This driver can also be built as a module. If so, the module
150 will be called sch-gpio.
151
152config GPIO_VX855
153 tristate "VIA VX855/VX875 GPIO"
154 depends on MFD_SUPPORT && PCI
155 select MFD_CORE
156 select MFD_VX855
157 help
158 Support access to the VX855/VX875 GPIO lines through the gpio library.
159

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

206
207 4 bits: pca9536, pca9537
208
209 8 bits: max7310, pca9534, pca9538, pca9554, pca9557,
210 tca6408
211
212 16 bits: pca9535, pca9539, pca9555, tca6416
213
165config GPIO_VX855
166 tristate "VIA VX855/VX875 GPIO"
167 depends on MFD_SUPPORT && PCI
168 select MFD_CORE
169 select MFD_VX855
170 help
171 Support access to the VX855/VX875 GPIO lines through the gpio library.
172

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

219
220 4 bits: pca9536, pca9537
221
222 8 bits: max7310, pca9534, pca9538, pca9554, pca9557,
223 tca6408
224
225 16 bits: pca9535, pca9539, pca9555, tca6416
226
214 This driver can also be built as a module. If so, the module
215 will be called pca953x.
216
217config GPIO_PCA953X_IRQ
218 bool "Interrupt controller support for PCA953x"
219 depends on GPIO_PCA953X=y
220 help
221 Say yes here to enable the pca953x to be used as an interrupt
222 controller. It requires the driver to be built in the kernel.
223
224config GPIO_PCF857X

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

300
301config GPIO_ADP5520
302 tristate "GPIO Support for ADP5520 PMIC"
303 depends on PMIC_ADP5520
304 help
305 This option enables support for on-chip GPIO found
306 on Analog Devices ADP5520 PMICs.
307
227config GPIO_PCA953X_IRQ
228 bool "Interrupt controller support for PCA953x"
229 depends on GPIO_PCA953X=y
230 help
231 Say yes here to enable the pca953x to be used as an interrupt
232 controller. It requires the driver to be built in the kernel.
233
234config GPIO_PCF857X

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

310
311config GPIO_ADP5520
312 tristate "GPIO Support for ADP5520 PMIC"
313 depends on PMIC_ADP5520
314 help
315 This option enables support for on-chip GPIO found
316 on Analog Devices ADP5520 PMICs.
317
308 To compile this driver as a module, choose M here: the module will
309 be called adp5520-gpio.
310
311config GPIO_ADP5588
312 tristate "ADP5588 I2C GPIO expander"
313 depends on I2C
314 help
315 This option enables support for 18 GPIOs found
316 on Analog Devices ADP5588 GPIO Expanders.
318config GPIO_ADP5588
319 tristate "ADP5588 I2C GPIO expander"
320 depends on I2C
321 help
322 This option enables support for 18 GPIOs found
323 on Analog Devices ADP5588 GPIO Expanders.
317 To compile this driver as a module, choose M here: the module will be
318 called adp5588-gpio.
319
320config GPIO_ADP5588_IRQ
321 bool "Interrupt controller support for ADP5588"
322 depends on GPIO_ADP5588=y
323 help
324 Say yes here to enable the adp5588 to be used as an interrupt
325 controller. It requires the driver to be built in the kernel.
326

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

402config GPIO_MAX7301
403 tristate "Maxim MAX7301 GPIO expander"
404 depends on SPI_MASTER
405 select GPIO_MAX730X
406 help
407 GPIO driver for Maxim MAX7301 SPI-based GPIO expander.
408
409config GPIO_MCP23S08
324
325config GPIO_ADP5588_IRQ
326 bool "Interrupt controller support for ADP5588"
327 depends on GPIO_ADP5588=y
328 help
329 Say yes here to enable the adp5588 to be used as an interrupt
330 controller. It requires the driver to be built in the kernel.
331

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

407config GPIO_MAX7301
408 tristate "Maxim MAX7301 GPIO expander"
409 depends on SPI_MASTER
410 select GPIO_MAX730X
411 help
412 GPIO driver for Maxim MAX7301 SPI-based GPIO expander.
413
414config GPIO_MCP23S08
410 tristate "Microchip MCP23Sxx I/O expander"
411 depends on SPI_MASTER
415 tristate "Microchip MCP23xxx I/O expander"
416 depends on SPI_MASTER || I2C
412 help
417 help
413 SPI driver for Microchip MCP23S08/MPC23S17 I/O expanders.
418 SPI/I2C driver for Microchip MCP23S08/MCP23S17/MCP23008/MCP23017
419 I/O expanders.
414 This provides a GPIO interface supporting inputs and outputs.
415
416config GPIO_MC33880
417 tristate "Freescale MC33880 high-side/low-side switch"
418 depends on SPI_MASTER
419 help
420 SPI driver for Freescale MC33880 high-side/low-side switch.
421 This provides GPIO interface supporting inputs and outputs.

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

432
433config GPIO_UCB1400
434 bool "Philips UCB1400 GPIO"
435 depends on UCB1400_CORE
436 help
437 This enables support for the Philips UCB1400 GPIO pins.
438 The UCB1400 is an AC97 audio codec.
439
420 This provides a GPIO interface supporting inputs and outputs.
421
422config GPIO_MC33880
423 tristate "Freescale MC33880 high-side/low-side switch"
424 depends on SPI_MASTER
425 help
426 SPI driver for Freescale MC33880 high-side/low-side switch.
427 This provides GPIO interface supporting inputs and outputs.

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

438
439config GPIO_UCB1400
440 bool "Philips UCB1400 GPIO"
441 depends on UCB1400_CORE
442 help
443 This enables support for the Philips UCB1400 GPIO pins.
444 The UCB1400 is an AC97 audio codec.
445
440 To compile this driver as a module, choose M here: the
441 module will be called ucb1400_gpio.
442
443comment "MODULbus GPIO expanders:"
444
445config GPIO_JANZ_TTL
446 tristate "Janz VMOD-TTL Digital IO Module"
447 depends on MFD_JANZ_CMODIO
448 help
449 This enables support for the Janz VMOD-TTL Digital IO module.
450 This driver provides support for driving the pins in output
451 mode only. Input mode is not supported.
452
446comment "MODULbus GPIO expanders:"
447
448config GPIO_JANZ_TTL
449 tristate "Janz VMOD-TTL Digital IO Module"
450 depends on MFD_JANZ_CMODIO
451 help
452 This enables support for the Janz VMOD-TTL Digital IO module.
453 This driver provides support for driving the pins in output
454 mode only. Input mode is not supported.
455
453config AB8500_GPIO
456config GPIO_AB8500
454 bool "ST-Ericsson AB8500 Mixed Signal Circuit gpio functions"
455 depends on AB8500_CORE && BROKEN
456 help
457 Select this to enable the AB8500 IC GPIO driver
458
459config GPIO_TPS65910
460 bool "TPS65910 GPIO"
461 depends on MFD_TPS65910
462 help
463 Select this option to enable GPIO driver for the TPS65910
464 chip family.
465endif
457 bool "ST-Ericsson AB8500 Mixed Signal Circuit gpio functions"
458 depends on AB8500_CORE && BROKEN
459 help
460 Select this to enable the AB8500 IC GPIO driver
461
462config GPIO_TPS65910
463 bool "TPS65910 GPIO"
464 depends on MFD_TPS65910
465 help
466 Select this option to enable GPIO driver for the TPS65910
467 chip family.
468endif