[U-Boot] [PATCH] sunxi: axp221: Use vbus-available rather then vbus-usable for vbus-detect

Hans de Goede hdegoede at redhat.com
Mon Mar 23 17:34:49 CET 2015


Hi,

On 23-03-15 17:28, Hans de Goede wrote:
> vbus-usable does not get set if power is provided through the power barrel
> connector, even if external 5v is also present on the otg connector.
>
> vbus-available correctly always reflects if there is 5v present on the otg
> connector.

Except that it also gets set when there is a usb-host cable with a device
attached plugged in, so this is going to need some more thinking, I'll
send a new patch when I've something which does not break using the port
in host mode.

Regards,

Hans


More information about the U-Boot mailing list