diff mbox

[v2,7/8] ARM: shmobile: Make r8a7791 CPUFreq capable

Message ID 538DB98D.20009@bp.renesas.com (mailing list archive)
State Changes Requested
Headers show

Commit Message

Gaku Inami June 3, 2014, 12:03 p.m. UTC
Mark r8a7791 platform as CPUFreq capable
on multiplatform build only.

Signed-off-by: Gaku Inami <gaku.inami.xw@bp.renesas.com>
---
 arch/arm/mach-shmobile/Kconfig |    2 ++
 1 file changed, 2 insertions(+)

Comments

Magnus Damm June 4, 2014, 12:08 p.m. UTC | #1
Hi Inami-san,

On Tue, Jun 3, 2014 at 9:03 PM, Gaku Inami <gaku.inami.xw@bp.renesas.com> wrote:
> Mark r8a7791 platform as CPUFreq capable
> on multiplatform build only.
>
> Signed-off-by: Gaku Inami <gaku.inami.xw@bp.renesas.com>
> ---
>  arch/arm/mach-shmobile/Kconfig |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig
> index a0b2b7f..9636f6e 100644
> --- a/arch/arm/mach-shmobile/Kconfig
> +++ b/arch/arm/mach-shmobile/Kconfig
> @@ -42,6 +42,8 @@ config ARCH_R8A7791
>         bool "R-Car M2 (R8A77910)"
>         select RENESAS_IRQC
>         select SYS_SUPPORTS_SH_CMT
> +       select ARCH_HAS_CPUFREQ
> +       select ARCH_HAS_OPP

Thanks for your patches. In general they look good, but I wonder about
this Kconfig magic for r8a7790 and r8a7791.

Instead of enabling the above for r8a7790 and r8a7791, how about
enabling it for all SoCs included in ARCH_SHMOBILE_MULTI?

Best,

/ magnus
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Gaku Inami June 5, 2014, 1:04 a.m. UTC | #2
Hi Magnus-san,

Thank you for your feedback.
 

> Thanks for your patches. In general they look good, but I wonder about
> this Kconfig magic for r8a7790 and r8a7791.
>
> Instead of enabling the above for r8a7790 and r8a7791, how about
> enabling it for all SoCs included in ARCH_SHMOBILE_MULTI?

I will add this fix into ARCH_SHMOBILE_MULTI for all SoCs, and resend it.

Regards,
Inami

--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig
index a0b2b7f..9636f6e 100644
--- a/arch/arm/mach-shmobile/Kconfig
+++ b/arch/arm/mach-shmobile/Kconfig
@@ -42,6 +42,8 @@  config ARCH_R8A7791
 	bool "R-Car M2 (R8A77910)"
 	select RENESAS_IRQC
 	select SYS_SUPPORTS_SH_CMT
+	select ARCH_HAS_CPUFREQ
+	select ARCH_HAS_OPP
 
 comment "Renesas ARM SoCs Board Type"