[PATCH linux dev-4.10 v4 1/4] dt-bindings: i2c: Document the IBM POWER system power supply device

Eddie James eajames at linux.vnet.ibm.com
Fri Aug 11 08:38:53 AEST 2017


From: "Edward A. James" <eajames at us.ibm.com>

Signed-off-by: Edward A. James <eajames at us.ibm.com>
---
 .../devicetree/bindings/i2c/ibm,power-ps.txt        | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/i2c/ibm,power-ps.txt

diff --git a/Documentation/devicetree/bindings/i2c/ibm,power-ps.txt b/Documentation/devicetree/bindings/i2c/ibm,power-ps.txt
new file mode 100644
index 0000000..2ea8ea2
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/ibm,power-ps.txt
@@ -0,0 +1,21 @@
+Device-tree bindings for IBM POWER system power supplies
+--------------------------------------------------------
+
+Required properties:
+ - compatible = "ibm,power-ps";
+ - reg = < I2C bus address >;		: Address of the power supply on the
+					  I2C bus.
+
+Example:
+
+    i2c-bus at 100 {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        #interrupt-cells = <1>;
+        < more properties >
+
+        power_ps at 68 {
+            compatible = "ibm,power-ps";
+            reg = <0x68>;
+        };
+    };
-- 
1.8.3.1



More information about the openbmc mailing list