mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] reset: starfive: add dependency on CONFIG_COMMON_CLK
@ 2022-08-16  5:28 Ahmad Fatoum
  2022-08-16  8:54 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2022-08-16  5:28 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

The reset controller driver enables the necessary clocks before resetting,
so it makes no sense to build the driver without clock support.

Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
---
 drivers/reset/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
index 913b309eac3a..16c05d50f0e3 100644
--- a/drivers/reset/Kconfig
+++ b/drivers/reset/Kconfig
@@ -41,6 +41,7 @@ config RESET_IMX7
 
 config RESET_STARFIVE
 	bool "StarFive Controller Driver" if COMPILE_TEST
+	depends on COMMON_CLK
 	default SOC_STARFIVE
 	help
 	  This enables the reset controller driver for the StarFive JH7100.
-- 
2.34.1




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

* Re: [PATCH] reset: starfive: add dependency on CONFIG_COMMON_CLK
  2022-08-16  5:28 [PATCH] reset: starfive: add dependency on CONFIG_COMMON_CLK Ahmad Fatoum
@ 2022-08-16  8:54 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2022-08-16  8:54 UTC (permalink / raw)
  To: Ahmad Fatoum; +Cc: barebox

On Tue, Aug 16, 2022 at 07:28:23AM +0200, Ahmad Fatoum wrote:
> The reset controller driver enables the necessary clocks before resetting,
> so it makes no sense to build the driver without clock support.
> 
> Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
> ---
>  drivers/reset/Kconfig | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks

Sascha

> 
> diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig
> index 913b309eac3a..16c05d50f0e3 100644
> --- a/drivers/reset/Kconfig
> +++ b/drivers/reset/Kconfig
> @@ -41,6 +41,7 @@ config RESET_IMX7
>  
>  config RESET_STARFIVE
>  	bool "StarFive Controller Driver" if COMPILE_TEST
> +	depends on COMMON_CLK
>  	default SOC_STARFIVE
>  	help
>  	  This enables the reset controller driver for the StarFive JH7100.
> -- 
> 2.34.1
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



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

end of thread, other threads:[~2022-08-16  8:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-16  5:28 [PATCH] reset: starfive: add dependency on CONFIG_COMMON_CLK Ahmad Fatoum
2022-08-16  8:54 ` Sascha Hauer

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