diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-09 12:59:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-09 12:59:16 -0400 |
commit | 5647ac0ad4f355817b788372a01cb293ed63bde4 (patch) | |
tree | bb454ce9bf63f145c467e042cd2f5b3367c1a9aa /arch/powerpc | |
parent | 1763e735b0a093a6747078b3bd101f079e576ab6 (diff) | |
parent | f4c54050640e7afa4749875cf9b900d42db361c0 (diff) |
Merge tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux
Pull removal of GENERIC_GPIO from Grant Likely:
"GENERIC_GPIO now synonymous with GPIOLIB. There are no longer any
valid cases for enableing GENERIC_GPIO without GPIOLIB, even though it
is possible to do so which has been causing confusion and breakage.
This branch does the work to completely eliminate GENERIC_GPIO."
* tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux:
gpio: update gpio Chinese documentation
Remove GENERIC_GPIO config option
Convert selectors of GENERIC_GPIO to GPIOLIB
blackfin: force use of gpiolib
m68k: coldfire: use gpiolib
mips: pnx833x: remove requirement for GENERIC_GPIO
openrisc: default GENERIC_GPIO to false
avr32: default GENERIC_GPIO to false
xtensa: remove explicit selection of GENERIC_GPIO
sh: replace CONFIG_GENERIC_GPIO by CONFIG_GPIOLIB
powerpc: remove redundant GENERIC_GPIO selection
unicore32: default GENERIC_GPIO to false
unicore32: remove unneeded select GENERIC_GPIO
arm: plat-orion: use GPIO driver on CONFIG_GPIOLIB
arm: remove redundant GENERIC_GPIO selection
mips: alchemy: require gpiolib
mips: txx9: change GENERIC_GPIO to GPIOLIB
mips: loongson: use GPIO driver on CONFIG_GPIOLIB
mips: remove redundant GENERIC_GPIO select
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/Kconfig | 5 | ||||
-rw-r--r-- | arch/powerpc/platforms/40x/Kconfig | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/44x/Kconfig | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/Kconfig | 3 | ||||
-rw-r--r-- | arch/powerpc/platforms/86xx/Kconfig | 3 | ||||
-rw-r--r-- | arch/powerpc/platforms/8xx/Kconfig | 1 | ||||
-rw-r--r-- | arch/powerpc/platforms/Kconfig | 4 |
7 files changed, 1 insertions, 17 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index bbbe02197afb..c33e3ad2c8fd 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -82,11 +82,6 @@ config GENERIC_HWEIGHT | |||
82 | bool | 82 | bool |
83 | default y | 83 | default y |
84 | 84 | ||
85 | config GENERIC_GPIO | ||
86 | bool | ||
87 | help | ||
88 | Generic GPIO API support | ||
89 | |||
90 | config PPC | 85 | config PPC |
91 | bool | 86 | bool |
92 | default y | 87 | default y |
diff --git a/arch/powerpc/platforms/40x/Kconfig b/arch/powerpc/platforms/40x/Kconfig index bd40bbb15e14..6e287f1294fa 100644 --- a/arch/powerpc/platforms/40x/Kconfig +++ b/arch/powerpc/platforms/40x/Kconfig | |||
@@ -138,7 +138,6 @@ config PPC4xx_GPIO | |||
138 | bool "PPC4xx GPIO support" | 138 | bool "PPC4xx GPIO support" |
139 | depends on 40x | 139 | depends on 40x |
140 | select ARCH_REQUIRE_GPIOLIB | 140 | select ARCH_REQUIRE_GPIOLIB |
141 | select GENERIC_GPIO | ||
142 | help | 141 | help |
143 | Enable gpiolib support for ppc40x based boards | 142 | Enable gpiolib support for ppc40x based boards |
144 | 143 | ||
diff --git a/arch/powerpc/platforms/44x/Kconfig b/arch/powerpc/platforms/44x/Kconfig index 7be93367d92f..d6c7506ec7d9 100644 --- a/arch/powerpc/platforms/44x/Kconfig +++ b/arch/powerpc/platforms/44x/Kconfig | |||
@@ -248,7 +248,6 @@ config PPC4xx_GPIO | |||
248 | bool "PPC4xx GPIO support" | 248 | bool "PPC4xx GPIO support" |
249 | depends on 44x | 249 | depends on 44x |
250 | select ARCH_REQUIRE_GPIOLIB | 250 | select ARCH_REQUIRE_GPIOLIB |
251 | select GENERIC_GPIO | ||
252 | help | 251 | help |
253 | Enable gpiolib support for ppc440 based boards | 252 | Enable gpiolib support for ppc440 based boards |
254 | 253 | ||
diff --git a/arch/powerpc/platforms/85xx/Kconfig b/arch/powerpc/platforms/85xx/Kconfig index 8f02b05f4c96..efdd37c775ad 100644 --- a/arch/powerpc/platforms/85xx/Kconfig +++ b/arch/powerpc/platforms/85xx/Kconfig | |||
@@ -203,7 +203,6 @@ config GE_IMP3A | |||
203 | select DEFAULT_UIMAGE | 203 | select DEFAULT_UIMAGE |
204 | select SWIOTLB | 204 | select SWIOTLB |
205 | select MMIO_NVRAM | 205 | select MMIO_NVRAM |
206 | select GENERIC_GPIO | ||
207 | select ARCH_REQUIRE_GPIOLIB | 206 | select ARCH_REQUIRE_GPIOLIB |
208 | select GE_FPGA | 207 | select GE_FPGA |
209 | help | 208 | help |
@@ -328,7 +327,7 @@ config B4_QDS | |||
328 | select PPC_E500MC | 327 | select PPC_E500MC |
329 | select PHYS_64BIT | 328 | select PHYS_64BIT |
330 | select SWIOTLB | 329 | select SWIOTLB |
331 | select GENERIC_GPIO | 330 | select GPIOLIB |
332 | select ARCH_REQUIRE_GPIOLIB | 331 | select ARCH_REQUIRE_GPIOLIB |
333 | select HAS_RAPIDIO | 332 | select HAS_RAPIDIO |
334 | select PPC_EPAPR_HV_PIC | 333 | select PPC_EPAPR_HV_PIC |
diff --git a/arch/powerpc/platforms/86xx/Kconfig b/arch/powerpc/platforms/86xx/Kconfig index 7a6279e38213..1afd1e4a2dd2 100644 --- a/arch/powerpc/platforms/86xx/Kconfig +++ b/arch/powerpc/platforms/86xx/Kconfig | |||
@@ -37,7 +37,6 @@ config GEF_PPC9A | |||
37 | bool "GE PPC9A" | 37 | bool "GE PPC9A" |
38 | select DEFAULT_UIMAGE | 38 | select DEFAULT_UIMAGE |
39 | select MMIO_NVRAM | 39 | select MMIO_NVRAM |
40 | select GENERIC_GPIO | ||
41 | select ARCH_REQUIRE_GPIOLIB | 40 | select ARCH_REQUIRE_GPIOLIB |
42 | select GE_FPGA | 41 | select GE_FPGA |
43 | help | 42 | help |
@@ -47,7 +46,6 @@ config GEF_SBC310 | |||
47 | bool "GE SBC310" | 46 | bool "GE SBC310" |
48 | select DEFAULT_UIMAGE | 47 | select DEFAULT_UIMAGE |
49 | select MMIO_NVRAM | 48 | select MMIO_NVRAM |
50 | select GENERIC_GPIO | ||
51 | select ARCH_REQUIRE_GPIOLIB | 49 | select ARCH_REQUIRE_GPIOLIB |
52 | select GE_FPGA | 50 | select GE_FPGA |
53 | help | 51 | help |
@@ -57,7 +55,6 @@ config GEF_SBC610 | |||
57 | bool "GE SBC610" | 55 | bool "GE SBC610" |
58 | select DEFAULT_UIMAGE | 56 | select DEFAULT_UIMAGE |
59 | select MMIO_NVRAM | 57 | select MMIO_NVRAM |
60 | select GENERIC_GPIO | ||
61 | select ARCH_REQUIRE_GPIOLIB | 58 | select ARCH_REQUIRE_GPIOLIB |
62 | select GE_FPGA | 59 | select GE_FPGA |
63 | select HAS_RAPIDIO | 60 | select HAS_RAPIDIO |
diff --git a/arch/powerpc/platforms/8xx/Kconfig b/arch/powerpc/platforms/8xx/Kconfig index 1fb0b3cddeb3..8dec3c0911ad 100644 --- a/arch/powerpc/platforms/8xx/Kconfig +++ b/arch/powerpc/platforms/8xx/Kconfig | |||
@@ -114,7 +114,6 @@ config 8xx_COPYBACK | |||
114 | 114 | ||
115 | config 8xx_GPIO | 115 | config 8xx_GPIO |
116 | bool "GPIO API Support" | 116 | bool "GPIO API Support" |
117 | select GENERIC_GPIO | ||
118 | select ARCH_REQUIRE_GPIOLIB | 117 | select ARCH_REQUIRE_GPIOLIB |
119 | help | 118 | help |
120 | Saying Y here will cause the ports on an MPC8xx processor to be used | 119 | Saying Y here will cause the ports on an MPC8xx processor to be used |
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig index 34d224be93ba..a881232a3cce 100644 --- a/arch/powerpc/platforms/Kconfig +++ b/arch/powerpc/platforms/Kconfig | |||
@@ -302,7 +302,6 @@ config QUICC_ENGINE | |||
302 | config QE_GPIO | 302 | config QE_GPIO |
303 | bool "QE GPIO support" | 303 | bool "QE GPIO support" |
304 | depends on QUICC_ENGINE | 304 | depends on QUICC_ENGINE |
305 | select GENERIC_GPIO | ||
306 | select ARCH_REQUIRE_GPIOLIB | 305 | select ARCH_REQUIRE_GPIOLIB |
307 | help | 306 | help |
308 | Say Y here if you're going to use hardware that connects to the | 307 | Say Y here if you're going to use hardware that connects to the |
@@ -315,7 +314,6 @@ config CPM2 | |||
315 | select PPC_LIB_RHEAP | 314 | select PPC_LIB_RHEAP |
316 | select PPC_PCI_CHOICE | 315 | select PPC_PCI_CHOICE |
317 | select ARCH_REQUIRE_GPIOLIB | 316 | select ARCH_REQUIRE_GPIOLIB |
318 | select GENERIC_GPIO | ||
319 | help | 317 | help |
320 | The CPM2 (Communications Processor Module) is a coprocessor on | 318 | The CPM2 (Communications Processor Module) is a coprocessor on |
321 | embedded CPUs made by Freescale. Selecting this option means that | 319 | embedded CPUs made by Freescale. Selecting this option means that |
@@ -353,7 +351,6 @@ config OF_RTC | |||
353 | config SIMPLE_GPIO | 351 | config SIMPLE_GPIO |
354 | bool "Support for simple, memory-mapped GPIO controllers" | 352 | bool "Support for simple, memory-mapped GPIO controllers" |
355 | depends on PPC | 353 | depends on PPC |
356 | select GENERIC_GPIO | ||
357 | select ARCH_REQUIRE_GPIOLIB | 354 | select ARCH_REQUIRE_GPIOLIB |
358 | help | 355 | help |
359 | Say Y here to support simple, memory-mapped GPIO controllers. | 356 | Say Y here to support simple, memory-mapped GPIO controllers. |
@@ -364,7 +361,6 @@ config SIMPLE_GPIO | |||
364 | config MCU_MPC8349EMITX | 361 | config MCU_MPC8349EMITX |
365 | bool "MPC8349E-mITX MCU driver" | 362 | bool "MPC8349E-mITX MCU driver" |
366 | depends on I2C=y && PPC_83xx | 363 | depends on I2C=y && PPC_83xx |
367 | select GENERIC_GPIO | ||
368 | select ARCH_REQUIRE_GPIOLIB | 364 | select ARCH_REQUIRE_GPIOLIB |
369 | help | 365 | help |
370 | Say Y here to enable soft power-off functionality on the Freescale | 366 | Say Y here to enable soft power-off functionality on the Freescale |