summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c64xx/clock.c
diff options
context:
space:
mode:
authorNaveen Krishna Ch <ch.naveen@samsung.com>2010-06-22 02:39:18 +0400
committerKukjin Kim <kgene.kim@samsung.com>2010-08-06 16:28:30 +0400
commit290d0983b86f6243beffaa3ddb02c14adc30f02a (patch)
treed6cc9963c61ea941928341ecd7ed5987c7953730 /arch/arm/mach-s3c64xx/clock.c
parent995c48adde09e04298036501df9dac87661fa66c (diff)
downloadlinux-290d0983b86f6243beffaa3ddb02c14adc30f02a.tar.xz
ARM: S3C64XX: Add keypad device to the SMDK6410 board
This patch is to support keypad device to the SMDK6410 board. Signed-off-by: Naveen Krishna Ch <ch.naveen@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx/clock.c')
-rw-r--r--arch/arm/mach-s3c64xx/clock.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/clock.c b/arch/arm/mach-s3c64xx/clock.c
index 3999a18404b5..7e03f0ae2fc8 100644
--- a/arch/arm/mach-s3c64xx/clock.c
+++ b/arch/arm/mach-s3c64xx/clock.c
@@ -171,6 +171,12 @@ static struct clk init_clocks_disable[] = {
.ctrlbit = S3C6410_CLKCON_PCLK_IIS2,
}, {
#endif
+ .name = "keypad",
+ .id = -1,
+ .parent = &clk_p,
+ .enable = s3c64xx_pclk_ctrl,
+ .ctrlbit = S3C_CLKCON_PCLK_KEYPAD,
+ }, {
.name = "spi",
.id = 0,
.parent = &clk_p,