]> git.ipfire.org Git - thirdparty/linux.git/blob - Documentation/devicetree/bindings/regulator/maxim,max77826.yaml
Merge tag 'x86-fpu-2020-06-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
[thirdparty/linux.git] / Documentation / devicetree / bindings / regulator / maxim,max77826.yaml
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
7 title: Maxim Integrated MAX77826 PMIC
8
9 maintainers:
10 - Iskren Chernev <iskren.chernev@gmail.com>
11
12 properties:
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 allOf:
25 - $ref: regulator.yaml#
26 description: |
27 list of regulators provided by this controller, must be named
28 after their hardware counterparts LDO[1-15], BUCK and BUCKBOOST
29
30 patternProperties:
31 "^LDO([1-9]|1[0-5])$":
32 type: object
33 allOf:
34 - $ref: regulator.yaml#
35
36 "^BUCK|BUCKBOOST$":
37 type: object
38 allOf:
39 - $ref: regulator.yaml#
40
41 additionalProperties: false
42
43 required:
44 - compatible
45 - reg
46 - regulators
47
48 additionalProperties: false
49
50 examples:
51 - |
52 i2c {
53 #address-cells = <1>;
54 #size-cells = <0>;
55
56 pmic@69 {
57 compatible = "maxim,max77826";
58 reg = <0x69>;
59
60 regulators {
61 LDO2 {
62 regulator-min-microvolt = <650000>;
63 regulator-max-microvolt = <3587500>;
64 };
65 };
66 };
67 };
68 ...