diff options
author | Vitaly Wool <vitalywool@gmail.com> | 2006-06-26 19:31:49 +0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2006-10-02 23:02:37 +0200 |
commit | 9325fa36151fb9af39e697a6cd87e82667e2d8f9 (patch) | |
tree | ba1bbe83c6287e693109644e9b361f973baf1593 /arch | |
parent | 92dd9994c36fb83883585058232e082cb78b19c1 (diff) | |
download | linux-3.10-9325fa36151fb9af39e697a6cd87e82667e2d8f9.tar.gz linux-3.10-9325fa36151fb9af39e697a6cd87e82667e2d8f9.tar.bz2 linux-3.10-9325fa36151fb9af39e697a6cd87e82667e2d8f9.zip |
[WATCHDOG] pnx4008: add watchdog support
Add watchdog support for Philips PNX4008 ARM board inlined.
Signed-off-by: Vitaly Wool <vitalywool@gmail.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-pnx4008/clock.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-pnx4008/clock.c b/arch/arm/mach-pnx4008/clock.c index f582ed2ec43..daa8d3d98ef 100644 --- a/arch/arm/mach-pnx4008/clock.c +++ b/arch/arm/mach-pnx4008/clock.c @@ -735,6 +735,16 @@ static struct clk uart6_ck = { .enable_reg = UARTCLKCTRL_REG, }; +static struct clk wdt_ck = { + .name = "wdt_ck", + .parent = &per_ck, + .flags = NEEDS_INITIALIZATION, + .round_rate = &on_off_round_rate, + .set_rate = &on_off_set_rate, + .enable_shift = 0, + .enable_reg = TIMCLKCTRL_REG, +}; + /* These clocks are visible outside this module * and can be initialized */ @@ -765,6 +775,7 @@ static struct clk *onchip_clks[] = { &uart4_ck, &uart5_ck, &uart6_ck, + &wdt_ck, }; static int local_clk_enable(struct clk *clk) |