diff options
author | Vipul Kumar Samar <vipulkumar.samar@st.com> | 2012-11-10 07:43:44 +0100 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-11-21 20:45:52 +0100 |
commit | cd4b519aa5bdce92fcacc1d4bbe0fa16b4e16144 (patch) | |
tree | 57c5e0526fa533e5a6e74938dad9051491f8c55b /drivers/clk/spear/spear1310_clock.c | |
parent | CLK: SPEAr: Set CLK_SET_RATE_PARENT for few clocks (diff) | |
download | linux-cd4b519aa5bdce92fcacc1d4bbe0fa16b4e16144.tar.xz linux-cd4b519aa5bdce92fcacc1d4bbe0fa16b4e16144.zip |
CLK: SPEAr: Add missing clocks
This patch adds missing clocks: twd and macb.
Signed-off-by: Vipul Kumar Samar <vipulkumar.samar@st.com>
Signed-off-by: Deepak Sikri <deepak.sikri@st.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/spear/spear1310_clock.c')
-rw-r--r-- | drivers/clk/spear/spear1310_clock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clk/spear/spear1310_clock.c b/drivers/clk/spear/spear1310_clock.c index 2809b670e22c..b64d51153a78 100644 --- a/drivers/clk/spear/spear1310_clock.c +++ b/drivers/clk/spear/spear1310_clock.c @@ -491,6 +491,10 @@ void __init spear1310_clk_init(void) 2); clk_register_clkdev(clk, NULL, "ec800620.wdt"); + clk = clk_register_fixed_factor(NULL, "smp_twd_clk", "cpu_clk", 0, 1, + 2); + clk_register_clkdev(clk, NULL, "smp_twd"); + clk = clk_register_fixed_factor(NULL, "ahb_clk", "pll1_clk", 0, 1, 6); clk_register_clkdev(clk, "ahb_clk", NULL); |