u-boot/drivers/power
Paul Kocialkowski 6313c65004 power: twl6030: Clear VUSB_IN_PMID bit on USB device setup
When booting from USB, the bootrom sets the VUSB_IN_PMID bit of the MISC2
register of the TWL6030. However, U-Boot sets the VUSB_IN_VSYS bit to enable
VBUS input. As both bits are contradictory, enabling both disables the input,
according to the TWL6030 TRM.

Thus, we need to clear the VUSB_IN_PMID bit in case of an USB boot (which could
just as well be a memory boot after USB timed out).

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
2016-03-15 15:12:51 -04:00
..
battery Move console definitions into a new console.h file 2015-11-19 20:27:50 -07: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: tps65218: add useful functions and defines 2016-02-24 18:44:07 -05:00
regulator dm: Use uclass_first_device_err() where it is useful 2016-03-14 15:34:50 -06:00
as3722.c power: Export register access functions from as3722 2015-05-13 09:24:07 -07:00
axp152.c sunxi: Implement poweroff support for axp152 pmic 2016-01-26 16:20:04 +01:00
axp209.c sunxi: Implement poweroff support for axp209 pmic 2016-01-26 16:20:04 +01:00
axp221.c power: axp: merge separate DLDO functions into 1 2016-01-26 16:20:05 +01:00
axp818.c sunxi: power: axp818: Enable support for ALDOs 2016-01-26 16:20:05 +01:00
exynos-tmu.c of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
ftpmu010.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Kconfig sunxi: power: add support for sy8106a driver 2016-02-23 20:50:07 +01:00
Makefile sunxi: power: add support for sy8106a driver 2016-02-23 20:50:07 +01: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
sy8106a.c sunxi: power: add support for sy8106a driver 2016-02-23 20:50:07 +01:00
tps6586x.c dm: i2c: Rename driver model I2C functions to permit compatibility 2015-01-29 17:09:53 -07:00
twl4030.c power: twl4030: Power off support 2015-08-12 20:47:35 -04:00
twl6030.c power: twl6030: Clear VUSB_IN_PMID bit on USB device setup 2016-03-15 15:12:51 -04:00