[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170315105537.22349-2-quentin.schulz@free-electrons.com>
Date: Wed, 15 Mar 2017 11:55:20 +0100
From: Quentin Schulz <quentin.schulz@...e-electrons.com>
To: icenowy@...c.xyz, bonbons@...ux-vserver.org, sre@...nel.org,
robh+dt@...nel.org, mark.rutland@....com, wens@...e.org,
linux@...linux.org.uk, maxime.ripard@...e-electrons.com,
jic23@...nel.org, knaack.h@....de, lars@...afoo.de,
pmeerw@...erw.net, lee.jones@...aro.org
Cc: Quentin Schulz <quentin.schulz@...e-electrons.com>,
liam@...workimprov.net, thomas.petazzoni@...e-electrons.com,
linux-pm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-iio@...r.kernel.org, linux-sunxi@...glegroups.com
Subject: [PATCH v4 01/18] dt-bindings: power: battery: add constant-charge-current property
This adds the constant-charge-current property to the list of optional
properties of the battery.
The constant charge current is critical for batteries as they can't
handle all charge currents.
Signed-off-by: Quentin Schulz <quentin.schulz@...e-electrons.com>
Acked-by: Rob Herring <robh@...nel.org>
---
v4:
- switch from constant-charge-current-microamp to constant-charge-microamp,
added in v3
Documentation/devicetree/bindings/power/supply/battery.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/power/supply/battery.txt b/Documentation/devicetree/bindings/power/supply/battery.txt
index 0278617..9594e1e 100644
--- a/Documentation/devicetree/bindings/power/supply/battery.txt
+++ b/Documentation/devicetree/bindings/power/supply/battery.txt
@@ -7,6 +7,7 @@ Optional Properties:
- voltage-min-design-microvolt: drained battery voltage
- energy-full-design-microwatt-hours: battery design energy
- charge-full-design-microamp-hours: battery design capacity
+ - constant-charge-microamp: battery constant charge current
Because drivers surface properties in sysfs using names derived
from enum power_supply_property, e.g.
@@ -30,6 +31,7 @@ Example:
voltage-min-design-microvolt = <3200000>;
energy-full-design-microwatt-hours = <5290000>;
charge-full-design-microamp-hours = <1430000>;
+ constant-charge-microamp = <300000>;
};
charger: charger@11 {
--
2.9.3
Powered by blists - more mailing lists