diff options
author | Eddie James <eajames@linux.vnet.ibm.com> | 2018-11-09 00:05:23 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2018-12-03 03:25:28 +0300 |
commit | c0c9872a8ba291fc39fdb62652c24418670ccc46 (patch) | |
tree | d25ac782f68aaf507189df501de57aedda2198ef /Documentation | |
parent | cd261c9832a4349a1432afd8747ac15cd1c4d3b0 (diff) | |
download | linux-c0c9872a8ba291fc39fdb62652c24418670ccc46.tar.xz |
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>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/i2c/ibm,p8-occ-hwmon.txt | 25 |
1 files changed, 25 insertions, 0 deletions
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 000000000000..5dc5d2e2573d --- /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>; + }; + }; |