xref: /linux/Documentation/devicetree/bindings/hwmon/lltc,ltc2978.yaml (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/hwmon/lltc,ltc2978.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Octal Digital Power-supply monitor/supervisor/sequencer/margin controller.
8
9maintainers:
10  - Frank Li <Frank.Li@nxp.com>
11
12properties:
13  compatible:
14    enum:
15      - lltc,ltc2972
16      - lltc,ltc2974
17      - lltc,ltc2975
18      - lltc,ltc2977
19      - lltc,ltc2978
20      - lltc,ltc2979
21      - lltc,ltc2980
22      - lltc,ltc3880
23      - lltc,ltc3882
24      - lltc,ltc3883
25      - lltc,ltc3884
26      - lltc,ltc3886
27      - lltc,ltc3887
28      - lltc,ltc3889
29      - lltc,ltc7880
30      - lltc,ltm2987
31      - lltc,ltm4664
32      - lltc,ltm4675
33      - lltc,ltm4676
34      - lltc,ltm4677
35      - lltc,ltm4678
36      - lltc,ltm4680
37      - lltc,ltm4686
38      - lltc,ltm4700
39
40  reg:
41    maxItems: 1
42
43  regulators:
44    type: object
45    description: |
46      list of regulators provided by this controller.
47      Valid names of regulators depend on number of supplies supported per device:
48      * ltc2972 vout0 - vout1
49      * ltc2974, ltc2975 : vout0 - vout3
50      * ltc2977, ltc2979, ltc2980, ltm2987 : vout0 - vout7
51      * ltc2978 : vout0 - vout7
52      * ltc3880, ltc3882, ltc3884, ltc3886, ltc3887, ltc3889 : vout0 - vout1
53      * ltc7880 : vout0 - vout1
54      * ltc3883 : vout0
55      * ltm4664 : vout0 - vout1
56      * ltm4675, ltm4676, ltm4677, ltm4678 : vout0 - vout1
57      * ltm4680, ltm4686 : vout0 - vout1
58      * ltm4700 : vout0 - vout1
59
60    patternProperties:
61      "^vout[0-7]$":
62        $ref: /schemas/regulator/regulator.yaml#
63        type: object
64        unevaluatedProperties: false
65
66    additionalProperties: false
67
68required:
69  - compatible
70  - reg
71
72additionalProperties: false
73
74examples:
75  - |
76    i2c {
77        #address-cells = <1>;
78        #size-cells = <0>;
79
80        regulator@5e {
81            compatible = "lltc,ltc2978";
82            reg = <0x5e>;
83
84            regulators {
85                vout0 {
86                     regulator-name = "FPGA-2.5V";
87                };
88                vout2 {
89                     regulator-name = "FPGA-1.5V";
90                };
91            };
92        };
93    };
94
95