Convert Xilinx ZynqMP to DM_USB with generic DWC3 glue logic driver
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 0 repliesNew
- v16 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Retype dwc->dev in gadget.c to avoid compilation warning
- Guard udevice with __UBOOT__
- Move ifdef in core.c to avoid compilation issues for some platforms (for example edison)
- Change style to avoid correct but not nice indentation by using char *driver variable (suggested by Marek)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | usb: dwc3: Add dwc3_init/remove with DM_USBdrivers/ drivers/ drivers/ | +62 | 1 reply | |
| 2/6 | usb: common: add support to get maximum speed from dtdrivers/ include/ | +38 | 0 replies | |
| 3/6 | usb: dwc3: Add generic DWC3 glue logic driverdrivers/ drivers/ drivers/ | +164 | 2 replies | |
| 3/6 | usb: dwc3: Add generic DWC3 glue logic driver | +0 | 0 replies | |
| 4/6 | usb: xhci: zynqmp: Add support for DM_USBdrivers/ | +69 | 0 replies | |
| 5/6 | arm64: zynqmp: Use DWC3 generic driver and DM_USBarch/ board/ configs/ +18 more | +11 | 0 replies | |
| 6/6 | usb: xhci: zynqmp: Remove support for !DM_USBdrivers/ drivers/ scripts/ | +1 | 0 replies |
Reviews trailers per patch
2 of 7 patches have a Reviewed-by or Acked-by.
| Patch | Simon Glass |
|---|---|
| 1/6 | |
| 2/6 | R-b |
| 3/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH v2 0/6] Convert Xilinx ZynqMP to DM_USB with generic DWC3 glue logic driver
Hi,
this patchset is based on unfinished series send to ML 06/13/2017 by Vignesh
"[U-Boot] [PATCH v2 00/13] driver model bring-up of dwc3 usb peripheral" We have taken some part of this to Xilinx tree and use it for a while but it is time to review it and upstream it.
The patchset has 2 patches created by Mugunthan which are a little bit fixed.
dwc3-generic driver was inspired by omap version.
And the last 3 patches just doing conversion and enable DM_USB for our platform.
Thanks,
Michal
Changes in v2:
- Retype dwc->dev in gadget.c to avoid compilation warning
- Guard udevice with __UBOOT__
- Move ifdef in core.c to avoid compilation issues for some platforms (for example edison)
- Change style to avoid correct but not nice indentation by using char *driver variable (suggested by Marek)
Michal Simek (4):
usb: dwc3: Add generic DWC3 glue logic driver
usb: xhci: zynqmp: Add support for DM_USB
arm64: zynqmp: Use DWC3 generic driver and DM_USB
usb: xhci: zynqmp: Remove support for !DM_USB
Mugunthan V N (2):
usb: dwc3: Add dwc3_init/remove with DM_USB
usb: common: add support to get maximum speed from dt
arch/arm/include/asm/arch-zynqmp/hardware.h | 3 - board/xilinx/zynqmp/zynqmp.c | 46 ----- .../xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 + .../xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 + .../xilinx_zynqmp_zc1751_xm017_dc3_defconfig | 1 + configs/xilinx_zynqmp_zcu100_revC_defconfig | 1 + configs/xilinx_zynqmp_zcu102_rev1_0_defconfig | 1 + configs/xilinx_zynqmp_zcu102_revA_defconfig | 1 + configs/xilinx_zynqmp_zcu102_revB_defconfig | 1 + configs/xilinx_zynqmp_zcu104_revA_defconfig | 1 + configs/xilinx_zynqmp_zcu104_revC_defconfig | 1 + configs/xilinx_zynqmp_zcu106_revA_defconfig | 1 + configs/xilinx_zynqmp_zcu111_revA_defconfig | 1 + drivers/usb/common/common.c | 29 ++++ drivers/usb/dwc3/Kconfig | 6 + drivers/usb/dwc3/Makefile | 1 + drivers/usb/dwc3/core.c | 55 ++++++ drivers/usb/dwc3/core.h | 6 + drivers/usb/dwc3/dwc3-generic.c | 157 ++++++++++++++++++ drivers/usb/dwc3/gadget.c | 2 +- drivers/usb/host/Kconfig | 1 + drivers/usb/host/xhci-zynqmp.c | 85 ++++++---- .../configs/xilinx_zynqmp_zc1751_xm015_dc1.h | 1 - .../configs/xilinx_zynqmp_zc1751_xm016_dc2.h | 2 - .../configs/xilinx_zynqmp_zc1751_xm017_dc3.h | 3 - include/configs/xilinx_zynqmp_zcu100.h | 3 - include/configs/xilinx_zynqmp_zcu102.h | 2 - include/configs/xilinx_zynqmp_zcu104.h | 2 - include/configs/xilinx_zynqmp_zcu106.h | 2 - include/configs/xilinx_zynqmp_zcu111.h | 2 - include/linux/usb/otg.h | 9 + scripts/config_whitelist.txt | 1 - 32 files changed, 330 insertions(+), 99 deletions(-) create mode 100644 drivers/usb/dwc3/dwc3-generic.c
Signature · 1 line
2.17.0