aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r--drivers/gpio/Kconfig130
1 files changed, 111 insertions, 19 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 510aa2054544..2967002a9f82 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -1,5 +1,5 @@
1# 1#
2# platform-neutral GPIO infrastructure and expanders 2# GPIO infrastructure and drivers
3# 3#
4 4
5config ARCH_WANT_OPTIONAL_GPIOLIB 5config ARCH_WANT_OPTIONAL_GPIOLIB
@@ -31,7 +31,7 @@ menuconfig GPIOLIB
31 help 31 help
32 This enables GPIO support through the generic GPIO library. 32 This enables GPIO support through the generic GPIO library.
33 You only need to enable this, if you also want to enable 33 You only need to enable this, if you also want to enable
34 one or more of the GPIO expansion card drivers below. 34 one or more of the GPIO drivers below.
35 35
36 If unsure, say N. 36 If unsure, say N.
37 37
@@ -63,19 +63,45 @@ config GPIO_SYSFS
63 Kernel drivers may also request that a particular GPIO be 63 Kernel drivers may also request that a particular GPIO be
64 exported to userspace; this can be useful when debugging. 64 exported to userspace; this can be useful when debugging.
65 65
66# put expanders in the right section, in alphabetical order 66# put drivers in the right section, in alphabetical order
67 67
68config GPIO_MAX730X 68config GPIO_MAX730X
69 tristate 69 tristate
70 70
71comment "Memory mapped GPIO expanders:" 71comment "Memory mapped GPIO drivers:"
72
73config GPIO_BASIC_MMIO_CORE
74 tristate
75 help
76 Provides core functionality for basic memory-mapped GPIO controllers.
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.
72 83
73config GPIO_IT8761E 84config GPIO_IT8761E
74 tristate "IT8761E GPIO support" 85 tristate "IT8761E GPIO support"
75 depends on GPIOLIB
76 help 86 help
77 Say yes here to support GPIO functionality of IT8761E super I/O chip. 87 Say yes here to support GPIO functionality of IT8761E super I/O chip.
78 88
89config GPIO_EXYNOS4
90 def_bool y
91 depends on CPU_EXYNOS4210
92
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
101config GPIO_S5PV210
102 def_bool y
103 depends on CPU_S5PV210
104
79config GPIO_PL061 105config GPIO_PL061
80 bool "PrimeCell PL061 GPIO support" 106 bool "PrimeCell PL061 GPIO support"
81 depends on ARM_AMBA 107 depends on ARM_AMBA
@@ -95,22 +121,37 @@ config GPIO_VR41XX
95 Say yes here to support the NEC VR4100 series General-purpose I/O Uint 121 Say yes here to support the NEC VR4100 series General-purpose I/O Uint
96 122
97config GPIO_SCH 123config GPIO_SCH
98 tristate "Intel SCH GPIO" 124 tristate "Intel SCH/TunnelCreek GPIO"
99 depends on GPIOLIB && PCI 125 depends on PCI && X86
100 select MFD_CORE 126 select MFD_CORE
101 select LPC_SCH 127 select LPC_SCH
102 help 128 help
103 Say yes here to support GPIO interface on Intel Poulsbo SCH. 129 Say yes here to support GPIO interface on Intel Poulsbo SCH
130 or Intel Tunnel Creek processor.
104 The Intel SCH contains a total of 14 GPIO pins. Ten GPIOs are 131 The Intel SCH contains a total of 14 GPIO pins. Ten GPIOs are
105 powered by the core power rail and are turned off during sleep 132 powered by the core power rail and are turned off during sleep
106 modes (S3 and higher). The remaining four GPIOs are powered by 133 modes (S3 and higher). The remaining four GPIOs are powered by
107 the Intel SCH suspend power supply. These GPIOs remain 134 the Intel SCH suspend power supply. These GPIOs remain
108 active during S3. The suspend powered GPIOs can be used to wake the 135 active during S3. The suspend powered GPIOs can be used to wake the
109 system from the Suspend-to-RAM state. 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.
110 139
111 This driver can also be built as a module. If so, the module 140 This driver can also be built as a module. If so, the module
112 will be called sch-gpio. 141 will be called sch-gpio.
113 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
151 This driver provides common support for accessing the device,
152 additional drivers must be enabled in order to use the
153 functionality of the device.
154
114comment "I2C GPIO expanders:" 155comment "I2C GPIO expanders:"
115 156
116config GPIO_MAX7300 157config GPIO_MAX7300
@@ -213,11 +254,11 @@ config GPIO_STMPE
213 This enables support for the GPIOs found on the STMPE I/O 254 This enables support for the GPIOs found on the STMPE I/O
214 Expanders. 255 Expanders.
215 256
216config GPIO_TC35892 257config GPIO_TC3589X
217 bool "TC35892 GPIOs" 258 bool "TC3589X GPIOs"
218 depends on MFD_TC35892 259 depends on MFD_TC3589X
219 help 260 help
220 This enables support for the GPIOs found on the TC35892 261 This enables support for the GPIOs found on the TC3589X
221 I/O Expander. 262 I/O Expander.
222 263
223config GPIO_TWL4030 264config GPIO_TWL4030
@@ -267,11 +308,18 @@ config GPIO_ADP5588
267 To compile this driver as a module, choose M here: the module will be 308 To compile this driver as a module, choose M here: the module will be
268 called adp5588-gpio. 309 called adp5588-gpio.
269 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
270comment "PCI GPIO expanders:" 318comment "PCI GPIO expanders:"
271 319
272config GPIO_CS5535 320config GPIO_CS5535
273 tristate "AMD CS5535/CS5536 GPIO support" 321 tristate "AMD CS5535/CS5536 GPIO support"
274 depends on PCI && !CS5535_GPIO 322 depends on PCI && X86 && !CS5535_GPIO && MFD_CS5535
275 help 323 help
276 The AMD CS5535 and CS5536 southbridges support 28 GPIO pins that 324 The AMD CS5535 and CS5536 southbridges support 28 GPIO pins that
277 can be used for quite a number of things. The CS5535/6 is found on 325 can be used for quite a number of things. The CS5535/6 is found on
@@ -297,19 +345,43 @@ config GPIO_BT8XX
297 345
298config GPIO_LANGWELL 346config GPIO_LANGWELL
299 bool "Intel Langwell/Penwell GPIO support" 347 bool "Intel Langwell/Penwell GPIO support"
300 depends on PCI 348 depends on PCI && X86
301 help 349 help
302 Say Y here to support Intel Langwell/Penwell GPIO. 350 Say Y here to support Intel Langwell/Penwell GPIO.
303 351
352config GPIO_PCH
353 tristate "Intel EG20T PCH / OKI SEMICONDUCTOR ML7223 IOH GPIO"
354 depends on PCI && X86
355 help
356 This driver is for PCH(Platform controller Hub) GPIO of Intel Topcliff
357 which is an IOH(Input/Output Hub) for x86 embedded processor.
358 This driver can access PCH GPIO device.
359
360 This driver also can be used for OKI SEMICONDUCTOR IOH(Input/
361 Output Hub), ML7223.
362 ML7223 IOH is for MP(Media Phone) use.
363 ML7223 is companion chip for Intel Atom E6xx series.
364 ML7223 is completely compatible for Intel EG20T PCH.
365
366config GPIO_ML_IOH
367 tristate "OKI SEMICONDUCTOR ML7213 IOH GPIO support"
368 depends on PCI
369 help
370 ML7213 is companion chip for Intel Atom E6xx series.
371 This driver can be used for OKI SEMICONDUCTOR ML7213 IOH(Input/Output
372 Hub) which is for IVI(In-Vehicle Infotainment) use.
373 This driver can access the IOH's GPIO device.
374
304config GPIO_TIMBERDALE 375config GPIO_TIMBERDALE
305 bool "Support for timberdale GPIO IP" 376 bool "Support for timberdale GPIO IP"
306 depends on MFD_TIMBERDALE && GPIOLIB && HAS_IOMEM 377 depends on MFD_TIMBERDALE && HAS_IOMEM
307 ---help--- 378 ---help---
308 Add support for the GPIO IP in the timberdale FPGA. 379 Add support for the GPIO IP in the timberdale FPGA.
309 380
310config GPIO_RDC321X 381config GPIO_RDC321X
311 tristate "RDC R-321x GPIO support" 382 tristate "RDC R-321x GPIO support"
312 depends on PCI && GPIOLIB 383 depends on PCI
384 select MFD_SUPPORT
313 select MFD_CORE 385 select MFD_CORE
314 select MFD_RDC321X 386 select MFD_RDC321X
315 help 387 help
@@ -326,11 +398,11 @@ config GPIO_MAX7301
326 GPIO driver for Maxim MAX7301 SPI-based GPIO expander. 398 GPIO driver for Maxim MAX7301 SPI-based GPIO expander.
327 399
328config GPIO_MCP23S08 400config GPIO_MCP23S08
329 tristate "Microchip MCP23S08 I/O expander" 401 tristate "Microchip MCP23Sxx I/O expander"
330 depends on SPI_MASTER 402 depends on SPI_MASTER
331 help 403 help
332 SPI driver for Microchip MCP23S08 I/O expander. This provides 404 SPI driver for Microchip MCP23S08/MPC23S17 I/O expanders.
333 a GPIO interface supporting inputs and outputs. 405 This provides a GPIO interface supporting inputs and outputs.
334 406
335config GPIO_MC33880 407config GPIO_MC33880
336 tristate "Freescale MC33880 high-side/low-side switch" 408 tristate "Freescale MC33880 high-side/low-side switch"
@@ -339,6 +411,14 @@ config GPIO_MC33880
339 SPI driver for Freescale MC33880 high-side/low-side switch. 411 SPI driver for Freescale MC33880 high-side/low-side switch.
340 This provides GPIO interface supporting inputs and outputs. 412 This provides GPIO interface supporting inputs and outputs.
341 413
414config GPIO_74X164
415 tristate "74x164 serial-in/parallel-out 8-bits shift register"
416 depends on SPI_MASTER
417 help
418 Platform driver for 74x164 compatible serial-in/parallel-out
419 8-outputs shift registers. This driver can be used to provide access
420 to more gpio outputs.
421
342comment "AC97 GPIO expanders:" 422comment "AC97 GPIO expanders:"
343 423
344config GPIO_UCB1400 424config GPIO_UCB1400
@@ -361,4 +441,16 @@ config GPIO_JANZ_TTL
361 This driver provides support for driving the pins in output 441 This driver provides support for driving the pins in output
362 mode only. Input mode is not supported. 442 mode only. Input mode is not supported.
363 443
444config AB8500_GPIO
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.
364endif 456endif