RE: [PATCH v3] cpufreq: Add cpufreq driver for Freescale e500mc SoCs

2013-03-31 Thread Tang Yuantian-B29983
s.ozlabs.org; Li Yang-R58472 > Subject: Re: [PATCH v3] cpufreq: Add cpufreq driver for Freescale e500mc > SoCs > > On Fri, Mar 29, 2013 at 11:22 AM, wrote: > > diff --git a/drivers/cpufreq/ppc-corenet-cpufreq.c > > b/drivers/cpufreq/ppc-corenet-cpufreq.c > > > +sta

Re: [PATCH v3] cpufreq: Add cpufreq driver for Freescale e500mc SoCs

2013-03-30 Thread Viresh Kumar
On Fri, Mar 29, 2013 at 11:22 AM, wrote: > diff --git a/drivers/cpufreq/ppc-corenet-cpufreq.c > b/drivers/cpufreq/ppc-corenet-cpufreq.c > +static int corenet_cpufreq_cpu_init(struct cpufreq_policy *policy) > +{ > + for (i = 0; i < count; i++) { > + table[i].index = i; One

Re: [PATCH v3] cpufreq: Add cpufreq driver for Freescale e500mc SoCs

2013-03-29 Thread Viresh Kumar
On 29 March 2013 11:22, wrote: > diff --git a/drivers/cpufreq/ppc-corenet-cpufreq.c > b/drivers/cpufreq/ppc-corenet-cpufreq.c > + Add following here for better debug prints (sorry, i should have done it earlier) #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > +#include > +#include > +#include

[PATCH v3] cpufreq: Add cpufreq driver for Freescale e500mc SoCs

2013-03-28 Thread Yuantian.Tang
From: Tang Yuantian Add cpufreq driver for Freescale e500mc, e5500 and e6500 SoCs which are capable of changing the frequency of CPU dynamically Signed-off-by: Tang Yuantian Signed-off-by: Li Yang --- v3: - change sizeof(struct name).. to sizeof(*p) - remove the struct cpufreq_