Re: [PATCH 6/6] cpufreq: pxa: convert to clock API

2016-10-15 Thread Robert Jarzmik
Robert Jarzmik writes: >> In that case, what about making this driver depends_on !CONFIG_OF ? So >> that the DT users don't use it anymore. > Good idea, let me try it. > I'll see if it actually works before make another iteration of this patch. Okay, it works all right. I'll split out this patc

Re: [PATCH 6/6] cpufreq: pxa: convert to clock API

2016-10-12 Thread Robert Jarzmik
Viresh Kumar writes: >> >> PXA architecture have both legacy platform_data based configurations and >> >> new >> >> devicetree based ones. >> > >> > I don't see any platform data specific code in this driver. What am I >> > missing ? >> >> In a legacy platform, ie. without devicetree, we have C

Re: [PATCH 6/6] cpufreq: pxa: convert to clock API

2016-10-12 Thread Viresh Kumar
On 12-10-16, 10:29, Robert Jarzmik wrote: > Viresh Kumar writes: > > > On 12-10-16, 08:22, Robert Jarzmik wrote: > >> Viresh Kumar writes: > >> > >> > On 10-10-16, 22:09, Robert Jarzmik wrote: > >> >> As the clock settings have been introduced into the clock pxa drivers, > >> >> which are now a

Re: [PATCH 6/6] cpufreq: pxa: convert to clock API

2016-10-12 Thread Robert Jarzmik
Viresh Kumar writes: > On 12-10-16, 08:22, Robert Jarzmik wrote: >> Viresh Kumar writes: >> >> > On 10-10-16, 22:09, Robert Jarzmik wrote: >> >> As the clock settings have been introduced into the clock pxa drivers, >> >> which are now available to change the CPU clock by themselves, remove >>

Re: [PATCH 6/6] cpufreq: pxa: convert to clock API

2016-10-11 Thread Viresh Kumar
On 12-10-16, 08:22, Robert Jarzmik wrote: > Viresh Kumar writes: > > > On 10-10-16, 22:09, Robert Jarzmik wrote: > >> As the clock settings have been introduced into the clock pxa drivers, > >> which are now available to change the CPU clock by themselves, remove > >> the clock handling from this

Re: [PATCH 6/6] cpufreq: pxa: convert to clock API

2016-10-11 Thread Robert Jarzmik
Viresh Kumar writes: > On 10-10-16, 22:09, Robert Jarzmik wrote: >> As the clock settings have been introduced into the clock pxa drivers, >> which are now available to change the CPU clock by themselves, remove >> the clock handling from this driver, and rely on pxa clock drivers. >> >> Signed-

Re: [PATCH 6/6] cpufreq: pxa: convert to clock API

2016-10-11 Thread Viresh Kumar
On 10-10-16, 22:09, Robert Jarzmik wrote: > As the clock settings have been introduced into the clock pxa drivers, > which are now available to change the CPU clock by themselves, remove > the clock handling from this driver, and rely on pxa clock drivers. > > Signed-off-by: Robert Jarzmik > ---

[PATCH 6/6] cpufreq: pxa: convert to clock API

2016-10-10 Thread Robert Jarzmik
As the clock settings have been introduced into the clock pxa drivers, which are now available to change the CPU clock by themselves, remove the clock handling from this driver, and rely on pxa clock drivers. Signed-off-by: Robert Jarzmik --- drivers/cpufreq/pxa2xx-cpufreq.c | 191 --