Kconfig (a07e103ef08c6907d695a06467d7ee950796fccf) | Kconfig (e9fe32bcadb8a7a40411d77f168abd45941b049b) |
---|---|
1# 2# GPIO infrastructure and drivers 3# 4 | 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 9 the architecture to provide a custom asm/gpio.h implementation 10 overriding the default implementations. New uses of this are 11 strongly discouraged. 12 |
|
5config ARCH_WANT_OPTIONAL_GPIOLIB 6 bool 7 help 8 Select this config option from the architecture Kconfig, if 9 it is possible to use gpiolib on the architecture, but let the 10 user decide whether to actually build it or not. 11 Select this instead of ARCH_REQUIRE_GPIOLIB, if your architecture does 12 not depend on GPIOs being available, but rather let the user --- 19 unchanged lines hidden (view full) --- 32 This enables GPIO support through the generic GPIO library. 33 You only need to enable this, if you also want to enable 34 one or more of the GPIO drivers below. 35 36 If unsure, say N. 37 38if GPIOLIB 39 | 13config ARCH_WANT_OPTIONAL_GPIOLIB 14 bool 15 help 16 Select this config option from the architecture Kconfig, if 17 it is possible to use gpiolib on the architecture, but let the 18 user decide whether to actually build it or not. 19 Select this instead of ARCH_REQUIRE_GPIOLIB, if your architecture does 20 not depend on GPIOs being available, but rather let the user --- 19 unchanged lines hidden (view full) --- 40 This enables GPIO support through the generic GPIO library. 41 You only need to enable this, if you also want to enable 42 one or more of the GPIO drivers below. 43 44 If unsure, say N. 45 46if GPIOLIB 47 |
48config OF_GPIO 49 def_bool y 50 depends on OF && !SPARC 51 |
|
40config DEBUG_GPIO 41 bool "Debug GPIO calls" 42 depends on DEBUG_KERNEL 43 help 44 Say Y here to add some extra checks and diagnostics to GPIO calls. 45 These checks help ensure that GPIOs have been properly initialized 46 before they are used, and that sleeping calls are not made from 47 non-sleeping contexts. They can make bitbanged serial protocols --- 38 unchanged lines hidden (view full) --- 86 Say yes here to support basic platform_device memory-mapped GPIO controllers. 87 88config GPIO_IT8761E 89 tristate "IT8761E GPIO support" 90 depends on X86 # unconditional access to IO space. 91 help 92 Say yes here to support GPIO functionality of IT8761E super I/O chip. 93 | 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 --- 38 unchanged lines hidden (view full) --- 98 Say yes here to support basic platform_device memory-mapped GPIO controllers. 99 100config GPIO_IT8761E 101 tristate "IT8761E GPIO support" 102 depends on X86 # unconditional access to IO space. 103 help 104 Say yes here to support GPIO functionality of IT8761E super I/O chip. 105 |
94config GPIO_EM 95 tristate "Emma Mobile GPIO" 96 depends on ARM 97 help 98 Say yes here to support GPIO on Renesas Emma Mobile SoCs. 99 | |
100config GPIO_EP93XX 101 def_bool y 102 depends on ARCH_EP93XX 103 select GPIO_GENERIC 104 105config GPIO_MPC5200 106 def_bool y 107 depends on PPC_MPC52xx --- 136 unchanged lines hidden (view full) --- 244 245config GPIO_MC9S08DZ60 246 bool "MX35 3DS BOARD MC9S08DZ60 GPIO functions" 247 depends on I2C && MACH_MX35_3DS 248 help 249 Select this to enable the MC9S08DZ60 GPIO driver 250 251config GPIO_PCA953X | 106config GPIO_EP93XX 107 def_bool y 108 depends on ARCH_EP93XX 109 select GPIO_GENERIC 110 111config GPIO_MPC5200 112 def_bool y 113 depends on PPC_MPC52xx --- 136 unchanged lines hidden (view full) --- 250 251config GPIO_MC9S08DZ60 252 bool "MX35 3DS BOARD MC9S08DZ60 GPIO functions" 253 depends on I2C && MACH_MX35_3DS 254 help 255 Select this to enable the MC9S08DZ60 GPIO driver 256 257config GPIO_PCA953X |
252 tristate "PCA953x, PCA955x, TCA64xx, and MAX7310 I/O ports" | 258 tristate "PCA953x, PCA955x, PCA957x, TCA64xx, and MAX7310 I/O ports" |
253 depends on I2C 254 help 255 Say yes here to provide access to several register-oriented 256 SMBus I/O expanders, made mostly by NXP or TI. Compatible 257 models include: 258 259 4 bits: pca9536, pca9537 260 | 259 depends on I2C 260 help 261 Say yes here to provide access to several register-oriented 262 SMBus I/O expanders, made mostly by NXP or TI. Compatible 263 models include: 264 265 4 bits: pca9536, pca9537 266 |
261 8 bits: max7310, pca9534, pca9538, pca9554, pca9557, 262 tca6408 | 267 8 bits: max7310, max7315, pca6107, pca9534, pca9538, pca9554, 268 pca9556, pca9557, pca9574, tca6408 |
263 | 269 |
264 16 bits: pca9535, pca9539, pca9555, tca6416 | 270 16 bits: max7312, max7313, pca9535, pca9539, pca9555, pca9575, 271 tca6416 |
265 266config GPIO_PCA953X_IRQ 267 bool "Interrupt controller support for PCA953x" 268 depends on GPIO_PCA953X=y 269 help 270 Say yes here to enable the pca953x to be used as an interrupt 271 controller. It requires the driver to be built in the kernel. 272 --- 16 unchanged lines hidden (view full) --- 289 Your board setup code will need to declare the expanders in 290 use, and assign numbers to the GPIOs they expose. Those GPIOs 291 can then be used from drivers and other kernel code, just like 292 other GPIOs, but only accessible from task contexts. 293 294 This driver provides an in-kernel interface to those GPIOs using 295 platform-neutral GPIO calls. 296 | 272 273config GPIO_PCA953X_IRQ 274 bool "Interrupt controller support for PCA953x" 275 depends on GPIO_PCA953X=y 276 help 277 Say yes here to enable the pca953x to be used as an interrupt 278 controller. It requires the driver to be built in the kernel. 279 --- 16 unchanged lines hidden (view full) --- 296 Your board setup code will need to declare the expanders in 297 use, and assign numbers to the GPIOs they expose. Those GPIOs 298 can then be used from drivers and other kernel code, just like 299 other GPIOs, but only accessible from task contexts. 300 301 This driver provides an in-kernel interface to those GPIOs using 302 platform-neutral GPIO calls. 303 |
304config GPIO_RC5T583 305 bool "RICOH RC5T583 GPIO" 306 depends on MFD_RC5T583 307 help 308 Select this option to enable GPIO driver for the Ricoh RC5T583 309 chip family. 310 This driver provides the support for driving/reading the gpio pins 311 of RC5T583 device through standard gpio library. 312 |
|
297config GPIO_SX150X 298 bool "Semtech SX150x I2C GPIO expander" 299 depends on I2C=y 300 default n 301 help 302 Say yes here to provide support for Semtech SX150-series I2C 303 GPIO expanders. Compatible models include: 304 --- 95 unchanged lines hidden (view full) --- 400 from a BT8xx TV card, see the documentation file at 401 Documentation/bt8xxgpio.txt 402 403 If unsure, say N. 404 405config GPIO_LANGWELL 406 bool "Intel Langwell/Penwell GPIO support" 407 depends on PCI && X86 | 313config GPIO_SX150X 314 bool "Semtech SX150x I2C GPIO expander" 315 depends on I2C=y 316 default n 317 help 318 Say yes here to provide support for Semtech SX150-series I2C 319 GPIO expanders. Compatible models include: 320 --- 95 unchanged lines hidden (view full) --- 416 from a BT8xx TV card, see the documentation file at 417 Documentation/bt8xxgpio.txt 418 419 If unsure, say N. 420 421config GPIO_LANGWELL 422 bool "Intel Langwell/Penwell GPIO support" 423 depends on PCI && X86 |
424 select IRQ_DOMAIN |
|
408 help 409 Say Y here to support Intel Langwell/Penwell GPIO. 410 411config GPIO_PCH 412 tristate "Intel EG20T PCH/LAPIS Semiconductor IOH(ML7223/ML7831) GPIO" 413 depends on PCI && X86 414 select GENERIC_IRQ_CHIP 415 help --- 99 unchanged lines hidden (view full) --- 515 Select this to enable the AB8500 IC GPIO driver 516 517config GPIO_TPS65910 518 bool "TPS65910 GPIO" 519 depends on MFD_TPS65910 520 help 521 Select this option to enable GPIO driver for the TPS65910 522 chip family. | 425 help 426 Say Y here to support Intel Langwell/Penwell GPIO. 427 428config GPIO_PCH 429 tristate "Intel EG20T PCH/LAPIS Semiconductor IOH(ML7223/ML7831) GPIO" 430 depends on PCI && X86 431 select GENERIC_IRQ_CHIP 432 help --- 99 unchanged lines hidden (view full) --- 532 Select this to enable the AB8500 IC GPIO driver 533 534config GPIO_TPS65910 535 bool "TPS65910 GPIO" 536 depends on MFD_TPS65910 537 help 538 Select this option to enable GPIO driver for the TPS65910 539 chip family. |
540 541config GPIO_MSIC 542 bool "Intel MSIC mixed signal gpio support" 543 depends on MFD_INTEL_MSIC 544 help 545 Enable support for GPIO on intel MSIC controllers found in 546 intel MID devices 547 |
|
523endif | 548endif |