[PATCH v2] clk: ti: Tighten some TI clock driver dependencies
Tom Rini
trini at konsulko.com
Mon Oct 6 17:38:59 CEST 2025
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 <m-chawdhry at ti.com>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
Changes in v2:
- Make it clearer how I hit this problem, and that it's ARCH_OMAP2PLUS
specific drivers here.
- Add Manorit's tag.
Cc: Lukasz Majewski <lukma at denx.de>
Cc: Sean Anderson <seanga2 at gmail.com>
Cc: Manorit Chawdhry <m-chawdhry at ti.com>
Cc: Andrew Davis <afd at ti.com>
Cc: Udit Kumar <u-kumar1 at ti.com>
---
drivers/clk/ti/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/ti/Kconfig b/drivers/clk/ti/Kconfig
index fbcdefd889ae..ae39e94cc867 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.
--
2.43.0
More information about the U-Boot
mailing list