linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Viresh Kumar <viresh.kumar@linaro.org>
To: rjw@sisk.pl
Cc: arvind.chauhan@arm.com, robin.randhawa@arm.com,
	Steve.Bannister@arm.com, Liviu.Dudau@arm.com,
	charles.garcia-tobin@arm.com, cpufreq@vger.kernel.org,
	linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
	linaro-kernel@lists.linaro.org, arnd.bergmann@linaro.org,
	Viresh Kumar <viresh.kumar@linaro.org>,
	"David S. Miller" <davem@davemloft.net>,
	sparclinux@vger.kernel.org
Subject: [PATCH 8/9] spark: cpufreq:  move cpufreq driver to drivers/cpufreq
Date: Mon, 25 Mar 2013 22:24:44 +0530	[thread overview]
Message-ID: <2641a3f059f1698ee6825c7b6bfe25a3937e1474.1364229828.git.viresh.kumar@linaro.org> (raw)
In-Reply-To: <cover.1364229828.git.viresh.kumar@linaro.org>
In-Reply-To: <cover.1364229828.git.viresh.kumar@linaro.org>

This patch moves cpufreq driver of SPARK architecture to drivers/cpufreq.

Cc: David S. Miller <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
 arch/sparc/Kconfig                                 | 23 ----------------------
 arch/sparc/kernel/Makefile                         |  3 ---
 drivers/cpufreq/Kconfig                            | 23 ++++++++++++++++++++++
 drivers/cpufreq/Makefile                           |  2 ++
 .../cpufreq/spark-us2e-cpufreq.c                   |  0
 .../cpufreq/spark-us3-cpufreq.c                    |  0
 6 files changed, 25 insertions(+), 26 deletions(-)
 rename arch/sparc/kernel/us2e_cpufreq.c => drivers/cpufreq/spark-us2e-cpufreq.c (100%)
 rename arch/sparc/kernel/us3_cpufreq.c => drivers/cpufreq/spark-us3-cpufreq.c (100%)

diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 289127d..52e7680 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -260,29 +260,6 @@ config HOTPLUG_CPU
 
 if SPARC64
 source "drivers/cpufreq/Kconfig"
-
-config US3_FREQ
-	tristate "UltraSPARC-III CPU Frequency driver"
-	depends on CPU_FREQ
-	select CPU_FREQ_TABLE
-	help
-	  This adds the CPUFreq driver for UltraSPARC-III processors.
-
-	  For details, take a look at <file:Documentation/cpu-freq>.
-
-	  If in doubt, say N.
-
-config US2E_FREQ
-	tristate "UltraSPARC-IIe CPU Frequency driver"
-	depends on CPU_FREQ
-	select CPU_FREQ_TABLE
-	help
-	  This adds the CPUFreq driver for UltraSPARC-IIe processors.
-
-	  For details, take a look at <file:Documentation/cpu-freq>.
-
-	  If in doubt, say N.
-
 endif
 
 config US3_MC
diff --git a/arch/sparc/kernel/Makefile b/arch/sparc/kernel/Makefile
index 6cf591b..5276fd4 100644
--- a/arch/sparc/kernel/Makefile
+++ b/arch/sparc/kernel/Makefile
@@ -102,9 +102,6 @@ obj-$(CONFIG_PCI_MSI)        += pci_msi.o
 
 obj-$(CONFIG_COMPAT)         += sys32.o sys_sparc32.o signal32.o
 
-# sparc64 cpufreq
-obj-$(CONFIG_US3_FREQ)  += us3_cpufreq.o
-obj-$(CONFIG_US2E_FREQ) += us2e_cpufreq.o
 obj-$(CONFIG_US3_MC)    += chmc.o
 
 obj-$(CONFIG_KPROBES)   += kprobes.o
diff --git a/drivers/cpufreq/Kconfig b/drivers/cpufreq/Kconfig
index 602d5db..5b2c312 100644
--- a/drivers/cpufreq/Kconfig
+++ b/drivers/cpufreq/Kconfig
@@ -258,6 +258,29 @@ depends on PPC32 || PPC64
 source "drivers/cpufreq/Kconfig.powerpc"
 endmenu
 
+menu "SPARK CPU frequency scaling drivers"
+depends on SPARC64
+config SPARK_US3_CPUFREQ
+	tristate "UltraSPARC-III CPU Frequency driver"
+	select CPU_FREQ_TABLE
+	help
+	  This adds the CPUFreq driver for UltraSPARC-III processors.
+
+	  For details, take a look at <file:Documentation/cpu-freq>.
+
+	  If in doubt, say N.
+
+config SPARK_US2E_CPUFREQ
+	tristate "UltraSPARC-IIe CPU Frequency driver"
+	select CPU_FREQ_TABLE
+	help
+	  This adds the CPUFreq driver for UltraSPARC-IIe processors.
+
+	  For details, take a look at <file:Documentation/cpu-freq>.
+
+	  If in doubt, say N.
+endmenu
+
 menu "SH CPU Frequency scaling"
 depends on SUPERH
 config SH_CPU_FREQ
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile
index ab3a054..0203a06 100644
--- a/drivers/cpufreq/Makefile
+++ b/drivers/cpufreq/Makefile
@@ -85,4 +85,6 @@ obj-$(CONFIG_ETRAXFS)			+= cris-etraxfs-cpufreq.o
 obj-$(CONFIG_IA64_ACPI_CPUFREQ)		+= ia64-acpi-cpufreq.o
 obj-$(CONFIG_LOONGSON2_CPUFREQ)		+= loongson2_cpufreq.o
 obj-$(CONFIG_SH_CPU_FREQ)		+= sh-cpufreq.o
