Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 09a81ac8 authored by Jack Pham's avatar Jack Pham
Browse files

usb: phy: msm-hsusb: Add workaround to keep LDOs on during LPM



There is a known HW issue on some targets that results in current
leakage through the PicoPHY if the VDD rail is ~1V and both the
1.8V and 3.1V rails are collapsed.

The recommended workaround is to leave the 1.8V/3.1V rails ON when
entering low power mode. Since the regulator enable() and disable()
calls are reference counted, this is easily done by making an
additional call to regulator_enable() to ensure the refcount is
nonzero. Add a device tree flag to enable this workaround.

Finally when the VDD voltage is minimized to its retention level
(~0.5 V) only then will the analog LDOs be allowed to be collapsed
to 0V as there will not be any leakage through the PHY. This case
specifically will be handled by the power management firmware in
order to achieve maximal power savings.

Change-Id: I6c2bee2ef93a15773365478ff9e09d92aa6b82dd
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 54627cf6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment