[PATCH 1/1 v2] cpufreq: ap806: fix cpufreq driver needs ap cpu clk

Viresh Kumar viresh.kumar at linaro.org
Mon Jun 22 05:09:16 EDT 2020


On 19-06-20, 10:21, 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 mvebu platform the same way the Armada 37XX CLK
> driver is enabled on the platform.
> 
> v2:
> * Resubmission without email footer
> 
> Signed-off-by: Sven Auhagen <sven.auhagen at voleatech.de>
> ---
>  arch/arm64/Kconfig.platforms | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
> index 8dd05b2a925c..efb5355c9eea 100644
> --- a/arch/arm64/Kconfig.platforms
> +++ b/arch/arm64/Kconfig.platforms
> @@ -146,6 +146,7 @@ config ARCH_MVEBU
>  	bool "Marvell EBU SoC Family"
>  	select ARMADA_AP806_SYSCON
>  	select ARMADA_CP110_SYSCON
> +	select ARMADA_AP_CPU_CLK

What about adding a depends on in the cpufreq Kconfig for the driver instead ?

-- 
viresh



More information about the linux-arm-kernel mailing list