summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-07-17 19:14:18 -0600
committerTom Rini <[email protected]>2025-10-28 12:25:23 -0600
commitf30b6d12da1db7df7fec7c5927354514f3dc16b7 (patch)
treeb3511b6e0d9eb334b164729980eedf2ba414cf97 /drivers
parentb901d8f15c3b623e6eb01c397cc3140d31388016 (diff)
clk: Tighten some clock driver dependencies
A few clock drivers cannot build without access to some platform specific header files. Express those requirements in Kconfig as well. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/clk/Kconfig4
-rw-r--r--drivers/clk/at91/Kconfig2
-rw-r--r--drivers/clk/sifive/Kconfig2
-rw-r--r--drivers/clk/ti/Kconfig4
4 files changed, 6 insertions, 6 deletions
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index e6483ddc88b..b884a02bdeb 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -131,7 +131,7 @@ config CLK_BOSTON
config CLK_CDCE9XX
bool "Enable CDCD9XX clock driver"
- depends on CLK
+ depends on CLK && ARCH_OMAP2PLUS
help
Enable the clock synthesizer driver for CDCE913/925/937/949
series of chips.
@@ -169,7 +169,7 @@ config CLK_K210_SET_RATE
config CLK_MPC83XX
bool "Enable MPC83xx clock driver"
- depends on CLK
+ depends on CLK && MPC83xx
help
Support for the clock driver of the MPC83xx series of SoCs.
diff --git a/drivers/clk/at91/Kconfig b/drivers/clk/at91/Kconfig
index 4563892647b..faeaa2808b0 100644
--- a/drivers/clk/at91/Kconfig
+++ b/drivers/clk/at91/Kconfig
@@ -1,6 +1,6 @@
config CLK_AT91
bool "AT91 clock drivers"
- depends on CLK
+ depends on CLK && ARCH_AT91
select MISC
help
This option is used to enable the AT91 clock driver.
diff --git a/drivers/clk/sifive/Kconfig b/drivers/clk/sifive/Kconfig
index 20fc004b59e..01e4f33415e 100644
--- a/drivers/clk/sifive/Kconfig
+++ b/drivers/clk/sifive/Kconfig
@@ -2,7 +2,7 @@
config CLK_SIFIVE
bool "SiFive SoC driver support"
- depends on CLK
+ depends on CLK && RISCV
help
SoC drivers for SiFive Linux-capable SoCs.
diff --git a/drivers/clk/ti/Kconfig b/drivers/clk/ti/Kconfig
index bcf3976a09f..fdda283d6d3 100644
--- a/drivers/clk/ti/Kconfig
+++ b/drivers/clk/ti/Kconfig
@@ -5,14 +5,14 @@
config CLK_TI_AM3_DPLL
bool "TI AM33XX Digital Phase-Locked Loop (DPLL) clock drivers"
- depends on CLK && OF_CONTROL
+ depends on CLK && OF_CONTROL && ARCH_OMAP2PLUS
help
This enables the DPLL clock drivers support on AM33XX SoCs. The DPLL
provides all interface clocks and functional clocks to the processor.
config CLK_TI_CTRL
bool "TI OMAP4 clock controller"
- depends on CLK && OF_CONTROL
+ depends on CLK && OF_CONTROL && ARCH_OMAP2PLUS
help
This enables the clock controller driver support on TI's SoCs.