1. 14 4月, 2016 1 次提交
  2. 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
  3. 04 3月, 2016 2 次提交
  4. 15 12月, 2015 1 次提交
  5. 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
  6. 27 9月, 2015 5 次提交
  7. 29 7月, 2015 1 次提交
    • F
      usb: dwc3: core: remove unnecessary dev_warn() · d9972f47
      Felipe Balbi 提交于
      When a SoC supports both PHY interfaces but
      doesn't define HSPHY in DT/pdata, we will get
      an unnecessary dev_warn() which can mislead users
      into thinking that they're missing something.
      
      Instead, let's just silently rely on a correct
      default. If the HW default is wrong, then HSPHY
      is required and USB won't work, this will be
      motivation enough for engineers to patch their
      way into a working setup.
      Reported-by: NMurali Karicheri <m-karicheri2@ti.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      d9972f47
  8. 07 7月, 2015 1 次提交
  9. 14 5月, 2015 6 次提交
  10. 11 3月, 2015 1 次提交
  11. 09 3月, 2015 1 次提交
  12. 28 1月, 2015 1 次提交
  13. 07 11月, 2014 1 次提交
  14. 04 11月, 2014 16 次提交