aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/devicetree/bindings/power/supply/ingenic,battery.txt
diff options
context:
space:
mode:
authorArtur Rojek <contact@artur-rojek.eu>2020-09-26 19:35:28 +0200
committerSebastian Reichel <sre@kernel.org>2020-09-30 00:12:33 +0200
commit8d58ca2754f18eed4d0461c99755e844bb5ef4cc (patch)
tree7b4dcee579a4017603450d632b88dca2648fd698 /Documentation/devicetree/bindings/power/supply/ingenic,battery.txt
parentdt-bindings: power: supply: Cleanup charger-manager bindings (diff)
downloadwireguard-linux-8d58ca2754f18eed4d0461c99755e844bb5ef4cc.tar.xz
wireguard-linux-8d58ca2754f18eed4d0461c99755e844bb5ef4cc.zip
dt-bindings: power: Convert ingenic,battery.txt to YAML
Convert the textual documentation of Device Tree bindings for the Ingenic JZ47xx SoCs battery to YAML. Signed-off-by: Artur Rojek <contact@artur-rojek.eu> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'Documentation/devicetree/bindings/power/supply/ingenic,battery.txt')
-rw-r--r--Documentation/devicetree/bindings/power/supply/ingenic,battery.txt31
1 files changed, 0 insertions, 31 deletions
diff --git a/Documentation/devicetree/bindings/power/supply/ingenic,battery.txt b/Documentation/devicetree/bindings/power/supply/ingenic,battery.txt
deleted file mode 100644
index 66430bf73815..000000000000
--- a/Documentation/devicetree/bindings/power/supply/ingenic,battery.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-* Ingenic JZ47xx battery bindings
-
-Required properties:
-
-- compatible: Must be "ingenic,jz4740-battery".
-- io-channels: phandle and IIO specifier pair to the IIO device.
- Format described in iio-bindings.txt.
-- monitored-battery: phandle to a "simple-battery" compatible node.
-
-The "monitored-battery" property must be a phandle to a node using the format
-described in battery.txt, with the following properties being required:
-
-- voltage-min-design-microvolt: Drained battery voltage.
-- voltage-max-design-microvolt: Fully charged battery voltage.
-
-Example:
-
-#include <dt-bindings/iio/adc/ingenic,adc.h>
-
-simple_battery: battery {
- compatible = "simple-battery";
- voltage-min-design-microvolt = <3600000>;
- voltage-max-design-microvolt = <4200000>;
-};
-
-ingenic_battery {
- compatible = "ingenic,jz4740-battery";
- io-channels = <&adc INGENIC_ADC_BATTERY>;
- io-channel-names = "battery";
- monitored-battery = <&simple_battery>;
-};