1. 18 11月, 2016 2 次提交
  2. 08 11月, 2016 1 次提交
  3. 03 11月, 2016 6 次提交
  4. 07 9月, 2016 1 次提交
    • T
      usb: dwc3: Fix dr_mode validation · 9d6173e1
      Thinh Nguyen 提交于
      This patch follows the similar fix in dwc2. See
      commit 5268ed9d ("usb: dwc2: Fix dr_mode validation")
      
      Currently, the dr_mode is only checked against the module configuration.
      It also needs to be checked against the hardware capablities.
      
      The driver now checks if both the module configuration and hardware are
      capable of the dr_mode value. If not, then it will issue a warning and
      fall back to a supported value. If it is unable to fall back to a
      suitable value, then the probe will fail.
      
      Behavior summary:
      
            module          :  actual
       HW   config  dr_mode :  dr_mode
      ---------------------------------
       host  host   any     :  host
       host  dev    any     :  INVALID
       host  otg    any     :  host
      
       dev   host   any     :  INVALID
       dev   dev    any     :  dev
       dev   otg    any     :  dev
      
       otg   host   any     :  host
       otg   dev    any     :  dev
       otg   otg    any     :  dr_mode
      Signed-off-by: NThinh Nguyen <thinhn@synopsys.com>
      Signed-off-by: NJohn Youn <johnyoun@synopsys.com>
      Signed-off-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
      9d6173e1
  5. 25 8月, 2016 5 次提交
  6. 22 8月, 2016 1 次提交
  7. 21 6月, 2016 3 次提交
  8. 20 6月, 2016 6 次提交
  9. 19 4月, 2016 2 次提交
  10. 18 4月, 2016 2 次提交
  11. 14 4月, 2016 3 次提交
  12. 29 3月, 2016 1 次提交
    • F
      usb: dwc3: core: improve reset sequence · f59dcab1
      Felipe Balbi 提交于
      According to Synopsys Databook, we shouldn't be
      relying on GCTL.CORESOFTRESET bit as that's only for
      debugging purposes. Instead, let's use DCTL.CSFTRST
      if we're OTG or PERIPHERAL mode.
      
      Host side block will be reset by XHCI driver if
      necessary. Note that this reduces amount of time
      spent on dwc3_probe() by a long margin.
      
      We're still gonna wait for reset to finish for a
      long time (default to 1ms max), but tests show that
      the reset polling loop executed at most 19 times
      (modprobe dwc3 && modprobe -r dwc3 executed 1000
      times in a row).
      Suggested-by: NMian Yousaf Kaukab <yousaf.kaukab@intel.com>
      Signed-off-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
      f59dcab1
  13. 04 3月, 2016 2 次提交
  14. 15 12月, 2015 1 次提交
  15. 10 10月, 2015 2 次提交
    • J
      usb: dwc3: Add dis_enblslpm_quirk · ec791d14
      John Youn 提交于
      Add a quirk to clear the GUSB2PHYCFG.ENBLSLPM bit, which controls
      whether the PHY receives the suspend signal from the controller.
      
      Cc: <stable@vger.kernel.org> # v3.18+
      Signed-off-by: NJohn Youn <johnyoun@synopsys.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      ec791d14
    • J
      usb: dwc3: Support Synopsys USB 3.1 IP · 690fb371
      John Youn 提交于
      This patch allows the dwc3 driver to run on the new Synopsys USB 3.1
      IP core, albeit in USB 3.0 mode only.
      
      The Synopsys USB 3.1 IP (DWC_usb31) retains mostly the same register
      interface and programming model as the existing USB 3.0 controller IP
      (DWC_usb3). However the GSNPSID and version numbers are different.
      
      Add checking for the new ID to pass driver probe.
      
      Also, since the DWC_usb31 version number is lower in value than the
      full GSNPSID of the DWC_usb3 IP, we set the high bit to identify
      DWC_usb31 and to ensure the values are higher.
      
      Finally, add a documentation note about the revision numbering scheme.
      Any future revision checks (for STARS, workarounds, and new features)
      should take into consideration how it applies to both the 3.1/3.0 IP.
      
      Cc: <stable@vger.kernel.org> # v3.18+
      Signed-off-by: NJohn Youn <johnyoun@synopsys.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      690fb371
  16. 27 9月, 2015 2 次提交