On 2026-10-16T07:25:19, Mehmet Fide <[email protected]> wrote:
> usb: ehci-vf: enable the vbus supply of the port
>
> The driver never enables the vbus-supply of its port, so on boards that
> switch VBUS through a regulator, such as the Colibri VF50 and VF61
> carriers, the port stays unpowered and no device is found.
>
> Do what ehci-mx6 does: look the regulator up in probe, enable it in
> host mode, disable it in device mode, and turn it off on remove. A
> missing vbus-supply or a build without DM_REGULATOR is fine; any other
> lookup error fails the probe instead of leaving the port dead.
>
> Signed-off-by: Mehmet Fide <[email protected]>
> Reviewed-by: Marek Vasut <[email protected]>
>
>  drivers/usb/host/ehci-vf.c | 36 +++++++++++++++++++++++++++++++++---
>  1 file changed, 33 insertions(+), 3 deletions(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to