diff options
author | Sylvain Rochet <sylvain.rochet@finsecur.com> | 2015-02-12 12:54:07 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-03-11 11:19:37 -0400 |
commit | 112bf24471b50f806cbcbead7bd485da70401b83 (patch) | |
tree | 2ecf7803a92a71d37a91d4ddc6f3802287b39281 /drivers/usb/phy | |
parent | a64ef71ddc13fc76a6f4af8c61e0106a62004380 (diff) |
usb: gadget: atmel_usba_udc: Add suspend/resume with wakeup support
This patch add suspend/resume with wakeup support for Atmel USBA.
On suspend: We stay continuously clocked if Vbus signal is not
available. If Vbus signal is available we set the Vbus signal as a wake
up source then we stop the USBA itself and all clocks used by USBA.
On resume: We recover clocks and USBA if we stopped them. If a device is
currently connected at resume time we enable the controller.
Signed-off-by: Sylvain Rochet <sylvain.rochet@finsecur.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy')
0 files changed, 0 insertions, 0 deletions