diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-07-26 12:00:40 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-07-26 12:00:40 -0400 |
commit | dffd7e35a50d1f8fd79805dd10d412a041f67cb3 (patch) | |
tree | b25288791cf5fb95b5baca5b93f26f149f5ec6e0 /arch/arm/plat-samsung | |
parent | 944483d0330bb497549977aa9649be6b7d0ede37 (diff) | |
parent | 53430333c345c3531f9443d43c6fba1da693abe4 (diff) |
Merge branch 'cleanup/gpio-header-removal' into next/soc
* cleanup/gpio-header-removal:
ARM: delete old reference to ARM_GPIOLIB_COMPLEX
ARM: kill CONFIG_NEED_MACH_GPIO_H
ARM: mach-s5p: get rid of all <mach/gpio.h> headers
ARM: s5p: cut the custom ARCH_NR_GPIOS definition
This resolves a massive amount of conflicts between the
mach/gpio.h removal and the s5p platform removal.
Almost all changes are trivial, as both sides remove
stuff.
Conflicts:
arch/arm/Kconfig
arch/arm/mach-s5p64x0/common.c
arch/arm/mach-s5p64x0/dev-audio.c
arch/arm/mach-s5p64x0/include/mach/gpio-samsung.h
arch/arm/mach-s5p64x0/mach-smdk6440.c
arch/arm/mach-s5p64x0/mach-smdk6450.c
arch/arm/mach-s5p64x0/setup-fb-24bpp.c
arch/arm/mach-s5p64x0/setup-i2c0.c
arch/arm/mach-s5p64x0/setup-i2c1.c
arch/arm/mach-s5p64x0/setup-sdhci-gpio.c
arch/arm/mach-s5p64x0/setup-spi.c
arch/arm/mach-s5pc100/dev-audio.c
arch/arm/mach-s5pc100/include/mach/gpio-samsung.h
arch/arm/mach-s5pc100/mach-smdkc100.c
arch/arm/mach-s5pc100/setup-fb-24bpp.c
arch/arm/mach-s5pc100/setup-i2c0.c
arch/arm/mach-s5pc100/setup-i2c1.c
arch/arm/mach-s5pc100/setup-ide.c
arch/arm/mach-s5pc100/setup-keypad.c
arch/arm/mach-s5pc100/setup-sdhci-gpio.c
arch/arm/mach-s5pc100/setup-spi.c
arch/arm/mach-s5pv210/dev-audio.c
arch/arm/mach-s5pv210/include/mach/gpio-samsung.h
arch/arm/mach-s5pv210/mach-aquila.c
arch/arm/mach-s5pv210/mach-goni.c
arch/arm/mach-s5pv210/mach-smdkv210.c
arch/arm/mach-s5pv210/setup-fb-24bpp.c
arch/arm/mach-s5pv210/setup-fimc.c
arch/arm/mach-s5pv210/setup-i2c0.c
arch/arm/mach-s5pv210/setup-i2c1.c
arch/arm/mach-s5pv210/setup-i2c2.c
arch/arm/mach-s5pv210/setup-ide.c
arch/arm/mach-s5pv210/setup-keypad.c
arch/arm/mach-s5pv210/setup-sdhci-gpio.c
arch/arm/mach-s5pv210/setup-spi.c
arch/arm/plat-samsung/Kconfig
arch/arm/plat-samsung/s5p-irq-eint.c
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/plat-samsung')
-rw-r--r-- | arch/arm/plat-samsung/Kconfig | 16 | ||||
-rw-r--r-- | arch/arm/plat-samsung/include/plat/gpio-core.h | 3 | ||||
-rw-r--r-- | arch/arm/plat-samsung/pm-gpio.c | 2 |
3 files changed, 3 insertions, 18 deletions
diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig index 1091b0a3729a..c87aefbf3a13 100644 --- a/arch/arm/plat-samsung/Kconfig +++ b/arch/arm/plat-samsung/Kconfig | |||
@@ -51,22 +51,6 @@ config SAMSUNG_ATAGS | |||
51 | 51 | ||
52 | if SAMSUNG_ATAGS | 52 | if SAMSUNG_ATAGS |
53 | 53 | ||
54 | config SAMSUNG_GPIO_EXTRA | ||
55 | int "Number of additional GPIO pins" | ||
56 | default 128 if SAMSUNG_GPIO_EXTRA128 | ||
57 | default 64 if SAMSUNG_GPIO_EXTRA64 | ||
58 | default 0 | ||
59 | help | ||
60 | Use additional GPIO space in addition to the GPIO's the SOC | ||
61 | provides. This allows expanding the GPIO space for use with | ||
62 | GPIO expanders. | ||
63 | |||
64 | config SAMSUNG_GPIO_EXTRA64 | ||
65 | bool | ||
66 | |||
67 | config SAMSUNG_GPIO_EXTRA128 | ||
68 | bool | ||
69 | |||
70 | config S3C_GPIO_SPACE | 54 | config S3C_GPIO_SPACE |
71 | int "Space between gpio banks" | 55 | int "Space between gpio banks" |
72 | default 0 | 56 | default 0 |
diff --git a/arch/arm/plat-samsung/include/plat/gpio-core.h b/arch/arm/plat-samsung/include/plat/gpio-core.h index cf5aae5b0975..6ce11bfdc37e 100644 --- a/arch/arm/plat-samsung/include/plat/gpio-core.h +++ b/arch/arm/plat-samsung/include/plat/gpio-core.h | |||
@@ -14,6 +14,9 @@ | |||
14 | #ifndef __PLAT_SAMSUNG_GPIO_CORE_H | 14 | #ifndef __PLAT_SAMSUNG_GPIO_CORE_H |
15 | #define __PLAT_SAMSUNG_GPIO_CORE_H | 15 | #define __PLAT_SAMSUNG_GPIO_CORE_H |
16 | 16 | ||
17 | /* Bring in machine-local definitions, especially S3C_GPIO_END */ | ||
18 | #include <mach/gpio-samsung.h> | ||
19 | |||
17 | #define GPIOCON_OFF (0x00) | 20 | #define GPIOCON_OFF (0x00) |
18 | #define GPIODAT_OFF (0x04) | 21 | #define GPIODAT_OFF (0x04) |
19 | 22 | ||
diff --git a/arch/arm/plat-samsung/pm-gpio.c b/arch/arm/plat-samsung/pm-gpio.c index f6084f641e6f..f9a09262f2fa 100644 --- a/arch/arm/plat-samsung/pm-gpio.c +++ b/arch/arm/plat-samsung/pm-gpio.c | |||
@@ -19,9 +19,7 @@ | |||
19 | #include <linux/io.h> | 19 | #include <linux/io.h> |
20 | #include <linux/gpio.h> | 20 | #include <linux/gpio.h> |
21 | 21 | ||
22 | #if defined(CONFIG_ARCH_S3C24XX) || defined(CONFIG_ARCH_S3C64XX) | ||
23 | #include <mach/gpio-samsung.h> | 22 | #include <mach/gpio-samsung.h> |
24 | #endif | ||
25 | 23 | ||
26 | #include <plat/gpio-core.h> | 24 | #include <plat/gpio-core.h> |
27 | #include <plat/pm.h> | 25 | #include <plat/pm.h> |