On Fri, Nov 28, 2025 at 11:17:00AM +0100, Markus Schneider-Pargmann (TI.com) wrote:
> Add a Kconfig symbol for this stub driver to avoid clock dependencies on > an architecture symbol. I added the new symbol to all defconfigs that > would need it. > > Signed-off-by: Markus Schneider-Pargmann (TI.com) <[email protected]> [snip] > 49 files changed, 54 insertions(+), 2 deletions(-) [snip] > diff --git a/drivers/clk/ti/Kconfig b/drivers/clk/ti/Kconfig > index > 7b8da69712e4fa61c15f3fb0cbdc9f3fd8de31bb..9b6829793fa87c91db3aefac8ea9cea8180c2ad3 > 100644 > --- a/drivers/clk/ti/Kconfig > +++ b/drivers/clk/ti/Kconfig > @@ -10,6 +10,12 @@ config CLK_TI_OMAP2PLUS > help > Common clock functions used in some TI clock drivers. > > +config CLK_TI_OMAP4_CM > + bool "TI OMAP4 clock manager driver" > + depends on CLK && ARCH_OMAP2PLUS > + help > + This enables the OMAP4 clock manager (CM) stub driver. > + > config CLK_TI_AM3_DPLL > bool "TI AM33XX Digital Phase-Locked Loop (DPLL) clock drivers" > depends on CLK && OF_CONTROL && ARCH_OMAP2PLUS > diff --git a/drivers/clk/ti/Makefile b/drivers/clk/ti/Makefile > index > 329fae67889b11a9ef3c646b166243abcb956144..74e4329a3430d66c11a3c034f1938c0804f4c918 > 100644 > --- a/drivers/clk/ti/Makefile > +++ b/drivers/clk/ti/Makefile > @@ -3,14 +3,13 @@ > # Copyright (C) 2020 Dario Binacchi <[email protected]> > # > > -obj-$(CONFIG_ARCH_OMAP2PLUS) += omap4-cm.o > - > obj-$(CONFIG_CLK_TI_AM3_DPLL) += clk-am3-dpll.o clk-am3-dpll-x2.o > obj-$(CONFIG_CLK_TI_CTRL) += clk-ctrl.o > obj-$(CONFIG_CLK_TI_DIVIDER) += clk-divider.o > obj-$(CONFIG_CLK_TI_GATE) += clk-gate.o > obj-$(CONFIG_CLK_TI_MUX) += clk-mux.o > obj-$(CONFIG_CLK_TI_OMAP2PLUS) += clk.o > +obj-$(CONFIG_CLK_TI_OMAP4_CM) += omap4-cm.o > obj-$(CONFIG_CLK_TI_SCI) += clk-sci.o > obj-$(CONFIG_$(PHASE_)CLK_K3_PLL) += clk-k3-pll.o > obj-$(CONFIG_$(PHASE_)CLK_K3) += clk-k3.o Given how the old logic worked, we should default y this new symbol I think. Thanks. -- Tom
signature.asc
Description: PGP signature

