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

Commit 1afdef62 authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar
Browse files

power: qpnp-smbcharger: icl_override for usb_cdp



commit
defce2137d53df0687d76c4c34c88b8b93305563:
 power: qpnp-smbcharger: do not override APSD results

changes to disable ICL override.

If usb charger type is CDP, since ICL override is disabled, PMI defaults
to drawing 1500mA.

In thermal situations the driver may be asked to draw less current from
CDP. Use ICL override to configure a different input current limit for
CDP. Reset it back when the CDP is removed.

This also necessitates to read charger type in the current setting
function. Since we know the type optimize that function to set only the
necessary registers for that type. Earlier we used to update registers
for all the types.

CRs-Fixed: 847362
Change-Id: Ibda507391da5acfeac81cc40d5cabc779cbc077c
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent d844c092
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