summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2016-09-22 18:11:42 -0700
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2016-10-10 09:44:02 -0700
commit5b6c4f8f1b3a0e4f838aa4c833e4655aaf81f37e (patch)
treedea8d3ccb032ef9a0d003b9f16f6de25fa98767b /Documentation
parent16b979380cbe71cd7f4169c2085e43e8db8e0701 (diff)
qpnp-fg-gen3: change the encoding for delta soc threshold
Currently, delta SOC threshold is written as a 8 bit value but the encoding is in 11 bits. This will cause the delta SOC threshold programmed to a lower value causing interrupts to fire quickly. Change the numerator of delta SOC SRAM parameter so that the delta SOC threshold will be set correctly. Maximum possible threshold will be 12.45% (1/2048 * 255). Change-Id: Ia908c917d71939b9d72b16ddca3400a692540bf3 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/power/qcom-charger/qpnp-fg-gen3.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/power/qcom-charger/qpnp-fg-gen3.txt b/Documentation/devicetree/bindings/power/qcom-charger/qpnp-fg-gen3.txt
index bd358593fcb3..9fa55eb0ce0d 100644
--- a/Documentation/devicetree/bindings/power/qcom-charger/qpnp-fg-gen3.txt
+++ b/Documentation/devicetree/bindings/power/qcom-charger/qpnp-fg-gen3.txt
@@ -87,7 +87,8 @@ First Level Node - FG Gen3 device
Value type: <u32>
Definition: Percentage of monotonic SOC increase upon which the delta
SOC interrupt will be triggered. If this property is not
- specified, then the default value will be 1.
+ specified, then the default value will be 1. Possible
+ values are in the range of 0 to 12.
- qcom,fg-recharge-soc-thr
Usage: optional