GNU Linux-libre 6.8.9-gnu
[releases.git] / Documentation / devicetree / bindings / regulator / maxim,max14577.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,max14577.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Maxim MAX14577/MAX77836 MicroUSB and Companion Power Management IC regulators
8
9 maintainers:
10   - Krzysztof Kozlowski <krzk@kernel.org>
11
12 description: |
13   This is a part of device tree bindings for Maxim MAX14577/MAX77836 MicroUSB
14   Integrated Circuit (MUIC).
15
16   See also Documentation/devicetree/bindings/mfd/maxim,max14577.yaml for
17   additional information and example.
18
19 properties:
20   compatible:
21     enum:
22       - maxim,max14577-regulator
23       - maxim,max77836-regulator
24
25   CHARGER:
26     type: object
27     $ref: regulator.yaml#
28     unevaluatedProperties: false
29     description: |
30       Current regulator.
31
32     properties:
33       regulator-min-microvolt: false
34       regulator-max-microvolt: false
35
36   SAFEOUT:
37     type: object
38     $ref: regulator.yaml#
39     unevaluatedProperties: false
40     description: |
41       Safeout LDO regulator (fixed voltage).
42
43     properties:
44       regulator-min-microamp: false
45       regulator-max-microamp: false
46       regulator-min-microvolt:
47         const: 4900000
48       regulator-max-microvolt:
49         const: 4900000
50
51 patternProperties:
52   "^LDO[12]$":
53     type: object
54     $ref: regulator.yaml#
55     unevaluatedProperties: false
56     description: |
57       Current regulator.
58
59     properties:
60       regulator-min-microamp: false
61       regulator-max-microamp: false
62       regulator-min-microvolt:
63         minimum: 800000
64       regulator-max-microvolt:
65         maximum: 3950000
66
67 allOf:
68   - if:
69       properties:
70         compatible:
71           contains:
72             const: maxim,max14577-regulator
73     then:
74       properties:
75         LDO1: false
76         LDO2: false
77
78 additionalProperties: false