Merge tag 'drm-next-2019-07-19' of git://anongit.freedesktop.org/drm/drm
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / regulator / max8660.yaml
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/regulator/max8660.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Maxim MAX8660 voltage regulator
8
9 maintainers:
10   - Daniel Mack <zonque@gmail.com>
11
12 properties:
13   $nodename:
14     pattern: "pmic@[0-9a-f]{1,2}"
15   compatible:
16     enum:
17       - maxim,max8660
18       - maxim,max8661
19
20   reg:
21     maxItems: 1
22
23   regulators:
24     type: object
25
26     patternProperties:
27       "regulator-.+":
28         $ref: "regulator.yaml#"
29
30     additionalProperties: false
31
32 additionalProperties: false
33
34 examples:
35   - |
36     i2c {
37       #address-cells = <1>;
38       #size-cells = <0>;
39
40       pmic@34 {
41         compatible = "maxim,max8660";
42         reg = <0x34>;
43
44         regulators {
45           regulator-V3 {
46             regulator-compatible= "V3(DCDC)";
47             regulator-min-microvolt = <725000>;
48             regulator-max-microvolt = <1800000>;
49           };
50
51           regulator-V4 {
52             regulator-compatible= "V4(DCDC)";
53             regulator-min-microvolt = <725000>;
54             regulator-max-microvolt = <1800000>;
55           };
56
57           regulator-V5 {
58             regulator-compatible= "V5(LDO)";
59             regulator-min-microvolt = <1700000>;
60             regulator-max-microvolt = <2000000>;
61           };
62
63           regulator-V6 {
64             regulator-compatible= "V6(LDO)";
65             regulator-min-microvolt = <1800000>;
66             regulator-max-microvolt = <3300000>;
67           };
68
69           regulator-V7 {
70             regulator-compatible= "V7(LDO)";
71             regulator-min-microvolt = <1800000>;
72             regulator-max-microvolt = <3300000>;
73           };
74         };
75       };
76     };
77 ...