linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH 07/14] cpufreq: cpu0: OPPs can be populated at runtime
       [not found]     ` <CAKohpo=KUktq8XJv7Ayis1Q3ik+Wh3wb8wN6VpRAtOsbbv9XCw@mail.gmail.com>
@ 2014-07-10 12:39       ` Nishanth Menon
  2014-07-10 13:31         ` Santosh Shilimkar
  0 siblings, 1 reply; 3+ messages in thread
From: Nishanth Menon @ 2014-07-10 12:39 UTC (permalink / raw)
  To: Viresh Kumar, Tony Lindgren
  Cc: Santosh Shilimkar, Rafael J. Wysocki, Shawn Guo,
	Lists linaro-kernel, linux-pm@vger.kernel.org,
	linux-arm-msm@vger.kernel.org, Tomasz Figa, Stephen Boyd,
	Linux Kernel Mailing List, Thomas P Abraham, Arvind Chauhan,
	Sachin Kamat, Dave Gerlach, linux-omap

On Thu, Jul 10, 2014 at 6:19 AM, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> On 9 July 2014 20:14, Santosh Shilimkar <santosh.shilimkar@ti.com> wrote:
>> Assuming you are updating bidnings as suggested by Stephen,
>> patch looks good to me.
>> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
>
> Why do you still have a separate cpufreq driver for omap?
> Would this patch help getting that out?
>
> I see this for omap:
>
> static inline void omap_init_cpufreq(void)
> {
>         struct platform_device_info devinfo = { };
>
>         if (!of_have_populated_dt())
>                 devinfo.name = "omap-cpufreq";
>         else
>                 devinfo.name = "cpufreq-generic";
>         platform_device_register_full(&devinfo);
> }
>
> and it makes me believe that you were just waiting for this patch?

Sorry, am away on vacation and slow on emails. The plan was to kill
omap cpufreq once all platforms convert to device tree only boot. Only
platform left is OMAP3 based platforms - though the date for removing
non-dt support has changed a couple of kernel revisions - but we
should be able to remove that entire file with this change.

We will need this support to go with the solution recommended for opp
modifier series[1] - where platform code will populate or add OPPs
based on "speed grade" sample detection.

[1]http://comments.gmane.org/gmane.linux.ports.arm.kernel/309466

---
Regards,
Nishanth Menon

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 07/14] cpufreq: cpu0: OPPs can be populated at runtime
  2014-07-10 12:39       ` [PATCH 07/14] cpufreq: cpu0: OPPs can be populated at runtime Nishanth Menon
@ 2014-07-10 13:31         ` Santosh Shilimkar
  2014-07-10 13:36           ` Viresh Kumar
  0 siblings, 1 reply; 3+ messages in thread
From: Santosh Shilimkar @ 2014-07-10 13:31 UTC (permalink / raw)
  To: Nishanth Menon, Viresh Kumar, Tony Lindgren
  Cc: Rafael J. Wysocki, Shawn Guo, Lists linaro-kernel,
	linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	Tomasz Figa, Stephen Boyd, Linux Kernel Mailing List,
	Thomas P Abraham, Arvind Chauhan, Sachin Kamat, Dave Gerlach,
	linux-omap

On Thursday 10 July 2014 08:39 AM, Nishanth Menon wrote:
> On Thu, Jul 10, 2014 at 6:19 AM, Viresh Kumar <viresh.kumar@linaro.org> wrote:
>> On 9 July 2014 20:14, Santosh Shilimkar <santosh.shilimkar@ti.com> wrote:
>>> Assuming you are updating bidnings as suggested by Stephen,
>>> patch looks good to me.
>>> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
>>
>> Why do you still have a separate cpufreq driver for omap?
>> Would this patch help getting that out?
>>
>> I see this for omap:
>>
>> static inline void omap_init_cpufreq(void)
>> {
>>         struct platform_device_info devinfo = { };
>>
>>         if (!of_have_populated_dt())
>>                 devinfo.name = "omap-cpufreq";
>>         else
>>                 devinfo.name = "cpufreq-generic";
>>         platform_device_register_full(&devinfo);
>> }
>>
>> and it makes me believe that you were just waiting for this patch?
> 
> Sorry, am away on vacation and slow on emails. The plan was to kill
> omap cpufreq once all platforms convert to device tree only boot. Only
> platform left is OMAP3 based platforms - though the date for removing
> non-dt support has changed a couple of kernel revisions - but we
> should be able to remove that entire file with this change.
> 
> We will need this support to go with the solution recommended for opp
> modifier series[1] - where platform code will populate or add OPPs
> based on "speed grade" sample detection.
>
Yep. Last time I blocked the series because all the DT conversions
were not done. Considering now the cpufreq-generic can work on non
DT platforms, I am ok to remove the omap-cpufreq.

Regards,
Santosh

 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 07/14] cpufreq: cpu0: OPPs can be populated at runtime
  2014-07-10 13:31         ` Santosh Shilimkar
@ 2014-07-10 13:36           ` Viresh Kumar
  0 siblings, 0 replies; 3+ messages in thread
From: Viresh Kumar @ 2014-07-10 13:36 UTC (permalink / raw)
  To: Santosh Shilimkar
  Cc: Nishanth Menon, Tony Lindgren, Rafael J. Wysocki, Shawn Guo,
	Lists linaro-kernel, linux-pm@vger.kernel.org,
	linux-arm-msm@vger.kernel.org, Tomasz Figa, Stephen Boyd,
	Linux Kernel Mailing List, Thomas P Abraham, Arvind Chauhan,
	Sachin Kamat, Dave Gerlach, linux-omap

On 10 July 2014 19:01, Santosh Shilimkar <santosh.shilimkar@ti.com> wrote:
> Yep. Last time I blocked the series because all the DT conversions
> were not done. Considering now the cpufreq-generic can work on non
> DT platforms, I am ok to remove the omap-cpufreq.

Great.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-10 13:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <cover.1404231535.git.viresh.kumar@linaro.org>
     [not found] ` <1ba7771e910084cd0820c19ca5994fe1b3d6451d.1404231535.git.viresh.kumar@linaro.org>
     [not found]   ` <53BD5564.2060704@ti.com>
     [not found]     ` <CAKohpo=KUktq8XJv7Ayis1Q3ik+Wh3wb8wN6VpRAtOsbbv9XCw@mail.gmail.com>
2014-07-10 12:39       ` [PATCH 07/14] cpufreq: cpu0: OPPs can be populated at runtime Nishanth Menon
2014-07-10 13:31         ` Santosh Shilimkar
2014-07-10 13:36           ` Viresh Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).