diff options
author | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2016-09-19 11:17:59 -0700 |
---|---|---|
committer | Subbaraman Narayanamurthy <subbaram@codeaurora.org> | 2016-09-30 10:41:55 -0700 |
commit | ff753ada17b532d46426a81ecaf78064b96ec35d (patch) | |
tree | 40f27999599e3e8ef7350a09fde5fd037745dfc2 /Documentation | |
parent | 3603cc87ba28802d0f8e12245cdce4f296b5b16b (diff) |
power: qpnp-fg-gen3: fix SRAM encodings
There are some encoding changes to the following configurations
in pmi8998 SRAM. Update them.
For both v1.1 and v2.0,
- No sign bit for charge termination current
For v2.0,
- 6 bit encoding for empty voltage and vbatt_low
While at it, fix the SRAM byte location from byte 2 to byte 3 for
configuring empty voltage threshold in pmi8998v2.0.
CRs-Fixed: 1068592
Change-Id: I3a301aed1b23ab78aa86b24c11eb750502adab2f
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/power/qcom-charger/qpnp-fg-gen3.txt | 4 |
1 files changed, 3 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 bd236df6c056..199b5c0857f8 100644 --- a/Documentation/devicetree/bindings/power/qcom-charger/qpnp-fg-gen3.txt +++ b/Documentation/devicetree/bindings/power/qcom-charger/qpnp-fg-gen3.txt @@ -78,7 +78,9 @@ First Level Node - FG Gen3 device Definition: Battery current (in mA) at which the fuel gauge will try to scale towards 100%. When the charge current goes above this the SOC should be at 100%. If this property is not - specified, then the default value used will be 125mA. + specified, then the default value used will be -125mA. + This value has to be specified in negative values for + the charging current. - qcom,fg-delta-soc-thr Usage: optional |