Kconfig (7e24cf43f7dcd6312473f01b59be60662232ffce) Kconfig (1e4c88420e0da3c855c17770a807cabd5b16dd7a)
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
68config GPIO_MAX730X
69 tristate
70
71comment "Memory mapped GPIO drivers:"
72
69# put drivers in the right section, in alphabetical order
70
71config GPIO_MAX730X
72 tristate
73
74comment "Memory mapped GPIO drivers:"
75
73config GPIO_BASIC_MMIO_CORE
74 tristate
76config GPIO_GENERIC_PLATFORM
77 tristate "Generic memory-mapped GPIO controller support (MMIO platform device)"
78 select GPIO_GENERIC
75 help
79 help
76 Provides core functionality for basic memory-mapped GPIO controllers.
80 Say yes here to support basic platform_device memory-mapped GPIO controllers.
77
81
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
82config GPIO_IT8761E
83 tristate "IT8761E GPIO support"
84 help
85 Say yes here to support GPIO functionality of IT8761E super I/O chip.
86
87config GPIO_EP93XX
88 def_bool y
89 depends on ARCH_EP93XX
90 select GPIO_GENERIC
91
89config GPIO_EXYNOS4
90 def_bool y
91 depends on CPU_EXYNOS4210
92
92config GPIO_EXYNOS4
93 def_bool y
94 depends on CPU_EXYNOS4210
95
96config GPIO_MXC
97 def_bool y
98 depends on ARCH_MXC
99 select GPIO_GENERIC
100 select GENERIC_IRQ_CHIP
101
102config GPIO_MXS
103 def_bool y
104 depends on ARCH_MXS
105 select GPIO_GENERIC
106 select GENERIC_IRQ_CHIP
107
93config GPIO_PLAT_SAMSUNG
94 def_bool y
95 depends on SAMSUNG_GPIOLIB_4BIT
96
97config GPIO_S5PC100
98 def_bool y
99 depends on CPU_S5PC100
100

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

132 powered by the core power rail and are turned off during sleep
133 modes (S3 and higher). The remaining four GPIOs are powered by
134 the Intel SCH suspend power supply. These GPIOs remain
135 active during S3. The suspend powered GPIOs can be used to wake the
136 system from the Suspend-to-RAM state.
137 The Intel Tunnel Creek processor has 5 GPIOs powered by the
138 core power rail and 9 from suspend power supply.
139
108config GPIO_PLAT_SAMSUNG
109 def_bool y
110 depends on SAMSUNG_GPIOLIB_4BIT
111
112config GPIO_S5PC100
113 def_bool y
114 depends on CPU_S5PC100
115

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

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

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

197
198 4 bits: pca9536, pca9537
199
200 8 bits: max7310, pca9534, pca9538, pca9554, pca9557,
201 tca6408
202
203 16 bits: pca9535, pca9539, pca9555, tca6416
204
155config GPIO_VX855
156 tristate "VIA VX855/VX875 GPIO"
157 depends on MFD_SUPPORT && PCI
158 select MFD_CORE
159 select MFD_VX855
160 help
161 Support access to the VX855/VX875 GPIO lines through the gpio library.
162

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

209
210 4 bits: pca9536, pca9537
211
212 8 bits: max7310, pca9534, pca9538, pca9554, pca9557,
213 tca6408
214
215 16 bits: pca9535, pca9539, pca9555, tca6416
216
205 This driver can also be built as a module. If so, the module
206 will be called pca953x.
207
208config GPIO_PCA953X_IRQ
209 bool "Interrupt controller support for PCA953x"
210 depends on GPIO_PCA953X=y
211 help
212 Say yes here to enable the pca953x to be used as an interrupt
213 controller. It requires the driver to be built in the kernel.
214
215config GPIO_PCF857X

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

291
292config GPIO_ADP5520
293 tristate "GPIO Support for ADP5520 PMIC"
294 depends on PMIC_ADP5520
295 help
296 This option enables support for on-chip GPIO found
297 on Analog Devices ADP5520 PMICs.
298
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
299 To compile this driver as a module, choose M here: the module will
300 be called adp5520-gpio.
301
302config GPIO_ADP5588
303 tristate "ADP5588 I2C GPIO expander"
304 depends on I2C
305 help
306 This option enables support for 18 GPIOs found
307 on Analog Devices ADP5588 GPIO Expanders.
308config GPIO_ADP5588
309 tristate "ADP5588 I2C GPIO expander"
310 depends on I2C
311 help
312 This option enables support for 18 GPIOs found
313 on Analog Devices ADP5588 GPIO Expanders.
308 To compile this driver as a module, choose M here: the module will be
309 called adp5588-gpio.
310
311config GPIO_ADP5588_IRQ
312 bool "Interrupt controller support for ADP5588"
313 depends on GPIO_ADP5588=y
314 help
315 Say yes here to enable the adp5588 to be used as an interrupt
316 controller. It requires the driver to be built in the kernel.
317

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

423
424config GPIO_UCB1400
425 bool "Philips UCB1400 GPIO"
426 depends on UCB1400_CORE
427 help
428 This enables support for the Philips UCB1400 GPIO pins.
429 The UCB1400 is an AC97 audio codec.
430
314
315config GPIO_ADP5588_IRQ
316 bool "Interrupt controller support for ADP5588"
317 depends on GPIO_ADP5588=y
318 help
319 Say yes here to enable the adp5588 to be used as an interrupt
320 controller. It requires the driver to be built in the kernel.
321

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

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