dt-bindings: power: supply: move max8903-charger.txt to proper location
authorSebastian Reichel <sre@kernel.org>
Thu, 8 Jun 2017 21:36:02 +0000 (23:36 +0200)
committerSebastian Reichel <sre@kernel.org>
Wed, 14 Jun 2017 20:10:37 +0000 (22:10 +0200)
This moves max8903-charger.txt to proper location
for power-supply bindings.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Documentation/devicetree/bindings/power/max8903-charger.txt [deleted file]
Documentation/devicetree/bindings/power/supply/max8903-charger.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/power/max8903-charger.txt b/Documentation/devicetree/bindings/power/max8903-charger.txt
deleted file mode 100644 (file)
index f0f4e12..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-Maxim Semiconductor MAX8903 Battery Charger bindings
-
-Required properties:
-- compatible: "maxim,max8903" for MAX8903 Battery Charger
-- dok-gpios: Valid DC power has been detected (active low, input), optional if uok-gpios is provided
-- uok-gpios: Valid USB power has been detected (active low, input), optional if dok-gpios is provided
-
-Optional properties:
-- cen-gpios: Charge enable pin (active low, output)
-- chg-gpios: Charger status pin (active low, input)
-- flt-gpios: Fault pin (active low, output)
-- dcm-gpios: Current limit mode setting (DC=1 or USB=0, output)
-- usus-gpios: USB suspend pin (active high, output)
-
-
-Example:
-
-       max8903-charger {
-               compatible = "maxim,max8903";
-               dok-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
-               flt-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
-               chg-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
-               cen-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
-               status = "okay";
-       };
diff --git a/Documentation/devicetree/bindings/power/supply/max8903-charger.txt b/Documentation/devicetree/bindings/power/supply/max8903-charger.txt
new file mode 100644 (file)
index 0000000..f0f4e12
--- /dev/null
@@ -0,0 +1,25 @@
+Maxim Semiconductor MAX8903 Battery Charger bindings
+
+Required properties:
+- compatible: "maxim,max8903" for MAX8903 Battery Charger
+- dok-gpios: Valid DC power has been detected (active low, input), optional if uok-gpios is provided
+- uok-gpios: Valid USB power has been detected (active low, input), optional if dok-gpios is provided
+
+Optional properties:
+- cen-gpios: Charge enable pin (active low, output)
+- chg-gpios: Charger status pin (active low, input)
+- flt-gpios: Fault pin (active low, output)
+- dcm-gpios: Current limit mode setting (DC=1 or USB=0, output)
+- usus-gpios: USB suspend pin (active high, output)
+
+
+Example:
+
+       max8903-charger {
+               compatible = "maxim,max8903";
+               dok-gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
+               flt-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
+               chg-gpios = <&gpio3 15 GPIO_ACTIVE_LOW>;
+               cen-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
+               status = "okay";
+       };