devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>,
	Sebastian Reichel <sre@kernel.org>,
	Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>,
	David Woodhouse <dwmw2@infradead.org>,
	Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Ian Campbell <ijc+devicetree@hellion.org.uk>,
	Kumar Gala <galak@codeaurora.org>,
	linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Support Opensource <support.opensource@diasemi.com>
Subject: Re: [PATCH v7 2/6] mfd: da9150: Update DT bindings for Fuel-Gauge support
Date: Tue, 13 Oct 2015 10:26:09 +0100	[thread overview]
Message-ID: <20151013092609.GT32409@x1> (raw)
In-Reply-To: <0fba7f849b31b230970543240bcfa28ff2c17f0e.1444225050.git.Adam.Thomson.Opensource@diasemi.com>

On Wed, 07 Oct 2015, Adam Thomson wrote:

> Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
> Acked-by: Lee Jones <lee.jones@linaro.org>
> ---
> 
> Changes in v6:
>  - Rebase to v4.3-rc4
> 
> Changes in v5:
>  - Rebase to v4.2
> 
> Changes in v4:
>  - Update compatible string of fuel-gauge to "da9150-fuel-gauge".
>  - Node name tidy up, relating to maintainer comments on fuel-gauge DT
>    binding doc.
>  - Removed Ack to patch from Lee Jones, as this has now been modified slightly
>    and didn't want to make assumptions of approval.
> 
> Changes in v3:
>  - Removal of unwanted new-line.
>  - Flesh out example bindings usage.
> 
>  Documentation/devicetree/bindings/mfd/da9150.txt | 27 ++++++++++++++++++++----
>  1 file changed, 23 insertions(+), 4 deletions(-)

Applied, thanks.

> diff --git a/Documentation/devicetree/bindings/mfd/da9150.txt b/Documentation/devicetree/bindings/mfd/da9150.txt
> index d0588ea..970801d 100644
> --- a/Documentation/devicetree/bindings/mfd/da9150.txt
> +++ b/Documentation/devicetree/bindings/mfd/da9150.txt
> @@ -6,6 +6,7 @@ Device			 Description
>  ------			 -----------
>  da9150-gpadc		: General Purpose ADC
>  da9150-charger		: Battery Charger
> +da9150-fg		: Battery Fuel-Gauge
> 
>  ======
> 
> @@ -22,7 +23,7 @@ Required properties:
>  Sub-devices:
>  - da9150-gpadc: See Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt
>  - da9150-charger: See Documentation/devicetree/bindings/power/da9150-charger.txt
> -
> +- da9150-fg: See Documentation/devicetree/bindings/power/da9150-fg.txt
> 
>  Example:
> 
> @@ -34,10 +35,28 @@ Example:
>  		interrupt-controller;
> 
>  		gpadc: da9150-gpadc {
> -			...
> +			compatible = "dlg,da9150-gpadc";
> +			#io-channel-cells = <1>;
> +		};
> +
> +		charger {
> +			compatible = "dlg,da9150-charger";
> +
> +			io-channels = <&gpadc 0>,
> +				      <&gpadc 2>,
> +				      <&gpadc 8>,
> +				      <&gpadc 5>;
> +			io-channel-names = "CHAN_IBUS",
> +					   "CHAN_VBUS",
> +					   "CHAN_TJUNC",
> +					   "CHAN_VBAT";
>  		};
> 
> -		da9150-charger {
> -			...
> +		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>
>  		};
>  	};

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

  reply	other threads:[~2015-10-13  9:26 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-07 13:54 [PATCH v7 0/6] Add support for DA9150 Fuel-Gauge Adam Thomson
2015-10-07 13:54 ` [PATCH v7 1/6] mfd: da9150: Add support for Fuel-Gauge Adam Thomson
2015-10-13  9:25   ` Lee Jones
2015-10-07 13:54 ` [PATCH v7 2/6] mfd: da9150: Update DT bindings for Fuel-Gauge support Adam Thomson
2015-10-13  9:26   ` Lee Jones [this message]
2015-10-07 13:54 ` [PATCH v7 3/6] power: Add support for DA9150 Fuel-Gauge Adam Thomson
2015-10-13  9:26   ` Lee Jones
2015-10-07 13:54 ` [PATCH v7 4/6] power: da9150: Add DT bindings documentation for Fuel-Gauge Adam Thomson
2015-10-13  9:26   ` Lee Jones
2015-10-07 13:54 ` [PATCH v7 5/6] mfd: da9150: Use relative paths in DT bindings document Adam Thomson
2015-10-13  9:26   ` Lee Jones
2015-10-07 13:54 ` [PATCH v7 6/6] mfd: da9150: Use DEFINE_RES_IRQ_NAMED() help macro for IRQ resource Adam Thomson
2015-10-13  9:26   ` Lee Jones

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=20151013092609.GT32409@x1 \
    --to=lee.jones@linaro.org \
    --cc=Adam.Thomson.Opensource@diasemi.com \
    --cc=dbaryshkov@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dwmw2@infradead.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=sameo@linux.intel.com \
    --cc=sre@kernel.org \
    --cc=support.opensource@diasemi.com \
    /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).