diff options
author | Stephen Boyd <sboyd@kernel.org> | 2020-04-08 23:44:16 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-05-12 20:28:03 -0700 |
commit | bc8c945e0ad2ff6d725af9b10085c6ee5d35a563 (patch) | |
tree | ece8ef47c415ad240c40405cad2d287c2c14da1e /drivers/clk/Kconfig | |
parent | c7725c9b74b4058a5ec16c88c29ad88947307f5c (diff) | |
download | linux-stable-bc8c945e0ad2ff6d725af9b10085c6ee5d35a563.tar.gz linux-stable-bc8c945e0ad2ff6d725af9b10085c6ee5d35a563.tar.bz2 linux-stable-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/Kconfig | 6 |
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 |