diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-03-27 21:57:54 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-04-15 16:17:17 +0200 |
commit | 046ea8b390f9c8986f52e4bd2c7bffabd4749330 (patch) | |
tree | 22dc5cb6e241393f83271c8b1010dcbd5d050be0 /arch/arm/cpu/armv7/mx6/Kconfig | |
parent | 940382fe7d61d90326e42fe00b976c65b18befa2 (diff) | |
download | u-boot-imx-046ea8b390f9c8986f52e4bd2c7bffabd4749330.zip u-boot-imx-046ea8b390f9c8986f52e4bd2c7bffabd4749330.tar.gz u-boot-imx-046ea8b390f9c8986f52e4bd2c7bffabd4749330.tar.bz2 |
sunxi: usbc: Initialize vusb value on request_resources
On boards which use the pmic to enable/disable vbus on the otg port, the
vbus value is not reset to 0 on reset, as reset only resets the SoC and not
the pmic, so explicitly set vbus to 0 on init (request_resources) by moving
the gpio_direction_output call into request_resources.
For consistency also move the gpio_direction_input call for vbus-detect into
request_resources.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch/arm/cpu/armv7/mx6/Kconfig')
0 files changed, 0 insertions, 0 deletions