summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2017-06-12 09:04:00 -0700
committerSebastian Reichel <sre@kernel.org>2017-06-14 22:10:42 +0200
commit1b0c6806d660508876e936ec439e3e7864200921 (patch)
treea018cda04a5cb9b81e9d3f1c4b4fad2990c183f3
parentc159b383335625546ae88d6940c26545c04461b0 (diff)
downloadop-kernel-dev-1b0c6806d660508876e936ec439e3e7864200921.zip
op-kernel-dev-1b0c6806d660508876e936ec439e3e7864200921.tar.gz
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 <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> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
-rw-r--r--Documentation/devicetree/bindings/power/supply/cpcap-battery.txt4
1 files changed, 4 insertions, 0 deletions
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>;
};
OpenPOWER on IntegriCloud