summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/regulator/maxim,max14577.yaml
blob: 16f01886a60143ae3b5ecd85f5a535d0ccd00b06 (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
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/maxim,max14577.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Maxim MAX14577/MAX77836 MicroUSB and Companion Power Management IC regulators

maintainers:
  - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>

description: |
  This is a part of device tree bindings for Maxim MAX14577/MAX77836 MicroUSB
  Integrated Circuit (MUIC).

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

properties:
  compatible:
    enum:
      - maxim,max14577-regulator
      - maxim,max77836-regulator

  CHARGER:
    type: object
    $ref: regulator.yaml#
    unevaluatedProperties: false
    description: |
      Current regulator.

    properties:
      regulator-min-microvolt: false
      regulator-max-microvolt: false

  SAFEOUT:
    type: object
    $ref: regulator.yaml#
    unevaluatedProperties: false
    description: |
      Safeout LDO regulator (fixed voltage).

    properties:
      regulator-min-microamp: false
      regulator-max-microamp: false
      regulator-min-microvolt:
        const: 4900000
      regulator-max-microvolt:
        const: 4900000

patternProperties:
  "^LDO[12]$":
    type: object
    $ref: regulator.yaml#
    unevaluatedProperties: false
    description: |
      Current regulator.

    properties:
      regulator-min-microamp: false
      regulator-max-microamp: false
      regulator-min-microvolt:
        minimum: 800000
      regulator-max-microvolt:
        maximum: 3950000

allOf:
  - if:
      properties:
        compatible:
          contains:
            const: maxim,max14577-regulator
    then:
      properties:
        LDO1: false
        LDO2: false

additionalProperties: false