diff mbox

[2/2] cpufreq: highbank: rework the kconfig dependencies for arm64

Message ID 1386202994-30784-3-git-send-email-robherring2@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Rob Herring Dec. 5, 2013, 12:23 a.m. UTC
From: Rob Herring <rob.herring@calxeda.com>

Make ARM_HIGHBANK_CPUFREQ not depend on ARCH_HIGHBANK to enable on
arm64 and also give better build converage. Change the selects to be
same depends as the cpu0 driver. Otherwise, we can get kconfig select
errors. Also, add missing depends for PL320_MBOX.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: cpufreq@vger.kernel.org
Cc: linux-pm@vger.kernel.org
---
 drivers/cpufreq/Kconfig.arm | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

Comments

Viresh Kumar Dec. 16, 2013, 8:54 a.m. UTC | #1
On 5 December 2013 05:53, Rob Herring <robherring2@gmail.com> wrote:
> From: Rob Herring <rob.herring@calxeda.com>
>
> Make ARM_HIGHBANK_CPUFREQ not depend on ARCH_HIGHBANK to enable on
> arm64 and also give better build converage. Change the selects to be

s/converage/coverage

> same depends as the cpu0 driver. Otherwise, we can get kconfig select
> errors. Also, add missing depends for PL320_MBOX.
>
> Signed-off-by: Rob Herring <rob.herring@calxeda.com>
> Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Cc: cpufreq@vger.kernel.org
> Cc: linux-pm@vger.kernel.org
> ---
>  drivers/cpufreq/Kconfig.arm | 14 ++++++--------
>  1 file changed, 6 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
> index ce52ed9..0d7130d 100644
> --- a/drivers/cpufreq/Kconfig.arm
> +++ b/drivers/cpufreq/Kconfig.arm
> @@ -65,16 +65,14 @@ config ARM_EXYNOS5440_CPUFREQ
>           If in doubt, say N.
>
>  config ARM_HIGHBANK_CPUFREQ
> -       tristate "Calxeda Highbank-based"
> -       depends on ARCH_HIGHBANK
> -       select GENERIC_CPUFREQ_CPU0
> +       tristate "Calxeda ECX based"
> +       depends on HAVE_CLK && REGULATOR && OF
> +       depends on PL320_MBOX
> +       select ARCH_HAS_OPP
>         select PM_OPP
> -       select REGULATOR
> -
> -       default m
> +       select GENERIC_CPUFREQ_CPU0
>         help
> -         This adds the CPUFreq driver for Calxeda Highbank SoC
> -         based boards.
> +         This adds the CPUFreq driver for Calxeda based SoCs.
>
>           If in doubt, say N.

Acked-by: Viresh Kumar <viresh.kumar@linaro.org> for both patches.
diff mbox

Patch

diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index ce52ed9..0d7130d 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -65,16 +65,14 @@  config ARM_EXYNOS5440_CPUFREQ
 	  If in doubt, say N.
 
 config ARM_HIGHBANK_CPUFREQ
-	tristate "Calxeda Highbank-based"
-	depends on ARCH_HIGHBANK
-	select GENERIC_CPUFREQ_CPU0
+	tristate "Calxeda ECX based"
+	depends on HAVE_CLK && REGULATOR && OF
+	depends on PL320_MBOX
+	select ARCH_HAS_OPP
 	select PM_OPP
-	select REGULATOR
-
-	default m
+	select GENERIC_CPUFREQ_CPU0
 	help
-	  This adds the CPUFreq driver for Calxeda Highbank SoC
-	  based boards.
+	  This adds the CPUFreq driver for Calxeda based SoCs.
 
 	  If in doubt, say N.