lkml.org 
[lkml]   [2011]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRE: [PATCH 6/6 v2] arm: omap: usb: global Suspend and resume support of ehci and ohci
>-----Original Message-----
>From: Felipe Balbi [mailto:balbi@ti.com]
>Sent: Thursday, July 07, 2011 3:48 AM
>To: Kevin Hilman
>Cc: balbi@ti.com; Alan Stern; Partha Basak; Keshava Munegowda; linux-
>usb@vger.kernel.org; linux-omap@vger.kernel.org; linux-
>kernel@vger.kernel.org; Anand Gadiyar; sameo@linux.intel.com;
>parthab@india.ti.com; tony@atomide.com; Benoit Cousson; paul@pwsan.com;
>johnstul@us.ibm.com; Vishwanath Sripathy
>Subject: Re: [PATCH 6/6 v2] arm: omap: usb: global Suspend and resume
>support of ehci and ohci
>
>Hi,
>
>On Wed, Jul 06, 2011 at 12:20:40PM -0700, Kevin Hilman wrote:
>> >> + if ((od->flags & OMAP_DEVICE_SUSPENDED) &&
>> >> + (od->_state == OMAP_DEVICE_STATE_IDLE))
>> >> + omap_device_enable(pdev);
>> >> +
>> >> + return pm_generic_resume(dev);
>> >> +}
>> >> +
>> >> static struct dev_power_domain omap_device_power_domain = {
>> >> .ops = {
>> >> .runtime_suspend = _od_runtime_suspend,
>> >> .runtime_idle = _od_runtime_idle,
>> >> .runtime_resume = _od_runtime_resume,
>> >> USE_PLATFORM_PM_SLEEP_OPS
>> >> + .suspend = _od_suspend,
>> >> + .resume = _od_resume,
>> >> }
>> >> };
>> >
>> > it all depends on when are you planning to get this patch upstream.
>> > I'm considering getting some PM working on USB host and remove the
>> > pm_runtime calls from system suspend/resume either during -rc or
>> > next merge window.
>>
>> Well, IMO it's way too late for this kind of change for -rc, so I'm
>> considering it for the upcoming merge window.
>
>yes, that's true. Who should take the hwmod patches btw ? I'm still
>wondering if we should patch hwmod data first and push the _correct_ PM
>part on 3.2.

Once Kevin pushes this infrastructure enhancement, all drivers have to
rework
the Suspend/Resume anyways. Another way would be to go by the current
approach
now and then do the rework in 3.2 along with other drivers.

In this way, we can soak the Runtime support of EHCI/OHCI for one merge
window.
>
>--
>balbi


\
 
 \ /
  Last update: 2011-07-07 07:01    [W:0.064 / U:0.360 seconds]
©2003-2014 Jasper Spaans. Advertise on this site