+obj-$(CONFIG_SPARK_US2E_CPUFREQ)	+= spark-us2e-cpufreq.o
+obj-$(CONFIG_SPARK_US3_CPUFREQ)		+= spark-us3-cpufreq.o
 obj-$(CONFIG_UNICORE32)			+= unicore2-cpufreq.o
diff --git a/arch/sparc/kernel/us2e_cpufreq.c b/drivers/cpufreq/spark-us2e-cpufreq.c
similarity index 100%
rename from arch/sparc/kernel/us2e_cpufreq.c
rename to drivers/cpufreq/spark-us2e-cpufreq.c
diff --git a/arch/sparc/kernel/us3_cpufreq.c b/drivers/cpufreq/spark-us3-cpufreq.c
similarity index 100%
rename from arch/sparc/kernel/us3_cpufreq.c
rename to drivers/cpufreq/spark-us3-cpufreq.c
-- 
1.7.12.rc2.18.g61b472e


  parent reply	other threads:[~2013-03-25 16:56 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-25 16:54 [PATCH 0/9] CPUFreq: Move drivers to drivers/cpufreq - Part 2 Viresh Kumar
2013-03-25 16:54 ` [PATCH 1/9] AVR32: cpufreq: move cpufreq driver to drivers/cpufreq Viresh Kumar
2013-03-31  3:58   ` Viresh Kumar
2013-03-31  4:05     ` Viresh Kumar
     [not found]       ` <CAKohponGrtXWSaGeRxKpVMNZGDNCqK3-hc0tZGHXM78Jh5od9w@mail.gmail.com>
     [not found]         ` <20130403094245.GA4953@samfundet.no>
2013-04-03 10:36           ` Viresh Kumar
2013-03-25 16:54 ` [PATCH 2/9] blackfin: " Viresh Kumar
     [not found]   ` <df07f927c36e109e49363b9b87965a184ea941ca.1364229828.git.viresh.kumar-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-03-26 10:26     ` Steven Miao
2013-03-25 16:54 ` [PATCH 3/9] cris: " Viresh Kumar
2013-03-31  4:00   ` Viresh Kumar
2013-04-03 12:21   ` Jesper Nilsson
2013-03-25 16:54 ` [PATCH 4/9] ia64: " Viresh Kumar
2013-03-30  9:51   ` Viresh Kumar
2013-04-01  5:01     ` Viresh Kumar
2013-04-01 21:22       ` Tony Luck
2013-04-02  0:49         ` Viresh Kumar
2013-04-03 17:35           ` Tony Luck
2013-03-25 16:54 ` [PATCH 5/9] mips: " Viresh Kumar
2013-03-31  4:01   ` Viresh Kumar
2013-03-25 16:54 ` [PATCH 6/9] sh: " Viresh Kumar
2013-03-26  9:29   ` Paul Mundt
2013-03-25 16:54 ` [PATCH 7/9] unicore2: " Viresh Kumar
2013-03-31  4:01   ` Viresh Kumar
2013-03-31 14:18     ` Xuetao Guan
2013-03-25 16:54 ` Viresh Kumar [this message]
2013-03-25 17:07   ` [PATCH 8/9] spark: " David Miller
2013-03-26  2:00     ` Viresh Kumar
2013-03-26  4:25       ` Viresh Kumar
2013-03-31  7:30         ` Viresh Kumar
2013-03-31 16:40           ` David Miller
2013-04-01  4:41             ` Viresh Kumar
     [not found]               ` <CAKohpomNTb6G9XOyd+4AidQw+EcS63neVuL9FETdQDQY6emxPA@mail.gmail.com>
     [not found]                 ` <20130403.123843.317510603826206997.davem@davemloft.net>
2013-04-03 17:09                   ` Viresh Kumar
2013-03-25 16:54 ` [PATCH 9/9] powerpc: " Viresh Kumar
2013-03-31  4:03   ` Viresh Kumar
     [not found]     ` <CAKohpomRMkKouiy+iJUiheTcPGCDVLbxppL5f4oc-WMu2E5T8g@mail.gmail.com>
     [not found]       ` <1364985034.16520.12.camel@pasglop>
2013-04-04  6:25         ` Viresh Kumar
2013-04-04  6:30           ` Amit Kucheria
2013-04-11  6:59           ` Olof Johansson
2013-04-11  7:02             ` Viresh Kumar
2013-04-11 20:33               ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2641a3f059f1698ee6825c7b6bfe25a3937e1474.1364229828.git.viresh.kumar@linaro.org \
    --to=viresh.kumar@linaro.org \
    --cc=Liviu.Dudau@arm.com \
    --cc=Steve.Bannister@arm.com \
    --cc=arnd.bergmann@linaro.org \
    --cc=arvind.chauhan@arm.com \
    --cc=charles.garcia-tobin@arm.com \
    --cc=cpufreq@vger.kernel.org \
    --cc=davem@davemloft.net \
    --cc=linaro-kernel@lists.linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=robin.randhawa@arm.com \
    --cc=sparclinux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).