summaryrefslogtreecommitdiff
path: root/bindings/power
diff options
context:
space:
mode:
authorGuru Das Srinagesh <gurus@quicinc.com>2019-07-18 16:06:26 -0700
committerGuru Das Srinagesh <gurus@quicinc.com>2019-07-19 10:29:55 -0700
commit96288a2ff910e431771bf2941f1b32c949caa315 (patch)
treeeef7a6c27457d75ee3ca846b3340d7ea9453764b /bindings/power
parent53a76aafe8c4d09f1a4b44375becdb5ec46a0855 (diff)
downloaddevicetree-96288a2ff910e431771bf2941f1b32c949caa315.tar.gz
dt-bindings: qpnp-fg-gen4: Set defaults for {dis}charging Ki coefficients
Set default values for the low, medium, and high gain Ki coefficients for both charging and discharging states. Change-Id: I03a95089cacd78648af28c0e6c51f6571b7881b5
Diffstat (limited to 'bindings/power')
-rw-r--r--bindings/power/supply/qcom/qpnp-fg-gen4.txt24
1 files changed, 15 insertions, 9 deletions
diff --git a/bindings/power/supply/qcom/qpnp-fg-gen4.txt b/bindings/power/supply/qcom/qpnp-fg-gen4.txt
index 45d77a4e..e059ddf6 100644
--- a/bindings/power/supply/qcom/qpnp-fg-gen4.txt
+++ b/bindings/power/supply/qcom/qpnp-fg-gen4.txt
@@ -352,7 +352,8 @@ First Level Node - FG Gen4 device
qcom,ki-coeff-soc-dischg. Array limit is set to 3. This
property should be specified if qcom,ki-coeff-soc-dischg
is specified to make it fully functional. Value has no
- unit. Allowed range is 62 to 15564 in micro units.
+ unit. Allowed range is 0 to 15564 in micro units. If this
+ is not specified, the default value used will be 122.
- qcom,ki-coeff-med-dischg
Usage: optional
@@ -363,7 +364,8 @@ First Level Node - FG Gen4 device
qcom,ki-coeff-soc-dischg. Array limit is set to 3. This
property should be specified if qcom,ki-coeff-soc-dischg
is specified to make it fully functional. Value has no
- unit. Allowed range is 62 to 15564 in micro units.
+ unit. Allowed range is 0 to 15564 in micro units. If this
+ is not specified, the default value used will be 62.
- qcom,ki-coeff-hi-dischg
Usage: optional
@@ -374,7 +376,8 @@ First Level Node - FG Gen4 device
qcom,ki-coeff-soc-dischg. Array limit is set to 3. This
property should be specified if qcom,ki-coeff-soc-dischg
is specified to make it fully functional. Value has no
- unit. Allowed range is 62 to 15564 in micro units.
+ unit. Allowed range is 0 to 15564 in micro units. If this
+ is not specified, the default value used will be 0.
- qcom,ki-coeff-dischg-low-med-thresh-ma
Usage: optional
@@ -399,22 +402,25 @@ First Level Node - FG Gen4 device
Usage: optional
Value type: <u32>
Definition: ki coefficient value for low charge current during
- charging. Value has no unit. Allowed range is 62 to 15564
- in micro units.
+ charging. Value has no unit. Allowed range is 0 to 15564
+ in micro units. If this is not specified, the default value
+ used will be 183.
- qcom,ki-coeff-med-chg
Usage: optional
Value type: <u32>
Definition: ki coefficient value for medium charge current during
- charging. Value has no unit. Allowed range is 62 to 15564
- in micro units.
+ charging. Value has no unit. Allowed range is 0 to 15564
+ in micro units. If this is not specified, the default value
+ used will be 62.
- qcom,ki-coeff-hi-chg
Usage: optional
Value type: <u32>
Definition: ki coefficient value for high charge current during
- charging. Value has no unit. Allowed range is 62 to 15564
- in micro units.
+ charging. Value has no unit. Allowed range is 0 to 15564
+ in micro units. If this is not specified, the default value
+ used will be 0.
- qcom,ki-coeff-chg-low-med-thresh-ma
Usage: optional