summaryrefslogtreecommitdiffstats
path: root/drivers/clk/sprd
diff options
context:
space:
mode:
authorCixi Geng <cixi.geng1@unisoc.com>2023-02-01 10:13:00 +0100
committerStephen Boyd <sboyd@kernel.org>2023-02-11 01:13:48 +0100
commit998ab667e23e38960d4f967648380292724fa348 (patch)
tree83224b47b0f51015d45c548d13fbd4144dc3b2e8 /drivers/clk/sprd
parentclk: ralink: fix 'mt7621_gate_is_enabled()' function (diff)
downloadlinux-998ab667e23e38960d4f967648380292724fa348.tar.xz
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>
Diffstat (limited to 'drivers/clk/sprd')
-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.