dt-bindings: hwmon: Document the IBM CCF power supply version 1
authorEdward A. James <eajames@us.ibm.com>
Mon, 21 Aug 2017 19:46:11 +0000 (14:46 -0500)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 30 Aug 2017 01:01:25 +0000 (18:01 -0700)
Signed-off-by: Edward A. James <eajames@us.ibm.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/devicetree/bindings/hwmon/ibm,cffps1.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/hwmon/ibm,cffps1.txt b/Documentation/devicetree/bindings/hwmon/ibm,cffps1.txt
new file mode 100644 (file)
index 0000000..f68a0a6
--- /dev/null
@@ -0,0 +1,21 @@
+Device-tree bindings for IBM Common Form Factor Power Supply Version 1
+----------------------------------------------------------------------
+
+Required properties:
+ - compatible = "ibm,cffps1";
+ - reg = < I2C bus address >;          : Address of the power supply on the
+                                         I2C bus.
+
+Example:
+
+    i2c-bus@100 {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        #interrupt-cells = <1>;
+        < more properties >
+
+        power-supply@68 {
+            compatible = "ibm,cffps1";
+            reg = <0x68>;
+        };
+    };