summaryrefslogtreecommitdiffstats
path: root/drivers/clk/Kconfig
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2020-04-09 08:44:16 +0200
committerStephen Boyd <sboyd@kernel.org>2020-05-13 05:28:03 +0200
commitbc8c945e0ad2ff6d725af9b10085c6ee5d35a563 (patch)
treeece8ef47c415ad240c40405cad2d287c2c14da1e /drivers/clk/Kconfig
parentMIPS: Loongson64: Drop asm/clock.h include (diff)
downloadlinux-bc8c945e0ad2ff6d725af9b10085c6ee5d35a563.tar.xz
linux-bc8c945e0ad2ff6d725af9b10085c6ee5d35a563.zip
clk: Move HAVE_CLK config out of architecture layer
The implementation of 'struct clk' is not really an architectual detail anymore now that most architectures have migrated to the common clk framework. To sway new architecture ports away from trying to implement their own 'struct clk', move the config next to the common clk framework config. Cc: Russell King <linux@armlinux.org.uk> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Stephen Boyd <sboyd@kernel.org> Link: https://lkml.kernel.org/r/20200409064416.83340-11-sboyd@kernel.org Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/clk/Kconfig')
-rw-r--r--drivers/clk/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index 890bed62196d..6ea0631e3956 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -1,5 +1,11 @@
# SPDX-License-Identifier: GPL-2.0
+config HAVE_CLK
+ bool
+ help
+ The <linux/clk.h> calls support software clock gating and
+ thus are a key power management tool on many systems.
+
config CLKDEV_LOOKUP
bool
select HAVE_CLK