xref: /linux/Documentation/devicetree/bindings/hwmon/lltc,ltc2978.yaml (revision cdd30ebb1b9f36159d66f088b61aee264e649d7a)
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,ltc7841
30      - lltc,ltc7880
31      - lltc,ltm2987
32      - lltc,ltm4664
33      - lltc,ltm4675
34      - lltc,ltm4676
35      - lltc,ltm4677
36      - lltc,ltm4678
37      - lltc,ltm4680
38      - lltc,ltm4686
39      - lltc,ltm4700
40
41  reg:
42    maxItems: 1
43
44  regulators:
45    type: object
46    description: |
47      list of regulators provided by this controller.
48      Valid names of regulators depend on number of supplies supported per device:
49      * ltc2972 vout0 - vout1
50      * ltc2974, ltc2975 : vout0 - vout3
51      * ltc2977, ltc2979, ltc2980, ltm2987 : vout0 - vout7
52      * ltc2978 : vout0 - vout7
53      * ltc3880, ltc3882, ltc3884, ltc3886, ltc3887, ltc3889 : vout0 - vout1
54      * ltc7841 : vout0
55      * ltc7880 : vout0 - vout1
56      * ltc3883 : vout0
57      * ltm4664 : vout0 - vout1
58      * ltm4675, ltm4676, ltm4677, ltm4678 : vout0 - vout1
59      * ltm4680, ltm4686 : vout0 - vout1
60      * ltm4700 : vout0 - vout1
61
62    patternProperties:
63      "^vout[0-7]$":
64        $ref: /schemas/regulator/regulator.yaml#
65        type: object
66        unevaluatedProperties: false
67
68    additionalProperties: false
69
70required:
71  - compatible
72  - reg
73
74additionalProperties: false
75
76examples:
77  - |
78    i2c {
79        #address-cells = <1>;
80        #size-cells = <0>;
81
82        regulator@5e {
83            compatible = "lltc,ltc2978";
84            reg = <0x5e>;
85
86            regulators {
87                vout0 {
88                     regulator-name = "FPGA-2.5V";
89                };
90                vout2 {
91                     regulator-name = "FPGA-1.5V";
92                };
93            };
94        };
95    };
96
97