aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx/clock.c
diff options
context:
space:
mode:
authorNaveen Krishna Ch <ch.naveen@samsung.com>2010-06-22 07:39:18 +0900
committerKukjin Kim <kgene.kim@samsung.com>2010-08-06 21:28:30 +0900
commit290d0983b86f6243beffaa3ddb02c14adc30f02a (patch)
treed6cc9963c61ea941928341ecd7ed5987c7953730 /arch/arm/mach-s3c64xx/clock.c
parent995c48adde09e04298036501df9dac87661fa66c (diff)
downloadkernel_samsung_smdk4412-290d0983b86f6243beffaa3ddb02c14adc30f02a.zip
kernel_samsung_smdk4412-290d0983b86f6243beffaa3ddb02c14adc30f02a.tar.gz
kernel_samsung_smdk4412-290d0983b86f6243beffaa3ddb02c14adc30f02a.tar.bz2
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 3999a18..7e03f0a 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,