On 10/16/26 9:25 AM, Mehmet Fide wrote:
From: Mehmet Fide <[email protected]>

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]>

Reply via email to