summaryrefslogtreecommitdiff
path: root/drivers/clk/mvebu/Kconfig
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-03 17:41:08 +0300
committerGregory CLEMENT <gregory.clement@free-electrons.com>2015-03-04 17:18:48 +0300
commit42b5f40610fd222a9e7100f5b77582940bfdcbde (patch)
tree1d916b102c5bfb8cf40aa4bf96eb3eb19b31fc5d /drivers/clk/mvebu/Kconfig
parent9baf96886780c3ec137350da3c6418c825b2dd0a (diff)
downloadlinux-42b5f40610fd222a9e7100f5b77582940bfdcbde.tar.xz
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>
Diffstat (limited to 'drivers/clk/mvebu/Kconfig')
0 files changed, 0 insertions, 0 deletions