linux/drivers/clk/mvebu
Thomas Petazzoni 42b5f40610 clk: mvebu: extend common code to allow an optional refclk
The Armada 39x, contrary to its predecessor, has a configurable
reference clock frequency, of either 25 Mhz, or 40 Mhz. For the
previous SoCs, it was fixed to 25 Mhz and described directly as such
in the Device Tree.

For Armada 39x, we need to read certain registers to know whether the
frequency is 25 or 40 Mhz. Therefore, this commit extends the common
mvebu clock code to allow the SoC-specific code to say it wants to
register a reference clock, by giving a non-NULL ->get_refclk_freq()
function pointer in its coreclk_soc_desc structure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2015-03-04 15:18:48 +01:00
..
armada-38x.c clk: mvebu: add clock support for Armada 380/385 2014-02-17 02:34:05 +00:00
armada-370.c clk: mvebu: armada-370: Fix timer drift caused by the SSCG deviation 2014-09-09 15:15:03 +00:00
armada-375.c clk: mvebu: armada-375: Fix the description of the SAR in the comment 2014-09-09 15:15:22 +00:00
armada-xp.c clk: mvebu: armada-xp: maintain clock init order 2014-02-06 18:06:50 +00:00
clk-corediv.c clk: mvebu: Support Armada 380 SoC on the core divider clock 2014-03-13 23:24:23 +00:00
clk-cpu.c clk: mvebu: extend clk-cpu for dynamic frequency scaling 2014-07-16 12:58:38 +00:00
common.c clk: mvebu: extend common code to allow an optional refclk 2015-03-04 15:18:48 +01:00
common.h clk: mvebu: extend common code to allow an optional refclk 2015-03-04 15:18:48 +01:00
dove.c clk: mvebu: dove: maintain clock init order 2014-02-06 18:06:52 +00:00
Kconfig clk: mvebu: add Orion5x clock driver 2014-04-26 01:03:55 +00:00
kirkwood.c cpufreq: kirkwood: use the powersave multiplexer 2014-09-02 15:02:54 -07:00
Makefile clk: mvebu: add Orion5x clock driver 2014-04-26 01:03:55 +00:00
orion.c clk: mvebu: add Orion5x clock driver 2014-04-26 01:03:55 +00:00