Skip to content

Commit c0c9872

Browse files
Eddie Jamesgroeck
authored andcommitted
dt-bindings: i2c: Add P8 OCC hwmon device documentation
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>
1 parent cd261c9 commit c0c9872

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Device-tree bindings for I2C-based On-Chip Controller hwmon device
2+
------------------------------------------------------------------
3+
4+
Required properties:
5+
- compatible = "ibm,p8-occ-hwmon";
6+
- reg = <I2C address>; : I2C bus address
7+
8+
Examples:
9+
10+
i2c-bus@100 {
11+
#address-cells = <1>;
12+
#size-cells = <0>;
13+
clock-frequency = <100000>;
14+
< more properties >
15+
16+
occ-hwmon@1 {
17+
compatible = "ibm,p8-occ-hwmon";
18+
reg = <0x50>;
19+
};
20+
21+
occ-hwmon@2 {
22+
compatible = "ibm,p8-occ-hwmon";
23+
reg = <0x51>;
24+
};
25+
};

0 commit comments

Comments
 (0)