xref: /freebsd/sys/contrib/device-tree/Bindings/regulator/maxim,max14577.yaml (revision c9ccf3a32da427475985b85d7df023ccfb138c27)
1*c9ccf3a3SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*c9ccf3a3SEmmanuel Vadot%YAML 1.2
3*c9ccf3a3SEmmanuel Vadot---
4*c9ccf3a3SEmmanuel Vadot$id: http://devicetree.org/schemas/regulator/maxim,max14577.yaml#
5*c9ccf3a3SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*c9ccf3a3SEmmanuel Vadot
7*c9ccf3a3SEmmanuel Vadottitle: Maxim MAX14577/MAX77836 MicroUSB and Companion Power Management IC regulators
8*c9ccf3a3SEmmanuel Vadot
9*c9ccf3a3SEmmanuel Vadotmaintainers:
10*c9ccf3a3SEmmanuel Vadot  - Krzysztof Kozlowski <krzk@kernel.org>
11*c9ccf3a3SEmmanuel Vadot
12*c9ccf3a3SEmmanuel Vadotdescription: |
13*c9ccf3a3SEmmanuel Vadot  This is a part of device tree bindings for Maxim MAX14577/MAX77836 MicroUSB
14*c9ccf3a3SEmmanuel Vadot  Integrated Circuit (MUIC).
15*c9ccf3a3SEmmanuel Vadot
16*c9ccf3a3SEmmanuel Vadot  See also Documentation/devicetree/bindings/mfd/maxim,max14577.yaml for
17*c9ccf3a3SEmmanuel Vadot  additional information and example.
18*c9ccf3a3SEmmanuel Vadot
19*c9ccf3a3SEmmanuel Vadotproperties:
20*c9ccf3a3SEmmanuel Vadot  compatible:
21*c9ccf3a3SEmmanuel Vadot    enum:
22*c9ccf3a3SEmmanuel Vadot      - maxim,max14577-regulator
23*c9ccf3a3SEmmanuel Vadot      - maxim,max77836-regulator
24*c9ccf3a3SEmmanuel Vadot
25*c9ccf3a3SEmmanuel Vadot  CHARGER:
26*c9ccf3a3SEmmanuel Vadot    type: object
27*c9ccf3a3SEmmanuel Vadot    $ref: regulator.yaml#
28*c9ccf3a3SEmmanuel Vadot    unevaluatedProperties: false
29*c9ccf3a3SEmmanuel Vadot    description: |
30*c9ccf3a3SEmmanuel Vadot      Current regulator.
31*c9ccf3a3SEmmanuel Vadot
32*c9ccf3a3SEmmanuel Vadot    properties:
33*c9ccf3a3SEmmanuel Vadot      regulator-min-microvolt: false
34*c9ccf3a3SEmmanuel Vadot      regulator-max-microvolt: false
35*c9ccf3a3SEmmanuel Vadot
36*c9ccf3a3SEmmanuel Vadot  SAFEOUT:
37*c9ccf3a3SEmmanuel Vadot    type: object
38*c9ccf3a3SEmmanuel Vadot    $ref: regulator.yaml#
39*c9ccf3a3SEmmanuel Vadot    unevaluatedProperties: false
40*c9ccf3a3SEmmanuel Vadot    description: |
41*c9ccf3a3SEmmanuel Vadot      Safeout LDO regulator (fixed voltage).
42*c9ccf3a3SEmmanuel Vadot
43*c9ccf3a3SEmmanuel Vadot    properties:
44*c9ccf3a3SEmmanuel Vadot      regulator-min-microamp: false
45*c9ccf3a3SEmmanuel Vadot      regulator-max-microamp: false
46*c9ccf3a3SEmmanuel Vadot      regulator-min-microvolt:
47*c9ccf3a3SEmmanuel Vadot        const: 4900000
48*c9ccf3a3SEmmanuel Vadot      regulator-max-microvolt:
49*c9ccf3a3SEmmanuel Vadot        const: 4900000
50*c9ccf3a3SEmmanuel Vadot
51*c9ccf3a3SEmmanuel VadotpatternProperties:
52*c9ccf3a3SEmmanuel Vadot  "^LDO[12]$":
53*c9ccf3a3SEmmanuel Vadot    type: object
54*c9ccf3a3SEmmanuel Vadot    $ref: regulator.yaml#
55*c9ccf3a3SEmmanuel Vadot    unevaluatedProperties: false
56*c9ccf3a3SEmmanuel Vadot    description: |
57*c9ccf3a3SEmmanuel Vadot      Current regulator.
58*c9ccf3a3SEmmanuel Vadot
59*c9ccf3a3SEmmanuel Vadot    properties:
60*c9ccf3a3SEmmanuel Vadot      regulator-min-microamp: false
61*c9ccf3a3SEmmanuel Vadot      regulator-max-microamp: false
62*c9ccf3a3SEmmanuel Vadot      regulator-min-microvolt:
63*c9ccf3a3SEmmanuel Vadot        minimum: 800000
64*c9ccf3a3SEmmanuel Vadot      regulator-max-microvolt:
65*c9ccf3a3SEmmanuel Vadot        maximum: 3950000
66*c9ccf3a3SEmmanuel Vadot
67*c9ccf3a3SEmmanuel VadotallOf:
68*c9ccf3a3SEmmanuel Vadot  - if:
69*c9ccf3a3SEmmanuel Vadot      properties:
70*c9ccf3a3SEmmanuel Vadot        compatible:
71*c9ccf3a3SEmmanuel Vadot          contains:
72*c9ccf3a3SEmmanuel Vadot            const: maxim,max14577-regulator
73*c9ccf3a3SEmmanuel Vadot    then:
74*c9ccf3a3SEmmanuel Vadot      properties:
75*c9ccf3a3SEmmanuel Vadot        LDO1: false
76*c9ccf3a3SEmmanuel Vadot        LDO2: false
77*c9ccf3a3SEmmanuel Vadot
78*c9ccf3a3SEmmanuel VadotadditionalProperties: false
79