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

Skip to content
Commit 6ce79803 authored by Guru Das Srinagesh's avatar Guru Das Srinagesh Committed by Gerrit - the friendly Code Review server
Browse files

power: smb5: Handle QC2.0 charger collapse gracefully



Adaptors that are non-compliant with QC2.0 are incapable of fulfilling
either a 9V or 12V request. In such cases, when the SMB5 makes such a
request, USB input collapse occurs - leading to an under-voltage
situation and suspension of the charger buck.
Fix this by by limiting the adaptor to a lower level, 5V or 9V
correspondingly. As an additional workaround, disable USBIN from
entering suspend upon collapse before re-running APSD, taking care to
re-enable it upon adaptor removal.

Change-Id: Iab9864b9c2d6e97296ad0e505c3384f29510e65f
Signed-off-by: default avatarHarry Yang <harryy@codeaurora.org>
Signed-off-by: default avatarGuru Das Srinagesh <gurus@codeaurora.org>
Signed-off-by: default avatarAshish Chavan <ashichav@codeaurora.org>
parent 68418a86
Loading
Loading
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