| 1 |
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/regulator/mediatek,mt6331-regulator.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: MT6331 Regulator from MediaTek Integrated |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- AngeloGioacchino Del Regno <[email protected]> |
| 11 |
|
| 12 |
description: | |
| 13 |
The MT6331 PMIC provides 6 BUCK and 21 LDO (Low Dropout) regulators |
| 14 |
and nodes are named according to the regulator type: |
| 15 |
buck-<name> and ldo-<name>. |
| 16 |
MT6331 regulators node should be sub node of the MT6397 MFD node. |
| 17 |
|
| 18 |
properties: |
| 19 |
compatible: |
| 20 |
const: mediatek,mt6331-regulator |
| 21 |
|
| 22 |
patternProperties: |
| 23 |
"^buck-v(core2|io18|dvfs11|dvfs12|dvfs13|dvfs14)$": |
| 24 |
type: object |
| 25 |
$ref: regulator.yaml# |
| 26 |
|
| 27 |
properties: |
| 28 |
regulator-name: |
| 29 |
pattern: "^v(core2|io18|dvfs11|dvfs12|dvfs13|dvfs14)$" |
| 30 |
|
| 31 |
unevaluatedProperties: false |
| 32 |
|
| 33 |
"^ldo-(avdd32aud|vauxa32)$": |
| 34 |
type: object |
| 35 |
$ref: regulator.yaml# |
| 36 |
|
| 37 |
properties: |
| 38 |
regulator-name: |
| 39 |
pattern: "^(avdd32_aud|vauxa32)$" |
| 40 |
|
| 41 |
unevaluatedProperties: false |
| 42 |
|
| 43 |
"^ldo-v(dig18|emc33|ibr|io28|mc|mch|mipi|rtc|sim1|sim2|sram|usb10)$": |
| 44 |
type: object |
| 45 |
$ref: regulator.yaml# |
| 46 |
|
| 47 |
properties: |
| 48 |
regulator-name: |
| 49 |
pattern: "^v(dig18|emc33|ibr|io28|mc|mch|mipi|rtc|sim1|sim2|sram|usb)$" |
| 50 |
|
| 51 |
unevaluatedProperties: false |
| 52 |
|
| 53 |
"^ldo-vcam(a|af|d|io)$": |
| 54 |
type: object |
| 55 |
$ref: regulator.yaml# |
| 56 |
|
| 57 |
properties: |
| 58 |
regulator-name: |
| 59 |
pattern: "^vcam(a|_af|d|io)$" |
| 60 |
|
| 61 |
unevaluatedProperties: false |
| 62 |
|
| 63 |
"^ldo-vtcxo[12]$": |
| 64 |
type: object |
| 65 |
$ref: regulator.yaml# |
| 66 |
|
| 67 |
properties: |
| 68 |
regulator-name: |
| 69 |
pattern: "^vtcxo[12]$" |
| 70 |
|
| 71 |
required: |
| 72 |
- regulator-name |
| 73 |
|
| 74 |
unevaluatedProperties: false |
| 75 |
|
| 76 |
"^ldo-vgp[1234]$": |
| 77 |
type: object |
| 78 |
$ref: regulator.yaml# |
| 79 |
|
| 80 |
properties: |
| 81 |
regulator-name: |
| 82 |
pattern: "^vgp[1234]$" |
| 83 |
|
| 84 |
required: |
| 85 |
- regulator-name |
| 86 |
|
| 87 |
unevaluatedProperties: false |
| 88 |
|
| 89 |
required: |
| 90 |
- compatible |
| 91 |
|
| 92 |
additionalProperties: false |
| 93 |
|
| 94 |
examples: |
| 95 |
- | |
| 96 |
pmic { |
| 97 |
regulators { |
| 98 |
mt6331_vdvfs11_reg: buck-vdvfs11 { |
| 99 |
regulator-name = "vdvfs11"; |
| 100 |
regulator-min-microvolt = <700000>; |
| 101 |
regulator-max-microvolt = <1493750>; |
| 102 |
regulator-ramp-delay = <12500>; |
| 103 |
regulator-enable-ramp-delay = <1>; |
| 104 |
regulator-allowed-modes = <0 1>; |
| 105 |
}; |
| 106 |
mt6331_vdvfs12_reg: buck-vdvfs12 { |
| 107 |
regulator-name = "vdvfs12"; |
| 108 |
regulator-min-microvolt = <700000>; |
| 109 |
regulator-max-microvolt = <1493750>; |
| 110 |
regulator-ramp-delay = <12500>; |
| 111 |
regulator-enable-ramp-delay = <1>; |
| 112 |
regulator-allowed-modes = <0 1>; |
| 113 |
}; |
| 114 |
mt6331_vdvfs13_reg: buck-vdvfs13 { |
| 115 |
regulator-name = "vdvfs13"; |
| 116 |
regulator-min-microvolt = <700000>; |
| 117 |
regulator-max-microvolt = <1493750>; |
| 118 |
regulator-ramp-delay = <12500>; |
| 119 |
regulator-enable-ramp-delay = <1>; |
| 120 |
regulator-allowed-modes = <0 1>; |
| 121 |
}; |
| 122 |
mt6331_vdvfs14_reg: buck-vdvfs14 { |
| 123 |
regulator-name = "vdvfs14"; |
| 124 |
regulator-min-microvolt = <700000>; |
| 125 |
regulator-max-microvolt = <1493750>; |
| 126 |
regulator-ramp-delay = <12500>; |
| 127 |
regulator-enable-ramp-delay = <1>; |
| 128 |
regulator-allowed-modes = <0 1>; |
| 129 |
}; |
| 130 |
mt6331_vcore2_reg: buck-vcore2 { |
| 131 |
regulator-name = "vcore2"; |
| 132 |
regulator-min-microvolt = <700000>; |
| 133 |
regulator-max-microvolt = <1493750>; |
| 134 |
regulator-ramp-delay = <12500>; |
| 135 |
regulator-enable-ramp-delay = <1>; |
| 136 |
regulator-allowed-modes = <0 1>; |
| 137 |
}; |
| 138 |
mt6331_vio18_reg: buck-vio18 { |
| 139 |
regulator-name = "vio18"; |
| 140 |
regulator-min-microvolt = <1800000>; |
| 141 |
regulator-max-microvolt = <1800000>; |
| 142 |
regulator-ramp-delay = <12500>; |
| 143 |
regulator-enable-ramp-delay = <0>; |
| 144 |
regulator-allowed-modes = <0 1>; |
| 145 |
}; |
| 146 |
mt6331_vtcxo1_reg: ldo-vtcxo1 { |
| 147 |
regulator-name = "vtcxo1"; |
| 148 |
regulator-min-microvolt = <2800000>; |
| 149 |
regulator-max-microvolt = <2800000>; |
| 150 |
regulator-always-on; |
| 151 |
regulator-boot-on; |
| 152 |
}; |
| 153 |
mt6331_vtcxo2_reg: ldo-vtcxo2 { |
| 154 |
regulator-name = "vtcxo2"; |
| 155 |
regulator-min-microvolt = <2800000>; |
| 156 |
regulator-max-microvolt = <2800000>; |
| 157 |
regulator-always-on; |
| 158 |
regulator-boot-on; |
| 159 |
}; |
| 160 |
mt6331_avdd32_aud_reg: ldo-avdd32aud { |
| 161 |
regulator-name = "avdd32_aud"; |
| 162 |
regulator-min-microvolt = <2800000>; |
| 163 |
regulator-max-microvolt = <3200000>; |
| 164 |
}; |
| 165 |
mt6331_vauxa32_reg: ldo-vauxa32 { |
| 166 |
regulator-name = "vauxa32"; |
| 167 |
regulator-min-microvolt = <2800000>; |
| 168 |
regulator-max-microvolt = <3200000>; |
| 169 |
}; |
| 170 |
mt6331_vcama_reg: ldo-vcama { |
| 171 |
regulator-name = "vcama"; |
| 172 |
regulator-min-microvolt = <1500000>; |
| 173 |
regulator-max-microvolt = <2800000>; |
| 174 |
regulator-always-on; |
| 175 |
}; |
| 176 |
mt6331_vio28_reg: ldo-vio28 { |
| 177 |
regulator-name = "vio28"; |
| 178 |
regulator-min-microvolt = <2800000>; |
| 179 |
regulator-max-microvolt = <2800000>; |
| 180 |
regulator-always-on; |
| 181 |
regulator-boot-on; |
| 182 |
}; |
| 183 |
mt6331_vcamaf_reg: ldo-vcamaf { |
| 184 |
regulator-name = "vcam_af"; |
| 185 |
regulator-min-microvolt = <1200000>; |
| 186 |
regulator-max-microvolt = <3300000>; |
| 187 |
}; |
| 188 |
mt6331_vmc_reg: ldo-vmc { |
| 189 |
regulator-name = "vmc"; |
| 190 |
regulator-min-microvolt = <1800000>; |
| 191 |
regulator-max-microvolt = <3300000>; |
| 192 |
}; |
| 193 |
mt6331_vmch_reg: ldo-vmch { |
| 194 |
regulator-name = "vmch"; |
| 195 |
regulator-min-microvolt = <3000000>; |
| 196 |
regulator-max-microvolt = <3300000>; |
| 197 |
}; |
| 198 |
mt6331_vemc33_reg: ldo-vemc33 { |
| 199 |
regulator-name = "vemc33"; |
| 200 |
regulator-min-microvolt = <3300000>; |
| 201 |
regulator-max-microvolt = <3300000>; |
| 202 |
}; |
| 203 |
mt6331_vgp1_reg: ldo-vgp1 { |
| 204 |
regulator-name = "vgp1"; |
| 205 |
regulator-min-microvolt = <1200000>; |
| 206 |
regulator-max-microvolt = <3300000>; |
| 207 |
}; |
| 208 |
mt6331_vsim1_reg: ldo-vsim1 { |
| 209 |
regulator-name = "vsim1"; |
| 210 |
regulator-min-microvolt = <1700000>; |
| 211 |
regulator-max-microvolt = <3100000>; |
| 212 |
}; |
| 213 |
mt6331_vsim2_reg: ldo-vsim2 { |
| 214 |
regulator-name = "vsim2"; |
| 215 |
regulator-min-microvolt = <1700000>; |
| 216 |
regulator-max-microvolt = <3100000>; |
| 217 |
}; |
| 218 |
mt6331_vmipi_reg: ldo-vmipi { |
| 219 |
regulator-name = "vmipi"; |
| 220 |
regulator-min-microvolt = <1200000>; |
| 221 |
regulator-max-microvolt = <3300000>; |
| 222 |
}; |
| 223 |
mt6331_vibr_reg: ldo-vibr { |
| 224 |
regulator-name = "vibr"; |
| 225 |
regulator-min-microvolt = <1200000>; |
| 226 |
regulator-max-microvolt = <3300000>; |
| 227 |
}; |
| 228 |
mt6331_vgp4_reg: ldo-vgp4 { |
| 229 |
regulator-name = "vgp4"; |
| 230 |
regulator-min-microvolt = <1600000>; |
| 231 |
regulator-max-microvolt = <2200000>; |
| 232 |
}; |
| 233 |
mt6331_vcamd_reg: ldo-vcamd { |
| 234 |
regulator-name = "vcamd"; |
| 235 |
regulator-min-microvolt = <900000>; |
| 236 |
regulator-max-microvolt = <1500000>; |
| 237 |
}; |
| 238 |
mt6331_vusb10_reg: ldo-vusb10 { |
| 239 |
regulator-name = "vusb"; |
| 240 |
regulator-min-microvolt = <1000000>; |
| 241 |
regulator-max-microvolt = <1300000>; |
| 242 |
regulator-boot-on; |
| 243 |
}; |
| 244 |
mt6331_vcamio_reg: ldo-vcamio { |
| 245 |
regulator-name = "vcam_io"; |
| 246 |
regulator-min-microvolt = <1200000>; |
| 247 |
regulator-max-microvolt = <1800000>; |
| 248 |
}; |
| 249 |
mt6331_vsram_reg: ldo-vsram { |
| 250 |
regulator-name = "vsram"; |
| 251 |
regulator-min-microvolt = <1012500>; |
| 252 |
regulator-max-microvolt = <1012500>; |
| 253 |
regulator-always-on; |
| 254 |
regulator-boot-on; |
| 255 |
}; |
| 256 |
mt6331_vgp2_reg: ldo-vgp2 { |
| 257 |
regulator-name = "vgp2"; |
| 258 |
regulator-min-microvolt = <1100000>; |
| 259 |
regulator-max-microvolt = <1500000>; |
| 260 |
regulator-boot-on; |
| 261 |
}; |
| 262 |
mt6331_vgp3_reg: ldo-vgp3 { |
| 263 |
regulator-name = "vgp3"; |
| 264 |
regulator-min-microvolt = <1200000>; |
| 265 |
regulator-max-microvolt = <1800000>; |
| 266 |
}; |
| 267 |
mt6331_vrtc_reg: ldo-vrtc { |
| 268 |
regulator-name = "vrtc"; |
| 269 |
regulator-min-microvolt = <2800000>; |
| 270 |
regulator-max-microvolt = <2800000>; |
| 271 |
regulator-always-on; |
| 272 |
}; |
| 273 |
mt6331_vdig18_reg: ldo-vdig18 { |
| 274 |
regulator-name = "dvdd18_dig"; |
| 275 |
regulator-min-microvolt = <1800000>; |
| 276 |
regulator-max-microvolt = <1800000>; |
| 277 |
}; |
| 278 |
}; |
| 279 |
}; |
| 280 |
... |