mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 16:41:39 +00:00
clk: mvebu: Move corediv config to mvebu config
The core clock does not depend on corediv, so enabling corediv based on the clock is not really correct. Move the corediv config option from the clock driver Kconfig to the mvebu Kconfig so that it can be enabled by the MACH option instead. This also enables corediv on Armada 375 and 38X, which was previously missing. Signed-off-by: Kevin Smith <kevin.smith@elecsyscorp.com> Cc: Michael Turquette <mturquette@baylibre.com> Cc: Stephen Boyd <sboyd@codeaurora.org> Cc: Gregory CLEMENT <gregory.clement@free-electrons.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
parent
bd3677ff31
commit
1594d568c6
@ -32,6 +32,7 @@ config MACH_ARMADA_370
|
|||||||
select CPU_PJ4B
|
select CPU_PJ4B
|
||||||
select MACH_MVEBU_V7
|
select MACH_MVEBU_V7
|
||||||
select PINCTRL_ARMADA_370
|
select PINCTRL_ARMADA_370
|
||||||
|
select MVEBU_CLK_COREDIV
|
||||||
help
|
help
|
||||||
Say 'Y' here if you want your kernel to support boards based
|
Say 'Y' here if you want your kernel to support boards based
|
||||||
on the Marvell Armada 370 SoC with device tree.
|
on the Marvell Armada 370 SoC with device tree.
|
||||||
@ -48,6 +49,7 @@ config MACH_ARMADA_375
|
|||||||
select HAVE_SMP
|
select HAVE_SMP
|
||||||
select MACH_MVEBU_V7
|
select MACH_MVEBU_V7
|
||||||
select PINCTRL_ARMADA_375
|
select PINCTRL_ARMADA_375
|
||||||
|
select MVEBU_CLK_COREDIV
|
||||||
help
|
help
|
||||||
Say 'Y' here if you want your kernel to support boards based
|
Say 'Y' here if you want your kernel to support boards based
|
||||||
on the Marvell Armada 375 SoC with device tree.
|
on the Marvell Armada 375 SoC with device tree.
|
||||||
@ -64,6 +66,7 @@ config MACH_ARMADA_38X
|
|||||||
select HAVE_SMP
|
select HAVE_SMP
|
||||||
select MACH_MVEBU_V7
|
select MACH_MVEBU_V7
|
||||||
select PINCTRL_ARMADA_38X
|
select PINCTRL_ARMADA_38X
|
||||||
|
select MVEBU_CLK_COREDIV
|
||||||
help
|
help
|
||||||
Say 'Y' here if you want your kernel to support boards based
|
Say 'Y' here if you want your kernel to support boards based
|
||||||
on the Marvell Armada 380/385 SoC with device tree.
|
on the Marvell Armada 380/385 SoC with device tree.
|
||||||
|
@ -11,7 +11,6 @@ config ARMADA_370_CLK
|
|||||||
bool
|
bool
|
||||||
select MVEBU_CLK_COMMON
|
select MVEBU_CLK_COMMON
|
||||||
select MVEBU_CLK_CPU
|
select MVEBU_CLK_CPU
|
||||||
select MVEBU_CLK_COREDIV
|
|
||||||
|
|
||||||
config ARMADA_375_CLK
|
config ARMADA_375_CLK
|
||||||
bool
|
bool
|
||||||
|
Loading…
Reference in New Issue
Block a user