summaryrefslogtreecommitdiff
path: root/drivers/clk/mvebu/armada-xp.c
diff options
context:
space:
mode:
authorChris Packham <chris.packham@alliedtelesis.co.nz>2017-02-07 23:28:15 +0300
committerStephen Boyd <sboyd@codeaurora.org>2017-02-10 20:21:30 +0300
commit33707260422475385c6f33f526c71805a3dc5dab (patch)
tree21b3410462e936969a96f5332a3cadc138350677 /drivers/clk/mvebu/armada-xp.c
parent48239135dd3fd4c5e90ae74cba79d798a9792238 (diff)
downloadlinux-33707260422475385c6f33f526c71805a3dc5dab.tar.xz
clk: mvebu: Expand mv98dx3236-core-clock support
The initial implementation in commit e120c17a70e5 ("clk: mvebu: support for 98DX3236 SoC") hardcoded a fixed value for the main PLL frequency. Port code from the Marvell supplied Linux kernel to support different PLL frequencies and provide clock gating support. Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/mvebu/armada-xp.c')
-rw-r--r--drivers/clk/mvebu/armada-xp.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/clk/mvebu/armada-xp.c b/drivers/clk/mvebu/armada-xp.c
index 890a863ae0d0..0ec44ae9a2a2 100644
--- a/drivers/clk/mvebu/armada-xp.c
+++ b/drivers/clk/mvebu/armada-xp.c
@@ -232,16 +232,3 @@ static void __init axp_clk_init(struct device_node *np)
mvebu_clk_gating_setup(cgnp, axp_gating_desc);
}
CLK_OF_DECLARE(axp_clk, "marvell,armada-xp-core-clock", axp_clk_init);
-
-static void __init mv98dx3236_clk_init(struct device_node *np)
-{
- struct device_node *cgnp =
- of_find_compatible_node(NULL, NULL, "marvell,armada-xp-gating-clock");
-
- mvebu_coreclk_setup(np, &mv98dx3236_coreclks);
-
- if (cgnp)
- mvebu_clk_gating_setup(cgnp, mv98dx3236_gating_desc);
-}
-CLK_OF_DECLARE(mv98dx3236_clk, "marvell,mv98dx3236-core-clock",
- mv98dx3236_clk_init);