| 1 |
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/regulator/mediatek,mt6332-regulator.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: MT6332 Regulator from MediaTek Integrated |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- AngeloGioacchino Del Regno <[email protected]> |
| 11 |
|
| 12 |
description: | |
| 13 |
The MT6332 Companion PMIC provides 6 BUCK and 4 LDO (Low Dropout) |
| 14 |
regulators and nodes are named according to the regulator type: |
| 15 |
buck-<name> and ldo-<name>. |
| 16 |
MT6332 regulators node should be sub node of the MT6397 MFD node. |
| 17 |
|
| 18 |
properties: |
| 19 |
compatible: |
| 20 |
const: mediatek,mt6332-regulator |
| 21 |
|
| 22 |
patternProperties: |
| 23 |
"^buck-v(dram|dvfs2|pa|rf18a|rf18b|sbst)$": |
| 24 |
type: object |
| 25 |
$ref: regulator.yaml# |
| 26 |
|
| 27 |
properties: |
| 28 |
regulator-name: |
| 29 |
pattern: "^v(dram|dvfs2|pa|rf18a|rf18b|sbst)$" |
| 30 |
|
| 31 |
unevaluatedProperties: false |
| 32 |
|
| 33 |
"^ldo-v(bif28|dig18|sram|usb33)$": |
| 34 |
type: object |
| 35 |
$ref: regulator.yaml# |
| 36 |
|
| 37 |
properties: |
| 38 |
regulator-name: |
| 39 |
pattern: "^v(bif28|dig18|sram|usb33)$" |
| 40 |
|
| 41 |
unevaluatedProperties: false |
| 42 |
|
| 43 |
required: |
| 44 |
- compatible |
| 45 |
|
| 46 |
additionalProperties: false |
| 47 |
|
| 48 |
examples: |
| 49 |
- | |
| 50 |
pmic { |
| 51 |
regulators { |
| 52 |
mt6332_vdram_reg: buck-vdram { |
| 53 |
regulator-name = "vdram"; |
| 54 |
regulator-min-microvolt = <700000>; |
| 55 |
regulator-max-microvolt = <1493750>; |
| 56 |
regulator-ramp-delay = <12500>; |
| 57 |
regulator-allowed-modes = <0 1>; |
| 58 |
regulator-always-on; |
| 59 |
}; |
| 60 |
mt6332_vdvfs2_reg: buck-vdvfs2 { |
| 61 |
regulator-name = "vdvfs2"; |
| 62 |
regulator-min-microvolt = <700000>; |
| 63 |
regulator-max-microvolt = <1312500>; |
| 64 |
regulator-ramp-delay = <12500>; |
| 65 |
regulator-enable-ramp-delay = <1>; |
| 66 |
regulator-allowed-modes = <0 1>; |
| 67 |
}; |
| 68 |
mt6332_vpa_reg: buck-vpa { |
| 69 |
regulator-name = "vpa"; |
| 70 |
regulator-min-microvolt = <500000>; |
| 71 |
regulator-max-microvolt = <3400000>; |
| 72 |
}; |
| 73 |
mt6332_vrf18a_reg: buck-vrf18a { |
| 74 |
regulator-name = "vrf18a"; |
| 75 |
regulator-min-microvolt = <1050000>; |
| 76 |
regulator-max-microvolt = <2240625>; |
| 77 |
regulator-allowed-modes = <0 1>; |
| 78 |
}; |
| 79 |
mt6332_vrf18b_reg: buck-vrf18b { |
| 80 |
regulator-name = "vrf18b"; |
| 81 |
regulator-min-microvolt = <1050000>; |
| 82 |
regulator-max-microvolt = <2240625>; |
| 83 |
regulator-allowed-modes = <0 1>; |
| 84 |
}; |
| 85 |
mt6332_vsbst_reg: buck-vsbst { |
| 86 |
regulator-name = "vsbst"; |
| 87 |
regulator-min-microvolt = <3500000>; |
| 88 |
regulator-max-microvolt = <7468750>; |
| 89 |
}; |
| 90 |
mt6332_vauxb32_reg: ldo-vauxb32 { |
| 91 |
regulator-name = "vauxb32"; |
| 92 |
regulator-min-microvolt = <2800000>; |
| 93 |
regulator-max-microvolt = <3200000>; |
| 94 |
}; |
| 95 |
mt6332_vbif28_reg: ldo-vbif28 { |
| 96 |
regulator-name = "vbif28"; |
| 97 |
regulator-min-microvolt = <2800000>; |
| 98 |
regulator-max-microvolt = <2800000>; |
| 99 |
}; |
| 100 |
mt6332_vdig18_reg: ldo-vdig18 { |
| 101 |
regulator-name = "vdig18"; |
| 102 |
regulator-min-microvolt = <1200000>; |
| 103 |
regulator-max-microvolt = <1800000>; |
| 104 |
regulator-always-on; |
| 105 |
}; |
| 106 |
mt6332_vsram_reg: ldo-vsram { |
| 107 |
regulator-name = "vauxa32"; |
| 108 |
regulator-min-microvolt = <700000>; |
| 109 |
regulator-max-microvolt = <1493750>; |
| 110 |
regulator-always-on; |
| 111 |
}; |
| 112 |
mt6332_vusb33_reg: ldo-vusb33 { |
| 113 |
regulator-name = "vusb33"; |
| 114 |
regulator-min-microvolt = <3300000>; |
| 115 |
regulator-max-microvolt = <3300000>; |
| 116 |
}; |
| 117 |
}; |
| 118 |
}; |
| 119 |
... |