[PATCH] usb: musb: support for OFF-mode

2010-01-22 Thread Arnaud Mandy
using a wrapper between the transceiver driver and the controller driver to signal the controller driver to turn on/off the controller when VBUS event is detected. based-on: Heikki Krogerus Signed-off-by: Arnaud Mandy --- drivers/usb/musb/musb_core.c | 30 +- drivers/usb

[PATCH 0/1]: usb: musb: support for OFF mode

2010-01-22 Thread Arnaud Mandy
The following patch must be applied on top of the following patchset. http://www.spinics.net/lists/linux-omap/msg24154.html Depending on [PATCH 1/7] usb: musb: Add context save and restore support Depending on [PATCH 2/7] usb: musb: get rid of omap_readl/writel -- To unsubscribe from this list: s

Re: [PATCH 2/3 v3] musb: Add context save and restore support

2009-12-17 Thread Arnaud Mandy
ext Gupta, Ajay Kumar wrote: -Original Message- From: Arnaud Mandy [mailto:ext-arnaud.2.ma...@nokia.com] Sent: Thursday, December 17, 2009 7:41 PM To: Gupta, Ajay Kumar Cc: linux-...@vger.kernel.org; linux-omap@vger.kernel.org; Balbi Felipe (Nokia-D/Helsinki); davi...@pacbell.net

Re: [PATCH 2/3 v3] musb: Add context save and restore support

2009-12-17 Thread Arnaud Mandy
ext Gupta, Ajay Kumar wrote: #ifdef CONFIG_PM +static struct musb_context_registers musb_context; + +void musb_save_context(struct musb *musb) +{ Could you add one more parameter to this function call, which would select either if we want to save the musb_platform context or not?

Re: [PATCH 2/3 v3] musb: Add context save and restore support

2009-12-17 Thread Arnaud Mandy
ext Ajay Kumar Gupta wrote: Adding support for MUSB register save and restore during system suspend and resume. Changes: - Added musb_save/restore_context() functions - Added platform specific musb_platform_save/restore_context() to handle platform specific jobs.