summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCixi Geng <cixi.geng1@unisoc.com>2023-02-01 17:13:00 +0800
committerStephen Boyd <sboyd@kernel.org>2023-02-10 16:13:48 -0800
commit998ab667e23e38960d4f967648380292724fa348 (patch)
tree83224b47b0f51015d45c548d13fbd4144dc3b2e8
parent35dcae535afc153fa83f2fe51c0812536c192c58 (diff)
downloadlinux-998ab667e23e38960d4f967648380292724fa348.tar.gz
linux-998ab667e23e38960d4f967648380292724fa348.tar.bz2
linux-998ab667e23e38960d4f967648380292724fa348.zip
clk: sprd: Add dependency for SPRD_UMS512_CLK
Add depends on and default for ums512 clk config. Signed-off-by: Cixi Geng <cixi.geng1@unisoc.com> Link: https://lore.kernel.org/r/20230201091300.3201-1-cixi.geng@linux.dev Signed-off-by: Stephen Boyd <sboyd@kernel.org>
-rw-r--r--drivers/clk/sprd/Kconfig2
1 files changed, 2 insertions, 0 deletions
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.