Unverified Commit 99735a74 authored by Inochi Amaoto's avatar Inochi Amaoto Committed by Yixun Lan
Browse files

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: default avatarInochi Amaoto <inochiama@gmail.com>
Reviewed-by: default avatarYixun Lan <dlan@gentoo.org>
Link: https://lore.kernel.org/r/20251219012819.440972-3-inochiama@gmail.com


Signed-off-by: default avatarYixun Lan <dlan@gentoo.org>
parent 5ec8cbbc
Loading
Loading
Loading
Loading
+6 −8
Original line number Diff line number Diff line
# 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