[PATCH v3 1/1] usb: dwc3: Add optional VBUS regulator support to SpacemiT K1
Troy Mitchell
troy.mitchell at linux.spacemit.com
Mon Mar 30 18:57:22 PDT 2026
On Thu, Mar 26, 2026 at 18:00:10 CST, Chukun Pan wrote:
> Some SpacemiT K1 boards (like OrangePi R2S) provide USB VBUS
> through a controllable regulator. Add support for the optional
> vbus-supply property so the regulator can be properly managed
> in host mode instead of left always-on. Note that this doesn't
> apply to USB Hub downstream ports with different VBUS supplies.
>
> The enabled and disabled actions of the regulator are handled
> automatically by devm_regulator_get_enable_optional().
>
> Signed-off-by: Chukun Pan <amadeus at jmu.edu.cn>
Thanks for the patch.
Reviewed-by: Troy Mitchell <troy.mitchell at linux.spacemit.com>
More information about the linux-riscv
mailing list