xref: /linux/Documentation/devicetree/bindings/hwmon/adi,adm1275.yaml (revision a460513ed4b6994bfeb7bd86f72853140bc1ac12)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4
5$id: http://devicetree.org/schemas/hwmon/adi,adm1275.yaml#
6$schema: http://devicetree.org/meta-schemas/core.yaml#
7
8title: Analog Devices ADM1075/ADM127x/ADM129x digital power monitors
9
10maintainers:
11  - Krzysztof Kozlowski <krzk@kernel.org>
12
13description: |
14  The ADM1293 and ADM1294 are high accuracy integrated digital power monitors
15  that offer digital current, voltage, and power monitoring using an on-chip,
16  12-bit analog-to-digital converter (ADC), communicated through a PMBus
17  compliant I2C interface.
18
19  Datasheets:
20    https://www.analog.com/en/products/adm1294.html
21
22properties:
23  compatible:
24    enum:
25      - adi,adm1075
26      - adi,adm1272
27      - adi,adm1275
28      - adi,adm1276
29      - adi,adm1278
30      - adi,adm1293
31      - adi,adm1294
32
33  reg:
34    maxItems: 1
35
36  shunt-resistor-micro-ohms:
37    description:
38      Shunt resistor value in micro-Ohm.
39
40required:
41  - compatible
42  - reg
43
44additionalProperties: false
45
46examples:
47  - |
48    i2c {
49        #address-cells = <1>;
50        #size-cells = <0>;
51
52        power-sensor@10 {
53            compatible = "adi,adm1272";
54            reg = <0x10>;
55            shunt-resistor-micro-ohms = <500>;
56        };
57    };
58