summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5p64x0/clock-s5p6450.c
diff options
context:
space:
mode:
authorAtul Dahiya <atul.dahiya@samsung.com>2010-12-02 13:36:12 +0900
committerKukjin Kim <kgene.kim@samsung.com>2010-12-30 09:37:28 +0900
commit232d10061c05a7d6c1ef8a0754fd45656db93118 (patch)
treeefb686e13ea70a0b8211f2d63653f6d07c0673d6 /arch/arm/mach-s5p64x0/clock-s5p6450.c
parent5b1bab2e9ee619599ae78fed1a6e300db84adfcf (diff)
downloadblackbird-op-linux-232d10061c05a7d6c1ef8a0754fd45656db93118.tar.gz
blackbird-op-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>
Diffstat (limited to 'arch/arm/mach-s5p64x0/clock-s5p6450.c')
-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,
OpenPOWER on IntegriCloud