mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-29 02:59:13 +00:00

Enabling the compile test should not cause automatic enabling of all drivers. Restrict the default to ARCH also for individual driver, even though its choice is not visible without selecting parent Kconfig symbol, because otherwise selecting parent would select the child during compile testing. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20250404-kconfig-defaults-clk-v1-2-4d2df5603332@linaro.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
20 lines
466 B
Plaintext
20 lines
466 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
# common clock support for Nuvoton SoC family.
|
|
|
|
config COMMON_CLK_NUVOTON
|
|
bool "Nuvoton clock controller common support"
|
|
depends on ARCH_MA35 || COMPILE_TEST
|
|
default ARCH_MA35
|
|
help
|
|
Say y here to enable common clock controller for Nuvoton platforms.
|
|
|
|
if COMMON_CLK_NUVOTON
|
|
|
|
config CLK_MA35D1
|
|
bool "Nuvoton MA35D1 clock controller support"
|
|
default ARCH_MA35
|
|
help
|
|
Build the clock controller driver for MA35D1 SoC.
|
|
|
|
endif
|