Skip to contentSkip to conversation

Add ability for PXA2xx CPUFreq to be compiled as a module or, not at all

PATCH New Petr Cvek 3 participants 3 messages Nov 24, 2014 – Dec 3, 2014 CPU frequency scaling framework

lore
Share & tools
lore

Petr Cvek

author
#0 lore raw

PATCH 1/1 Add ability for PXA2xx CPUFreq to be compiled as a module or, not at all

Add ability for PXA2xx CPUFreq to be compiled as a module or not at all.

---
 drivers/cpufreq/Kconfig.arm | 8 ++++++++
 drivers/cpufreq/Makefile    | 3 +--
 2 files changed, 9 insertions(+), 2 deletions(-)
drivers/cpufreq/Kconfig.arm +8 -0
index 83a75dc..0f9a2c3 100644
@@ -247,3 +247,11 @@ config ARM_TEGRA_CPUFREQ
 	default y
 	help
 	  This adds the CPUFreq driver support for TEGRA SOCs.
+
+config ARM_PXA2xx_CPUFREQ
+	tristate "Intel PXA2xx CPUfreq driver"
+	depends on PXA27x || PXA25x
+	help
+	  This add the CPUFreq driver support for Intel PXA2xx SOCs.
+
+	  If in doubt, say N.
drivers/cpufreq/Makefile +1 -2
index 40c53dc..40f0f3f 100644
@@ -61,8 +61,7 @@ obj-$(CONFIG_ARM_IMX6Q_CPUFREQ)		+= imx6q-cpufreq.o
 obj-$(CONFIG_ARM_INTEGRATOR)		+= integrator-cpufreq.o
 obj-$(CONFIG_ARM_KIRKWOOD_CPUFREQ)	+= kirkwood-cpufreq.o
 obj-$(CONFIG_ARM_OMAP2PLUS_CPUFREQ)	+= omap-cpufreq.o
-obj-$(CONFIG_PXA25x)			+= pxa2xx-cpufreq.o
-obj-$(CONFIG_PXA27x)			+= pxa2xx-cpufreq.o
+obj-$(CONFIG_ARM_PXA2xx_CPUFREQ)	+= pxa2xx-cpufreq.o
 obj-$(CONFIG_PXA3xx)			+= pxa3xx-cpufreq.o
 obj-$(CONFIG_ARM_S3C24XX_CPUFREQ)	+= s3c24xx-cpufreq.o
 obj-$(CONFIG_ARM_S3C24XX_CPUFREQ_DEBUGFS) += s3c24xx-cpufreq-debugfs.o
Signature · 1 line
1.7.12.1
maintainer
#1 lore raw

PATCH 1/1 Add ability for PXA2xx CPUFreq to be compiled as a module or, not at all

Quoted 7 lines · Petr Cvek

Add ability for PXA2xx CPUFreq to be compiled as a module or not at all.

---
 drivers/cpufreq/Kconfig.arm | 8 ++++++++
 drivers/cpufreq/Makefile    | 3 +--
 2 files changed, 9 insertions(+), 2 deletions(-)

Make sure you cc Maintainers to get quick responses.

#2 lore raw

PATCH 1/1 Add ability for PXA2xx CPUFreq to be compiled as a module or, not at all

Quoted 9 lines · Viresh Kumar
Quoted 7 lines · Petr Cvek

Add ability for PXA2xx CPUFreq to be compiled as a module or not at all.

---
 drivers/cpufreq/Kconfig.arm | 8 ++++++++
 drivers/cpufreq/Makefile    | 3 +--
 2 files changed, 9 insertions(+), 2 deletions(-)
Quoted 3 lines

Make sure you cc Maintainers to get quick responses.

Patch queued up for 3.19-rc1, thanks!

Signature · 2 lines
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.