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,max77686.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Maxim MAX77686 Power Management IC regulators
8
9maintainers:
10  - Chanwoo Choi <cw00.choi@samsung.com>
11  - Krzysztof Kozlowski <krzk@kernel.org>
12
13description: |
14  This is a part of device tree bindings for Maxim MAX77686 Power Management
15  Integrated Circuit (PMIC).
16
17  The Maxim MAX77686 provides high-efficiency Buck and 26 Low-DropOut (LDO)
18  regulators.
19
20  See also Documentation/devicetree/bindings/mfd/maxim,max77686.yaml for
21  additional information and example.
22
23patternProperties:
24  # 26 LDOs
25  "^LDO([1-9]|1[0-9]|2[3-6])$":
26    type: object
27    $ref: regulator.yaml#
28    unevaluatedProperties: false
29    description: |
30      Properties for single LDO regulator.
31      Regulators which can be turned off during system suspend:
32        LDO2, LDO6-8, LDO10-12, LDO14-16
33
34    required:
35      - regulator-name
36
37  # LDO20-LDO22 with maxim,ena-gpios
38  "^LDO2[0-2]$":
39    type: object
40    $ref: regulator.yaml#
41    unevaluatedProperties: false
42    description: |
43      Properties for single LDO regulator.
44
45    properties:
46      maxim,ena-gpios:
47        maxItems: 1
48        description: |
49          GPIO specifier to enable the GPIO control (on/off) for regulator.
50
51    required:
52      - regulator-name
53
54  # 9 bucks
55  "^BUCK[1-7]$":
56    type: object
57    $ref: regulator.yaml#
58    unevaluatedProperties: false
59    description: |
60      Properties for single BUCK regulator.
61      Regulators which can be turned off during system suspend:
62      BUCK[1-4]
63
64    required:
65      - regulator-name
66
67  "^BUCK[89]$":
68    type: object
69    $ref: regulator.yaml#
70    unevaluatedProperties: false
71    description: |
72      Properties for single BUCK regulator.
73
74    properties:
75      maxim,ena-gpios:
76        maxItems: 1
77        description: |
78          GPIO specifier to enable the GPIO control (on/off) for regulator.
79
80    required:
81      - regulator-name
82
83additionalProperties: false
84