]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: phy: mxs: Add implementation of set_wakeup
authorPeter Chen <peter.chen@freescale.com>
Mon, 24 Feb 2014 02:21:02 +0000 (10:21 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:19 +0000 (21:16 -0600)
commitf47319b8ed2a43d6e745e3b80cfead3724ad2735
treea3abb0408c38ca31581b44ce710c03def7a0f2fa
parentd17b7731b3650c89ffb092c6af66bb116b608640
usb: phy: mxs: Add implementation of set_wakeup

When we need the PHY can be waken up by external signals,
we can call this API. Besides, we call mxs_phy_disconnect_line
at this API to close the connection between USB PHY and
controller, after that, the line state from controller is SE0.
Once the PHY is out of power, without calling mxs_phy_disconnect_line,
there are unknown wakeups due to dp/dm floating at device mode.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
[shawn.guo: cherry-pick commit 3f1265056be0 from upstream]
drivers/usb/phy/phy-mxs-usb.c