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

Skip to content
Commit a0418486 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy Committed by Guru Das Srinagesh
Browse files

power: step-chg-jeita: Allow JEITA ARB workaround configurable



Currently, when SW JEITA is enabled and Vbatt goes above Vfloat,
handle_jeita() suspends the USB input until the JEITA condition
goes away. This is to make sure that the charger doesn't end up
in reverse boost. This can cause charging status fluctuations
when the USB input is suspended and unsuspended frequently. In
SMB5 driver, handling ARB condition has a new sequence as per
the hardware recommendation. However, allowing the FCC/FV to
be configured based on temperature zones needs a lot of code
duplication. Hence, make changes in qcom_step_chg_init() to
take in another parameter to enable JEITA ARB workaround only
when needed.

Change-Id: Ia8de71b8d771d4dbcc3591116ecc40a6c9bf7e04
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent f5f31790
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