summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s5p6442/clock.c
diff options
context:
space:
mode:
authorBanajit Goswami <banajit.g@samsung.com>2010-07-15 11:45:31 +0530
committerKukjin Kim <kgene.kim@samsung.com>2010-08-05 18:30:41 +0900
commitb46de63d69bf2022d358a8139f2590e650badd1e (patch)
treeef2e44c0bfb1b259834e3abda51c0f85a77c31b7 /arch/arm/mach-s5p6442/clock.c
parent296b1dac035d4d0daf247a7162f482bbe88fcd0b (diff)
ARM: S5P6442: Add Watchdog support for S5P6442
This patch adds support for Watchdog timer for Samsung S5P6442. Signed-off-by: Banajit Goswami <banajit.g@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5p6442/clock.c')
-rw-r--r--arch/arm/mach-s5p6442/clock.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-s5p6442/clock.c b/arch/arm/mach-s5p6442/clock.c
index 087e57f20ad5..dcd20f17212a 100644
--- a/arch/arm/mach-s5p6442/clock.c
+++ b/arch/arm/mach-s5p6442/clock.c
@@ -361,6 +361,12 @@ static struct clk init_clocks[] = {
.enable = s5p6442_clk_ip3_ctrl,
.ctrlbit = (1<<19),
}, {
+ .name = "watchdog",
+ .id = -1,
+ .parent = &clk_pclkd1,
+ .enable = s5p6442_clk_ip3_ctrl,
+ .ctrlbit = (1 << 22),
+ }, {
.name = "timers",
.id = -1,
.parent = &clk_pclkd1,