u-boot/drivers/power
Hans de Goede 750d49f5a4 sunxi: axp221: Use vbus-available rather then vbus-usable for vbus-detect
vbus-usable may not get set if power is provided through both the power barrel
connector and external 5v is also present on the otg connector, at least on
boards where vbus is also controlled through the axp221-pmic.

One way to reproduce this is to bootup an Ippo-q8h board with a usb-host
cable plugged into the otg (so that it will get powered), then unplug the
usb-host cable and plug in a charger, and then do "reset" on the u-boot
console, vbus-usable will then report 0, leading to uboot trying to provide
power to the otg port even though external 5v 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
..
battery power: Add PMIC_ prefix to CHARGER_EN/DISABLE 2014-05-28 10:58:18 +09:00
fuel_gauge fuelgauge: max17042: fix i2c read issue which causes infinity loop. 2014-01-14 09:01:05 -05:00
mfd power: Add PMIC_ prefix to CHARGER_EN/DISABLE 2014-05-28 10:58:18 +09:00
pmic pmic: add tps62362 simple wrapper code 2015-01-13 15:26:10 -05:00
as3722.c dm: i2c: Provide an offset length parameter where needed 2015-01-29 17:09:53 -07:00
axp152.c power: axp152: Registers definitions in header 2015-04-15 16:17:17 +02:00
axp209.c power: axp209: Registers definitions in header 2015-04-15 16:17:17 +02:00
axp221.c sunxi: axp221: Use vbus-available rather then vbus-usable for vbus-detect 2015-04-15 16:17:17 +02:00
exynos-tmu.c power: exynos-tmu: use the mux_addr bit fields in tmu_control register 2013-06-13 17:53:37 +09:00
ftpmu010.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Kconfig sunxi: axp221: Add ELDO[1-3] support 2015-01-22 12:34:56 +01:00
Makefile power: Add AMS AS3722 PMIC support 2014-12-18 13:19:20 -07:00
palmas.c arm: omap: add support for am57xx devices 2014-12-04 11:04:14 -05:00
power_core.c power: fix: Do not execute pmic command when not all necessary parameters are passed 2014-02-24 10:56:33 -05:00
power_dialog.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
power_fsl.c power: Rename CONFIG_PMIC_... to CONFIG_POWER_... 2014-05-28 10:58:18 +09:00
power_i2c.c Replace <compiler.h> with <linux/compiler.h> 2014-12-08 09:35:46 -05:00
power_spi.c power_spi.c: Rewrite pmic_reg function 2014-11-07 16:27:05 -05:00
tps6586x.c dm: i2c: Rename driver model I2C functions to permit compatibility 2015-01-29 17:09:53 -07:00
twl4030.c twl4030: device-index-specific MMC power initializations, common ramp-up delay 2014-12-04 11:04:40 -05:00
twl6030.c ARMV7: OMAP4: Add twl6032 support 2013-12-04 08:11:28 -05:00