Skip to contentSkip to conversation

Cpufreq: ARM IMX6Q: Select PM_OPP

PATCH In review Nicolas Del Piano 4 participants 5 messages Jul 13, 2014 – Jul 18, 2014 CPU frequency scaling framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Cpufreq: ARM IMX6Q: Select PM_OPP

PM_OPP is a library used by several of the existing cpufreq drivers. ARM IMX6Q cpufreq driver uses this library for its functionality. Thus, it should be selected in Kconfig.

---
 drivers/cpufreq/Kconfig.arm |    1 +
 1 file changed, 1 insertion(+)
drivers/cpufreq/Kconfig.arm +1 -0
index ebac671..8c5cf4b 100644
@@ -104,6 +104,7 @@ config ARM_IMX6Q_CPUFREQ
 	tristate "Freescale i.MX6 cpufreq support"
 	depends on ARCH_MXC
 	depends on REGULATOR_ANATOP
+	select PM_OPP
 	help
 	  This adds cpufreq driver support for Freescale i.MX6 series SoCs.
 
Signature · 1 line
1.7.9.5
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 15 lines · Nicolas Del Piano

PM_OPP is a library used by several of the existing cpufreq drivers. ARM IMX6Q cpufreq driver uses this library for its functionality. Thus, it should be selected in Kconfig.

---
 drivers/cpufreq/Kconfig.arm |    1 +
 1 file changed, 1 insertion(+)
drivers/cpufreq/Kconfig.arm +0 -0
index ebac671..8c5cf4b 100644

drivers/cpufreq/Kconfig.arm config ARM_IMX6Q_CPUFREQ · line 109

Quoted 6 lines
drivers/cpufreq/Kconfig.arm +1 -0
@@ -104,6 +104,7 @@ config ARM_IMX6Q_CPUFREQ
        tristate "Freescale i.MX6 cpufreq support"
        depends on ARCH_MXC
        depends on REGULATOR_ANATOP
+       select PM_OPP
        help
          This adds cpufreq driver support for Freescale i.MX6 series SoCs.
#2 lore raw
In reply to Nicolas Del Piano

Nico,

Quoted 6 lines · Nicolas Del Piano

PM_OPP is a library used by several of the existing cpufreq drivers. ARM IMX6Q cpufreq driver uses this library for its functionality. Thus, it should be selected in Kconfig.

Thanks for the patch. I have just a very minor nitpick to comment; if you run a git log, you'll see the subject should be:

"cpufreq: imx6q: Select PM_OPP"

In general, it's better to see the recent commits to find out how to write the commit title; each driver can have its own style.

Signature · 2 lines
Ezequiel Garcia, VanguardiaSur
www.vanguardiasur.com.ar
#3 lore raw
Quoted 7 lines · Ezequiel Garcia

Thanks for the patch. I have just a very minor nitpick to comment; if you run a git log, you'll see the subject should be:

"cpufreq: imx6q: Select PM_OPP"

In general, it's better to see the recent commits to find out how to write the commit title; each driver can have its own style.

Thanks for the advice Eze! I'll do it next time.

#4 lore raw
In reply to Nicolas Del Piano
Quoted 6 lines · Nicolas Del Piano

PM_OPP is a library used by several of the existing cpufreq drivers. ARM IMX6Q cpufreq driver uses this library for its functionality. Thus, it should be selected in Kconfig.

Fixed up the subject, applied. Thanks!

Quoted 17 lines
---
 drivers/cpufreq/Kconfig.arm |    1 +
 1 file changed, 1 insertion(+)
drivers/cpufreq/Kconfig.arm +1 -0
index ebac671..8c5cf4b 100644
@@ -104,6 +104,7 @@ config ARM_IMX6Q_CPUFREQ
 	tristate "Freescale i.MX6 cpufreq support"
 	depends on ARCH_MXC
 	depends on REGULATOR_ANATOP
+	select PM_OPP
 	help
 	  This adds cpufreq driver support for Freescale i.MX6 series SoCs.
 
Signature · 2 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.