From: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
To: Tony Lindgren <tony@atomide.com>
Cc: linux-pm@vger.kernel.org, linux-omap@vger.kernel.org,
devicetree@vger.kernel.org, Marcel Partap <mpartap@gmx.net>,
Michael Scott <michael.scott@linaro.org>
Subject: Re: [PATCH] dt-bindings: power: supply: cpcap-battery: Add power-supplies property
Date: Mon, 12 Jun 2017 16:22:17 +0200 [thread overview]
Message-ID: <20170612142217.tg7gidqg63uagwm4@earth> (raw)
In-Reply-To: <20170612072025.30033-1-tony@atomide.com>
[-- Attachment #1: Type: text/plain, Size: 1642 bytes --]
Hi,
On Mon, Jun 12, 2017 at 12:20:25AM -0700, Tony Lindgren wrote:
> The binding for cpcap-battery is missing the standard power-supplies
> property as noted by Sebastian Reichel <sebastian.reichel@collabora.co.uk>.
>
> Cc: devicetree@vger.kernel.org
> Cc: Marcel Partap <mpartap@gmx.net>
> Cc: Michael Scott <michael.scott@linaro.org>
> Signed-off-by: Tony Lindgren <tony@atomide.com>
> ---
> Documentation/devicetree/bindings/power/supply/cpcap-battery.txt | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/power/supply/cpcap-battery.txt b/Documentation/devicetree/bindings/power/supply/cpcap-battery.txt
> --- a/Documentation/devicetree/bindings/power/supply/cpcap-battery.txt
> +++ b/Documentation/devicetree/bindings/power/supply/cpcap-battery.txt
> @@ -8,6 +8,7 @@ Required properties:
> - io-channels: IIO ADC channel specifier for each name in io-channel-names
> - io-channel-names: Should contain the following entries:
> "battdetb", "battp", "chg_isense", "batti"
> +- power-supplies: List of devices that supply power, typically cpcap_charger
This is missing the info, that its about phandles. Maybe:
- power-supplies: List of phandles for power-supplying devices, as
described in power_supply.txt. Typically a reference
to cpcap_charger.
-- Sebastian
>
> Example:
>
> @@ -24,4 +25,5 @@ cpcap_battery: battery {
> &cpcap_adc 5 &cpcap_adc 6>;
> io-channel-names = "battdetb", "battp",
> "chg_isense", "batti";
> + power-supplies = <&cpcap_charger>;
> };
> --
> 2.13.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-06-12 14:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-12 7:20 [PATCH] dt-bindings: power: supply: cpcap-battery: Add power-supplies property Tony Lindgren
2017-06-12 14:22 ` Sebastian Reichel [this message]
2017-06-12 16:04 ` Tony Lindgren
[not found] ` <20170612160400.GY3730-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2017-06-15 12:54 ` Sebastian Reichel
2017-06-18 14:04 ` Rob Herring
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=20170612142217.tg7gidqg63uagwm4@earth \
--to=sebastian.reichel@collabora.co.uk \
--cc=devicetree@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=michael.scott@linaro.org \
--cc=mpartap@gmx.net \
--cc=tony@atomide.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