Re: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-11-11 Thread Viresh Kumar
On 12 November 2014 00:39, Scott Wood wrote: > What purpose do those " CPU frequency scaling drivers" submenus > serve, versus just including the options in the main cpufreq menu? It's > not as if more than one arch would be visible at once (and when a > situation with multiple visible menus

Re: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-11-11 Thread Scott Wood
On Tue, 2014-10-21 at 08:59 +, Yuantian Tang wrote: > > > -config PPC_CORENET_CPUFREQ > > > - tristate "CPU frequency scaling driver for Freescale E500MC SoCs" > > > - depends on PPC_E500MC && OF && COMMON_CLK > > > +config QORIQ_CPUFREQ > > > + tristate "CPU frequency

Re: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-11-11 Thread Scott Wood
On Tue, 2014-10-21 at 08:59 +, Yuantian Tang wrote: -config PPC_CORENET_CPUFREQ - tristate CPU frequency scaling driver for Freescale E500MC SoCs - depends on PPC_E500MC OF COMMON_CLK +config QORIQ_CPUFREQ + tristate CPU frequency scaling driver for Freescale

Re: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-11-11 Thread Viresh Kumar
On 12 November 2014 00:39, Scott Wood scottw...@freescale.com wrote: What purpose do those arch CPU frequency scaling drivers submenus serve, versus just including the options in the main cpufreq menu? It's not as if more than one arch would be visible at once (and when a situation with

Re: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-11-09 Thread Viresh Kumar
On 27 October 2014 09:09, Yuantian Tang wrote: > Do we have a conclusion yet? No. You can keep your initial duplication of Kconfig entries for the time being. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-11-09 Thread Viresh Kumar
On 27 October 2014 09:09, Yuantian Tang yuantian.t...@freescale.com wrote: Do we have a conclusion yet? No. You can keep your initial duplication of Kconfig entries for the time being. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

RE: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-26 Thread Yuantian Tang
PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ > platforms > > On 21 October 2014 14:29, Yuantian Tang > wrote: > > If I do so, menuconfig will display like this(on PPC): > > PowerPC CPU frequency scaling drivers > > QorIQ CPU Frequency

RE: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-26 Thread Yuantian Tang
-Original Message- From: Viresh Kumar [mailto:viresh.ku...@linaro.org] Sent: Tuesday, October 21, 2014 5:04 PM To: Tang Yuantian-B29983 Cc: Rafael J. Wysocki; Linux Kernel Mailing List; linux...@vger.kernel.org; linuxppc-...@ozlabs.org Subject: Re: [PATCH] cpufreq: qoriq: Make

Re: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-21 Thread Viresh Kumar
On 21 October 2014 14:29, Yuantian Tang wrote: > If I do so, menuconfig will display like this(on PPC): > PowerPC CPU frequency scaling drivers > QorIQ CPU Frequency scaling ---> > <*> CPU frequency scaling driver for Freescale QorIQ SoCs > On ARM, there should

RE: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-21 Thread Yuantian Tang
> > -config PPC_CORENET_CPUFREQ > > - tristate "CPU frequency scaling driver for Freescale E500MC SoCs" > > - depends on PPC_E500MC && OF && COMMON_CLK > > +config QORIQ_CPUFREQ > > + tristate "CPU frequency scaling driver for Freescale QorIQ SoCs" > > + depends on OF &&

RE: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-21 Thread Yuantian Tang
> > #ifndef CONFIG_SMP > > static inline const struct cpumask *cpu_core_mask(int cpu) { @@ -79,6 > > +75,79 @@ static inline const struct cpumask *cpu_core_mask(int cpu) } > > #endif > > > > +#if defined(CONFIG_PPC_E500MC) > > Probably should just be CONFIG_PPC, but do we need this at all. Can't

