Messages in this thread | | | Date | Mon, 15 Dec 2014 10:13:11 -0800 | Subject | Re: [PATCH v7 3/5] usb: dwc2: add generic PHY framework support for dwc2 usb controler platform driver. | From | Doug Anderson <> |
| |
Yunzhi,
On Fri, Dec 12, 2014 at 7:09 AM, Yunzhi Li <lyz@rock-chips.com> wrote: > Get PHY parameters from devicetree and power off usb PHY during > system suspend. > > Signed-off-by: Yunzhi Li <lyz@rock-chips.com> > Acked-by: Paul Zimmerman <paulz@synopsys.com> > > --- > > Changes in v7: None > Changes in v6: None > Changes in v5: None > Changes in v4: None > Changes in v3: > - Fix coding style: both branches of the if() which only one > branch of the conditional statement is a single statement > should have braces. > - No need to test dwc2->phy for NULL before calling generic phy > APIs. > > drivers/usb/dwc2/gadget.c | 33 ++++++++++++--------------------- > drivers/usb/dwc2/platform.c | 36 ++++++++++++++++++++++++++++++++++-- > 2 files changed, 46 insertions(+), 23 deletions(-)
On rk3288-pinky (on a 3.14 tree with backports), I can confirm that this properly gets us into low power at suspend time.
Tested-by: Doug Anderson <dianders@chromium.org>
| |