mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 12:21:37 +00:00
f97d0d7aa8
This driver allows to provide DT clocks for clock gates found on Marvell Dove and Kirkwood SoCs. The clock gates are referenced by the phandle index of the corresponding bit in the clock gating control register to ease lookup in the datasheet. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
28 lines
673 B
C
28 lines
673 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.h>
|
|
#include <linux/clk-provider.h>
|
|
#include <linux/of_address.h>
|
|
#include <linux/clk/mvebu.h>
|
|
#include <linux/of.h>
|
|
#include "clk-core.h"
|
|
#include "clk-cpu.h"
|
|
#include "clk-gating-ctrl.h"
|
|
|
|
void __init mvebu_clocks_init(void)
|
|
{
|
|
mvebu_core_clk_init();
|
|
mvebu_gating_clk_init();
|
|
mvebu_cpu_clk_init();
|
|
}
|