Re: [PATCH] usb: phy: am335x: Enable USB remote wakeup using PHY wakeup

2013-12-18 Thread Alan Stern
On Wed, 18 Dec 2013, Felipe Balbi wrote: > Alan, any suggestions on how to handle wakeup correctly ? I mean, it > should be enabled by default during runtime PM and disabled during > system sleep. During system sleep, it should be set according to the value of device_may_wakeup(). > But when i

Re: [PATCH] usb: phy: am335x: Enable USB remote wakeup using PHY wakeup

2013-12-18 Thread Felipe Balbi
Hi, On Wed, Dec 18, 2013 at 06:52:09PM +0530, George Cherian wrote: > USB remote wakeup using PHY wakeup is supported only in standby mode. > Enabling the PHY_WKUP will break DS0 mode of system suspend. > If the same is enabled while entering DS0, AM33xx never stays in DS0, > it returns immediatel

[PATCH] usb: phy: am335x: Enable USB remote wakeup using PHY wakeup

2013-12-18 Thread George Cherian
USB remote wakeup using PHY wakeup is supported only in standby mode. Enabling the PHY_WKUP will break DS0 mode of system suspend. If the same is enabled while entering DS0, AM33xx never stays in DS0, it returns immediately from DS0. By default make the PHY wakeup disabled, using sysfs entry enable