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

Skip to content
Commit 0947518c authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

power: smb5-lib: Fix charger reverse boost on soft JEITA



Currently, USB input will be suspended on soft JEITA condition when
Vbatt goes above JEITA float voltage to avoid reverse boost as per
the hardware recommendation, but this is causing charging
fluctuations whenever the battery goes in and out of soft JEITA
condition.

As per the hardware recommendation, disable charging instead of
suspending input, and utilize the charge inhibit feature to fix
possible reverse boost.

Since this configuration requires to know the FCC/FV values that
needs to be applied for soft JEITA conditions, add support to
read it from battery profile device tree through the following
properties: qcom,jeita-soft-fcc-ua, qcom,jeita-soft-fv-uv.

Change-Id: I1a54d30eb878aab34abd5d4e22d8f09ed24e115d
Signed-off-by: default avatarHarry Yang <harryy@codeaurora.org>
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 87d410ce
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