[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251219012819.440972-3-inochiama@gmail.com>
Date: Fri, 19 Dec 2025 09:28:18 +0800
From: Inochi Amaoto <inochiama@...il.com>
To: Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Yixun Lan <dlan@...too.org>,
Haylen Chu <heylenay@....org>,
Alex Elder <elder@...cstar.com>,
Inochi Amaoto <inochiama@...il.com>,
Troy Mitchell <troy.mitchell@...ux.spacemit.com>,
Charles Mirabile <cmirabil@...hat.com>,
Brian Masney <bmasney@...hat.com>,
Akhilesh Patil <akhilesh@...iitb.ac.in>
Cc: linux-kernel@...r.kernel.org,
linux-clk@...r.kernel.org,
linux-riscv@...ts.infradead.org,
spacemit@...ts.linux.dev,
Longbin Li <looong.bin@...il.com>
Subject: [PATCH v4 2/2] 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@...il.com>
---
drivers/clk/spacemit/Kconfig | 14 ++++++--------
1 file 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
+menu "Clock support for SpacemiT platforms"
+ depends on ARCH_SPACEMIT || COMPILE_TEST
+
config SPACEMIT_CCU
- tristate "Clock support for SpacemiT SoCs"
- depends on ARCH_SPACEMIT || COMPILE_TEST
+ 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
--
2.52.0
Powered by blists - more mailing lists