diff options
author | Wolfram Sang <wsa@kernel.org> | 2022-06-16 00:16:19 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2022-06-16 21:01:14 +0300 |
commit | b624c4d03760084988f4814b879b08c8c4d8169e (patch) | |
tree | 0fc73211b2671e237191ded40a1a39be01c45460 /Documentation/devicetree/bindings/hwmon | |
parent | 668c01baa7106bffec8d9ebc076609fc86bb208d (diff) | |
download | linux-b624c4d03760084988f4814b879b08c8c4d8169e.tar.xz |
dt-bindings: hwmon: move ibm,p8-occ bindings to proper folder
It accidently ended up in i2c, but it should be in the hwmon folder.
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220615211619.6742-1-wsa@kernel.org
Diffstat (limited to 'Documentation/devicetree/bindings/hwmon')
-rw-r--r-- | Documentation/devicetree/bindings/hwmon/ibm,p8-occ-hwmon.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwmon/ibm,p8-occ-hwmon.txt b/Documentation/devicetree/bindings/hwmon/ibm,p8-occ-hwmon.txt new file mode 100644 index 000000000000..5dc5d2e2573d --- /dev/null +++ b/Documentation/devicetree/bindings/hwmon/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>; + }; + }; |