diff mbox series

[1/1,v3] cpufreq: ap806: fix cpufreq driver needs ap cpu clk

Message ID 20200622120123.pt23ixgudjjgxfn7@SvensMacbookPro.hq.voleatech.com (mailing list archive)
State Mainlined
Commit 8c37ad2f523396e15cf002b29f8f796447c71932
Headers show
Series [1/1,v3] cpufreq: ap806: fix cpufreq driver needs ap cpu clk | expand

Commit Message

Sven Auhagen June 22, 2020, 12:01 p.m. UTC
The Armada 8K cpufreq driver needs the Armada AP CPU CLK
to work. This dependency is currently not satisfied and
the ARMADA_AP_CPU_CLK can not be selected independently.

Add it to the cpufreq Armada8k driver.

Fixes: f525a670533d ("cpufreq: ap806: add cpufreq driver for Armada 8K")
Signed-off-by: Sven Auhagen <sven.auhagen@voleatech.de>
---
Changelog:

v3:
* Move changelog
* Add fixes tag
* Move select from arch to cpufreq Kconfig

v2:
* Resubmission without email footer


 drivers/cpufreq/Kconfig.arm | 1 +
 1 file changed, 1 insertion(+)

Comments

Viresh Kumar June 23, 2020, 10:48 a.m. UTC | #1
On 22-06-20, 14:01, Sven Auhagen wrote:
> The Armada 8K cpufreq driver needs the Armada AP CPU CLK
> to work. This dependency is currently not satisfied and
> the ARMADA_AP_CPU_CLK can not be selected independently.
> 
> Add it to the cpufreq Armada8k driver.
> 
> Fixes: f525a670533d ("cpufreq: ap806: add cpufreq driver for Armada 8K")
> Signed-off-by: Sven Auhagen <sven.auhagen@voleatech.de>
> ---
> Changelog:
> 
> v3:
> * Move changelog
> * Add fixes tag
> * Move select from arch to cpufreq Kconfig
> 
> v2:
> * Resubmission without email footer
> 
> 
>  drivers/cpufreq/Kconfig.arm | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
> index c6cbfc8baf72..a967894c4613 100644
> --- a/drivers/cpufreq/Kconfig.arm
> +++ b/drivers/cpufreq/Kconfig.arm
> @@ -41,6 +41,7 @@ config ARM_ARMADA_37XX_CPUFREQ
>  config ARM_ARMADA_8K_CPUFREQ
>  	tristate "Armada 8K CPUFreq driver"
>  	depends on ARCH_MVEBU && CPUFREQ_DT
> +	select ARMADA_AP_CPU_CLK
>  	help
>  	  This enables the CPUFreq driver support for Marvell
>  	  Armada8k SOCs.

Applied. Thanks.
diff mbox series

Patch

diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index c6cbfc8baf72..a967894c4613 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -41,6 +41,7 @@  config ARM_ARMADA_37XX_CPUFREQ
 config ARM_ARMADA_8K_CPUFREQ
 	tristate "Armada 8K CPUFreq driver"
 	depends on ARCH_MVEBU && CPUFREQ_DT
+	select ARMADA_AP_CPU_CLK
 	help
 	  This enables the CPUFreq driver support for Marvell
 	  Armada8k SOCs.