aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2018-11-05 02:39:06 -0500
committerSebastian Reichel <sebastian.reichel@collabora.com>2018-11-09 16:55:46 -0500
commit56a6cd3196c6617697b46c3861dfd06579ef43d2 (patch)
tree25a862b6969365ed68f7a2a8c72a7c834a6cab19
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
dt-bindings: power: Introduce one property to present the battery internal resistance
The internal resistance of a battery is not a constant in its life cycle, this varies over the age of the battery or temperature and so on. But we just want use one constant battery internal resistance to estimate the battery capacity. Thus this patch introduces one property to present the battery factory internal resistance for battery information. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
-rw-r--r--Documentation/devicetree/bindings/power/supply/battery.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power/supply/battery.txt b/Documentation/devicetree/bindings/power/supply/battery.txt
index f4d3b4a10b43..938d02785da2 100644
--- a/Documentation/devicetree/bindings/power/supply/battery.txt
+++ b/Documentation/devicetree/bindings/power/supply/battery.txt
@@ -22,6 +22,7 @@ Optional Properties:
22 - charge-term-current-microamp: current for charge termination phase 22 - charge-term-current-microamp: current for charge termination phase
23 - constant-charge-current-max-microamp: maximum constant input current 23 - constant-charge-current-max-microamp: maximum constant input current
24 - constant-charge-voltage-max-microvolt: maximum constant input voltage 24 - constant-charge-voltage-max-microvolt: maximum constant input voltage
25 - factory-internal-resistance-micro-ohms: battery factory internal resistance
25 26
26Battery properties are named, where possible, for the corresponding 27Battery properties are named, where possible, for the corresponding
27elements in enum power_supply_property, defined in 28elements in enum power_supply_property, defined in
@@ -42,6 +43,7 @@ Example:
42 charge-term-current-microamp = <128000>; 43 charge-term-current-microamp = <128000>;
43 constant-charge-current-max-microamp = <900000>; 44 constant-charge-current-max-microamp = <900000>;
44 constant-charge-voltage-max-microvolt = <4200000>; 45 constant-charge-voltage-max-microvolt = <4200000>;
46 factory-internal-resistance-micro-ohms = <250000>;
45 }; 47 };
46 48
47 charger: charger@11 { 49 charger: charger@11 {