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