summaryrefslogtreecommitdiff
path: root/bindings/power
diff options
context:
space:
mode:
authorGuru Das Srinagesh <gurus@quicinc.com>2019-07-17 18:24:03 -0700
committerGuru Das Srinagesh <gurus@quicinc.com>2019-07-19 10:29:55 -0700
commit53a76aafe8c4d09f1a4b44375becdb5ec46a0855 (patch)
tree4a8405552cd30df7e3e6d63d2481e6dbc2805adf /bindings/power
parent24dab89f942c2d3b9a6dbcd8f92fc47ac32d6765 (diff)
downloaddevicetree-53a76aafe8c4d09f1a4b44375becdb5ec46a0855.tar.gz
dt-bindings: qpnp-fg-gen4: Add ki current threshold properties
Add device tree properties to configure low-to-medium and medium-to-high current thresholds for charging and discharging. Change-Id: Iad8757b3afebb99dab1530cd69e5e76200ee17f6
Diffstat (limited to 'bindings/power')
-rw-r--r--bindings/power/supply/qcom/qpnp-fg-gen4.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/bindings/power/supply/qcom/qpnp-fg-gen4.txt b/bindings/power/supply/qcom/qpnp-fg-gen4.txt
index 7c911b8c..45d77a4e 100644
--- a/bindings/power/supply/qcom/qpnp-fg-gen4.txt
+++ b/bindings/power/supply/qcom/qpnp-fg-gen4.txt
@@ -376,6 +376,25 @@ First Level Node - FG Gen4 device
is specified to make it fully functional. Value has no
unit. Allowed range is 62 to 15564 in micro units.
+- qcom,ki-coeff-dischg-low-med-thresh-ma
+ Usage: optional
+ Value type: <u32>
+ Definition: Threshold value of discharging current that decides which ki
+ coefficient will be applied: qcom,ki-coeff-low-dischg if the
+ threshold is not breached, and qcom,ki-coeff-med-dischg
+ otherwise. Allowed range is 0 to 3984 milliamperes. If this
+ is not specified, the default value used will be 50 (50 mA).
+
+- qcom,ki-coeff-dischg-med-hi-thresh-ma
+ Usage: optional
+ Value type: <u32>
+ Definition: Threshold value of discharging current that decides which ki
+ coefficient will be applied: qcom,ki-coeff-med-dischg if the
+ threshold is not breached, and qcom,ki-coeff-hi-dischg
+ otherwise. Allowed range is 0 to 3984 milliamperes. If this
+ is not specified, the default value used will be 100
+ (100 mA).
+
- qcom,ki-coeff-low-chg
Usage: optional
Value type: <u32>
@@ -397,6 +416,26 @@ First Level Node - FG Gen4 device
charging. Value has no unit. Allowed range is 62 to 15564
in micro units.
+- qcom,ki-coeff-chg-low-med-thresh-ma
+ Usage: optional
+ Value type: <u32>
+ Definition: Threshold value of charging current that decides which ki
+ coefficient will be applied: qcom,ki-coeff-low-chg if the
+ threshold is not breached, and qcom,ki-coeff-med-chg
+ otherwise. Allowed range is 0 to 3984 milliamperes. If this
+ is not specified, the default value used will be 1000
+ (1000 mA).
+
+- qcom,ki-coeff-chg-med-hi-thresh-ma
+ Usage: optional
+ Value type: <u32>
+ Definition: Threshold value of charging current that decides which ki
+ coefficient will be applied: qcom,ki-coeff-med-chg if the
+ threshold is not breached, and qcom,ki-coeff-hi-chg
+ otherwise. Allowed range is 0 to 3984 milliamperes. If this
+ is not specified, the default value used will be 1500
+ (1500 mA).
+
- qcom,ki-coeff-cutoff
Usage: optional
Value type: <u32>