Kconfig (3da3f872aa175f59e20766ed30aaea67fd4fa7d1) Kconfig (74d10d7461693ad001f81f0a380b44d526d3f1de)
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
69# put drivers in the right section, in alphabetical order
70
66# put drivers in the right section, in alphabetical order
67
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
77config GPIO_MAX730X
78 tristate
79
80comment "Memory mapped GPIO drivers:"
81
68config GPIO_MAX730X
69 tristate
70
71comment "Memory mapped GPIO drivers:"
72
82config GPIO_GENERIC_PLATFORM
83 tristate "Generic memory-mapped GPIO controller support (MMIO platform device)"
84 select GPIO_GENERIC
73config GPIO_BASIC_MMIO_CORE
74 tristate
85 help
75 help
86 Say yes here to support basic platform_device memory-mapped GPIO controllers.
76 Provides core functionality for basic memory-mapped GPIO controllers.
87
77
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
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
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
93config GPIO_EP93XX
94 def_bool y
95 depends on ARCH_EP93XX
96 select GPIO_GENERIC
97
98config GPIO_EXYNOS4
99 def_bool y
100 depends on CPU_EXYNOS4210
101
89config GPIO_EXYNOS4
90 def_bool y
91 depends on CPU_EXYNOS4210
92
102config GPIO_MPC5200
103 def_bool y
104 depends on PPC_MPC52xx
93config GPIO_MSM_V1
94 tristate "Qualcomm MSM GPIO v1"
95 depends on GPIOLIB && ARCH_MSM
96 help
97 Say yes here to support the GPIO interface on ARM v6 based
98 Qualcomm MSM chips. Most of the pins on the MSM can be
99 selected for GPIO, and are controlled by this driver.
105
100
106config GPIO_MXC
107 def_bool y
108 depends on ARCH_MXC
109 select GPIO_GENERIC
110 select GENERIC_IRQ_CHIP
111
112config GPIO_MXS
113 def_bool y
114 depends on ARCH_MXS
115 select GPIO_GENERIC
116 select GENERIC_IRQ_CHIP
117
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
101config GPIO_PLAT_SAMSUNG
102 def_bool y
103 depends on SAMSUNG_GPIOLIB_4BIT
104
105config GPIO_S5PC100
106 def_bool y
107 depends on CPU_S5PC100
108

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

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

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

205
206 4 bits: pca9536, pca9537
207
208 8 bits: max7310, pca9534, pca9538, pca9554, pca9557,
209 tca6408
210
211 16 bits: pca9535, pca9539, pca9555, tca6416
212
213 This driver can also be built as a module. If so, the module
214 will be called pca953x.
215
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

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

275
276config GPIO_TC3589X
277 bool "TC3589X GPIOs"
278 depends on MFD_TC3589X
279 help
280 This enables support for the GPIOs found on the TC3589X
281 I/O Expander.
282
216config GPIO_PCA953X_IRQ
217 bool "Interrupt controller support for PCA953x"
218 depends on GPIO_PCA953X=y
219 help
220 Say yes here to enable the pca953x to be used as an interrupt
221 controller. It requires the driver to be built in the kernel.
222
223config GPIO_PCF857X

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

264
265config GPIO_TC3589X
266 bool "TC3589X GPIOs"
267 depends on MFD_TC3589X
268 help
269 This enables support for the GPIOs found on the TC3589X
270 I/O Expander.
271
283config GPIO_TPS65912
284 tristate "TI TPS65912 GPIO"
285 depends on (MFD_TPS65912_I2C || MFD_TPS65912_SPI)
286 help
287 This driver supports TPS65912 gpio chip
288
289config GPIO_TWL4030
290 tristate "TWL4030, TWL5030, and TPS659x0 GPIOs"
291 depends on TWL4030_CORE
292 help
293 Say yes here to access the GPIO signals of various multi-function
294 power management chips from Texas Instruments.
295
296config GPIO_WM831X

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

