Skip to content
Snippets Groups Projects
Commit 6313c650 authored by Paul Kocialkowski's avatar Paul Kocialkowski Committed by Tom Rini
Browse files

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: default avatarPaul Kocialkowski <contact@paulk.fr>
parent 0343f71f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment