diff options
author | Chen-Yu Tsai <wens@csie.org> | 2015-03-09 15:44:16 +0800 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-03-10 15:20:25 +0100 |
commit | e42add561b6cfe1fa8a03a3ff64c72b5ea4a725f (patch) | |
tree | 6b82ff333aea0575805fbe626248b87759d05696 /drivers/rtc/ds174x.c | |
parent | 1986c4ca0b250c83434aae985e74e05f96ccb1a4 (diff) | |
download | u-boot-imx-e42add561b6cfe1fa8a03a3ff64c72b5ea4a725f.zip u-boot-imx-e42add561b6cfe1fa8a03a3ff64c72b5ea4a725f.tar.gz u-boot-imx-e42add561b6cfe1fa8a03a3ff64c72b5ea4a725f.tar.bz2 |
sunxi: musb: Support checking VBUS using AXP221 PMIC
This enables the musb glue layer to use the AXP221's VBUS detection
function to check for VBUS. This fixes otg support on the A23 q8h
tablets.
Note that u-boot never calls musb_shutdown(), so once VBUS is enabled,
it is never disabled until the system is powered off, or the OS does
so. This can be used to our advantage to keep VBUS powered into the
OS, where support for AXP221 is not available yet.
Fixes: 52defe8f6570 ("sunxi: musb: Check Vbus-det before enabling otg port power")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/rtc/ds174x.c')
0 files changed, 0 insertions, 0 deletions