Hi, On Mon, Mar 23, 2015 at 9:34 AM, Hans de Goede <hdego...@redhat.com> wrote: > 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.
My understanding is VBUS_Usable = VBUS_Available && (!(N_VBUSEN || reg 30h[7])) reg 30h[7] says whether to check N_VBUSEN before using VBUS. ChenYu _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot