linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add ability for PXA2xx CPUFreq to be compiled as a module or, not at all
@ 2014-11-24  3:59 Petr Cvek
  2014-11-25 11:05 ` Viresh Kumar
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Cvek @ 2014-11-24  3:59 UTC (permalink / raw)
  To: linux-pm; +Cc: linux-arm-kernel

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

Signed-off-by: Petr Cvek <petr.cvek@tul.cz>
---
 drivers/cpufreq/Kconfig.arm | 8 ++++++++
 drivers/cpufreq/Makefile    | 3 +--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index 83a75dc..0f9a2c3 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -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.
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile
index 40c53dc..40f0f3f 100644
--- a/drivers/cpufreq/Makefile
+++ b/drivers/cpufreq/Makefile
@@ -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
-- 
1.7.12.1

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

* Re: [PATCH] Add ability for PXA2xx CPUFreq to be compiled as a module or, not at all
  2014-11-24  3:59 [PATCH] Add ability for PXA2xx CPUFreq to be compiled as a module or, not at all Petr Cvek
@ 2014-11-25 11:05 ` Viresh Kumar
  2014-12-03  2:21   ` Rafael J. Wysocki
  0 siblings, 1 reply; 3+ messages in thread
From: Viresh Kumar @ 2014-11-25 11:05 UTC (permalink / raw)
  To: Petr Cvek; +Cc: Linux PM list, linux-arm-kernel@lists.infradead.org

On Mon, Nov 24, 2014 at 9:29 AM, Petr Cvek <petr.cvek@tul.cz> wrote:
> Add ability for PXA2xx CPUFreq to be compiled as a module or not at all.
>
> Signed-off-by: Petr Cvek <petr.cvek@tul.cz>
> ---
>  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.

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

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

* Re: [PATCH] Add ability for PXA2xx CPUFreq to be compiled as a module or, not at all
  2014-11-25 11:05 ` Viresh Kumar
@ 2014-12-03  2:21   ` Rafael J. Wysocki
  0 siblings, 0 replies; 3+ messages in thread
From: Rafael J. Wysocki @ 2014-12-03  2:21 UTC (permalink / raw)
  To: Viresh Kumar
  Cc: Petr Cvek, Linux PM list, linux-arm-kernel@lists.infradead.org

On Tuesday, November 25, 2014 04:35:27 PM Viresh Kumar wrote:
> On Mon, Nov 24, 2014 at 9:29 AM, Petr Cvek <petr.cvek@tul.cz> wrote:
> > Add ability for PXA2xx CPUFreq to be compiled as a module or not at all.
> >
> > Signed-off-by: Petr Cvek <petr.cvek@tul.cz>
> > ---
> >  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.
> 
> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

Patch queued up for 3.19-rc1, thanks!

-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.

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

end of thread, other threads:[~2014-12-03  2:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-24  3:59 [PATCH] Add ability for PXA2xx CPUFreq to be compiled as a module or, not at all Petr Cvek
2014-11-25 11:05 ` Viresh Kumar
2014-12-03  2:21   ` Rafael J. Wysocki

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).