xref: /freebsd/sys/contrib/device-tree/Bindings/regulator/maxim,max77826.yaml (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/regulator/maxim,max77826.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Maxim Integrated MAX77826 PMIC
8
9maintainers:
10  - Iskren Chernev <iskren.chernev@gmail.com>
11
12properties:
13  $nodename:
14    pattern: "pmic@[0-9a-f]{1,2}"
15  compatible:
16    enum:
17      - maxim,max77826
18
19  reg:
20    maxItems: 1
21
22  regulators:
23    type: object
24    $ref: regulator.yaml#
25    description: |
26      list of regulators provided by this controller, must be named
27      after their hardware counterparts LDO[1-15], BUCK and BUCKBOOST
28
29    patternProperties:
30      "^LDO([1-9]|1[0-5])$":
31        type: object
32        $ref: regulator.yaml#
33        unevaluatedProperties: false
34
35      "^BUCK|BUCKBOOST$":
36        type: object
37        $ref: regulator.yaml#
38        unevaluatedProperties: false
39
40    additionalProperties: false
41
42required:
43  - compatible
44  - reg
45  - regulators
46
47additionalProperties: false
48
49examples:
50  - |
51    i2c {
52        #address-cells = <1>;
53        #size-cells = <0>;
54
55        pmic@69 {
56            compatible = "maxim,max77826";
57            reg = <0x69>;
58
59            regulators {
60                LDO2 {
61                    regulator-min-microvolt = <650000>;
62                    regulator-max-microvolt = <3587500>;
63                };
64            };
65       };
66     };
67...
68