From 998ab667e23e38960d4f967648380292724fa348 Mon Sep 17 00:00:00 2001 From: Cixi Geng Date: Wed, 1 Feb 2023 17:13:00 +0800 Subject: clk: sprd: Add dependency for SPRD_UMS512_CLK Add depends on and default for ums512 clk config. Signed-off-by: Cixi Geng Link: https://lore.kernel.org/r/20230201091300.3201-1-cixi.geng@linux.dev Signed-off-by: Stephen Boyd --- drivers/clk/sprd/Kconfig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/clk') diff --git a/drivers/clk/sprd/Kconfig b/drivers/clk/sprd/Kconfig index c744bd9d2f96..2f19c8d58ff2 100644 --- a/drivers/clk/sprd/Kconfig +++ b/drivers/clk/sprd/Kconfig @@ -24,6 +24,8 @@ config SPRD_SC9863A_CLK config SPRD_UMS512_CLK tristate "Support for the Spreadtrum UMS512 clocks" + depends on (ARM64 && ARCH_SPRD) || COMPILE_TEST + default ARM64 && ARCH_SPRD help Support for the global clock controller on ums512 devices. Say Y if you want to use peripheral devices on ums512 SoC. -- cgit v1.2.3