Hi all,

This is enhancement for "usb: chipidea: add runtime power management support"
(http://www.spinics.net/lists/linux-usb/msg118987.html), it adds
- USB as wakeup source support
- Fix system hang when unload module
The runtime pm close the clock before access hardware registers.
- Fix system hang at boots up sometimes at some boards
The reason is disable PLL/USB PHY just after enable PLL/USB PHY,
we set two seconds autosuspend timer to fix this issue.

Since runtime pm will take the PHY enter low power mode and gate the controller 
clock,
if there is no related wakeup logic, the usb will can't be used any more, and 
wakeup
logic is different per vendor/platform, I only enable the platforms which I 
have tested.
For platforms who want to use runtime pm and usb as wakeup source, please 
enable it
at related glue layer driver.

Tested at imx6dl evk, imx6sl evk, and imx6sx evk.

Comments are welcome.

Peter Chen (6):
  usb: chipidea: add runtime power management support
  usb: chipidea: usbmisc_imx: add .set_wakeup interface
  usb: chipidea: imx: add runtime power management support
  usb: chipidea: add usb as system wakeup source
  usb: chipidea: imx: add usb as system wakeup source
  doc: usb: chipidea: add usb wakeup enable example

 Documentation/usb/chipidea.txt     |  21 +++++++
 drivers/usb/chipidea/ci.h          |   6 ++
 drivers/usb/chipidea/ci_hdrc_imx.c | 119 +++++++++++++++++++++++++++++++++++--
 drivers/usb/chipidea/ci_hdrc_imx.h |   1 +
 drivers/usb/chipidea/core.c        | 110 ++++++++++++++++++++++++++++++++--
 drivers/usb/chipidea/otg.c         |   2 +
 drivers/usb/chipidea/usbmisc_imx.c |  52 ++++++++++++++++
 include/linux/usb/chipidea.h       |   1 +
 8 files changed, 300 insertions(+), 12 deletions(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to