xref: /freebsd/sys/contrib/device-tree/Bindings/regulator/maxim,max77826.yaml (revision cab6a39d7b343596a5823e65c0f7b426551ec22d)
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
34      "^BUCK|BUCKBOOST$":
35        type: object
36        $ref: regulator.yaml#
37
38    additionalProperties: false
39
40required:
41  - compatible
42  - reg
43  - regulators
44
45additionalProperties: false
46
47examples:
48  - |
49    i2c {
50        #address-cells = <1>;
51        #size-cells = <0>;
52
53        pmic@69 {
54            compatible = "maxim,max77826";
55            reg = <0x69>;
56
57            regulators {
58                LDO2 {
59                    regulator-min-microvolt = <650000>;
60                    regulator-max-microvolt = <3587500>;
61                };
62            };
63       };
64     };
65...
66