diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2011-06-04 20:38:28 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-06-06 12:10:11 -0400 |
commit | c103de240439dfee24ac50eb99c8be3a30d13323 (patch) | |
tree | 014eeda779510d7d3dfabd1183ce7f1a288d367b /drivers/gpio/Kconfig | |
parent | 8c31b1635b91e48f867e010cd7bcd06393e5858a (diff) |
gpio: reorganize drivers
Sort the gpio makefile and enforce the naming convention gpio-*.c for
gpio drivers.
v2: cleaned up filenames in Kconfig and comment blocks
v3: fixup use of BASIC_MMIO to GENERIC_GPIO for mxc
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/gpio/Kconfig')
-rw-r--r-- | drivers/gpio/Kconfig | 42 |
1 files changed, 13 insertions, 29 deletions
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index f8b6e7d27e4c..89a6a34cc515 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig | |||
@@ -63,6 +63,9 @@ 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 | config GPIO_GENERIC | ||
67 | tristate | ||
68 | |||
66 | # put drivers in the right section, in alphabetical order | 69 | # put drivers in the right section, in alphabetical order |
67 | 70 | ||
68 | config GPIO_MAX730X | 71 | config GPIO_MAX730X |
@@ -70,16 +73,11 @@ config GPIO_MAX730X | |||
70 | 73 | ||
71 | comment "Memory mapped GPIO drivers:" | 74 | comment "Memory mapped GPIO drivers:" |
72 | 75 | ||
73 | config GPIO_BASIC_MMIO_CORE | 76 | config GPIO_GENERIC_PLATFORM |
74 | tristate | 77 | tristate "Generic memory-mapped GPIO controller support (MMIO platform device)" |
75 | help | 78 | select GPIO_GENERIC |
76 | Provides core functionality for basic memory-mapped GPIO controllers. | ||
77 | |||
78 | config GPIO_BASIC_MMIO | ||
79 | tristate "Basic memory-mapped GPIO controllers support" | ||
80 | select GPIO_BASIC_MMIO_CORE | ||
81 | help | 79 | help |
82 | Say yes here to support basic memory-mapped GPIO controllers. | 80 | Say yes here to support basic platform_device memory-mapped GPIO controllers. |
83 | 81 | ||
84 | config GPIO_IT8761E | 82 | config GPIO_IT8761E |
85 | tristate "IT8761E GPIO support" | 83 | tristate "IT8761E GPIO support" |
@@ -94,14 +92,14 @@ config GPIO_EXYNOS4 | |||
94 | def_bool y | 92 | def_bool y |
95 | depends on CPU_EXYNOS4210 | 93 | depends on CPU_EXYNOS4210 |
96 | 94 | ||
97 | config GPIO_MXS | ||
98 | def_bool y | ||
99 | depends on ARCH_MXS | ||
100 | |||
101 | config GPIO_MXC | 95 | config GPIO_MXC |
102 | def_bool y | 96 | def_bool y |
103 | depends on ARCH_MXC | 97 | depends on ARCH_MXC |
104 | select GPIO_BASIC_MMIO_CORE | 98 | select GPIO_GENERIC |
99 | |||
100 | config GPIO_MXS | ||
101 | def_bool y | ||
102 | depends on ARCH_MXS | ||
105 | 103 | ||
106 | config GPIO_PLAT_SAMSUNG | 104 | config GPIO_PLAT_SAMSUNG |
107 | def_bool y | 105 | def_bool y |
@@ -150,9 +148,6 @@ config GPIO_SCH | |||
150 | The Intel Tunnel Creek processor has 5 GPIOs powered by the | 148 | The Intel Tunnel Creek processor has 5 GPIOs powered by the |
151 | core power rail and 9 from suspend power supply. | 149 | core power rail and 9 from suspend power supply. |
152 | 150 | ||
153 | This driver can also be built as a module. If so, the module | ||
154 | will be called sch-gpio. | ||
155 | |||
156 | config GPIO_VX855 | 151 | config GPIO_VX855 |
157 | tristate "VIA VX855/VX875 GPIO" | 152 | tristate "VIA VX855/VX875 GPIO" |
158 | depends on MFD_SUPPORT && PCI | 153 | depends on MFD_SUPPORT && PCI |
@@ -215,9 +210,6 @@ config GPIO_PCA953X | |||
215 | 210 | ||
216 | 16 bits: pca9535, pca9539, pca9555, tca6416 | 211 | 16 bits: pca9535, pca9539, pca9555, tca6416 |
217 | 212 | ||
218 | This driver can also be built as a module. If so, the module | ||
219 | will be called pca953x. | ||
220 | |||
221 | config GPIO_PCA953X_IRQ | 213 | config GPIO_PCA953X_IRQ |
222 | bool "Interrupt controller support for PCA953x" | 214 | bool "Interrupt controller support for PCA953x" |
223 | depends on GPIO_PCA953X=y | 215 | depends on GPIO_PCA953X=y |
@@ -309,17 +301,12 @@ config GPIO_ADP5520 | |||
309 | This option enables support for on-chip GPIO found | 301 | This option enables support for on-chip GPIO found |
310 | on Analog Devices ADP5520 PMICs. | 302 | on Analog Devices ADP5520 PMICs. |
311 | 303 | ||
312 | To compile this driver as a module, choose M here: the module will | ||
313 | be called adp5520-gpio. | ||
314 | |||
315 | config GPIO_ADP5588 | 304 | config GPIO_ADP5588 |
316 | tristate "ADP5588 I2C GPIO expander" | 305 | tristate "ADP5588 I2C GPIO expander" |
317 | depends on I2C | 306 | depends on I2C |
318 | help | 307 | help |
319 | This option enables support for 18 GPIOs found | 308 | This option enables support for 18 GPIOs found |
320 | on Analog Devices ADP5588 GPIO Expanders. | 309 | on Analog Devices ADP5588 GPIO Expanders. |
321 | To compile this driver as a module, choose M here: the module will be | ||
322 | called adp5588-gpio. | ||
323 | 310 | ||
324 | config GPIO_ADP5588_IRQ | 311 | config GPIO_ADP5588_IRQ |
325 | bool "Interrupt controller support for ADP5588" | 312 | bool "Interrupt controller support for ADP5588" |
@@ -441,9 +428,6 @@ config GPIO_UCB1400 | |||
441 | This enables support for the Philips UCB1400 GPIO pins. | 428 | This enables support for the Philips UCB1400 GPIO pins. |
442 | The UCB1400 is an AC97 audio codec. | 429 | The UCB1400 is an AC97 audio codec. |
443 | 430 | ||
444 | To compile this driver as a module, choose M here: the | ||
445 | module will be called ucb1400_gpio. | ||
446 | |||
447 | comment "MODULbus GPIO expanders:" | 431 | comment "MODULbus GPIO expanders:" |
448 | 432 | ||
449 | config GPIO_JANZ_TTL | 433 | config GPIO_JANZ_TTL |
@@ -454,7 +438,7 @@ config GPIO_JANZ_TTL | |||
454 | This driver provides support for driving the pins in output | 438 | This driver provides support for driving the pins in output |
455 | mode only. Input mode is not supported. | 439 | mode only. Input mode is not supported. |
456 | 440 | ||
457 | config AB8500_GPIO | 441 | config GPIO_AB8500 |
458 | bool "ST-Ericsson AB8500 Mixed Signal Circuit gpio functions" | 442 | bool "ST-Ericsson AB8500 Mixed Signal Circuit gpio functions" |
459 | depends on AB8500_CORE && BROKEN | 443 | depends on AB8500_CORE && BROKEN |
460 | help | 444 | help |