Sebastian Hesselbarth | 97fa4cf | 2012-11-17 15:22:22 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Marvell EBU SoC clock handling. |
| 3 | * |
| 4 | * Copyright (C) 2012 Marvell |
| 5 | * |
| 6 | * Gregory CLEMENT <gregory.clement@free-electrons.com> |
| 7 | * |
| 8 | * This file is licensed under the terms of the GNU General Public |
| 9 | * License version 2. This program is licensed "as is" without any |
| 10 | * warranty of any kind, whether express or implied. |
| 11 | */ |
| 12 | #include <linux/kernel.h> |
Sebastian Hesselbarth | 97fa4cf | 2012-11-17 15:22:22 +0100 | [diff] [blame] | 13 | #include <linux/clk-provider.h> |
Sebastian Hesselbarth | 97fa4cf | 2012-11-17 15:22:22 +0100 | [diff] [blame] | 14 | #include <linux/of.h> |
| 15 | #include "clk-core.h" |
Sebastian Hesselbarth | f97d0d7 | 2012-11-17 15:22:26 +0100 | [diff] [blame] | 16 | #include "clk-gating-ctrl.h" |
Sebastian Hesselbarth | 97fa4cf | 2012-11-17 15:22:22 +0100 | [diff] [blame] | 17 | |
| 18 | void __init mvebu_clocks_init(void) |
| 19 | { |
| 20 | mvebu_core_clk_init(); |
Sebastian Hesselbarth | f97d0d7 | 2012-11-17 15:22:26 +0100 | [diff] [blame] | 21 | mvebu_gating_clk_init(); |
Jean-Francois Moine | f640c0f | 2013-04-02 13:02:36 +0200 | [diff] [blame] | 22 | of_clk_init(NULL); |
Sebastian Hesselbarth | 97fa4cf | 2012-11-17 15:22:22 +0100 | [diff] [blame] | 23 | } |