diff options
author | Vipul Kumar Samar <vipulkumar.samar@st.com> | 2012-11-10 12:13:44 +0530 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-11-21 11:45:52 -0800 |
commit | cd4b519aa5bdce92fcacc1d4bbe0fa16b4e16144 (patch) | |
tree | 57c5e0526fa533e5a6e74938dad9051491f8c55b /drivers/clk/spear/spear1340_clock.c | |
parent | 1249979242db10d2fe1793f26e7658d94b7bf6dc (diff) |
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/spear1340_clock.c')
-rw-r--r-- | drivers/clk/spear/spear1340_clock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clk/spear/spear1340_clock.c b/drivers/clk/spear/spear1340_clock.c index aa5ed435fba..8f00533959a 100644 --- a/drivers/clk/spear/spear1340_clock.c +++ b/drivers/clk/spear/spear1340_clock.c @@ -535,6 +535,10 @@ void __init spear1340_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_mux(NULL, "ahb_clk", ahb_parents, ARRAY_SIZE(ahb_parents), 0, SPEAR1340_SYS_CLK_CTRL, SPEAR1340_HCLK_SRC_SEL_SHIFT, |