diff options
-rw-r--r-- | arch/arm/Kconfig | 2 | ||||
-rw-r--r-- | arch/arm/plat-iop/Makefile | 2 | ||||
-rw-r--r-- | drivers/gpio/Kconfig | 9 | ||||
-rw-r--r-- | drivers/gpio/Makefile | 1 | ||||
-rw-r--r-- | drivers/gpio/gpio-iop.c (renamed from arch/arm/plat-iop/gpio.c) | 0 |
5 files changed, 12 insertions, 2 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 3f7714d8d2d2..fc8c0928bfaf 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -457,6 +457,7 @@ config ARCH_IOP32X | |||
457 | depends on MMU | 457 | depends on MMU |
458 | select ARCH_REQUIRE_GPIOLIB | 458 | select ARCH_REQUIRE_GPIOLIB |
459 | select CPU_XSCALE | 459 | select CPU_XSCALE |
460 | select GPIO_IOP | ||
460 | select NEED_MACH_GPIO_H | 461 | select NEED_MACH_GPIO_H |
461 | select NEED_RET_TO_USER | 462 | select NEED_RET_TO_USER |
462 | select PCI | 463 | select PCI |
@@ -470,6 +471,7 @@ config ARCH_IOP33X | |||
470 | depends on MMU | 471 | depends on MMU |
471 | select ARCH_REQUIRE_GPIOLIB | 472 | select ARCH_REQUIRE_GPIOLIB |
472 | select CPU_XSCALE | 473 | select CPU_XSCALE |
474 | select GPIO_IOP | ||
473 | select NEED_MACH_GPIO_H | 475 | select NEED_MACH_GPIO_H |
474 | select NEED_RET_TO_USER | 476 | select NEED_RET_TO_USER |
475 | select PCI | 477 | select PCI |
diff --git a/arch/arm/plat-iop/Makefile b/arch/arm/plat-iop/Makefile index a99dc15a70f7..224e56c6049b 100644 --- a/arch/arm/plat-iop/Makefile +++ b/arch/arm/plat-iop/Makefile | |||
@@ -5,7 +5,6 @@ | |||
5 | obj-y := | 5 | obj-y := |
6 | 6 | ||
7 | # IOP32X | 7 | # IOP32X |
8 | obj-$(CONFIG_ARCH_IOP32X) += gpio.o | ||
9 | obj-$(CONFIG_ARCH_IOP32X) += i2c.o | 8 | obj-$(CONFIG_ARCH_IOP32X) += i2c.o |
10 | obj-$(CONFIG_ARCH_IOP32X) += pci.o | 9 | obj-$(CONFIG_ARCH_IOP32X) += pci.o |
11 | obj-$(CONFIG_ARCH_IOP32X) += setup.o | 10 | obj-$(CONFIG_ARCH_IOP32X) += setup.o |
@@ -16,7 +15,6 @@ obj-$(CONFIG_ARCH_IOP32X) += pmu.o | |||
16 | obj-$(CONFIG_ARCH_IOP32X) += restart.o | 15 | obj-$(CONFIG_ARCH_IOP32X) += restart.o |
17 | 16 | ||
18 | # IOP33X | 17 | # IOP33X |
19 | obj-$(CONFIG_ARCH_IOP33X) += gpio.o | ||
20 | obj-$(CONFIG_ARCH_IOP33X) += i2c.o | 18 | obj-$(CONFIG_ARCH_IOP33X) += i2c.o |
21 | obj-$(CONFIG_ARCH_IOP33X) += pci.o | 19 | obj-$(CONFIG_ARCH_IOP33X) += pci.o |
22 | obj-$(CONFIG_ARCH_IOP33X) += setup.o | 20 | obj-$(CONFIG_ARCH_IOP33X) += setup.o |
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index b6ed304863eb..cc30426d31ec 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig | |||
@@ -320,6 +320,15 @@ config GPIO_ICH | |||
320 | 320 | ||
321 | If unsure, say N. | 321 | If unsure, say N. |
322 | 322 | ||
323 | config GPIO_IOP | ||
324 | tristate "Intel IOP GPIO" | ||
325 | depends on ARM && (ARCH_IOP32X || ARCH_IOP33X) | ||
326 | help | ||
327 | Say yes here to support the GPIO functionality of a number of Intel | ||
328 | IOP32X or IOP33X. | ||
329 | |||
330 | If unsure, say N. | ||
331 | |||
323 | config GPIO_VX855 | 332 | config GPIO_VX855 |
324 | tristate "VIA VX855/VX875 GPIO" | 333 | tristate "VIA VX855/VX875 GPIO" |
325 | depends on PCI | 334 | depends on PCI |
diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile index 98e23ebba2cf..06e5662aa4ec 100644 --- a/drivers/gpio/Makefile +++ b/drivers/gpio/Makefile | |||
@@ -28,6 +28,7 @@ obj-$(CONFIG_GPIO_F7188X) += gpio-f7188x.o | |||
28 | obj-$(CONFIG_GPIO_GE_FPGA) += gpio-ge.o | 28 | obj-$(CONFIG_GPIO_GE_FPGA) += gpio-ge.o |
29 | obj-$(CONFIG_GPIO_GRGPIO) += gpio-grgpio.o | 29 | obj-$(CONFIG_GPIO_GRGPIO) += gpio-grgpio.o |
30 | obj-$(CONFIG_GPIO_ICH) += gpio-ich.o | 30 | obj-$(CONFIG_GPIO_ICH) += gpio-ich.o |
31 | obj-$(CONFIG_GPIO_IOP) += gpio-iop.o | ||
31 | obj-$(CONFIG_GPIO_IT8761E) += gpio-it8761e.o | 32 | obj-$(CONFIG_GPIO_IT8761E) += gpio-it8761e.o |
32 | obj-$(CONFIG_GPIO_JANZ_TTL) += gpio-janz-ttl.o | 33 | obj-$(CONFIG_GPIO_JANZ_TTL) += gpio-janz-ttl.o |
33 | obj-$(CONFIG_GPIO_KEMPLD) += gpio-kempld.o | 34 | obj-$(CONFIG_GPIO_KEMPLD) += gpio-kempld.o |
diff --git a/arch/arm/plat-iop/gpio.c b/drivers/gpio/gpio-iop.c index 697de6dc4936..697de6dc4936 100644 --- a/arch/arm/plat-iop/gpio.c +++ b/drivers/gpio/gpio-iop.c | |||