Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed9f30a2 authored by Sebastian Hesselbarth's avatar Sebastian Hesselbarth Committed by Jason Cooper
Browse files

ARM: kirkwood: move DT boards to SoC-centric clock init



SoC centric clock init for Kirkwood can be used by calling of_clk_init.
Use it and get rid of mvebu_clocks_init.

Signed-off-by: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Tested-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: default avatarMike Turquette <mturquette@linaro.org>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent 367dc18d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -134,13 +134,12 @@ comment "Device tree entries"

config ARCH_KIRKWOOD_DT
	bool "Marvell Kirkwood Flattened Device Tree"
	select KIRKWOOD_CLK
	select POWER_SUPPLY
	select POWER_RESET
	select POWER_RESET_GPIO
	select REGULATOR
	select REGULATOR_FIXED_VOLTAGE
	select MVEBU_CLK_CORE
	select MVEBU_CLK_GATING
	select USE_OF
	help
	  Say 'Y' here if you want your kernel to support the
+1 −2
Original line number Diff line number Diff line
@@ -15,7 +15,6 @@
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/clk-provider.h>
#include <linux/clk/mvebu.h>
#include <linux/kexec.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
@@ -77,7 +76,7 @@ static void __init kirkwood_legacy_clk_init(void)

static void __init kirkwood_of_clk_init(void)
{
	mvebu_clocks_init();
	of_clk_init(NULL);
	kirkwood_legacy_clk_init();
}