Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1580438

[PATCH v3 01/18] dt-bindings: power: battery: add constant-charge-current property

From Quentin Schulz <quentin.schulz@free-electrons.com>
Newsgroups linux.kernel
Subject [PATCH v3 01/18] dt-bindings: power: battery: add constant-charge-current property
Date 2017-02-14 10:50 +0100
Message-ID <taHUe-8vw-49@gated-at.bofh.it> (permalink)
References <taHUe-8vw-43@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@free-electrons.com>
---

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 d78a4aa..3e830fe 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-current-microamp: battery constant charge current
 
 Future Properties must be named for the corresponding elements in
 enum power_supply_property, defined in include/linux/power_supply.h.
@@ -22,6 +23,7 @@ Example:
 		voltage-min-design-microvolt = <3200000>;
 		energy-full-design-microwatt-hours = <5290000>;
 		charge-full-design-microamp-hours = <1430000>;
+		constant-charge-current-microamp = <300000>;
 	};
 
 	charger: charger@11 {
-- 
2.9.3

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v3 01/18] dt-bindings: power: battery: add constant-charge-current property Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-02-14 10:50 +0100
  Re: [PATCH v3 01/18] dt-bindings: power: battery: add constant-charge-current property Liam Breck <liam@networkimprov.net> - 2017-02-15 02:00 +0100
    Re: [PATCH v3 01/18] dt-bindings: power: battery: add  constant-charge-current property Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-02-15 10:00 +0100
      Re: [PATCH v3 01/18] dt-bindings: power: battery: add  constant-charge-current property Liam Breck <liam@networkimprov.net> - 2017-02-15 21:30 +0100
      Re: [PATCH v3 01/18] dt-bindings: power: battery: add  constant-charge-current property Chen-Yu Tsai <wens@csie.org> - 2017-02-21 06:10 +0100
  Re: [PATCH v3 01/18] dt-bindings: power: battery: add  constant-charge-current property Rob Herring <robh@kernel.org> - 2017-02-22 22:40 +0100

csiph-web