[PATCH 1/1] usb: dwc3: dwc3-generic-plat: Add optional VBUS regulator support
Chukun Pan
amadeus at jmu.edu.cn
Fri Mar 20 01:18:26 PDT 2026
Hi,
> I don't think it's a good idea to tie this optional VBUS regulator
> implementation to the SpacemiT K1 platform.
>
> While the K1 SoC does have a DRD controller, current boards in the wild
> (like Jupiter[1], OrangePi RV2[2], and Banana Pi F3[3]) all route this
> port to an onboard hub[4][5]. IMHO, managing the downstream VBUS regulator
> via the onboard_usb_dev driver is the correct approach for us.
I'm sorry, but I don't quite understand why it's necessary to use
onboard_usb_dev driver instead.
The DRD controller is connected to the onboard USB hub, so it can
only operate in host mode. If all downstream ports of the USB hub
use the same VBUS supply, then what's the problem with using this?
> K1 platform currently does not need this feature here.
>
> Considering the role switch, I think it would be better to hold off on
> this until there is an actual board/user that relies on it.
There is a board without onboard USB hub, such as the OrangePi R2S.
So this is possible for boards that don't have onboard USB hub?
Thanks,
Chukun
More information about the linux-riscv
mailing list