diff options
author | Vipul Kumar Samar <vipulkumar.samar@st.com> | 2012-11-10 06:43:44 (GMT) |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-11-21 19:45:52 (GMT) |
commit | cd4b519aa5bdce92fcacc1d4bbe0fa16b4e16144 (patch) | |
tree | 57c5e0526fa533e5a6e74938dad9051491f8c55b /drivers/clk/spear/spear1310_clock.c | |
parent | 1249979242db10d2fe1793f26e7658d94b7bf6dc (diff) | |
download | linux-fsl-qoriq-cd4b519aa5bdce92fcacc1d4bbe0fa16b4e16144.tar.xz |
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 2809b67..b64d511 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); |