File tree Expand file tree Collapse file tree 1 file changed +69
-0
lines changed
Documentation/devicetree/bindings/regulator Expand file tree Collapse file tree 1 file changed +69
-0
lines changed Original file line number Diff line number Diff line change
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 <[email protected] >
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
+ additionalProperties : false
43
+
44
+ required :
45
+ - compatible
46
+ - reg
47
+ - regulators
48
+
49
+ additionalProperties : false
50
+
51
+ examples :
52
+ - |
53
+ i2c {
54
+ #address-cells = <1>;
55
+ #size-cells = <0>;
56
+
57
+ pmic@69 {
58
+ compatible = "maxim,max77826";
59
+ reg = <0x69>;
60
+
61
+ regulators {
62
+ LDO2 {
63
+ regulator-min-microvolt = <650000>;
64
+ regulator-max-microvolt = <3587500>;
65
+ };
66
+ };
67
+ };
68
+ };
69
+ ...
You can’t perform that action at this time.
0 commit comments