From 1b0c6806d660508876e936ec439e3e7864200921 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Mon, 12 Jun 2017 09:04:00 -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@vger.kernel.org Cc: Marcel Partap Cc: Michael Scott Signed-off-by: Tony Lindgren Signed-off-by: Sebastian Reichel --- 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 index d21b1cd..a04efa2 100644 --- 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.7.4