mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-27 03:47:43 +00:00
f640c0fad6
The use common of_clk_init() function simplifies the clock initialization and adds handling of the DT "fixed-clock". Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mike Turquette <mturquette@linaro.org> [mturquette@linaro.org: fixed $SUBJECT to reflect correct file path]
24 lines
567 B
C
24 lines
567 B
C
/*
|
|
* Marvell EBU SoC clock handling.
|
|
*
|
|
* Copyright (C) 2012 Marvell
|
|
*
|
|
* Gregory CLEMENT <gregory.clement@free-electrons.com>
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* License version 2. This program is licensed "as is" without any
|
|
* warranty of any kind, whether express or implied.
|
|
*/
|
|
#include <linux/kernel.h>
|
|
#include <linux/clk-provider.h>
|
|
#include <linux/of.h>
|
|
#include "clk-core.h"
|
|
#include "clk-gating-ctrl.h"
|
|
|
|
void __init mvebu_clocks_init(void)
|
|
{
|
|
mvebu_core_clk_init();
|
|
mvebu_gating_clk_init();
|
|
of_clk_init(NULL);
|
|
}
|