linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 7/8] ARM: shmobile: Make r8a7791 CPUFreq capable
@ 2014-06-03 12:03 Gaku Inami
  2014-06-04 12:08 ` Magnus Damm
  2014-06-05  1:04 ` Gaku Inami
  0 siblings, 2 replies; 3+ messages in thread
From: Gaku Inami @ 2014-06-03 12:03 UTC (permalink / raw)
  To: linux-sh

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
 
 comment "Renesas ARM SoCs Board Type"
 
-- 
1.7.9.5


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

* Re: [PATCH v2 7/8] ARM: shmobile: Make r8a7791 CPUFreq capable
  2014-06-03 12:03 [PATCH v2 7/8] ARM: shmobile: Make r8a7791 CPUFreq capable Gaku Inami
@ 2014-06-04 12:08 ` Magnus Damm
  2014-06-05  1:04 ` Gaku Inami
  1 sibling, 0 replies; 3+ messages in thread
From: Magnus Damm @ 2014-06-04 12:08 UTC (permalink / raw)
  To: linux-sh

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

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

* Re: [PATCH v2 7/8] ARM: shmobile: Make r8a7791 CPUFreq capable
  2014-06-03 12:03 [PATCH v2 7/8] ARM: shmobile: Make r8a7791 CPUFreq capable Gaku Inami
  2014-06-04 12:08 ` Magnus Damm
@ 2014-06-05  1:04 ` Gaku Inami
  1 sibling, 0 replies; 3+ messages in thread
From: Gaku Inami @ 2014-06-05  1:04 UTC (permalink / raw)
  To: linux-sh

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


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

end of thread, other threads:[~2014-06-05  1:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-03 12:03 [PATCH v2 7/8] ARM: shmobile: Make r8a7791 CPUFreq capable Gaku Inami
2014-06-04 12:08 ` Magnus Damm
2014-06-05  1:04 ` Gaku Inami

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).