Searched hist:"6313 c650" (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/include/ |
H A D | twl6030.h | 6313c650 Sat Feb 27 12:19:04 CST 2016 Paul Kocialkowski <contact@paulk.fr> 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>
|
/openbmc/u-boot/drivers/power/ |
H A D | twl6030.c | 6313c650 Sat Feb 27 12:19:04 CST 2016 Paul Kocialkowski <contact@paulk.fr> 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>
|