RE: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-21 Thread Yuantian Tang
#ifndef CONFIG_SMP static inline const struct cpumask *cpu_core_mask(int cpu) { @@ -79,6 +75,79 @@ static inline const struct cpumask *cpu_core_mask(int cpu) } #endif +#if defined(CONFIG_PPC_E500MC) Probably should just be CONFIG_PPC, but do we need this at all. Can't we just use

RE: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-21 Thread Yuantian Tang
-config PPC_CORENET_CPUFREQ - tristate CPU frequency scaling driver for Freescale E500MC SoCs - depends on PPC_E500MC OF COMMON_CLK +config QORIQ_CPUFREQ + tristate CPU frequency scaling driver for Freescale QorIQ SoCs + depends on OF COMMON_CLK

Re: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-21 Thread Viresh Kumar
On 21 October 2014 14:29, Yuantian Tang yuantian.t...@freescale.com wrote: If I do so, menuconfig will display like this(on PPC): PowerPC CPU frequency scaling drivers QorIQ CPU Frequency scaling --- * CPU frequency scaling driver for Freescale QorIQ SoCs On

RE: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-20 Thread Yuantian Tang
fael J. Wysocki; Linux Kernel Mailing List; linux...@vger.kernel.org; > linuxppc-...@ozlabs.org; Tang Yuantian-B29983 > Subject: Re: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ > platforms > > On 17 October 2014 08:43, wrote: > > Hi B29983 :) > >

RE: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-20 Thread Yuantian Tang
Kernel Mailing List; linux...@vger.kernel.org; linuxppc-...@ozlabs.org; Tang Yuantian-B29983 Subject: Re: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms On 17 October 2014 08:43, b29...@freescale.com wrote: Hi B29983 :) From: Tang Yuantian yuantian.t

RE: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-19 Thread Yuantian Tang
9983 > Cc: r...@rjwysocki.net; viresh.ku...@linaro.org; linux-kernel@vger.kernel.org; > linux...@vger.kernel.org; linuxppc-...@ozlabs.org; Tang Yuantian-B29983 > Subject: Re: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ > platforms > > > On Oct 17, 2014, at 5:

RE: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-19 Thread Yuantian Tang
...@rjwysocki.net; viresh.ku...@linaro.org; linux-kernel@vger.kernel.org; linux...@vger.kernel.org; linuxppc-...@ozlabs.org; Tang Yuantian-B29983 Subject: Re: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms On Oct 17, 2014, at 5:13 AM, b29...@freescale.com wrote: From: Tang

Re: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-17 Thread Viresh Kumar
On 17 October 2014 08:43, wrote: Hi B29983 :) > From: Tang Yuantian > > Freescale introduced new ARM core-based SoCs which support dynamic > frequency switch feature. DFS on new SoCs are compatible with current > PowerPC CoreNet platforms. In order to support those new platforms, > this

Re: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-17 Thread Kumar Gala
On Oct 17, 2014, at 5:13 AM, b29...@freescale.com wrote: > From: Tang Yuantian > > Freescale introduced new ARM core-based SoCs which support dynamic > frequency switch feature. DFS on new SoCs are compatible with current > PowerPC CoreNet platforms. In order to support those new platforms, >

Re: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-17 Thread Kumar Gala
On Oct 17, 2014, at 5:13 AM, b29...@freescale.com wrote: From: Tang Yuantian yuantian.t...@freescale.com Freescale introduced new ARM core-based SoCs which support dynamic frequency switch feature. DFS on new SoCs are compatible with current PowerPC CoreNet platforms. In order to support

Re: [PATCH] cpufreq: qoriq: Make the driver usable on all QorIQ platforms

2014-10-17 Thread Viresh Kumar
On 17 October 2014 08:43, b29...@freescale.com wrote: Hi B29983 :) From: Tang Yuantian yuantian.t...@freescale.com Freescale introduced new ARM core-based SoCs which support dynamic frequency switch feature. DFS on new SoCs are compatible with current PowerPC CoreNet platforms. In order to