WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / regulator / maxim,max77826.yaml
blob78c0b63243f7c8c14813b53fb19f77b046efbdb1
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#
7 title: Maxim Integrated MAX77826 PMIC
9 maintainers:
10   - Iskren Chernev <iskren.chernev@gmail.com>
12 properties:
13   $nodename:
14     pattern: "pmic@[0-9a-f]{1,2}"
15   compatible:
16     enum:
17       - maxim,max77826
19   reg:
20     maxItems: 1
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
29     patternProperties:
30       "^LDO([1-9]|1[0-5])$":
31         type: object
32         $ref: regulator.yaml#
34       "^BUCK|BUCKBOOST$":
35         type: object
36         $ref: regulator.yaml#
38     additionalProperties: false
40 required:
41   - compatible
42   - reg
43   - regulators
45 additionalProperties: false
47 examples:
48   - |
49     i2c {
50         #address-cells = <1>;
51         #size-cells = <0>;
53         pmic@69 {
54             compatible = "maxim,max77826";
55             reg = <0x69>;
57             regulators {
58                 LDO2 {
59                     regulator-min-microvolt = <650000>;
60                     regulator-max-microvolt = <3587500>;
61                 };
62             };
63        };
64      };
65 ...