[PATCH v5] cpufreq: powerpc: Add cpufreq driver for Freescale e500mc SoCs

Rafael J. Wysocki rjw at sisk.pl
Wed Jun 5 22:29:54 EST 2013


On Wednesday, June 05, 2013 04:06:29 PM Viresh Kumar wrote:
> On 5 June 2013 15:00,  <Yuantian.Tang at freescale.com> wrote:
> > From: Tang Yuantian <yuantian.tang at freescale.com>
> >
> > Add cpufreq driver for Freescale e500mc, e5500 and e6500 SoCs
> > which are capable of changing the CPU frequency dynamically
> >
> > Signed-off-by: Tang Yuantian <Yuantian.Tang at freescale.com>
> > Signed-off-by: Li Yang <leoli at freescale.com>
> > ---
> > v5:
> >         - enhance the CPU hotplug case
> >         - mask the disallowed CPU frequencies
> >         - remove freqs.cpu = policy->cpu;
> >         - refine the code style
> > v4:
> >         - rebase on bleeding-edge branch of Rafael's linux-pm.git
> >         - #define pr_fmt() for better debug prints
> >         - use newest cpufreq_notify_transition()
> >         - support CPU hotplug
> >         - remove table[i].index as it is not used
> >         - remove cpus_per_cluster
> > v3:
> >         - change sizeof(struct name).. to sizeof(*p)
> >         - remove the struct cpufreq_data, use global variable instead
> >         - resolve setting policy->cpus incorrectly
> >         - add CPUFREQ_POSTCHANGE notifier when setting frequency error
> > v2:
> >         - add depends on OF and COMMON_CLK in Kconfig
> >         - use clk.h instead of clk-provider.h
> >         - change per_cpu variable from struct to pointer
> >
> >  drivers/cpufreq/Kconfig.powerpc       |  10 +
> >  drivers/cpufreq/Makefile              |   1 +
> >  drivers/cpufreq/ppc-corenet-cpufreq.c | 380 ++++++++++++++++++++++++++++++++++
> >  3 files changed, 391 insertions(+)
> >  create mode 100644 drivers/cpufreq/ppc-corenet-cpufreq.c
> 
> I haven't gone for a very deep review this time and it looked okay.
> 
> Acked-by: Viresh Kumar <viresh.kumar at linaro.org>

OK, queued up for 3.11.

Thanks,
Rafael


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


More information about the Linuxppc-dev mailing list