1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4
5$id: http://devicetree.org/schemas/hwmon/pmbus/ti,lm25066.yaml#
6$schema: http://devicetree.org/meta-schemas/core.yaml#
7
8title: National Semiconductor/Texas Instruments LM250x6/LM506x power-management ICs
9
10maintainers:
11  - Zev Weiss <zev@bewilderbeest.net>
12
13description: |
14  The LM25066 family of power-management ICs (a.k.a. hot-swap
15  controllers or eFuses in various contexts) are PMBus devices that
16  offer temperature, current, voltage, and power monitoring.
17
18  Datasheet: https://www.ti.com/lit/ds/symlink/lm25066.pdf
19
20properties:
21  compatible:
22    enum:
23      - ti,lm25056
24      - ti,lm25066
25      - ti,lm5064
26      - ti,lm5066
27      - ti,lm5066i
28
29  reg:
30    maxItems: 1
31
32  shunt-resistor-micro-ohms:
33    description:
34      Shunt (sense) resistor value in micro-Ohms
35    default: 1000
36
37  regulators:
38    type: object
39
40    properties:
41      vout:
42        $ref: /schemas/regulator/regulator.yaml#
43        type: object
44
45        unevaluatedProperties: false
46
47    additionalProperties: false
48
49required:
50  - compatible
51  - reg
52
53allOf:
54  - $ref: /schemas/hwmon/hwmon-common.yaml#
55
56unevaluatedProperties: false
57
58examples:
59  - |
60    i2c {
61        #address-cells = <1>;
62        #size-cells = <0>;
63
64        pmic@40 {
65            compatible = "ti,lm25066";
66            reg = <0x40>;
67            shunt-resistor-micro-ohms = <675>;
68        };
69    };
70