Browse Source

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>
Atul Dahiya 14 years ago
parent
commit
232d10061c
1 changed files with 6 additions and 0 deletions
  1. 6 0
      arch/arm/mach-s5p64x0/clock-s5p6450.c

+ 6 - 0
arch/arm/mach-s5p64x0/clock-s5p6450.c

@@ -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,