]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: S5P64X0: Add clock support for RTC
authorAtul Dahiya <atul.dahiya@samsung.com>
Thu, 2 Dec 2010 04:36:12 +0000 (13:36 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 30 Dec 2010 00:37:28 +0000 (09:37 +0900)
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>
arch/arm/mach-s5p64x0/clock-s5p6450.c

index 7dbf3c968f53d88697c3e000d8de53ba11fc0c0e..b9cd130596c21bd7a51a54b914e03c3b030ed8d3 100644 (file)
@@ -230,6 +230,12 @@ static struct clk init_clocks_disable[] = {
                .parent         = &clk_pclk_low.clk,
                .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,