]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: mvebu: Select corediv clk for all mvebu v7 SoC
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 19 Sep 2016 10:02:50 +0000 (12:02 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 19 Sep 2016 15:56:29 +0000 (17:56 +0200)
commit33c45ef8adc8a7cf781b2566d50e6ea8e97b3596
tree20c16daf82b799e62b2f03fef747eca6def4a1e3
parentc721da1d05760ad0b4e7670896dae31b6b07d8d6
ARM: mvebu: Select corediv clk for all mvebu v7 SoC

Since the commit bd3677ff31a3 ("clk: mvebu: Remove corediv clock from
Armada XP"), the corediv clk is no more selected for Armada XP, however
this clock is used for Armada XP using the compatible
armada-370-corediv-clock.

While since commit 1594d568c6e3 ("clk: mvebu: Move corediv config to
mvebu config") Armada 38x and Armada 375 got corediv support again, not
only Armada XP was missed but also Armada 39x.

Actually all the SoC selecting MVEBU_V7 config need this clock:
git grep "\-corediv-clock" arch/arm/boot/dts
arch/arm/boot/dts/armada-370-xp.dtsi: compatible = "marvell,armada-370-corediv-clock";
arch/arm/boot/dts/armada-375.dtsi:    compatible = "marvell,armada-375-corediv-clock";
arch/arm/boot/dts/armada-38x.dtsi:    compatible = "marvell,armada-380-corediv-clock";
arch/arm/boot/dts/armada-39x.dtsi:    compatible = "marvell,armada-390-corediv-clock"

This commit now fixes this behavior by letting MVEBU_V7 select
MVEBU_CLK_COREDIV.

Fixes: bd3677ff31a3 ("clk: mvebu: Remove corediv clock from Armada XP")
Cc: stable@vger.kernel.org
Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/mach-mvebu/Kconfig