Skip to contentSkip to conversation

ARM: S5P6440: Add S5P6440 GPIO support

PATCH New Kukjin Kim 1 participant 1 message Jan 19, 2010

Subsystems (3)
lore
Share & tools
lore

Kukjin Kim

author
#0 lore raw

PATCH v3 1/1 ARM: S5P6440: Add S5P6440 GPIO support

This patch adds Samsung's S5P6440 GPIO support.

---
 arch/arm/mach-s5p6440/Makefile                 |    2 +-
 arch/arm/mach-s5p6440/include/mach/regs-gpio.h |   54 ++++
 arch/arm/mach-s5p6440/s5p6440-gpio.c           |  322 ++++++++++++++++++++++++
 arch/arm/plat-s5p/Kconfig                      |    4 +
 4 files changed, 381 insertions(+), 1 deletions(-)
 create mode 100644 arch/arm/mach-s5p6440/include/mach/regs-gpio.h
 create mode 100644 arch/arm/mach-s5p6440/s5p6440-gpio.c
arch/arm/mach-s5p6440/Makefile +1 -1
index a3ffda9..a79b130 100644
@@ -12,7 +12,7 @@ obj-				:=
 
 # Core support for S5P6440 system
 
-obj-$(CONFIG_CPU_S5P6440)	+= cpu.o
+obj-$(CONFIG_CPU_S5P6440)	+= cpu.o s5p6440-gpio.o
 
 # machine support
 
arch/arm/mach-s5p6440/include/mach/regs-gpio.h new file +54 -0

54 lines not on this page · raw message

arch/arm/mach-s5p6440/s5p6440-gpio.c new file +322 -0

322 lines not on this page · raw message

arch/arm/plat-s5p/Kconfig +4 -0
index e331a32..1e95e4c 100644
@@ -14,6 +14,10 @@ config PLAT_S5P
 	select NO_IOPORT
 	select ARCH_REQUIRE_GPIOLIB
 	select S3C_GPIO_TRACK
+	select SAMSUNG_GPIOLIB_4BIT
+	select S3C_GPIO_CFG_S3C64XX
+	select S3C_GPIO_PULL_UPDOWN
+	select S3C_GPIO_CFG_S3C24XX
 	select PLAT_SAMSUNG
 	select SAMSUNG_CLKSRC
 	select SAMSUNG_IRQ_VIC_TIMER
Signature · 1 line
1.6.2.5