Re: [PATCHv6 5/5] USB: gadget: atmel_usba_udc: Add suspend/resume with wakeup support

2015-02-05 Thread Nicolas Ferre
Le 22/01/2015 17:56, Sylvain Rochet a écrit : > 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 an

[PATCHv6 5/5] USB: gadget: atmel_usba_udc: Add suspend/resume with wakeup support

2015-01-22 Thread Sylvain Rochet
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