Skip to content

Commit

Permalink
dt-bindings: i2c: Add P8 OCC hwmon device documentation
Browse files Browse the repository at this point in the history
Document the bindings for I2C-based OCC hwmon device.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
  • Loading branch information
Eddie James authored and Guenter Roeck committed Dec 3, 2018
1 parent cd261c9 commit c0c9872
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Documentation/devicetree/bindings/i2c/ibm,p8-occ-hwmon.txt
Original file line number Diff line number Diff line change
@@ -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>;
};
};

0 comments on commit c0c9872

Please sign in to comment.