Skip to content

Commit 99735a7

Browse files
inochisadlan17
authored andcommitted
clk: spacemit: Hide common clock driver from user controller
Since the common clock driver is only a dependency for other spacemit clock driver, it should not be enabled individually, so hide this in the Kconfig UI and let other spacemit clock driver select it. Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Reviewed-by: Yixun Lan <dlan@gentoo.org> Link: https://lore.kernel.org/r/20251219012819.440972-3-inochiama@gmail.com Signed-off-by: Yixun Lan <dlan@gentoo.org>
1 parent 5ec8cbb commit 99735a7

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

drivers/clk/spacemit/Kconfig

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22

3-
config SPACEMIT_CCU
4-
tristate "Clock support for SpacemiT SoCs"
3+
menu "Clock support for SpacemiT platforms"
54
depends on ARCH_SPACEMIT || COMPILE_TEST
5+
6+
config SPACEMIT_CCU
7+
tristate
68
select AUXILIARY_BUS
79
select MFD_SYSCON
8-
help
9-
Say Y to enable clock controller unit support for SpacemiT SoCs.
10-
11-
if SPACEMIT_CCU
1210

1311
config SPACEMIT_K1_CCU
1412
tristate "Support for SpacemiT K1 SoC"
15-
depends on ARCH_SPACEMIT || COMPILE_TEST
13+
select SPACEMIT_CCU
1614
help
1715
Support for clock controller unit in SpacemiT K1 SoC.
1816

19-
endif
17+
endmenu

0 commit comments

Comments
 (0)