Commit 71e1ec97 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy Committed by Gerrit - the friendly Code Review server
Browse files

power: qpnp-fg: add support to control voltage gain dynamically



There is a requirement to control voltage gain settings when the
battery monotonic SOC is less than certain threshold and device
is discharging. New gain setting will be applied when the SOC
goes below the specified threshold and device is discharging.
Default gain setting will be restored otherwise.

This feature is controlled by "qcom-fg-dischg-voltage-gain-ctrl"
device tree property primarily. Other device tree parameters are
available to configure the SOC limit and the voltage gain to be
applied when the battery SOC goes below that limit.

CRs-Fixed: 977695
Change-Id: I2877f9e2b4c3aec72e0eee6d60b012f869523ed6
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent aa8f7713
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment