Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1698042

[PATCH v2 10/10] dt-bindings: i2c: Add P8 OCC hwmon driver documentation

From Eddie James <eajames@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject [PATCH v2 10/10] dt-bindings: i2c: Add P8 OCC hwmon driver documentation
Date 2017-07-27 16:40 +0200
Message-ID <u7S7g-7g8-43@gated-at.bofh.it> (permalink)
References <u7S7f-7g8-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Document the bindings for I2C-based OCC hwmon driver.

Signed-off-by: Edward A. James <eajames@us.ibm.com>
---
 .../devicetree/bindings/i2c/ibm,p8-occ-hwmon.txt   | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/i2c/ibm,p8-occ-hwmon.txt

diff --git a/Documentation/devicetree/bindings/i2c/ibm,p8-occ-hwmon.txt b/Documentation/devicetree/bindings/i2c/ibm,p8-occ-hwmon.txt
new file mode 100644
index 0000000..8c765d0
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/ibm,p8-occ-hwmon.txt
@@ -0,0 +1,25 @@
+Device-tree bindings for I2C-based On-Chip Controller hwmon driver
+------------------------------------------------------------------
+
+Required properties:
+ - compatible = "ibm,p8-occ-hwmon";
+ - reg = <I2C address>;			: I2C bus address
+
+Examples:
+
+    i2c-bus@100 {
+        #address-cells = <1>;
+        #size-cells = <0>;
+        clock-frequency = <100000>;
+        < more properties >
+
+        occ-hwmon@1 {
+            compatible = "ibm,p8-occ-hwmon";
+            reg = <0x50>;
+        };
+
+        occ-hwmon@2 {
+            compatible = "ibm,p8-occ-hwmon";
+            reg = <0x51>;
+        };
+    };
-- 
1.8.3.1

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v2 00/10] drivers/hwmon: Add On-Chip Controller (OCC) hwmon driver Eddie James <eajames@linux.vnet.ibm.com> - 2017-07-27 16:40 +0200
  [PATCH v2 01/10] drivers/hwmon: Add On-Chip Controller (OCC) hwmon driver Eddie James <eajames@linux.vnet.ibm.com> - 2017-07-27 16:40 +0200
  [PATCH v2 02/10] drivers/hwmon/occ: Add command transport method for P8 and P9 Eddie James <eajames@linux.vnet.ibm.com> - 2017-07-27 16:40 +0200
  [PATCH v2 07/10] drivers/hwmon/occ: Add error handling Eddie James <eajames@linux.vnet.ibm.com> - 2017-07-27 16:40 +0200
  [PATCH v2 03/10] drivers/hwmon/occ: Parse OCC poll response Eddie James <eajames@linux.vnet.ibm.com> - 2017-07-27 16:40 +0200
  [PATCH v2 09/10] Documentation: ABI: Add occ-hwmon driver sysfs documentation Eddie James <eajames@linux.vnet.ibm.com> - 2017-07-27 16:40 +0200
  [PATCH v2 10/10] dt-bindings: i2c: Add P8 OCC hwmon driver documentation Eddie James <eajames@linux.vnet.ibm.com> - 2017-07-27 16:40 +0200

csiph-web