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:
Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Loading
Please register or sign in to comment