Skip to content

usb: dwc3: add support for AMD Nolan SoC

Huang Rui linux-devicetree linux-pci lkml 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest8 patches 0 repliesNew
  2. v420 patches 13 repliesSuperseded
  3. v319 patches 28 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v216 patches34 repliesSuperseded

Changes in v5 from the cover letter

- Rebase rest ones which are not applied on testing/next.
- Fix some typos.
- Add comments of hibernation patch.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8usb: dwc3: add Tx de-emphasis quirkDocumentation/devicetree/bindings/usb/dwc3.txt drivers/usb/dwc3/core.c drivers/usb/dwc3/core.h +1 more+34 -00 replies
2/8usb: dwc3: add disable usb3 suspend phy quirkDocumentation/devicetree/bindings/usb/dwc3.txt drivers/usb/dwc3/core.c drivers/usb/dwc3/core.h +1 more+10 -00 replies
3/8usb: dwc3: add disable usb2 suspend phy quirkDocumentation/devicetree/bindings/usb/dwc3.txt drivers/usb/dwc3/core.c drivers/usb/dwc3/core.h +1 more+10 -00 replies
4/8PCI: Add support for AMD Nolan USB3 DRDinclude/linux/pci_ids.h+1 -00 replies
5/8PCI: Prevent xHCI driver from claiming AMD Nolan USB3 DRD devicedrivers/pci/quirks.c+20 -00 replies
6/8usb: dwc3: add support for AMD Nolan platformdrivers/usb/dwc3/dwc3-pci.c+26 -00 replies
7/8usb: dwc3: make HIRD threshold configurableDocumentation/devicetree/bindings/usb/dwc3.txt drivers/usb/dwc3/core.c drivers/usb/dwc3/core.h +2 more+30 -50 replies
8/8usb: dwc3: point host-mode hibernation enablement not device-modedrivers/usb/dwc3/core.c drivers/usb/dwc3/gadget.c+7 -20 replies

Reviews trailers per patch

2 of 8 patches have a Reviewed-by or Acked-by.

PatchBjorn Helgaas
1/8
2/8
3/8
4/8A-b
5/8A-b
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/8] usb: dwc3: add support for AMD Nolan SoC

Hi,

The series of patches add AMD Nolan (NL) SoC support for DesignWare USB3 OTG IP with PCI bus glue layer. This controller supported hibernation, LPM erratum and used the 2.80a IP version and amd own phy. Current implementation support both simulation and SoC platform. And already tested with gadget zero and msc tool. It works well on file storage gadget.

These patches are rebased on balbi/testing/next, and only send the rest ones which are not applied.

Changes from v4 -> v5
- Rebase rest ones which are not applied on testing/next.
- Fix some typos.
- Add comments of hibernation patch.

Changes from v3 -> v4
- Add comment on hibernation patch
- Fix typos of commit log and comments
- Remove WARN_ON for temporary solution of FPGA board
- Rename tx deemph to tx de-emphasis
- Add documentation under Documentation/devicetree/bindings/usb/dwc3.txt
- Check FPGA flag on usb3 and usb2 suspend phy quirk
- Refine description of PCI quirk patch
- Remove amd_nl_plat flag at dwc3 structure
- Make HIRD threshold configurable

Changes from v2 -> v3
- Confirmed these quirks will be needed in product level
- Move AMD configuration patch to the last one with all quirk flags
- Make all quirks as 1-bit field instead of single-bits on a 32-bit variable
- Add all quirks DeviceTree counterparts
- Make LPM erratum configurable
- Add PCI ID into pci_ids.h because it will be used both on PCI and DWC3 device driver.

Changes from v1 -> v2
- Remove dual role function temporarily
- Add pci quirk to avoid to bind with xhci driver
- Distinguish between simulation board and soc
- Break down all the special quirks

Thanks,
Rui

Huang Rui (8):
usb: dwc3: add Tx de-emphasis quirk
usb: dwc3: add disable usb3 suspend phy quirk
usb: dwc3: add disable usb2 suspend phy quirk
PCI: Add support for AMD Nolan USB3 DRD
PCI: Prevent xHCI driver from claiming AMD Nolan USB3 DRD device
usb: dwc3: add support for AMD Nolan platform
usb: dwc3: make HIRD threshold configurable
usb: dwc3: point host-mode hibernation enablement not device-mode

 Documentation/devicetree/bindings/usb/dwc3.txt |  8 ++++
 drivers/pci/quirks.c                           | 20 ++++++++++
 drivers/usb/dwc3/core.c                        | 53 +++++++++++++++++++++++++-
 drivers/usb/dwc3/core.h                        | 21 ++++++++++
 drivers/usb/dwc3/dwc3-pci.c                    | 26 +++++++++++++
 drivers/usb/dwc3/gadget.c                      |  8 +---
 drivers/usb/dwc3/platform_data.h               |  8 ++++
 include/linux/pci_ids.h                        |  1 +
 8 files changed, 138 insertions(+), 7 deletions(-)
Signature · 1 line
1.9.1