summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sifive
diff options
context:
space:
mode:
authorConor Dooley <conor.dooley@microchip.com>2022-10-05 19:13:44 +0200
committerStephen Boyd <sboyd@kernel.org>2022-10-17 23:07:11 +0200
commit7e3e6e1b75c9643e25e8ca7d6caf1b1faf8f022e (patch)
treec7698233d52fc1eeb7d5b3f95eaa5b2249edb3cd /drivers/clk/sifive
parentclk: rs9: Fix I2C accessors (diff)
downloadlinux-7e3e6e1b75c9643e25e8ca7d6caf1b1faf8f022e.tar.xz
linux-7e3e6e1b75c9643e25e8ca7d6caf1b1faf8f022e.zip
clk: sifive: select by default if SOC_SIFIVE
With the aim of dropping direct selects of drivers from Kconfig.socs, default the SiFive clock drivers to the value of SOC_SIFIVE. Signed-off-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20221005171348.167476-2-conor@kernel.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/sifive')
-rw-r--r--drivers/clk/sifive/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/clk/sifive/Kconfig b/drivers/clk/sifive/Kconfig
index 9132c3c4aa86..b7fde0aadfcb 100644
--- a/drivers/clk/sifive/Kconfig
+++ b/drivers/clk/sifive/Kconfig
@@ -2,7 +2,8 @@
menuconfig CLK_SIFIVE
bool "SiFive SoC driver support"
- depends on RISCV || COMPILE_TEST
+ depends on SOC_SIFIVE || COMPILE_TEST
+ default SOC_SIFIVE
help
SoC drivers for SiFive Linux-capable SoCs.
@@ -10,6 +11,7 @@ if CLK_SIFIVE
config CLK_SIFIVE_PRCI
bool "PRCI driver for SiFive SoCs"
+ default SOC_SIFIVE
select RESET_CONTROLLER
select RESET_SIMPLE
select CLK_ANALOGBITS_WRPLL_CLN28HPC