summaryrefslogtreecommitdiff
path: root/drivers/clk/microchip
diff options
context:
space:
mode:
authorConor Dooley <conor.dooley@microchip.com>2022-11-23 16:19:22 +0000
committerStephen Boyd <sboyd@kernel.org>2022-12-08 17:12:08 -0800
commit3c79ace9c0d0ba4755e5673759acb36fd17e714a (patch)
tree442eed63c35ee68a1574ab3d20e842f88fbedc9a /drivers/clk/microchip
parente0bb331221f85d131f277c834bdf20e977badfd8 (diff)
downloadlwn-3c79ace9c0d0ba4755e5673759acb36fd17e714a.tar.gz
lwn-3c79ace9c0d0ba4755e5673759acb36fd17e714a.zip
clk: microchip: enable the MPFS clk driver by default if SOC_MICROCHIP_POLARFIRE
With the intent of removing driver selects from Kconfig.socs in arch/riscv, essential drivers that were being selected there could instead by enabled by defaulting them to the value of the SoC's Kconfig symbol. Do so here & drop the depend on RISC-V - the SOC_ symbols are only defined there anyway. Signed-off-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20221123161921.81195-1-conor@kernel.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/microchip')
-rw-r--r--drivers/clk/microchip/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/microchip/Kconfig b/drivers/clk/microchip/Kconfig
index b46e864b3bd8..e33e51978938 100644
--- a/drivers/clk/microchip/Kconfig
+++ b/drivers/clk/microchip/Kconfig
@@ -5,7 +5,8 @@ config COMMON_CLK_PIC32
config MCHP_CLK_MPFS
bool "Clk driver for PolarFire SoC"
- depends on (RISCV && SOC_MICROCHIP_POLARFIRE) || COMPILE_TEST
+ depends on SOC_MICROCHIP_POLARFIRE || COMPILE_TEST
+ default SOC_MICROCHIP_POLARFIRE
select AUXILIARY_BUS
help
Supports Clock Configuration for PolarFire SoC