316
317config GPIO_ADP5520
318 tristate "GPIO Support for ADP5520 PMIC"
319 depends on PMIC_ADP5520
320 help
321 This option enables support for on-chip GPIO found
322 on Analog Devices ADP5520 PMICs.
323
272config GPIO_TWL4030
273 tristate "TWL4030, TWL5030, and TPS659x0 GPIOs"
274 depends on TWL4030_CORE
275 help
276 Say yes here to access the GPIO signals of various multi-function
277 power management chips from Texas Instruments.
278
279config GPIO_WM831X

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

299
300config GPIO_ADP5520
301 tristate "GPIO Support for ADP5520 PMIC"
302 depends on PMIC_ADP5520
303 help
304 This option enables support for on-chip GPIO found
305 on Analog Devices ADP5520 PMICs.
306
307 To compile this driver as a module, choose M here: the module will
308 be called adp5520-gpio.
309
324config GPIO_ADP5588
325 tristate "ADP5588 I2C GPIO expander"
326 depends on I2C
327 help
328 This option enables support for 18 GPIOs found
329 on Analog Devices ADP5588 GPIO Expanders.
310config GPIO_ADP5588
311 tristate "ADP5588 I2C GPIO expander"
312 depends on I2C
313 help
314 This option enables support for 18 GPIOs found
315 on Analog Devices ADP5588 GPIO Expanders.
316 To compile this driver as a module, choose M here: the module will be
317 called adp5588-gpio.
330
331config GPIO_ADP5588_IRQ
332 bool "Interrupt controller support for ADP5588"
333 depends on GPIO_ADP5588=y
334 help
335 Say yes here to enable the adp5588 to be used as an interrupt
336 controller. It requires the driver to be built in the kernel.
337

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

413config GPIO_MAX7301
414 tristate "Maxim MAX7301 GPIO expander"
415 depends on SPI_MASTER
416 select GPIO_MAX730X
417 help
418 GPIO driver for Maxim MAX7301 SPI-based GPIO expander.
419
420config GPIO_MCP23S08
318
319config GPIO_ADP5588_IRQ
320 bool "Interrupt controller support for ADP5588"
321 depends on GPIO_ADP5588=y
322 help
323 Say yes here to enable the adp5588 to be used as an interrupt
324 controller. It requires the driver to be built in the kernel.
325

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

401config GPIO_MAX7301
402 tristate "Maxim MAX7301 GPIO expander"
403 depends on SPI_MASTER
404 select GPIO_MAX730X
405 help
406 GPIO driver for Maxim MAX7301 SPI-based GPIO expander.
407
408config GPIO_MCP23S08
421 tristate "Microchip MCP23xxx I/O expander"
422 depends on SPI_MASTER || I2C
409 tristate "Microchip MCP23Sxx I/O expander"
410 depends on SPI_MASTER
423 help
411 help
424 SPI/I2C driver for Microchip MCP23S08/MCP23S17/MCP23008/MCP23017
425 I/O expanders.
412 SPI driver for Microchip MCP23S08/MPC23S17 I/O expanders.
426 This provides a GPIO interface supporting inputs and outputs.
427
428config GPIO_MC33880
429 tristate "Freescale MC33880 high-side/low-side switch"
430 depends on SPI_MASTER
431 help
432 SPI driver for Freescale MC33880 high-side/low-side switch.
433 This provides GPIO interface supporting inputs and outputs.

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

444
445config GPIO_UCB1400
446 bool "Philips UCB1400 GPIO"
447 depends on UCB1400_CORE
448 help
449 This enables support for the Philips UCB1400 GPIO pins.
450 The UCB1400 is an AC97 audio codec.
451
413 This provides a GPIO interface supporting inputs and outputs.
414
415config GPIO_MC33880
416 tristate "Freescale MC33880 high-side/low-side switch"
417 depends on SPI_MASTER
418 help
419 SPI driver for Freescale MC33880 high-side/low-side switch.
420 This provides GPIO interface supporting inputs and outputs.

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

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