mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-31 23:27:20 +00:00

Enabling the compile test should not cause automatic enabling of all drivers. Restrict the default to ARCH also for individual drivers, even though their 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://patch.msgid.link/20250404-kconfig-defaults-clk-v1-5-4d2df5603332@linaro.org Signed-off-by: Chen-Yu Tsai <wens@csie.org>
42 lines
1.2 KiB
Text
42 lines
1.2 KiB
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
menuconfig CLK_SUNXI
|
|
bool "Legacy clock support for Allwinner SoCs"
|
|
depends on (ARM && ARCH_SUNXI) || COMPILE_TEST
|
|
default (ARM && ARCH_SUNXI)
|
|
|
|
if CLK_SUNXI
|
|
|
|
config CLK_SUNXI_CLOCKS
|
|
bool "Legacy clock drivers"
|
|
default ARCH_SUNXI
|
|
help
|
|
Legacy clock drivers being used on older (A10, A13, A20,
|
|
A23, A31, A80) SoCs. These drivers are kept around for
|
|
Device Tree backward compatibility issues, in case one would
|
|
still use a Device Tree with one clock provider by
|
|
node. Newer Device Trees and newer SoCs use the drivers
|
|
controlled by CONFIG_SUNXI_CCU.
|
|
|
|
config CLK_SUNXI_PRCM_SUN6I
|
|
bool "Legacy A31 PRCM driver"
|
|
default ARCH_SUNXI
|
|
help
|
|
Legacy clock driver for the A31 PRCM clocks. Those are
|
|
usually needed for the PMIC communication, mostly.
|
|
|
|
config CLK_SUNXI_PRCM_SUN8I
|
|
bool "Legacy sun8i PRCM driver"
|
|
default ARCH_SUNXI
|
|
help
|
|
Legacy clock driver for the sun8i family PRCM clocks.
|
|
Those are usually needed for the PMIC communication,
|
|
mostly.
|
|
|
|
config CLK_SUNXI_PRCM_SUN9I
|
|
bool "Legacy A80 PRCM driver"
|
|
default ARCH_SUNXI
|
|
help
|
|
Legacy clock driver for the A80 PRCM clocks. Those are
|
|
usually needed for the PMIC communication, mostly.
|
|
|
|
endif
|