From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Date: Sat, 21 Mar 2015 14:15:58 +0100 Subject: [U-Boot] [PATCH 3/4] sunxi: common VBUS detection logic in usbc In-Reply-To: <1426440467-4525-3-git-send-email-contact@paulk.fr> References: <1426440467-4525-1-git-send-email-contact@paulk.fr> <1426440467-4525-3-git-send-email-contact@paulk.fr> Message-ID: <550D6F0E.1050901@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 15-03-15 18:27, Paul Kocialkowski wrote: > VBUS detection could be needed not only by the musb code (to prevent host mode), > but also by e.g. gadget drivers to start only when a cable is connected. > > In addition, this allows more flexibility in vbus detection, as it could easily > be extended to other USBC indexes. Eventually, this would help making musb > support independent from a hardcoded USB controller index (0). > > Signed-off-by: Paul Kocialkowski Thanks for working on this, please respin this and the next patch once the axp vbus detect / enable cleanups have been done. Regards, Hans