Skip to content

usb: onboard-hub: VL817 support for SpacemiT K1 boards

Hung-Chun Tseng u-boot 2 versions – Applied

Status from this message: Applied, thanks! Queued in SpacemiT custodian tree, for-main branch

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesApplied
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Rebased on main.
- Added Zixian's Tested-by to 1/2.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2usb: onboard-hub: Add support for VIA Labs VL817common/usb_onboard_hub.c+13 -12 replies
2/2configs: spacemit_k1: Enable onboard USB hub supportconfigs/spacemit_k1_defconfig+1 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchZixian ZengYixun LanMarek Vasut
SeriesR-b
1/2T-b R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] usb: onboard-hub: VL817 support for SpacemiT K1 boards

The Milk-V Jupiter and the Banana Pi BPI-F3 put a VIA Labs VL817 hub in front of all their USB ports. Its supply and reset are GPIOs, so usb start only finds the root hub until someone powers the hub by hand.

This adds the VL817 to the onboard hub driver and enables it for K1.

Tested on a Milk-V Jupiter, cold boot from SD: usb start finds both VL817 hubs and a USB 3 stick at 5 Gb/s, with no manual GPIO setup. That test capped DRAM at 4 GiB to avoid the K1 DRAM sizing bug, which is now fixed in main by commit e6308cc14 ("spacemit: k1: drop the CS1 DRAM map on single-rank boards").

Changes in v2:
- Rebased on main.
- Added Zixian's Tested-by to 1/2.

v1: <[email protected]>

Hung-Chun Tseng (2):
usb: onboard-hub: Add support for VIA Labs VL817
configs: spacemit_k1: Enable onboard USB hub support

 common/usb_onboard_hub.c      | 14 +++++++++++++-
 configs/spacemit_k1_defconfig |  1 +
 2 files changed, 14 insertions(+), 1 deletion(-)
Signature · 1 line
2.56.1