From: Enric Balletbo i Serra <enric.balletbo@collabora.com>
To: Sebastian Reichel <sre@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org
Subject: [PATCH 2/2] dt-bindings: power/supply: Add support for xmega16d4-battery
Date: Thu, 23 Feb 2017 18:38:12 +0100 [thread overview]
Message-ID: <20170223173812.10740-2-enric.balletbo@collabora.com> (raw)
In-Reply-To: <20170223173812.10740-1-enric.balletbo@collabora.com>
Add the documentation for binding of Toby Churchill SBS battery monitor
driver. The device is connected via SPI and is able to report different
battery characteristics.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
---
.../devicetree/bindings/power/supply/xmega16d4-battery.txt | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 Documentation/devicetree/bindings/power/supply/xmega16d4-battery.txt
diff --git a/Documentation/devicetree/bindings/power/supply/xmega16d4-battery.txt b/Documentation/devicetree/bindings/power/supply/xmega16d4-battery.txt
new file mode 100644
index 0000000..c76db67
--- /dev/null
+++ b/Documentation/devicetree/bindings/power/supply/xmega16d4-battery.txt
@@ -0,0 +1,12 @@
+Binding for the Toby Churchill SBS battery monitor
+
+Required properties :
+ - compatible : "tcl,xmega16d4-battery"
+
+Example:
+
+ battery: smart-battery@0 {
+ compatible = "tcl,xmega16d4-battery";
+ reg = <0>;
+ spi-max-frequency = <100000>;
+ };
--
2.9.3
next prev parent reply other threads:[~2017-02-23 17:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-23 17:38 [PATCH 1/2] power: Add support for the Toby Churchill SBS battery monitor driver Enric Balletbo i Serra
2017-02-23 17:38 ` Enric Balletbo i Serra [this message]
2017-02-23 17:44 ` [PATCH 2/2] dt-bindings: power/supply: Add support for xmega16d4-battery Enric Balletbo Serra
2017-03-15 21:54 ` Sebastian Reichel
2017-03-15 21:52 ` [PATCH 1/2] power: Add support for the Toby Churchill SBS battery monitor driver Sebastian Reichel
2017-04-21 16:53 ` Enric Balletbo i Serra
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=20170223173812.10740-2-enric.balletbo@collabora.com \
--to=enric.balletbo@collabora.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=sre@kernel.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;
as well as URLs for NNTP newsgroup(s).