Home
last modified time | relevance | path

Searched hist:"6313 c6500484ed85892f425e3ca93f706fd9a2ea" (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Dtwl6030.h6313c6500484ed85892f425e3ca93f706fd9a2ea Sat Feb 27 18:19:04 UTC 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>
/rk3399_rockchip-uboot/drivers/power/
H A Dtwl6030.c6313c6500484ed85892f425e3ca93f706fd9a2ea Sat Feb 27 18:19:04 UTC 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>