From: Quentin Schulz <quentin.schulz@free-electrons.com>
To: sre@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, wens@csie.org
Cc: Quentin Schulz <quentin.schulz@free-electrons.com>,
linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, liam@networkimprov.net,
thomas.petazzoni@free-electrons.com,
linux-sunxi@googlegroups.com
Subject: [PATCH 2/4] dt-bindings: power: battery: add constant-charge-current-max-microamp property
Date: Thu, 11 May 2017 15:42:18 +0200 [thread overview]
Message-ID: <20170511134221.5569-3-quentin.schulz@free-electrons.com> (raw)
In-Reply-To: <20170511134221.5569-1-quentin.schulz@free-electrons.com>
This adds the constant-charge-current-max-microamp 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>
---
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 63a7028d1434..12c1abc93a90 100644
--- a/Documentation/devicetree/bindings/power/supply/battery.txt
+++ b/Documentation/devicetree/bindings/power/supply/battery.txt
@@ -12,6 +12,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-max-microamp: battery maximum constant charge current
Batteries must be referenced by chargers and/or fuel-gauges
using a phandle. The phandle's property should be named
@@ -24,6 +25,7 @@ Example:
voltage-min-design-microvolt = <3200000>;
energy-full-design-microwatt-hours = <5290000>;
charge-full-design-microamp-hours = <1430000>;
+ constant-charge-current-max-microamp = <300000>;
};
charger: charger@11 {
--
2.11.0
next prev parent reply other threads:[~2017-05-11 13:42 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-11 13:42 [PATCH 0/4] set battery info on AXP20X and AXP22X from DT Quentin Schulz
2017-05-11 13:42 ` [PATCH 1/4] power: supply: axp20x_battery: add support for DT battery Quentin Schulz
2017-05-16 5:18 ` Chen-Yu Tsai
2017-05-16 6:33 ` Quentin Schulz
2017-06-08 15:58 ` Sebastian Reichel
2017-05-11 13:42 ` Quentin Schulz [this message]
2017-05-15 20:14 ` [PATCH 2/4] dt-bindings: power: battery: add constant-charge-current-max-microamp property Rob Herring
2017-05-11 13:42 ` [PATCH 3/4] power: supply: power_supply_core: add constant-charge-current optional property Quentin Schulz
2017-05-11 13:42 ` [PATCH 4/4] power: supply: axp20x_battery: add DT support for battery max constant charge current Quentin Schulz
2017-06-08 15:58 ` Sebastian Reichel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170511134221.5569-3-quentin.schulz@free-electrons.com \
--to=quentin.schulz@free-electrons.com \
--cc=devicetree@vger.kernel.org \
--cc=liam@networkimprov.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-sunxi@googlegroups.com \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=sre@kernel.org \
--cc=thomas.petazzoni@free-electrons.com \
--cc=wens@csie.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®