aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/mvebu/Kconfig
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@bootlin.com>2019-07-10 15:43:42 +0200
committerStephen Boyd <sboyd@kernel.org>2019-08-08 09:08:09 -0700
commit33c0259092c805dc1cee9dd7bf66a955124702d9 (patch)
treef8daa17f929ecd6bb0f382c62816324cadbdda7d /drivers/clk/mvebu/Kconfig
parentdt-bindings: ap806: add the cluster clock node in the syscon file (diff)
downloadlinux-dev-33c0259092c805dc1cee9dd7bf66a955124702d9.tar.xz
linux-dev-33c0259092c805dc1cee9dd7bf66a955124702d9.zip
clk: mvebu: add helper file for Armada AP and CP clocks
Clock drivers for Armada AP and Armada CP use the same function to generate unique clock name. A third drivers is coming with the same need, so it's time to move this function in a common file. Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com> Link: https://lkml.kernel.org/r/20190710134346.30239-3-gregory.clement@bootlin.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/mvebu/Kconfig')
-rw-r--r--drivers/clk/mvebu/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/clk/mvebu/Kconfig b/drivers/clk/mvebu/Kconfig
index b09f6ded0a30..19f1b51ed15e 100644
--- a/drivers/clk/mvebu/Kconfig
+++ b/drivers/clk/mvebu/Kconfig
@@ -8,6 +8,9 @@ config MVEBU_CLK_CPU
config MVEBU_CLK_COREDIV
bool
+config ARMADA_AP_CP_HELPER
+ bool
+
config ARMADA_370_CLK
bool
select MVEBU_CLK_COMMON
@@ -35,9 +38,11 @@ config ARMADA_XP_CLK
config ARMADA_AP806_SYSCON
bool
+ select ARMADA_AP_CP_HELPER
config ARMADA_CP110_SYSCON
bool
+ select ARMADA_AP_CP_HELPER
config DOVE_CLK
bool