Skip to contentSkip to conversation

ARM: shmobile: Make r8a7791 CPUFreq capable

PATCH In review Gaku Inami 2 participants 3 messages Jun 3, 2014 – Jun 5, 2014

Subsystems (4)
lore
Share & tools
lore

Gaku Inami

author
#0 lore raw

PATCH v2 7/8 ARM: shmobile: Make r8a7791 CPUFreq capable

Mark r8a7791 platform as CPUFreq capable
on multiplatform build only.

---
 arch/arm/mach-shmobile/Kconfig |    2 ++
 1 file changed, 2 insertions(+)
arch/arm/mach-shmobile/Kconfig +2 -0
index a0b2b7f..9636f6e 100644
@@ -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"
 
Signature · 1 line
1.7.9.5
maintainer
#1 lore raw

Hi Inami-san,

Quoted 13 lines · Gaku Inami

Mark r8a7791 platform as CPUFreq capable
on multiplatform build only.

---
 arch/arm/mach-shmobile/Kconfig |    2 ++
 1 file changed, 2 insertions(+)
arch/arm/mach-shmobile/Kconfig +0 -0
index a0b2b7f..9636f6e 100644

arch/arm/mach-shmobile/Kconfig config ARCH_R8A7791 · line 46

Quoted 5 lines
arch/arm/mach-shmobile/Kconfig +2 -0
@@ -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

author
#2 lore raw
In reply to Gaku Inami

Hi Magnus-san,

Thank you for your feedback.

Quoted 5 lines

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