Skip to contentSkip to conversation

Move the s5pv210 GPIO to drivers/gpio

PATCH New Kyungmin Park 1 participant 1 message May 23, 2011

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v2 3/4 Move the s5pv210 GPIO to drivers/gpio

From: Kyungmin Park <[email protected]>

Move the Samsung s5pv210 SoC GPIO driver to drivers/gpio

---
 arch/arm/mach-s5pv210/Makefile  |    2 +-
 arch/arm/mach-s5pv210/gpiolib.c |  288 ---------------------------------------
 drivers/gpio/Kconfig            |    6 +
 drivers/gpio/Makefile           |    1 +
 drivers/gpio/gpio-s5pv210.c     |  288 +++++++++++++++++++++++++++++++++++++++
 5 files changed, 296 insertions(+), 289 deletions(-)
 delete mode 100644 arch/arm/mach-s5pv210/gpiolib.c
 create mode 100644 drivers/gpio/gpio-s5pv210.c
arch/arm/mach-s5pv210/Makefile +1 -1
index 11f1790..50907ac 100644
@@ -12,7 +12,7 @@ obj-				:=
 
 # Core support for S5PV210 system
 
-obj-$(CONFIG_CPU_S5PV210)	+= cpu.o init.o clock.o dma.o gpiolib.o
+obj-$(CONFIG_CPU_S5PV210)	+= cpu.o init.o clock.o dma.o
 obj-$(CONFIG_CPU_S5PV210)	+= setup-i2c0.o
 obj-$(CONFIG_S5PV210_PM)	+= pm.o sleep.o
 obj-$(CONFIG_CPU_FREQ)		+= cpufreq.o
arch/arm/mach-s5pv210/gpiolib.c deleted +0 -288

288 lines not on this page · raw message

drivers/gpio/Kconfig +6 -0
index 28a31f1..1ab0728 100644
@@ -93,6 +93,12 @@ config GPIO_PLAT_SAMSUNG
 	help
 	  Say yes here to support Samsung SoCs GPIO library
 
+config GPIO_S5PV210
+	bool "Samsung S5PV210/S5PC110 GPIO library support"
+	default y if CPU_S5PV210
+	help
+	  Say yes here to support Samsung S5PV210/S5PC110 SoCs GPIO library
+
 config GPIO_PL061
 	bool "PrimeCell PL061 GPIO support"
 	depends on ARM_AMBA
drivers/gpio/Makefile +1 -0
index b271b93..a54992b 100644
@@ -13,6 +13,7 @@ obj-$(CONFIG_GPIO_ADP5588)	+= adp5588-gpio.o
 obj-$(CONFIG_GPIO_BASIC_MMIO)	+= basic_mmio_gpio.o
 obj-$(CONFIG_GPIO_EXYNOS4)	+= gpio-exynos4.o
 obj-$(CONFIG_GPIO_PLAT_SAMSUNG)	+= gpio-plat-samsung.o
+obj-$(CONFIG_GPIO_S5PV210)	+= gpio-s5pv210.o
 obj-$(CONFIG_GPIO_LANGWELL)	+= langwell_gpio.o
 obj-$(CONFIG_GPIO_MAX730X)	+= max730x.o
 obj-$(CONFIG_GPIO_MAX7300)	+= max7300.o
drivers/gpio/gpio-s5pv210.c new file +288 -0

288 lines not on this page · raw message

Signature · 1 line
1.7.5.1.300.gc565c