xref: /linux/Documentation/devicetree/bindings/regulator/mediatek,mt6311-regulator.yaml (revision 9611c0ce215a66770ccbe5c126bf57ba8c31bcad)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/regulator/mediatek,mt6311-regulator.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: MediaTek MT6311 Regulator
8
9maintainers:
10  - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
11
12description:
13  The MediaTek MT6311 is an I2C power management IC that provides one step-down
14  converter and one low-dropout regulator. The regulators are named VDVFS and
15  VBIASN, respectively.
16
17properties:
18  compatible:
19    const: mediatek,mt6311-regulator
20
21  reg:
22    description: I2C slave address.
23    maxItems: 1
24
25  regulators:
26    type: object
27    description: List of regulators provided by this controller.
28
29    patternProperties:
30      "^(VDVFS|VBIASN)$":
31        type: object
32        $ref: regulator.yaml#
33        unevaluatedProperties: false
34
35    additionalProperties: false
36
37required:
38  - compatible
39  - reg
40  - regulators
41
42additionalProperties: false
43
44examples:
45  - |
46    i2c {
47      #address-cells = <1>;
48      #size-cells = <0>;
49
50      pmic@6b {
51        compatible = "mediatek,mt6311-regulator";
52        reg = <0x6b>;
53
54        regulators {
55          VDVFS {
56            regulator-name = "VDVFS";
57            regulator-min-microvolt = <600000>;
58            regulator-max-microvolt = <1400000>;
59            regulator-ramp-delay = <10000>;
60          };
61
62          VBIASN {
63            regulator-name = "VBIASN";
64            regulator-min-microvolt = <200000>;
65            regulator-max-microvolt = <800000>;
66          };
67        };
68      };
69    };
70...
71