Skip to contentSkip to conversation

ARM: mvebu: let Armada XP also select corediv clk

PATCH New Uwe Kleine-König 2 participants 2 messages Sep 19, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: mvebu: let Armada XP also select corediv clk

An Armada XP there is also a marvell,armada-370-corediv-clock compatible device that is needed to make the nand device work.

---
 arch/arm/mach-mvebu/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-mvebu/Kconfig +1 -0
index f9b6bd306cfe..2979a9c454f6 100644
@@ -97,6 +97,7 @@ config MACH_ARMADA_XP
 	select CPU_PJ4B
 	select MACH_MVEBU_V7
 	select PINCTRL_ARMADA_XP
+	select MVEBU_CLK_COREDIV
 	help
 	  Say 'Y' here if you want your kernel to support boards based
 	  on the Marvell Armada XP SoC with device tree.
Signature · 1 line
2.8.1
#1 lore raw

PATCH 1/1 ARM: mvebu: let Armada XP also select corediv clk

Hi Uwe,

Quoted 2 lines · Uwe Kleine-K?nig

An Armada XP there is also a marvell,armada-370-corediv-clock compatible device that is needed to make the nand device work.

Indeed when I acked the commit bd3677ff31a3 ("clk: mvebu: Remove corediv clock from Armada XP") I missed that the armada-370-corediv-clock compatible sting was for Armada 370 and Armada XP. We didn't see it until now because I used the mvebu_v7_defconfig (or the multi_v7_defconfig) where all the mvebu SoC are enabled.

But the Armada 39x also need it and actually all the SoC selecting MVEBU_V7 config need this clock.

So I am sending a patch to fix it and it will part of the pull request to arm-soc for the fix this week.

Thanks,

Gregory

Quoted 21 lines
---
 arch/arm/mach-mvebu/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-mvebu/Kconfig +1 -0
index f9b6bd306cfe..2979a9c454f6 100644
@@ -97,6 +97,7 @@ config MACH_ARMADA_XP
 	select CPU_PJ4B
 	select MACH_MVEBU_V7
 	select PINCTRL_ARMADA_XP
+	select MVEBU_CLK_COREDIV
 	help
 	  Say 'Y' here if you want your kernel to support boards based
 	  on the Marvell Armada XP SoC with device tree.
Signature · 1 line
2.8.1
Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com