[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1541711129-26631-5-git-send-email-eajames@linux.ibm.com>
Date: Thu, 8 Nov 2018 15:05:23 -0600
From: Eddie James <eajames@...ux.ibm.com>
To: linux-kernel@...r.kernel.org
Cc: linux-hwmon@...r.kernel.org, devicetree@...r.kernel.org,
jdelvare@...e.com, linux-doc@...r.kernel.org,
gregkh@...uxfoundation.org, robh+dt@...nel.org,
mark.rutland@....com, linux@...ck-us.net, rdunlap@...radead.org,
benh@...nel.crashing.org, Eddie James <eajames@...ux.vnet.ibm.com>,
Eddie James <eajames@...ux.ibm.com>
Subject: [PATCH v6 04/10] dt-bindings: i2c: Add P8 OCC hwmon device documentation
From: Eddie James <eajames@...ux.vnet.ibm.com>
Document the bindings for I2C-based OCC hwmon device.
Signed-off-by: Eddie James <eajames@...ux.ibm.com>
Acked-by: Rob Herring <robh@...nel.org>
---
.../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..5dc5d2e
--- /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 device
+------------------------------------------------------------------
+
+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
Powered by blists - more mailing lists