[PATCH v3 1/1] usb: dwc3: Add optional VBUS regulator support to SpacemiT K1

Anand Moon linux.amoon at gmail.com
Mon Mar 30 05:15:51 PDT 2026


hi Chukun,

On Thu, 26 Mar 2026 at 15:32, Chukun Pan <amadeus at jmu.edu.cn> 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>
> ---
Reviewed-by: Anand Moon <linux.amoon at gmail.com>

Thanks
-Anand



More information about the linux-riscv mailing list