summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAtul Dahiya <atul.dahiya@samsung.com>2010-12-02 05:36:12 +0100
committerKukjin Kim <kgene.kim@samsung.com>2010-12-30 01:37:28 +0100
commit232d10061c05a7d6c1ef8a0754fd45656db93118 (patch)
treeefb686e13ea70a0b8211f2d63653f6d07c0673d6
parentARM: S5P64X0: Rename GPIOlib file to gpiolib.c (diff)
downloadlinux-232d10061c05a7d6c1ef8a0754fd45656db93118.tar.xz
linux-232d10061c05a7d6c1ef8a0754fd45656db93118.zip
ARM: S5P64X0: Add clock support for RTC
This patch adds RTC clock for S5P6450. Signed-off-by: Atul Dahiya <atul.dahiya@samsung.com> Signed-off-by: Sangbeom Kim <sbkim73@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r--arch/arm/mach-s5p64x0/clock-s5p6450.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-s5p64x0/clock-s5p6450.c b/arch/arm/mach-s5p64x0/clock-s5p6450.c
index 7dbf3c968f53..b9cd130596c2 100644
--- a/arch/arm/mach-s5p64x0/clock-s5p6450.c
+++ b/arch/arm/mach-s5p64x0/clock-s5p6450.c
@@ -231,6 +231,12 @@ static struct clk init_clocks_disable[] = {
.enable = s5p64x0_pclk_ctrl,
.ctrlbit = (1 << 5),
}, {
+ .name = "rtc",
+ .id = -1,
+ .parent = &clk_pclk_low.clk,
+ .enable = s5p64x0_pclk_ctrl,
+ .ctrlbit = (1 << 6),
+ }, {
.name = "adc",
.id = -1,
.parent = &clk_pclk_low.clk,