Skip to content

Commit b55d79b

Browse files
committed
dt-bindings: hwmon: add adi,max42500.yaml
Add documentation for devicetree bindings for MAX42500 Signed-off-by: Kent Libetario <[email protected]>
1 parent d6c224b commit b55d79b

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/hwmon/adi,max42500.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Analog Devices MAX42500 Industrial Power System Monitor
8+
9+
maintainers:
10+
- Kent Libetario <[email protected]>
11+
12+
description: |
13+
Analog Devices MAX42500 Industrial Power System Monitor Family
14+
https://www.analog.com/media/en/technical-documentation/data-sheets/max42500.pdf
15+
16+
properties:
17+
compatible:
18+
enum:
19+
- adi,max42500
20+
21+
reg:
22+
description: I2C address of slave device.
23+
minimum: 0x28
24+
maximum: 0x2B
25+
26+
required:
27+
- compatible
28+
- reg
29+
30+
additionalProperties: false
31+
32+
examples:
33+
- |
34+
i2c {
35+
#address-cells = <1>;
36+
#size-cells = <0>;
37+
38+
hwmon@28 {
39+
reg = <0x28>;
40+
compatible = "adi,max42500";
41+
};
42+
};

0 commit comments

Comments
 (0)