linux/arch/arm/mach-s3c64xx
Linus Walleij 41c3548e6d ARM: s3c64xx: get rid of custom <mach/gpio.h>
This isolates the custom S3C64xx GPIO definition table to
<linux/platform_data/gpio-samsung-s3x64xx.h> as this is
used in a few different places in the kernel, removing the
need to depend on the implicit inclusion of <mach/gpio.h>
from <linux/gpio.h> and thus getting rid of a few nasty
cross-dependencies.

Also delete the CONFIG_SAMSUNG_GPIO_EXTRA stuff. Instead
roof the number of GPIOs for this platform:
First sum up all the GPIO banks from A to Q: 187 GPIOs.
Add the 16 "board GPIOs" and the roof for SAMSUNG_GPIO_EXTRA,
128, so in total maximum 187+16+128 = 331 GPIOs, so let's
take the same roof as for S3C24XX: 512. This way we can do
away with the GPIO calculation macros for GPIO_BOARD_START,
BOARD_NR_GPIOS and the definition of ARCH_NR_GPIOS.

Cc: Mark Brown <broonie@kernel.org>
[on Mini6410 board]
Tested-by: Tomasz Figa <t.figa@samsung.com>
[for changes in mach-s3c64xx]
Acked-by: Tomasz Figa <t.figa@samsung.com>
Tested-by: Mark Brown <broonie@linaro.org>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-12-20 18:19:36 +01:00
..
include/mach ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
common.c ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
common.h ARM: S3C64XX: Remove old clock management code 2013-09-17 06:47:36 +09:00
cpuidle.c ARM: s3c64xx: cpuidle: use init/exit common routine 2013-04-26 13:34:02 +02:00
crag6410.h ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
dev-audio.c ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
dev-uart.c ARM: S3C64XX: Use common macro to define resources on dev-uart.c 2012-05-12 16:12:26 +09:00
dma.c ARM: S3C64XX: Bypass legacy initialization when booting with DT 2013-09-17 06:48:27 +09:00
irq-pm.c ARM: S3C64XX: Bypass legacy initialization when booting with DT 2013-09-17 06:48:27 +09:00
Kconfig ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
mach-anw6410.c ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
mach-crag6410-module.c For 3.10 we have a few new MFD drivers for: 2013-05-05 17:36:20 -07:00
mach-crag6410.c ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
mach-hmt.c ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
mach-mini6410.c ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
mach-ncp.c ARM: S3C64XX: Migrate clock handling to Common Clock Framework 2013-09-17 06:47:36 +09:00
mach-real6410.c ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
mach-s3c64xx-dt.c ARM: S3C64XX: Add board file for boot using Device Tree 2013-09-17 06:48:27 +09:00
mach-smartq5.c ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
mach-smartq7.c ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
mach-smartq.c ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
mach-smartq.h ARM: S3C6410: Add basic support for SmartQ machines 2010-05-20 19:42:15 +09:00
mach-smdk6400.c ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
mach-smdk6410.c ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
Makefile ARM: S3C64XX: Add board file for boot using Device Tree 2013-09-17 06:48:27 +09:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
pm.c ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
regs-gpio-memport.h ARM: S3C64XX: make regs-gpio-memport.h local 2013-01-10 10:45:39 -08:00
regs-modem.h ARM: S3C64XX: make regs-modem.h local 2013-01-10 10:45:39 -08:00
regs-srom.h ARM: S3C64XX: make regs-srom.h local 2013-01-10 10:45:39 -08:00
regs-sys.h ARM: S3C64XX: make regs-sys.h local 2013-01-10 10:45:40 -08:00
regs-syscon-power.h ARM: S3C64XX: make regs-syscon-power.h local 2013-01-10 10:45:40 -08:00
s3c6400.c ARM: S3C64XX: Bypass legacy initialization when booting with DT 2013-09-17 06:48:27 +09:00
s3c6410.c ARM: S3C64XX: Bypass legacy initialization when booting with DT 2013-09-17 06:48:27 +09:00
setup-fb-24bpp.c ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
setup-i2c0.c ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
setup-i2c1.c ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
setup-ide.c ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
setup-keypad.c ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
setup-sdhci-gpio.c ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
setup-spi.c ARM: s3c64xx: get rid of custom <mach/gpio.h> 2013-12-20 18:19:36 +01:00
setup-usb-phy.c usb: exynos: do not include plat/usb-phy.h 2013-04-11 14:27:55 -07:00
sleep.S ARM: pm: samsung: move cpu_suspend into C code 2011-06-24 08:48:44 +01:00