1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/regulator/mps,mpq7932.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Monolithic Power System MPQ7932 PMIC
8
9maintainers:
10  - Saravanan Sekar <saravanan@linumiz.com>
11
12properties:
13  compatible:
14    enum:
15      - mps,mpq7932
16
17  reg:
18    maxItems: 1
19
20  regulators:
21    type: object
22    description: |
23      list of regulators provided by this controller, must be named
24      after their hardware counterparts BUCK[1-6]
25
26    patternProperties:
27      "^buck[1-6]$":
28        type: object
29        $ref: regulator.yaml#
30        unevaluatedProperties: false
31
32    additionalProperties: false
33
34required:
35  - compatible
36  - reg
37  - regulators
38
39additionalProperties: false
40
41examples:
42  - |
43    i2c {
44        #address-cells = <1>;
45        #size-cells = <0>;
46
47        pmic@3 {
48            compatible = "mps,mpq7932";
49            reg = <0x3>;
50
51            regulators {
52                buck1 {
53                    regulator-name = "buck1";
54                    regulator-min-microvolt = <1600000>;
55                    regulator-max-microvolt = <1800000>;
56                    regulator-boot-on;
57                };
58
59                buck2 {
60                    regulator-name = "buck2";
61                    regulator-min-microvolt = <1700000>;
62                    regulator-max-microvolt = <1800000>;
63                    regulator-boot-on;
64                };
65            };
66        };
67    };
68...
69