| 1 |
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/regulator/mediatek,mt6357-regulator.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: MediaTek MT6357 Regulators |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Chen Zhong <[email protected]> |
| 11 |
- Fabien Parent <[email protected]> |
| 12 |
- Alexandre Mergnat <[email protected]> |
| 13 |
|
| 14 |
description: | |
| 15 |
The MT6357 PMIC provides 5 BUCK and 29 LDO. |
| 16 |
Regulators and nodes are named according to the regulator type: |
| 17 |
- buck-<name> |
| 18 |
- ldo-<name>. |
| 19 |
MT6357 regulators node should be sub node of the MT6397 MFD node. |
| 20 |
|
| 21 |
patternProperties: |
| 22 |
"^buck-v(core|modem|pa|proc|s1)$": |
| 23 |
type: object |
| 24 |
$ref: regulator.yaml# |
| 25 |
unevaluatedProperties: false |
| 26 |
description: |
| 27 |
Properties for single BUCK regulator. |
| 28 |
|
| 29 |
required: |
| 30 |
- regulator-name |
| 31 |
- regulator-min-microvolt |
| 32 |
- regulator-max-microvolt |
| 33 |
|
| 34 |
"^ldo-v(camio18|aud28|aux18|io18|io28|rf12|rf18|cn18|cn28|fe28)$": |
| 35 |
type: object |
| 36 |
$ref: regulator.yaml# |
| 37 |
unevaluatedProperties: false |
| 38 |
description: |
| 39 |
Properties for single fixed LDO regulator. |
| 40 |
|
| 41 |
required: |
| 42 |
- regulator-name |
| 43 |
- regulator-min-microvolt |
| 44 |
- regulator-max-microvolt |
| 45 |
|
| 46 |
"^ldo-v(efuse|ibr|ldo28|mch|cama|camd|cn33-bt|cn33-wifi)$": |
| 47 |
type: object |
| 48 |
$ref: regulator.yaml# |
| 49 |
unevaluatedProperties: false |
| 50 |
description: |
| 51 |
Properties for single LDO regulator. |
| 52 |
|
| 53 |
required: |
| 54 |
- regulator-name |
| 55 |
- regulator-min-microvolt |
| 56 |
- regulator-max-microvolt |
| 57 |
|
| 58 |
"^ldo-v(xo22|emc|mc|sim1|sim2|sram-others|sram-proc|dram|usb33)$": |
| 59 |
type: object |
| 60 |
$ref: regulator.yaml# |
| 61 |
unevaluatedProperties: false |
| 62 |
description: |
| 63 |
Properties for single LDO regulator. |
| 64 |
|
| 65 |
required: |
| 66 |
- regulator-name |
| 67 |
- regulator-min-microvolt |
| 68 |
- regulator-max-microvolt |
| 69 |
|
| 70 |
additionalProperties: false |
| 71 |
|
| 72 |
examples: |
| 73 |
- | |
| 74 |
pmic { |
| 75 |
regulators { |
| 76 |
mt6357_vproc_reg: buck-vproc { |
| 77 |
regulator-name = "vproc"; |
| 78 |
regulator-min-microvolt = <518750>; |
| 79 |
regulator-max-microvolt = <1312500>; |
| 80 |
regulator-ramp-delay = <6250>; |
| 81 |
regulator-enable-ramp-delay = <220>; |
| 82 |
regulator-always-on; |
| 83 |
}; |
| 84 |
mt6357_vcore_reg: buck-vcore { |
| 85 |
regulator-name = "vcore"; |
| 86 |
regulator-min-microvolt = <518750>; |
| 87 |
regulator-max-microvolt = <1312500>; |
| 88 |
regulator-ramp-delay = <6250>; |
| 89 |
regulator-enable-ramp-delay = <220>; |
| 90 |
regulator-always-on; |
| 91 |
}; |
| 92 |
mt6357_vmodem_reg: buck-vmodem { |
| 93 |
regulator-name = "vmodem"; |
| 94 |
regulator-min-microvolt = <500000>; |
| 95 |
regulator-max-microvolt = <1193750>; |
| 96 |
regulator-ramp-delay = <6250>; |
| 97 |
regulator-enable-ramp-delay = <220>; |
| 98 |
}; |
| 99 |
mt6357_vs1_reg: buck-vs1 { |
| 100 |
regulator-name = "vs1"; |
| 101 |
regulator-min-microvolt = <1200000>; |
| 102 |
regulator-max-microvolt = <2200000>; |
| 103 |
regulator-ramp-delay = <12500>; |
| 104 |
regulator-enable-ramp-delay = <220>; |
| 105 |
regulator-always-on; |
| 106 |
}; |
| 107 |
mt6357_vpa_reg: buck-vpa { |
| 108 |
regulator-name = "vpa"; |
| 109 |
regulator-min-microvolt = <500000>; |
| 110 |
regulator-max-microvolt = <3650000>; |
| 111 |
regulator-ramp-delay = <50000>; |
| 112 |
regulator-enable-ramp-delay = <220>; |
| 113 |
}; |
| 114 |
mt6357_vfe28_reg: ldo-vfe28 { |
| 115 |
regulator-name = "vfe28"; |
| 116 |
regulator-min-microvolt = <2800000>; |
| 117 |
regulator-max-microvolt = <2800000>; |
| 118 |
regulator-enable-ramp-delay = <264>; |
| 119 |
}; |
| 120 |
mt6357_vxo22_reg: ldo-vxo22 { |
| 121 |
regulator-name = "vxo22"; |
| 122 |
regulator-min-microvolt = <2200000>; |
| 123 |
regulator-max-microvolt = <2400000>; |
| 124 |
regulator-enable-ramp-delay = <110>; |
| 125 |
}; |
| 126 |
mt6357_vrf18_reg: ldo-vrf18 { |
| 127 |
regulator-name = "vrf18"; |
| 128 |
regulator-min-microvolt = <1800000>; |
| 129 |
regulator-max-microvolt = <1800000>; |
| 130 |
regulator-enable-ramp-delay = <110>; |
| 131 |
}; |
| 132 |
mt6357_vrf12_reg: ldo-vrf12 { |
| 133 |
regulator-name = "vrf12"; |
| 134 |
regulator-min-microvolt = <1200000>; |
| 135 |
regulator-max-microvolt = <1200000>; |
| 136 |
regulator-enable-ramp-delay = <110>; |
| 137 |
}; |
| 138 |
mt6357_vefuse_reg: ldo-vefuse { |
| 139 |
regulator-name = "vefuse"; |
| 140 |
regulator-min-microvolt = <1200000>; |
| 141 |
regulator-max-microvolt = <3300000>; |
| 142 |
regulator-enable-ramp-delay = <264>; |
| 143 |
}; |
| 144 |
mt6357_vcn33_bt_reg: ldo-vcn33-bt { |
| 145 |
regulator-name = "vcn33-bt"; |
| 146 |
regulator-min-microvolt = <3300000>; |
| 147 |
regulator-max-microvolt = <3500000>; |
| 148 |
regulator-enable-ramp-delay = <264>; |
| 149 |
}; |
| 150 |
mt6357_vcn33_wifi_reg: ldo-vcn33-wifi { |
| 151 |
regulator-name = "vcn33-wifi"; |
| 152 |
regulator-min-microvolt = <3300000>; |
| 153 |
regulator-max-microvolt = <3500000>; |
| 154 |
regulator-enable-ramp-delay = <264>; |
| 155 |
}; |
| 156 |
mt6357_vcn28_reg: ldo-vcn28 { |
| 157 |
regulator-name = "vcn28"; |
| 158 |
regulator-min-microvolt = <2800000>; |
| 159 |
regulator-max-microvolt = <2800000>; |
| 160 |
regulator-enable-ramp-delay = <264>; |
| 161 |
}; |
| 162 |
mt6357_vcn18_reg: ldo-vcn18 { |
| 163 |
regulator-name = "vcn18"; |
| 164 |
regulator-min-microvolt = <1800000>; |
| 165 |
regulator-max-microvolt = <1800000>; |
| 166 |
regulator-enable-ramp-delay = <264>; |
| 167 |
}; |
| 168 |
mt6357_vcama_reg: ldo-vcama { |
| 169 |
regulator-name = "vcama"; |
| 170 |
regulator-min-microvolt = <2500000>; |
| 171 |
regulator-max-microvolt = <2800000>; |
| 172 |
regulator-enable-ramp-delay = <264>; |
| 173 |
}; |
| 174 |
mt6357_vcamd_reg: ldo-vcamd { |
| 175 |
regulator-name = "vcamd"; |
| 176 |
regulator-min-microvolt = <1000000>; |
| 177 |
regulator-max-microvolt = <1800000>; |
| 178 |
regulator-enable-ramp-delay = <264>; |
| 179 |
}; |
| 180 |
mt6357_vcamio_reg: ldo-vcamio18 { |
| 181 |
regulator-name = "vcamio"; |
| 182 |
regulator-min-microvolt = <1800000>; |
| 183 |
regulator-max-microvolt = <1800000>; |
| 184 |
regulator-enable-ramp-delay = <264>; |
| 185 |
}; |
| 186 |
mt6357_vldo28_reg: ldo-vldo28 { |
| 187 |
regulator-name = "vldo28"; |
| 188 |
regulator-min-microvolt = <2800000>; |
| 189 |
regulator-max-microvolt = <3000000>; |
| 190 |
regulator-enable-ramp-delay = <264>; |
| 191 |
}; |
| 192 |
mt6357_vsram_others_reg: ldo-vsram-others { |
| 193 |
regulator-name = "vsram-others"; |
| 194 |
regulator-min-microvolt = <518750>; |
| 195 |
regulator-max-microvolt = <1312500>; |
| 196 |
regulator-ramp-delay = <6250>; |
| 197 |
regulator-enable-ramp-delay = <110>; |
| 198 |
regulator-always-on; |
| 199 |
}; |
| 200 |
mt6357_vsram_proc_reg: ldo-vsram-proc { |
| 201 |
regulator-name = "vsram-proc"; |
| 202 |
regulator-min-microvolt = <518750>; |
| 203 |
regulator-max-microvolt = <1312500>; |
| 204 |
regulator-ramp-delay = <6250>; |
| 205 |
regulator-enable-ramp-delay = <110>; |
| 206 |
regulator-always-on; |
| 207 |
}; |
| 208 |
mt6357_vaux18_reg: ldo-vaux18 { |
| 209 |
regulator-name = "vaux18"; |
| 210 |
regulator-min-microvolt = <1800000>; |
| 211 |
regulator-max-microvolt = <1800000>; |
| 212 |
regulator-enable-ramp-delay = <264>; |
| 213 |
}; |
| 214 |
mt6357_vaud28_reg: ldo-vaud28 { |
| 215 |
regulator-name = "vaud28"; |
| 216 |
regulator-min-microvolt = <2800000>; |
| 217 |
regulator-max-microvolt = <2800000>; |
| 218 |
regulator-enable-ramp-delay = <264>; |
| 219 |
}; |
| 220 |
mt6357_vio28_reg: ldo-vio28 { |
| 221 |
regulator-name = "vio28"; |
| 222 |
regulator-min-microvolt = <2800000>; |
| 223 |
regulator-max-microvolt = <2800000>; |
| 224 |
regulator-enable-ramp-delay = <264>; |
| 225 |
}; |
| 226 |
mt6357_vio18_reg: ldo-vio18 { |
| 227 |
regulator-name = "vio18"; |
| 228 |
regulator-min-microvolt = <1800000>; |
| 229 |
regulator-max-microvolt = <1800000>; |
| 230 |
regulator-enable-ramp-delay = <264>; |
| 231 |
regulator-always-on; |
| 232 |
}; |
| 233 |
mt6357_vdram_reg: ldo-vdram { |
| 234 |
regulator-name = "vdram"; |
| 235 |
regulator-min-microvolt = <1100000>; |
| 236 |
regulator-max-microvolt = <1200000>; |
| 237 |
regulator-enable-ramp-delay = <3300>; |
| 238 |
}; |
| 239 |
mt6357_vmc_reg: ldo-vmc { |
| 240 |
regulator-name = "vmc"; |
| 241 |
regulator-min-microvolt = <1800000>; |
| 242 |
regulator-max-microvolt = <3300000>; |
| 243 |
regulator-enable-ramp-delay = <44>; |
| 244 |
}; |
| 245 |
mt6357_vmch_reg: ldo-vmch { |
| 246 |
regulator-name = "vmch"; |
| 247 |
regulator-min-microvolt = <2900000>; |
| 248 |
regulator-max-microvolt = <3300000>; |
| 249 |
regulator-enable-ramp-delay = <44>; |
| 250 |
}; |
| 251 |
mt6357_vemc_reg: ldo-vemc { |
| 252 |
regulator-name = "vemc"; |
| 253 |
regulator-min-microvolt = <2900000>; |
| 254 |
regulator-max-microvolt = <3300000>; |
| 255 |
regulator-enable-ramp-delay = <44>; |
| 256 |
regulator-always-on; |
| 257 |
}; |
| 258 |
mt6357_vsim1_reg: ldo-vsim1 { |
| 259 |
regulator-name = "vsim1"; |
| 260 |
regulator-min-microvolt = <1700000>; |
| 261 |
regulator-max-microvolt = <3100000>; |
| 262 |
regulator-enable-ramp-delay = <264>; |
| 263 |
}; |
| 264 |
mt6357_vsim2_reg: ldo-vsim2 { |
| 265 |
regulator-name = "vsim2"; |
| 266 |
regulator-min-microvolt = <1700000>; |
| 267 |
regulator-max-microvolt = <3100000>; |
| 268 |
regulator-enable-ramp-delay = <264>; |
| 269 |
}; |
| 270 |
mt6357_vibr_reg: ldo-vibr { |
| 271 |
regulator-name = "vibr"; |
| 272 |
regulator-min-microvolt = <1200000>; |
| 273 |
regulator-max-microvolt = <3300000>; |
| 274 |
regulator-enable-ramp-delay = <44>; |
| 275 |
}; |
| 276 |
mt6357_vusb33_reg: ldo-vusb33 { |
| 277 |
regulator-name = "vusb33"; |
| 278 |
regulator-min-microvolt = <3000000>; |
| 279 |
regulator-max-microvolt = <3100000>; |
| 280 |
regulator-enable-ramp-delay = <264>; |
| 281 |
}; |
| 282 |
}; |
| 283 |
}; |
| 284 |
... |