Browse Source

dt-bindings: hwmon: Document the IBM CCF power supply version 1

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>
Edward A. James 8 years ago
parent
commit
74560e4a44
1 changed files with 21 additions and 0 deletions
  1. 21 0
      Documentation/devicetree/bindings/hwmon/ibm,cffps1.txt

+ 21 - 0
Documentation/devicetree/bindings/hwmon/ibm,cffps1.txt

@@ -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>;
+        };
+    };