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


Groups > linux.kernel > #1587050 > unrolled thread

[PATCH 2/2] dt-bindings: power/supply: Add support for xmega16d4-battery

Started byEnric Balletbo i Serra <enric.balletbo@collabora.com>
First post2017-02-23 18:50 +0100
Last post2017-02-23 18:50 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/2] dt-bindings: power/supply: Add support for xmega16d4-battery Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2017-02-23 18:50 +0100
    Re: [PATCH 2/2] dt-bindings: power/supply: Add support for xmega16d4-battery Enric Balletbo Serra <eballetbo@gmail.com> - 2017-02-23 18:50 +0100

#1587050 — [PATCH 2/2] dt-bindings: power/supply: Add support for xmega16d4-battery

FromEnric Balletbo i Serra <enric.balletbo@collabora.com>
Date2017-02-23 18:50 +0100
Subject[PATCH 2/2] dt-bindings: power/supply: Add support for xmega16d4-battery
Message-ID<te5GF-4ww-9@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1587051

FromEnric Balletbo Serra <eballetbo@gmail.com>
Date2017-02-23 18:50 +0100
Message-ID<te5GG-4ww-25@gated-at.bofh.it>
In reply to#1587050
Ooops, sorry I forget to add the device tree maintainers so

CC'ing Rob Herring and Mark Rutland


2017-02-23 18:38 GMT+01:00 Enric Balletbo i Serra
<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
>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web