aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInochi Amaoto <inochiama@gmail.com>2025-12-19 09:28:18 +0800
committerYixun Lan <dlan@gentoo.org>2025-12-23 10:28:31 +0800
commit99735a742f7e9a3e7f4cb6c58edf1b38101e7657 (patch)
tree4803fc653ba5cf5776a7af0cbcc379a70607b28a
parent5ec8cbbc54c82c0bdae4dbf0e5aecf9817bde2b9 (diff)
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>
-rw-r--r--drivers/clk/spacemit/Kconfig14
1 files changed, 6 insertions, 8 deletions
diff --git a/drivers/clk/spacemit/Kconfig b/drivers/clk/spacemit/Kconfig
index 3854f6ae6d0e..3351e8bc801d 100644
--- a/drivers/clk/spacemit/Kconfig
+++ b/drivers/clk/spacemit/Kconfig
@@ -1,19 +1,17 @@
# SPDX-License-Identifier: GPL-2.0-only
-config SPACEMIT_CCU
- tristate "Clock support for SpacemiT SoCs"
+menu "Clock support for SpacemiT platforms"
depends on ARCH_SPACEMIT || COMPILE_TEST
+
+config SPACEMIT_CCU
+ tristate
select AUXILIARY_BUS
select MFD_SYSCON
- help
- Say Y to enable clock controller unit support for SpacemiT SoCs.
-
-if SPACEMIT_CCU
config SPACEMIT_K1_CCU
tristate "Support for SpacemiT K1 SoC"
- depends on ARCH_SPACEMIT || COMPILE_TEST
+ select SPACEMIT_CCU
help
Support for clock controller unit in SpacemiT K1 SoC.
-endif
+endmenu