Message ID | 2aa937c3d81776f01c2c1d6fcfcb08ba74163b53.1364205812.git.viresh.kumar@linaro.org (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Eric/Haojian, On 25 March 2013 15:41, Viresh Kumar <viresh.kumar@linaro.org> wrote: > This patch moves cpufreq driver of ARM based pxa3xx platform to drivers/cpufreq. > > Cc: Eric Miao <eric.y.miao@gmail.com> > Cc: Haojian Zhuang <haojian.zhuang@gmail.com> > Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> > --- > arch/arm/mach-pxa/Makefile | 1 - > arch/arm/mach-pxa/include/mach/generic.h | 1 + > drivers/cpufreq/Makefile | 1 + > .../mach-pxa/cpufreq-pxa3xx.c => drivers/cpufreq/pxa3xx-cpufreq.c | 5 +---- > 4 files changed, 3 insertions(+), 5 deletions(-) > create mode 100644 arch/arm/mach-pxa/include/mach/generic.h > rename arch/arm/mach-pxa/cpufreq-pxa3xx.c => drivers/cpufreq/pxa3xx-cpufreq.c (98%) Can i have your Ack or views about 6/9 and 7/9 Patch? -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Sun, Mar 31, 2013 at 11:52 AM, Viresh Kumar <viresh.kumar@linaro.org> wrote: > Eric/Haojian, > > On 25 March 2013 15:41, Viresh Kumar <viresh.kumar@linaro.org> wrote: >> This patch moves cpufreq driver of ARM based pxa3xx platform to drivers/cpufreq. >> >> Cc: Eric Miao <eric.y.miao@gmail.com> Acked-by: Eric Miao <eric.y.miao@gmail.com> >> Cc: Haojian Zhuang <haojian.zhuang@gmail.com> >> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> >> --- >> arch/arm/mach-pxa/Makefile | 1 - >> arch/arm/mach-pxa/include/mach/generic.h | 1 + >> drivers/cpufreq/Makefile | 1 + >> .../mach-pxa/cpufreq-pxa3xx.c => drivers/cpufreq/pxa3xx-cpufreq.c | 5 +---- >> 4 files changed, 3 insertions(+), 5 deletions(-) >> create mode 100644 arch/arm/mach-pxa/include/mach/generic.h >> rename arch/arm/mach-pxa/cpufreq-pxa3xx.c => drivers/cpufreq/pxa3xx-cpufreq.c (98%) > > Can i have your Ack or views about 6/9 and 7/9 Patch? -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 31 March 2013 10:54, Eric Miao <eric.y.miao@gmail.com> wrote: > On Sun, Mar 31, 2013 at 11:52 AM, Viresh Kumar <viresh.kumar@linaro.org> wrote: >> Eric/Haojian, >> >> On 25 March 2013 15:41, Viresh Kumar <viresh.kumar@linaro.org> wrote: >>> This patch moves cpufreq driver of ARM based pxa3xx platform to drivers/cpufreq. >>> >>> Cc: Eric Miao <eric.y.miao@gmail.com> > > Acked-by: Eric Miao <eric.y.miao@gmail.com> > >>> Cc: Haojian Zhuang <haojian.zhuang@gmail.com> >>> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> >>> --- >>> arch/arm/mach-pxa/Makefile | 1 - >>> arch/arm/mach-pxa/include/mach/generic.h | 1 + >>> drivers/cpufreq/Makefile | 1 + >>> .../mach-pxa/cpufreq-pxa3xx.c => drivers/cpufreq/pxa3xx-cpufreq.c | 5 +---- >>> 4 files changed, 3 insertions(+), 5 deletions(-) >>> create mode 100644 arch/arm/mach-pxa/include/mach/generic.h >>> rename arch/arm/mach-pxa/cpufreq-pxa3xx.c => drivers/cpufreq/pxa3xx-cpufreq.c (98%) >> >> Can i have your Ack or views about 6/9 and 7/9 Patch? Is this for both the patches?? -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Sun, Mar 31, 2013 at 2:45 PM, Viresh Kumar <viresh.kumar@linaro.org> wrote: > On 31 March 2013 10:54, Eric Miao <eric.y.miao@gmail.com> wrote: >> On Sun, Mar 31, 2013 at 11:52 AM, Viresh Kumar <viresh.kumar@linaro.org> wrote: >>> Eric/Haojian, >>> >>> On 25 March 2013 15:41, Viresh Kumar <viresh.kumar@linaro.org> wrote: >>>> This patch moves cpufreq driver of ARM based pxa3xx platform to drivers/cpufreq. >>>> >>>> Cc: Eric Miao <eric.y.miao@gmail.com> >> >> Acked-by: Eric Miao <eric.y.miao@gmail.com> >> >>>> Cc: Haojian Zhuang <haojian.zhuang@gmail.com> >>>> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> >>>> --- >>>> arch/arm/mach-pxa/Makefile | 1 - >>>> arch/arm/mach-pxa/include/mach/generic.h | 1 + >>>> drivers/cpufreq/Makefile | 1 + >>>> .../mach-pxa/cpufreq-pxa3xx.c => drivers/cpufreq/pxa3xx-cpufreq.c | 5 +---- >>>> 4 files changed, 3 insertions(+), 5 deletions(-) >>>> create mode 100644 arch/arm/mach-pxa/include/mach/generic.h >>>> rename arch/arm/mach-pxa/cpufreq-pxa3xx.c => drivers/cpufreq/pxa3xx-cpufreq.c (98%) >>> >>> Can i have your Ack or views about 6/9 and 7/9 Patch? > > Is this for both the patches?? Yes. Take the Ack for both, those two should really belong to drivers/cpufreq. -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm/mach-pxa/Makefile b/arch/arm/mach-pxa/Makefile index 12c5005..929e700 100644 --- a/arch/arm/mach-pxa/Makefile +++ b/arch/arm/mach-pxa/Makefile @@ -10,7 +10,6 @@ obj-$(CONFIG_PM) += pm.o sleep.o standby.o ifeq ($(CONFIG_CPU_FREQ),y) obj-$(CONFIG_PXA25x) += cpufreq-pxa2xx.o obj-$(CONFIG_PXA27x) += cpufreq-pxa2xx.o -obj-$(CONFIG_PXA3xx) += cpufreq-pxa3xx.o endif # Generic drivers that other drivers may depend upon diff --git a/arch/arm/mach-pxa/include/mach/generic.h b/arch/arm/mach-pxa/include/mach/generic.h new file mode 100644 index 0000000..665542e --- /dev/null +++ b/arch/arm/mach-pxa/include/mach/generic.h @@ -0,0 +1 @@ +#include "../../generic.h" diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile index 170f01a..c5c276a 100644 --- a/drivers/cpufreq/Makefile +++ b/drivers/cpufreq/Makefile @@ -56,6 +56,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_PXA3xx) += pxa3xx-cpufreq.o obj-$(CONFIG_ARM_S3C2416_CPUFREQ) += s3c2416-cpufreq.o obj-$(CONFIG_ARM_S3C64XX_CPUFREQ) += s3c64xx-cpufreq.o obj-$(CONFIG_ARM_S5PV210_CPUFREQ) += s5pv210-cpufreq.o diff --git a/arch/arm/mach-pxa/cpufreq-pxa3xx.c b/drivers/cpufreq/pxa3xx-cpufreq.c similarity index 98% rename from arch/arm/mach-pxa/cpufreq-pxa3xx.c rename to drivers/cpufreq/pxa3xx-cpufreq.c index 8c45b2b..15d60f8 100644 --- a/arch/arm/mach-pxa/cpufreq-pxa3xx.c +++ b/drivers/cpufreq/pxa3xx-cpufreq.c @@ -1,6 +1,4 @@ /* - * linux/arch/arm/mach-pxa/cpufreq-pxa3xx.c - * * Copyright (C) 2008 Marvell International Ltd. * * This program is free software; you can redistribute it and/or modify @@ -17,10 +15,9 @@ #include <linux/slab.h> #include <linux/io.h> +#include <mach/generic.h> #include <mach/pxa3xx-regs.h> -#include "generic.h" - #define HSS_104M (0) #define HSS_156M (1) #define HSS_208M (2)
This patch moves cpufreq driver of ARM based pxa3xx platform to drivers/cpufreq. Cc: Eric Miao <eric.y.miao@gmail.com> Cc: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- arch/arm/mach-pxa/Makefile | 1 - arch/arm/mach-pxa/include/mach/generic.h | 1 + drivers/cpufreq/Makefile | 1 + .../mach-pxa/cpufreq-pxa3xx.c => drivers/cpufreq/pxa3xx-cpufreq.c | 5 +---- 4 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 arch/arm/mach-pxa/include/mach/generic.h rename arch/arm/mach-pxa/cpufreq-pxa3xx.c => drivers/cpufreq/pxa3xx-cpufreq.c (98%)