blob: 6317daf76d1fbecacda7256340d55d2983af7bd2 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/regulator/mt6315-regulator.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Mediatek MT6315 Regulator
8
9maintainers:
10 - Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
11
12description: |
13 The MT6315 is a power management IC (PMIC) configurable with SPMI.
14 that contains 4 BUCKs output which can combine with each other
15 by different efuse settings.
16
17properties:
18 compatible:
19 const: mediatek,mt6315-regulator
20
21 reg:
22 maxItems: 1
23
24 regulators:
25 type: object
26 description: List of regulators and its properties
27
28 patternProperties:
29 "^vbuck[1-4]$":
30 type: object
31 $ref: regulator.yaml#
32 unevaluatedProperties: false
33
34 properties:
35 regulator-compatible:
36 pattern: "^vbuck[1-4]$"
37
38 additionalProperties: false
39
40required:
41 - compatible
42 - reg
43 - regulators
44
45additionalProperties: false
46
47examples:
48 - |
49 pmic@6 {
50 compatible = "mediatek,mt6315-regulator";
51 reg = <0x6 0>;
52
53 regulators {
54 vbuck1 {
55 regulator-compatible = "vbuck1";
56 regulator-min-microvolt = <300000>;
57 regulator-max-microvolt = <1193750>;
58 regulator-enable-ramp-delay = <256>;
59 regulator-allowed-modes = <0 1 2>;
60 };
61
62 vbuck3 {
63 regulator-compatible = "vbuck3";
64 regulator-min-microvolt = <300000>;
65 regulator-max-microvolt = <1193750>;
66 regulator-enable-ramp-delay = <256>;
67 regulator-allowed-modes = <0 1 2>;
68 };
69 };
70 };