u-boot-2016/arch/arm
Hans de Goede a0e2b1b865 sunxi: usbc: Wait for vbus to fall after disabling it
When u-boot boots the board may be powering vbus, we turn off vbus in
sunxi_usbc_request_resources, if we are too quick with reading vusb-detect
after this we may see a residual charge and assume we've an external vusb
connected even though we do not. So when we see an external vusb wait a bit
and try again.

Without this when dealing with a pmic controller vbus and doing "reset" on
the u-boot console the musb host will only init once every other boot, because
the other boot it thinks an external vbus is present, this commit fixes this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
2015-04-15 16:17:17 +02:00
..
cpu sunxi: usbc: Wait for vbus to fall after disabling it 2015-04-15 16:17:17 +02:00
dts dts: peach_pi: Add DT properties needed for display 2015-04-06 14:34:41 +09:00
imx-common ARM: iMX: define an IMX_CONFIG Kconfig option 2015-03-23 13:19:17 +01:00
include sunxi: Complete mmc pin mux for each supported platform, configured with Kconfig 2015-04-15 16:17:17 +02:00
lib Merge branch 'master' of git://git.denx.de/u-boot-tegra 2015-04-03 09:14:38 -04:00
mach-at91 ARM: atmel: at91sam9n12ek: enable spl support 2015-04-01 01:04:31 +02:00
mach-bcm283x ARM: rpi: add a couple more revision IDs 2015-04-13 08:48:36 -04:00
mach-davinci ARM: davinci: remove hawkboard support 2015-02-24 17:07:29 -05:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-keystone ARM: keystone: move SoC headers to mach-keystone/include/mach 2015-02-21 08:23:52 -05:00
mach-kirkwood ARM: kirkwood: move SoC headers to mach-kirkwood/include/mach 2015-02-21 08:23:52 -05:00
mach-nomadik ARM: nomadik: move SoC headers to mach-nomadik/include/mach 2015-02-21 08:23:52 -05:00
mach-orion5x edminiv2: switch to SPL 2015-02-25 07:59:50 +01:00
mach-tegra Merge branch 'master' of git://git.denx.de/u-boot-tegra 2015-04-03 09:14:38 -04:00
mach-uniphier malloc_f: enable SYS_MALLOC_F by default if DM is on 2015-03-28 09:03:09 -04:00
mach-versatile ARM: versatile: move SoC sources to mach-versatile 2015-02-21 08:23:51 -05:00
mvebu-common arm: mvebu: Add Serdes PHY config code 2015-02-06 17:24:59 +01:00
config.mk generic-board: move __HAVE_ARCH_GENERIC_BOARD to Kconfig 2015-03-28 09:03:08 -04:00
Kconfig Merge branch 'master' of git://www.denx.de/git/u-boot-imx 2015-04-13 10:52:46 -04:00
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00
Makefile ARM: fix arch/arm/Makefile for Tegra 2015-04-11 12:04:30 -04:00