xref: /freebsd/sys/contrib/device-tree/Bindings/regulator/maxim,max20411.yaml (revision a90b9d0159070121c221b966469c3e36d912bf82)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/regulator/maxim,max20411.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Maxim Integrated MAX20411 Step-Down DC-DC Converter
8
9maintainers:
10  - Bjorn Andersson <andersson@kernel.org>
11
12description:
13  The MAX20411 is a high-efficiency, DC-DC step-down converter. It provides
14  configurable output voltage in the range of 0.5V to 1.275V, configurable over
15  I2C.
16
17allOf:
18  - $ref: regulator.yaml#
19
20properties:
21  compatible:
22    const: maxim,max20411
23
24  reg:
25    maxItems: 1
26
27  enable-gpios:
28    description: GPIO connected to the EN pin, active high
29
30  vdd-supply:
31    description: Input supply for the device (VDD pin, 3.0V to 5.5V)
32
33required:
34  - compatible
35  - reg
36  - enable-gpios
37
38unevaluatedProperties: false
39
40examples:
41  - |
42    #include <dt-bindings/gpio/gpio.h>
43
44    i2c {
45        #address-cells = <1>;
46        #size-cells = <0>;
47
48        regulator@39 {
49            compatible = "maxim,max20411";
50            reg = <0x39>;
51
52            enable-gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
53
54            regulator-min-microvolt = <800000>;
55            regulator-max-microvolt = <1000000>;
56        };
57    };
58...
59