ARM: S3C2443: Implement GPIO pull-up/down configuration methods
authorYauhen Kharuzhy <yauhen.kharuzhy@promwad.com>
Thu, 6 Jan 2011 04:04:33 +0000 (13:04 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 6 Jan 2011 05:09:19 +0000 (14:09 +0900)
commit0536d0d087c264f0edbb911fca6fff39bb2eb71b
tree0aba95a46e004efbdc5f095366f7016898fb468f
parent479c4f4aba27318d64698867a18865d29e3287a6
ARM: S3C2443: Implement GPIO pull-up/down configuration methods

S3C2443 has two-bits pull-up/pull-down configuration fields in GPIO
registers, but values are differ from other SoCs with two-bits
configuration. gpio-cfg-helpers.h already has prototypes for
s3c2443-style pull-up/down methods, so implement them.

Signed-off-by: Yauhen Kharuzhy <yauhen.kharuzhy@promwad.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c2443/Kconfig
arch/arm/mach-s3c2443/s3c2443.c
arch/arm/plat-samsung/Kconfig
arch/arm/plat-samsung/gpio-config.c
arch/arm/plat-samsung/include/plat/gpio-cfg-helpers.h