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


Groups > linux.kernel > #1230882 > unrolled thread

Re: [PATCH v5 4/6] power: da9150: Add DT bindings documentation for Fuel-Gauge

Started bySebastian Reichel <sre@kernel.org>
First post2015-09-22 21:50 +0200
Last post2015-09-22 21:50 +0200
Articles 1 — 1 participant

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

  Re: [PATCH v5 4/6] power: da9150: Add DT bindings documentation for  Fuel-Gauge Sebastian Reichel <sre@kernel.org> - 2015-09-22 21:50 +0200

#1230882 — Re: [PATCH v5 4/6] power: da9150: Add DT bindings documentation for Fuel-Gauge

FromSebastian Reichel <sre@kernel.org>
Date2015-09-22 21:50 +0200
SubjectRe: [PATCH v5 4/6] power: da9150: Add DT bindings documentation for Fuel-Gauge
Message-ID<qbBJG-6EK-41@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hi,

On Fri, Sep 11, 2015 at 11:05:38AM +0100, Adam Thomson wrote:
> diff --git a/Documentation/devicetree/bindings/power/da9150-fg.txt b/Documentation/devicetree/bindings/power/da9150-fg.txt
> new file mode 100644
> index 0000000..00236fe
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/power/da9150-fg.txt
> @@ -0,0 +1,23 @@
> +Dialog Semiconductor DA9150 Fuel-Gauge Power Supply bindings
> +
> +Required properties:
> +- compatible: "dlg,da9150-fuel-gauge" for DA9150 Fuel-Gauge Power Supply
> +
> +Optional properties:
> +- dlg,update-interval: Interval time (milliseconds) between battery level checks.
> +- dlg,warn-soc-level: Battery discharge level (%) where warning event raised.
> +      [1 - 100]
> +- dlg,crit-soc-level: Battery discharge level (%) where critical event raised.
> +  This value should be lower than the warning level.
> +      [1 - 100]
> +
> +
> +Example:
> +
> +	fuel-gauge {
> +		compatible = "dlg,da9150-fuel-gauge";
> +
> +		dlg,update-interval = <10000>;
> +		dlg,warn-soc-level = /bits/ 8 <15>;
> +		dlg,crit-soc-level = /bits/ 8 <5>;
> +	};

Acked-By: Sebastian Reichel <sre@kernel.org>

-- Sebastian

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web