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> |
| 13 | #include <linux/clk.h> |
| 14 | #include <linux/clk-provider.h> |
| 15 | #include <linux/of_address.h> |
| 16 | #include <linux/clk/mvebu.h> |
| 17 | #include <linux/of.h> |
| 18 | #include "clk-core.h" |
Gregory CLEMENT | ab8ba01 | 2012-11-17 15:22:23 +0100 | [diff] [blame] | 19 | #include "clk-cpu.h" |
Sebastian Hesselbarth | f97d0d7 | 2012-11-17 15:22:26 +0100 | [diff] [blame] | 20 | #include "clk-gating-ctrl.h" |
Sebastian Hesselbarth | 97fa4cf | 2012-11-17 15:22:22 +0100 | [diff] [blame] | 21 | |
| 22 | void __init mvebu_clocks_init(void) |
| 23 | { |
| 24 | mvebu_core_clk_init(); |
Sebastian Hesselbarth | f97d0d7 | 2012-11-17 15:22:26 +0100 | [diff] [blame] | 25 | mvebu_gating_clk_init(); |
Gregory CLEMENT | ab8ba01 | 2012-11-17 15:22:23 +0100 | [diff] [blame] | 26 | mvebu_cpu_clk_init(); |
Sebastian Hesselbarth | 97fa4cf | 2012-11-17 15:22:22 +0100 | [diff] [blame] | 27 | } |