Sorry for a mistake, this first "only" should be "not".I disagree. The kernel is only for spacemit only, and the pinctrlI agree to make it a Boolean, we've already made pinctrl driver Booleandiff --git a/drivers/clk/spacemit/Kconfig b/drivers/clk/spacemit/KconfigI don't know the answer to this, but... Should this be a Boolean
new file mode 100644
index 000000000000..4c4df845b3cb
--- /dev/null
+++ b/drivers/clk/spacemit/Kconfig
@@ -0,0 +1,18 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+config SPACEMIT_CCU
+ tristate "Clock support for SpacemiT SoCs"
rather than tristate? Can a SpacemiT K1 SoC function without the
clock driver built in to the kernel?
and pinctrl depend on clk, besides, the SoC is unlikely functional
without clock built in as it's such critical..
should also be a module. It is the builder's right to decide whether
the driver is builtin or a module. In this view, you should always
allow the driver to be built as a module if possible.
Regards,
Inochi