Skip to content

dwc3-generic: Add Layerscape support

Ran Wang u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7usb: dwc3: Add frame length adjustment quirkdrivers/usb/dwc3/core.c drivers/usb/dwc3/core.h+41 -01 reply
1/7usb: dwc3: Add frame length adjustment quirk+0 -00 replies
2/7usb: dwc3: add disable receiver detection in P3 quirkdrivers/usb/dwc3/core.c drivers/usb/dwc3/core.h+19 -00 replies
3/7usb: dwc3: Enable undefined length INCR burst typedrivers/usb/dwc3/core.c drivers/usb/dwc3/core.h+108 -00 replies
4/7usb: dwc3-generic: fix dwc3_setup_phy() return -ENOTSUPP causing init failuredrivers/usb/dwc3/dwc3-generic.c+1 -10 replies
5/7usb: dwc3-generic: Add support for the layerscapedrivers/usb/dwc3/dwc3-generic.c+1 -00 replies
6/7configs: ls1088a: add usb mass storage (device mode) supportconfigs/ls1088aqds_defconfig configs/ls1088aqds_qspi_defconfig configs/ls1088aqds_sdcard_ifc_defconfig +5 more+40 -00 replies
7/7arm: dts: ls1088a: change dwc3 compatible to match dwc3-generic driverarch/arm/dts/fsl-ls1088a.dtsi+30 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] dwc3-generic: Add Layerscape support

Hello,

The purpose of this patch set is to switch from driver xhci-fsl to dwc3-generic for DWC3 IP on Layerscape platforms. Whith this change, now user can enable USB device mode by merely updating property 'dr_mode' accordingly.

I also port some DWC3's errata workaorund from driver xhci-fsl (by referring to Linux kernel mainline version implemenattion).

Besides that, I fixed a PHY init problem which observed on Lyerscape platforms (such as LS1088ardb).

Regards,
Ran

Ran Wang (7):
usb: dwc3: Add frame length adjustment quirk
usb: dwc3: add disable receiver detection in P3 quirk
usb: dwc3: Enable undefined length INCR burst type
usb: dwc3-generic: fix dwc3_setup_phy() return -ENOTSUPP causing init
failure
usb: dwc3-generic: Add support for the layerscape
configs: ls1088a: add usb mass storage (device mode) support
arm: dts: ls1088a: change dwc3 compatible to match dwc3-generic driver

 arch/arm/dts/fsl-ls1088a.dtsi            |  40 ++++++---
 configs/ls1088aqds_defconfig             |   5 ++
 configs/ls1088aqds_qspi_defconfig        |   5 ++
 configs/ls1088aqds_sdcard_ifc_defconfig  |   5 ++
 configs/ls1088aqds_sdcard_qspi_defconfig |   5 ++
 configs/ls1088aqds_tfa_defconfig         |   5 ++
 configs/ls1088ardb_qspi_defconfig        |   5 ++
 configs/ls1088ardb_sdcard_qspi_defconfig |   5 ++
 configs/ls1088ardb_tfa_defconfig         |   5 ++
 drivers/usb/dwc3/core.c                  | 147 +++++++++++++++++++++++++++++++
 drivers/usb/dwc3/core.h                  |  21 +++++
 drivers/usb/dwc3/dwc3-generic.c          |   3 +-
 12 files changed, 240 insertions(+), 11 deletions(-)
Signature · 1 line
2.7.4