summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/regulator/maxim,max20411.yaml
blob: 5b3a42d24e516a7fa4e2cb43d983bd7bb1ba9c65 (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
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/maxim,max20411.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Maxim Integrated MAX20411 Step-Down DC-DC Converter

maintainers:
  - Bjorn Andersson <andersson@kernel.org>

description:
  The MAX20411 is a high-efficiency, DC-DC step-down converter. It provides
  configurable output voltage in the range of 0.5V to 1.275V, configurable over
  I2C.

allOf:
  - $ref: regulator.yaml#

properties:
  compatible:
    const: maxim,max20411

  reg:
    maxItems: 1

  enable-gpios:
    description: GPIO connected to the EN pin, active high

  vdd-supply:
    description: Input supply for the device (VDD pin, 3.0V to 5.5V)

required:
  - compatible
  - reg
  - enable-gpios

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>

    i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        regulator@39 {
            compatible = "maxim,max20411";
            reg = <0x39>;

            enable-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;

            regulator-min-microvolt = <800000>;
            regulator-max-microvolt = <1000000>;
        };
    };
...