[PATCH v2 0/4] Allwinner H6 USB3 support

Andre Przywara andre.przywara at arm.com
Wed Apr 21 12:43:47 CEST 2021


On Sat, 17 Apr 2021 09:20:55 -0500
Samuel Holland <samuel at sholland.org> wrote:

Hi,

> This series adds PHY and XHCI driver support for the USB3 controller
> found in the Allwinner H6 SoC.

Thanks for the update!

> It has been tested and working on both
> boards enabled in patch 4, although some users experience issues[1].
> 
> [1]: https://lists.denx.de/pipermail/u-boot/2021-February/440767.html

So I could not reproduce those issues either, it works for me fine on my
Pine-H64. I'd suggest we merge those patches, and check for more
reports from more users.

Bin, Marek: can you push patches 1, 2 and 3 to the USB tree, to get
them into the current merge window, still? I would then push 4/4
(pending possible fixes) once the first three reached mainline.

And btw: the first two patches of the original v1 series (adding the
sunxi clocks and reset bits) have been merged into master last week
already.

Thanks,
Andre

> Changes from v1:
>   - Dropped patches 1-2 (already in u-boot-sunxi/master) and rebased
>   - Added Andre's Reviewed-by on the PHY driver
>   - Fixed error handling in xhci_pci_probe
> 
> Samuel Holland (4):
>   phy: sun50i-usb3: Add a driver for the H6 USB3 PHY
>   usb: xhci-pci: Move reset logic out of XHCI core
>   usb: xhci-dwc3: Add support for clocks/resets
>   configs: Enable USB3 on Allwinner H6 boards
> 
>  configs/orangepi_3_defconfig            |   5 +
>  configs/pine_h64_defconfig              |   5 +
>  drivers/phy/allwinner/Kconfig           |   8 ++
>  drivers/phy/allwinner/Makefile          |   1 +
>  drivers/phy/allwinner/phy-sun50i-usb3.c | 171 ++++++++++++++++++++++++
>  drivers/usb/host/xhci-dwc3.c            |  56 ++++++++
>  drivers/usb/host/xhci-mem.c             |   2 -
>  drivers/usb/host/xhci-pci.c             |  51 ++++++-
>  drivers/usb/host/xhci.c                 |  35 -----
>  include/usb/xhci.h                      |   2 -
>  10 files changed, 293 insertions(+), 43 deletions(-)
>  create mode 100644 drivers/phy/allwinner/phy-sun50i-usb3.c
> 



More information about the U-Boot mailing list