From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Date: Mon, 23 Mar 2015 17:34:49 +0100 Subject: [U-Boot] [PATCH] sunxi: axp221: Use vbus-available rather then vbus-usable for vbus-detect In-Reply-To: <1427128104-30144-1-git-send-email-hdegoede@redhat.com> References: <1427128104-30144-1-git-send-email-hdegoede@redhat.com> Message-ID: <551040A9.6050007@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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