WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / regulator / max8660.yaml
blob9c038698f8804b25032cb5640da3cab8a1eaa4d4
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#
7 title: Maxim MAX8660 voltage regulator
9 maintainers:
10   - Daniel Mack <zonque@gmail.com>
12 properties:
13   $nodename:
14     pattern: "pmic@[0-9a-f]{1,2}"
15   compatible:
16     enum:
17       - maxim,max8660
18       - maxim,max8661
20   reg:
21     maxItems: 1
23   regulators:
24     type: object
26     patternProperties:
27       "regulator-.+":
28         $ref: "regulator.yaml#"
30     additionalProperties: false
32 additionalProperties: false
34 examples:
35   - |
36     i2c {
37       #address-cells = <1>;
38       #size-cells = <0>;
40       pmic@34 {
41         compatible = "maxim,max8660";
42         reg = <0x34>;
44         regulators {
45           regulator-V3 {
46             regulator-compatible= "V3(DCDC)";
47             regulator-min-microvolt = <725000>;
48             regulator-max-microvolt = <1800000>;
49           };
51           regulator-V4 {
52             regulator-compatible= "V4(DCDC)";
53             regulator-min-microvolt = <725000>;
54             regulator-max-microvolt = <1800000>;
55           };
57           regulator-V5 {
58             regulator-compatible= "V5(LDO)";
59             regulator-min-microvolt = <1700000>;
60             regulator-max-microvolt = <2000000>;
61           };
63           regulator-V6 {
64             regulator-compatible= "V6(LDO)";
65             regulator-min-microvolt = <1800000>;
66             regulator-max-microvolt = <3300000>;
67           };
69           regulator-V7 {
70             regulator-compatible= "V7(LDO)";
71             regulator-min-microvolt = <1800000>;
72             regulator-max-microvolt = <3300000>;
73           };
74         };
75       };
76     };
77 ...