On Thu, Oct 30, 2014 at 11:39:43AM -0500, Felipe Balbi wrote: > On Thu, Oct 30, 2014 at 06:08:41PM +0800, Huang Rui wrote: > > This patch adds disable usb2 suspend phy quirk, and some special platforms > > can configure that if it is needed. > > > > Signed-off-by: Huang Rui <ray.huang@xxxxxxx> > > --- > > Documentation/devicetree/bindings/usb/dwc3.txt | 1 + > > drivers/usb/dwc3/core.c | 7 +++++++ > > drivers/usb/dwc3/core.h | 2 ++ > > drivers/usb/dwc3/platform_data.h | 1 + > > 4 files changed, 11 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/usb/dwc3.txt b/Documentation/devicetree/bindings/usb/dwc3.txt > > index 3720fca..feaf2c8 100644 > > --- a/Documentation/devicetree/bindings/usb/dwc3.txt > > +++ b/Documentation/devicetree/bindings/usb/dwc3.txt > > @@ -33,6 +33,7 @@ Optional properties: > > - snps,tx_de_emphasis: the value driven to the PHY is controlled by the > > LTSSM during USB3 Compliance mode. > > - snps,dis_u3_susphy_quirk: when set core will disable USB3 suspend phy. > > + - snps,dis_u2_susphy_quirk: when set core will disable USB2 suspend phy. > > > > This is usually a subnode to DWC3 glue to which it is connected. > > > > diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c > > index fdc715a..a28ed1c 100644 > > --- a/drivers/usb/dwc3/core.c > > +++ b/drivers/usb/dwc3/core.c > > @@ -423,6 +423,10 @@ static void dwc3_phy_setup(struct dwc3 *dwc) > > if (dwc->revision > DWC3_REVISION_194A) > > reg |= DWC3_GUSB2PHYCFG_SUSPHY; > > > > + /* FIXME will move FPGA flag when AMD NL taps out */ > > no need to mention AMD NL here. We still want to have is_fpga flag, just > dwc3-pci will be patches once AMD NL tapes out. > OK, will move it. Thanks, Rui -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html