public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: sprd: Add dependency for SPRD_UMS512_CLK
@ 2023-02-01  9:13 Cixi Geng
  2023-02-11  0:14 ` Stephen Boyd
  0 siblings, 1 reply; 2+ messages in thread
From: Cixi Geng @ 2023-02-01  9:13 UTC (permalink / raw)
  To: mturquette, sboyd, orsonzhai, baolin.wang, zhang.lyra
  Cc: linux-clk, linux-kernel, cixi.geng1

From: Cixi Geng <cixi.geng1@unisoc.com>

Add depends on and default for ums512 clk config.

Signed-off-by: Cixi Geng <cixi.geng1@unisoc.com>
---
 drivers/clk/sprd/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

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.
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] clk: sprd: Add dependency for SPRD_UMS512_CLK
  2023-02-01  9:13 [PATCH] clk: sprd: Add dependency for SPRD_UMS512_CLK Cixi Geng
@ 2023-02-11  0:14 ` Stephen Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2023-02-11  0:14 UTC (permalink / raw)
  To: Cixi Geng, baolin.wang, mturquette, orsonzhai, zhang.lyra
  Cc: linux-clk, linux-kernel, cixi.geng1

Quoting Cixi Geng (2023-02-01 01:13:00)
> From: Cixi Geng <cixi.geng1@unisoc.com>
> 
> Add depends on and default for ums512 clk config.
> 
> Signed-off-by: Cixi Geng <cixi.geng1@unisoc.com>
> ---

Applied to clk-next

The ARM64 dependency is redundant though so maybe you should remove that
too in another patch.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-11  0:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-01  9:13 [PATCH] clk: sprd: Add dependency for SPRD_UMS512_CLK Cixi Geng
2023-02-11  0:14 ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox