Re: [PATCH v3 05/11] usb: dwc3: core: add power management support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Monday 11 February 2013 05:07 PM, Felipe Balbi wrote:
On Mon, Feb 11, 2013 at 05:02:15PM +0530, kishon wrote:
Hi,

On Monday 11 February 2013 03:22 PM, Felipe Balbi wrote:
Add support for basic power management on
the dwc3 driver. While there is still lots
to improve for full PM support, this minimal
patch will already make sure that we survive
suspend-to-ram and suspend-to-disk without
major issues.

It can work only till retention or it can work with off-mode too with
this series? Form what I could make out, it'll work till retention.
right?

this is not runtime PM and I haven't tested with OMAP. All in all, it
should work with both, but only testing will tell. Maybe we _do_ need to
restart the whole IP in that case. At least with PCIe FPGA, it survived
just fine a suspend-to-ram (echo mem > /sys/power/state).

I'll see if I can test suspend-to-disk later today or tomorrow.

Ok. Just one thing. I don't see three registers getting restored properly (needed when suspend-to-disk). One is DWC3_GCTL, which is being initialized in dwc3_core_init and the other is DWC3_DCFG and DWC3_DCTL initialized in dwc3_gadget_init().

Thanks
Kishon
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux