summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/regulator/maxim,max77686.yaml
blob: 0e7cd4b3ace019dd0c7f3c2b68058872c4feba1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/maxim,max77686.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Maxim MAX77686 Power Management IC regulators

maintainers:
  - Chanwoo Choi <cw00.choi@samsung.com>
  - Krzysztof Kozlowski <krzk@kernel.org>

description: |
  This is a part of device tree bindings for Maxim MAX77686 Power Management
  Integrated Circuit (PMIC).

  The Maxim MAX77686 provides high-efficiency Buck and 26 Low-DropOut (LDO)
  regulators.

  See also Documentation/devicetree/bindings/mfd/maxim,max77686.yaml for
  additional information and example.

patternProperties:
  # 26 LDOs
  "^LDO([1-9]|1[0-9]|2[3-6])$":
    type: object
    $ref: regulator.yaml#
    unevaluatedProperties: false
    description: |
      Properties for single LDO regulator.
      Regulators which can be turned off during system suspend:
        LDO2, LDO6-8, LDO10-12, LDO14-16

    required:
      - regulator-name

  # LDO20-LDO22 with maxim,ena-gpios
  "^LDO2[0-2]$":
    type: object
    $ref: regulator.yaml#
    unevaluatedProperties: false
    description: |
      Properties for single LDO regulator.

    properties:
      maxim,ena-gpios:
        maxItems: 1
        description: |
          GPIO specifier to enable the GPIO control (on/off) for regulator.

    required:
      - regulator-name

  # 9 bucks
  "^BUCK[1-7]$":
    type: object
    $ref: regulator.yaml#
    unevaluatedProperties: false
    description: |
      Properties for single BUCK regulator.
      Regulators which can be turned off during system suspend:
      BUCK[1-4]

    required:
      - regulator-name

  "^BUCK[89]$":
    type: object
    $ref: regulator.yaml#
    unevaluatedProperties: false
    description: |
      Properties for single BUCK regulator.

    properties:
      maxim,ena-gpios:
        maxItems: 1
        description: |
          GPIO specifier to enable the GPIO control (on/off) for regulator.

    required:
      - regulator-name

additionalProperties: false