summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-10-06 09:38:59 -0600
committerTom Rini <[email protected]>2025-12-05 15:04:52 -0600
commit9d69a2d8a092abab761f57795e906a7a579b3a00 (patch)
tree0e478acf61a575945a6888a17f46e28f6fd2b675
parent272e356b179fc68335298a6088f698bf034a4f55 (diff)
clk: ti: Tighten some TI clock driver dependencies
Attempting to build with "allyesconfig" means that we try and build all available options for the sandbox platforms. Doing so exposes that the drivers under drivers/clk/ti/ can only be compiled or linked on ARCH_OMAP2PLUS platforms as some drivers require platform specific headers while other drivers depend on these first drivers to link. Express those requirements in Kconfig as well. Reviewed-by: Manorit Chawdhry <[email protected]> Signed-off-by: Tom Rini <[email protected]>
-rw-r--r--drivers/clk/ti/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/clk/ti/Kconfig b/drivers/clk/ti/Kconfig
index fdda283d6d3..34fba089992 100644
--- a/drivers/clk/ti/Kconfig
+++ b/drivers/clk/ti/Kconfig
@@ -18,19 +18,19 @@ config CLK_TI_CTRL
config CLK_TI_DIVIDER
bool "TI divider clock driver"
- depends on CLK && OF_CONTROL && CLK_CCF
+ depends on CLK && OF_CONTROL && CLK_CCF && ARCH_OMAP2PLUS
help
This enables the divider clock driver support on TI's SoCs.
config CLK_TI_GATE
bool "TI gate clock driver"
- depends on CLK && OF_CONTROL
+ depends on CLK && OF_CONTROL && ARCH_OMAP2PLUS
help
This enables the gate clock driver support on TI's SoCs.
config CLK_TI_MUX
bool "TI mux clock driver"
- depends on CLK && OF_CONTROL && CLK_CCF
+ depends on CLK && OF_CONTROL && CLK_CCF && ARCH_OMAP2PLUS
help
This enables the mux clock driver support on TI's SoCs.