U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] usb: onboard-hub: VL817 support for SpacemiT K1 boards
@ 2026-11-13  3:16 Hung-Chun Tseng
  2026-11-13  3:16 ` [PATCH v2 1/2] usb: onboard-hub: Add support for VIA Labs VL817 Hung-Chun Tseng
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Hung-Chun Tseng @ 2026-11-13  3:16 UTC (permalink / raw)
  To: Marek Vasut, Yixun Lan
  Cc: Tom Rini, Huan Zhou, Eric Chung, Alexey Charkov, Guodong Xu,
	Raymond Mao, Zixian Zeng, u-boot-spacemit, u-boot

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: <20261026092432.769146-1-alan.tseng.cs@gmail.com>

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(-)

-- 
2.56.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-11-18 12:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-13  3:16 [PATCH v2 0/2] usb: onboard-hub: VL817 support for SpacemiT K1 boards Hung-Chun Tseng
2026-11-13  3:16 ` [PATCH v2 1/2] usb: onboard-hub: Add support for VIA Labs VL817 Hung-Chun Tseng
2026-11-13  3:45   ` Marek Vasut
2026-11-13  6:15   ` Yixun Lan
2026-11-13  3:16 ` [PATCH v2 2/2] configs: spacemit_k1: Enable onboard USB hub support Hung-Chun Tseng
2026-11-18  7:54   ` Yixun Lan
2026-11-13  6:07 ` [PATCH v2 0/2] usb: onboard-hub: VL817 support for SpacemiT K1 boards Yixun Lan
2026-11-18 12:15 ` (subset) " Yixun Lan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox