blob: 29f10fb3006ced87fb4138e6db29df1e76b0ffb2 [file] [log] [blame]
Sebastian Hesselbarth97fa4cf2012-11-17 15:22:22 +01001/*
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 Hesselbarth97fa4cf2012-11-17 15:22:22 +010013#include <linux/clk-provider.h>
Sebastian Hesselbarth97fa4cf2012-11-17 15:22:22 +010014#include <linux/of.h>
15#include "clk-core.h"
Sebastian Hesselbarthf97d0d72012-11-17 15:22:26 +010016#include "clk-gating-ctrl.h"
Sebastian Hesselbarth97fa4cf2012-11-17 15:22:22 +010017
18void __init mvebu_clocks_init(void)
19{
20 mvebu_core_clk_init();
Sebastian Hesselbarthf97d0d72012-11-17 15:22:26 +010021 mvebu_gating_clk_init();
Jean-Francois Moinef640c0f2013-04-02 13:02:36 +020022 of_clk_init(NULL);
Sebastian Hesselbarth97fa4cf2012-11-17 15:22:22 +010023}