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