u-boot-brain/arch/arm/cpu/armv7/sunxi
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
..
board.c sunxi: GPIO pin mux hardware-feature-specific function index defines 2015-04-15 16:17:17 +02:00
clock_sun4i.c sunxi: sun4i: improve cpu clock selection method 2015-03-29 13:08:39 +02:00
clock_sun6i.c
clock_sun9i.c sun9i: Add sun9i (A80) clock setup support 2015-01-22 12:34:55 +01:00
clock.c
config.mk sunxi: Normalise FEL support 2015-02-16 20:15:09 +01:00
cpu_info.c
dram_helpers.c sunxi: dram: Un-inline dram helper functions 2015-02-16 20:05:52 +01:00
dram_sun4i.c
dram_sun6i.c
dram_sun8i.c
fel_utils.S sunxi: Support the FEL boot mode in the regular u-boot build 2015-02-16 20:23:52 +01:00
Makefile sunxi: Normalise FEL support 2015-02-16 20:15:09 +01:00
p2wi.c
pinmux.c
prcm.c
psci.S sunxi: use CONFIG_SYS_CLK_FREQ to set cpu clock 2015-03-29 13:36:03 +02:00
rsb.c sunxi: GPIO pin mux hardware-feature-specific function index defines 2015-04-15 16:17:17 +02:00
start.c
timer.c
u-boot-spl.lds
usbc.c sunxi: usbc: Wait for vbus to fall after disabling it 2015-04-15 16:17:17 +02:00