From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH] dt-bindings: power: supply: cpcap-battery: Add power-supplies property Date: Mon, 12 Jun 2017 09:04:00 -0700 Message-ID: <20170612160400.GY3730@atomide.com> References: <20170612072025.30033-1-tony@atomide.com> <20170612142217.tg7gidqg63uagwm4@earth> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8BIT Return-path: Content-Disposition: inline In-Reply-To: <20170612142217.tg7gidqg63uagwm4@earth> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Sebastian Reichel Cc: linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Marcel Partap , Michael Scott List-Id: linux-omap@vger.kernel.org * Sebastian Reichel [170612 07:26]: > On Mon, Jun 12, 2017 at 12:20:25AM -0700, Tony Lindgren wrote: > > +- 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. Sure, updated patch below. Regards, Tony 8< ------ >>From tony Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Mon, 12 Jun 2017 00:13:45 -0700 Subject: [PATCH] dt-bindings: power: supply: cpcap-battery: Add power-supplies property The binding for cpcap-battery is missing the standard power-supplies property as noted by Sebastian Reichel . Cc: devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Cc: Marcel Partap Cc: Michael Scott Signed-off-by: Tony Lindgren --- Documentation/devicetree/bindings/power/supply/cpcap-battery.txt | 4 ++++ 1 file changed, 4 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,9 @@ 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 phandles for power-supplying devices, as + described in power_supply.txt. Typically a reference + to cpcap_charger. Example: @@ -24,4 +27,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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html