[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150922193951.GE9949@earth>
Date: Tue, 22 Sep 2015 21:39:52 +0200
From: Sebastian Reichel <sre@...nel.org>
To: Adam Thomson <Adam.Thomson.Opensource@...semi.com>
Cc: Lee Jones <lee.jones@...aro.org>,
Samuel Ortiz <sameo@...ux.intel.com>,
Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
David Woodhouse <dwmw2@...radead.org>,
Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>, linux-pm@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Support Opensource <support.opensource@...semi.com>
Subject: Re: [PATCH v5 4/6] power: da9150: Add DT bindings documentation for
Fuel-Gauge
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@...nel.org>
-- Sebastian
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists