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

Skip to content
Commit f9aa6ad6 authored by Sahil Chandna's avatar Sahil Chandna
Browse files

power: smb5: Add support for PPS constant current(CC) mode



Add support for PPS CC mode charging for dual charge pumps
with MID-VBAT configuration.

If a charging adapter is put in constant current (CC) mode during charging,
the supply provides the requested constant current. As a result, its output
voltage is automatically adjusted according to the load, and falls into
charge pump operational range.

For CC mode add an ability to configure the ICL and main-charger's FCC
current using power-supply properties.

Use POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT to report the total
FCC which can be pumped into the battery at that point in time.

On charger removal, reset all the votes casted during CC mode.

Change-Id: I242e92b87753d962289c94eedb054b2e8b67b99d
Signed-off-by: default avatarSahil Chandna <chandna@codeaurora.org>
parent b11404df
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