aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/hwmon/ibm,cffps1.txt
diff options
context:
space:
mode:
authorEdward A. James <eajames@us.ibm.com>2017-08-21 14:46:11 -0500
committerGuenter Roeck <linux@roeck-us.net>2017-08-29 18:01:25 -0700
commit74560e4a440891649971a11e518681b088c6a1f9 (patch)
treebdcf0dff66f7655910bc74dfb26d41a55869b931 /Documentation/devicetree/bindings/hwmon/ibm,cffps1.txt
parenthwmon: (ftsteutates) constify i2c_device_id (diff)
downloadlinux-dev-74560e4a440891649971a11e518681b088c6a1f9.tar.xz
linux-dev-74560e4a440891649971a11e518681b088c6a1f9.zip
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>
Diffstat (limited to '')
-rw-r--r--Documentation/devicetree/bindings/hwmon/ibm,cffps1.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwmon/ibm,cffps1.txt b/Documentation/devicetree/bindings/hwmon/ibm,cffps1.txt
new file mode 100644
index 000000000000..f68a0a68fc52
--- /dev/null
+++ b/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>;
+ };
+ };