linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: Restrict CLK_HSDK to ARC_SOC_HSDK
@ 2020-08-07  9:43 Geert Uytterhoeven
  2020-10-14 17:17 ` Stephen Boyd
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2020-08-07  9:43 UTC (permalink / raw)
  To: Eugeniy Paltsev, Michael Turquette, Stephen Boyd
  Cc: linux-clk, Geert Uytterhoeven

The HSDK PLL driver is only useful when building for an ARC HSDK
platform.
As ARC selects OF, the dependency on OF can just be replaced by a
dependency on ARC_SOC_HSDK.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/clk/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index da2904ab6e5ad475..2b3efcb8d5b7821f 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -49,7 +49,7 @@ source "drivers/clk/versatile/Kconfig"
 
 config CLK_HSDK
 	bool "PLL Driver for HSDK platform"
-	depends on OF || COMPILE_TEST
+	depends on ARC_SOC_HSDK || COMPILE_TEST
 	depends on HAS_IOMEM
 	help
 	  This driver supports the HSDK core, system, ddr, tunnel and hdmi PLLs
-- 
2.17.1


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

* Re: [PATCH] clk: Restrict CLK_HSDK to ARC_SOC_HSDK
  2020-08-07  9:43 [PATCH] clk: Restrict CLK_HSDK to ARC_SOC_HSDK Geert Uytterhoeven
@ 2020-10-14 17:17 ` Stephen Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2020-10-14 17:17 UTC (permalink / raw)
  To: Eugeniy Paltsev, Geert Uytterhoeven, Michael Turquette
  Cc: linux-clk, Geert Uytterhoeven

Quoting Geert Uytterhoeven (2020-08-07 02:43:51)
> The HSDK PLL driver is only useful when building for an ARC HSDK
> platform.
> As ARC selects OF, the dependency on OF can just be replaced by a
> dependency on ARC_SOC_HSDK.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---

Applied to clk-next

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

end of thread, other threads:[~2020-10-14 17:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-07  9:43 [PATCH] clk: Restrict CLK_HSDK to ARC_SOC_HSDK Geert Uytterhoeven
2020-10-14 17:17 ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).