# MediaTek MT6358 Regulator

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Regulator bindings_

> Device-tree binding reference for MediaTek MT6358 Regulator.

<!-- SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;regulator&#47;mediatek&#44;mt6358&#45;regulator&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Zhiyong Tao &#60;zhiyong&#46;tao&#64;mediatek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Regulator node of the PMIC. This node should under the PMIC's device node. All voltage regulators provided by the PMIC are described as sub-nodes of this node.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;mediatek&#44;mt6358&#45;regulator&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;mediatek&#44;mt6366&#45;regulator&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;mediatek&#44;mt6358&#45;regulator&#34;</code></span>

<a id="dt-9c64e1701261bc8904f2"></a>

### <code>vsys&#45;ldo1&#45;supply</code> — not listed as required here

<div id="dt-84519bde591e927820b0">
<p style="white-space: pre-wrap">Supply for LDOs vfe28, vxo22, vcn28, vaux18, vaud28, vsim1, vusb, vbif28</p>
</div>

<a id="dt-491942ba9fd422aed5aa"></a>

### <code>vsys&#45;ldo2&#45;supply</code> — not listed as required here

<div id="dt-ea99ac49eb2609966eea">
<p style="white-space: pre-wrap">Supply for LDOs vldo28 (MT6358 only), vio28, vmc, vmch, vsim2</p>
</div>

<a id="dt-46c83398c5c432195087"></a>

### <code>vsys&#45;ldo3&#45;supply</code> — not listed as required here

<div id="dt-1a31f81675413a87812f">
<p style="white-space: pre-wrap">Supply for LDOs vcn33, vcama[12] (MT6358 only), vemc, vibr</p>
</div>

<a id="dt-1ba10b9215b465b4f95b"></a>

### <code>vsys&#45;vcore&#45;supply</code> — not listed as required here

<div id="dt-f48379e7ad8b5964e637">
<p style="white-space: pre-wrap">Supply for buck regulator vcore</p>
</div>

<a id="dt-6493f37096bcbe44e9e0"></a>

### <code>vsys&#45;vdram1&#45;supply</code> — not listed as required here

<div id="dt-5b04d12880374a4ad696">
<p style="white-space: pre-wrap">Supply for buck regulator vdram1</p>
</div>

<a id="dt-2f3a5f0e10445fa5c4ce"></a>

### <code>vsys&#45;vgpu&#45;supply</code> — not listed as required here

<div id="dt-b9bb02238fded45cb196">
<p style="white-space: pre-wrap">Supply for buck regulator vgpu</p>
</div>

<a id="dt-8296a7564420dda13b62"></a>

### <code>vsys&#45;vmodem&#45;supply</code> — not listed as required here

<div id="dt-c3e10dbd2bd0476d5502">
<p style="white-space: pre-wrap">Supply for buck regulator vmodem</p>
</div>

<a id="dt-e6d54440fd72adc4354b"></a>

### <code>vsys&#45;vpa&#45;supply</code> — not listed as required here

<div id="dt-f2a96e0f2b44f920f142">
<p style="white-space: pre-wrap">Supply for buck regulator vpa</p>
</div>

<a id="dt-6f35fcef7604ce90c479"></a>

### <code>vsys&#45;vproc11&#45;supply</code> — not listed as required here

<div id="dt-e2f0e706a19392403de2">
<p style="white-space: pre-wrap">Supply for buck regulator vproc11</p>
</div>

<a id="dt-edeef6c02a859ad487bf"></a>

### <code>vsys&#45;vproc12&#45;supply</code> — not listed as required here

<div id="dt-c6885faba083e2abc688">
<p style="white-space: pre-wrap">Supply for buck regulator vproc12</p>
</div>

<a id="dt-52ef657ba49c142f20e3"></a>

### <code>vsys&#45;vs1&#45;supply</code> — not listed as required here

<div id="dt-1301722174d783e06e89">
<p style="white-space: pre-wrap">Supply for buck regulator vs1</p>
</div>

<a id="dt-2909a58a4c6384f37b0c"></a>

### <code>vsys&#45;vs2&#45;supply</code> — not listed as required here

<div id="dt-9c2cb6fe7b6002b05197">
<p style="white-space: pre-wrap">Supply for buck regulator vs2</p>
</div>

<a id="dt-50c3d9f47a041138df5e"></a>

### <code>vs1&#45;ldo1&#45;supply</code> — not listed as required here

<div id="dt-106be402afef82fe7f01">
<p style="white-space: pre-wrap">Supply for LDOs vrf18, vefuse, vcn18, vcamio (MT6358 only), vio18, vm18 (MT6366 only)</p>
</div>

<a id="dt-ef47aeafd5b2de1112d3"></a>

### <code>vs2&#45;ldo1&#45;supply</code> — not listed as required here

<div id="dt-12cee4d8a666da1113b1">
<p style="white-space: pre-wrap">Supply for LDOs vdram2, vmddr (MT6366 only)</p>
</div>

<a id="dt-392a9344218f4cb2879b"></a>

### <code>vs2&#45;ldo2&#45;supply</code> — not listed as required here

<div id="dt-8423c1149717f8acd249">
<p style="white-space: pre-wrap">Supply for LDOs vrf12, va12</p>
</div>

<a id="dt-7cf00645055ea7eb9f7f"></a>

### <code>vs2&#45;ldo3&#45;supply</code> — not listed as required here

<div id="dt-e073e0ef120234f5990e">
<p style="white-space: pre-wrap">Supply for LDOs vsram-core (MT6366 only), vsram-gpu, vsram-others, vsram-proc11, vsram-proc12</p>
</div>

<a id="dt-2746368f36d8bd8939ea"></a>

### <code>vs2&#45;ldo4&#45;supply</code> — not listed as required here

<div id="dt-365ea131a118c2f8dc81">
<p style="white-space: pre-wrap">Supply for LDO vcamd</p>
</div>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-2973bb270f3f2e50dcf3"></a>

### <code>&#94;&#40;buck&#95;&#41;&#63;v&#40;core&#124;dram1&#124;gpu&#124;modem&#124;pa&#124;proc1&#91;12&#93;&#124;s&#91;12&#93;&#41;&#36;</code> — name matches this regular expression

<div id="dt-b4a2c90d4de9479b773c">
<p style="white-space: pre-wrap">Buck regulators</p>
</div>

**Value type (<code>type</code>):** <span id="dt-4914681658b06fa32a0f"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b983352f3265912f30bd">[<code>regulator&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-regulator/regulator.md#dt-root>)</span>

<a id="dt-93785693f81f32ec6b5d"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-0f7e330066a61339aad6"></a>

**<code>regulator&#45;allowed&#45;modes</code> — not listed as required here**

<div id="dt-330ab2e18d14d0395f75">
<pre><code>Buck regulatpr operating modes allowed. Valid values below.
Users should use the macros from dt-bindings/regulator/mediatek,mt6397-regulator.h
  0 (MT6397_BUCK_MODE_AUTO): Auto PFM/PWM mode
  1 (MT6397_BUCK_MODE_FORCE_PWM): Forced PWM mode</code></pre>
</div>

<a id="dt-80106192375c407dc9cb"></a>

**Array item rules (<code>items</code>)**

> **Allowed values (<code>enum</code>):** <a id="dt-834ab86eef09ad2c23ba"></a> <span id="dt-d98f63a86833cc1364b8"><code>0</code></span>, <span id="dt-7364dcdf66992c1ccaed"><code>1</code></span>

<a id="dt-84fba2157da257c9bcde"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-a10d08eeb975255ccd34"></a>

### <code>&#94;&#40;ldo&#95;&#41;&#63;v&#40;a&#124;rf&#41;12&#36;</code> — name matches this regular expression

<div id="dt-4443fb3560d0b993efe2">
<p style="white-space: pre-wrap">LDOs with fixed 1.2V output and 0~100/10mV tuning</p>
</div>

**Value type (<code>type</code>):** <span id="dt-70cafa6aad40cbd30573"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c1e8e3be04f891eb9d71">[<code>regulator&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-regulator/regulator.md#dt-root>)</span>

<a id="dt-c6cf25c247b3c96896eb"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-0c8bd99aeaa300479be1"></a>

**<code>regulator&#45;allowed&#45;modes</code> — not listed as required here**

<code>false</code> — Not permitted by this property rule.

<a id="dt-6a01eceb7f68afd38891"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-868d52cb793e56df4f81"></a>

### <code>&#94;&#40;ldo&#95;&#41;&#63;v&#40;&#40;aux&#124;cn&#124;io&#124;rf&#41;18&#124;camio&#41;&#36;</code> — name matches this regular expression

<div id="dt-4a5f0ab1133a75350e9c">
<p style="white-space: pre-wrap">LDOs with fixed 1.8V output and 0~100/10mV tuning (vcn18 on MT6366 has variable output)</p>
</div>

**Value type (<code>type</code>):** <span id="dt-c5c499f84efe721cc5aa"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bbb27e0bbadd7d612f19">[<code>regulator&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-regulator/regulator.md#dt-root>)</span>

<a id="dt-ee7e1dae0e1750bbf4a7"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-72dcf6be092e2ce7cc01"></a>

**<code>regulator&#45;allowed&#45;modes</code> — not listed as required here**

<code>false</code> — Not permitted by this property rule.

<a id="dt-c01e5a6149aeed29d70f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-89e7bca87abe6d1034af"></a>

### <code>&#94;&#40;ldo&#95;&#41;&#63;vxo22&#36;</code> — name matches this regular expression

<div id="dt-8f99c412865cbb19d523">
<p style="white-space: pre-wrap">LDOs with fixed 2.2V output and 0~100/10mV tuning</p>
</div>

**Value type (<code>type</code>):** <span id="dt-507c63af20fda0afe051"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0dad945e635626592d4f">[<code>regulator&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-regulator/regulator.md#dt-root>)</span>

<a id="dt-ec7fdb6d7cda22764016"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-94c6c869c3270eb8a17b"></a>

**<code>regulator&#45;allowed&#45;modes</code> — not listed as required here**

<code>false</code> — Not permitted by this property rule.

<a id="dt-9235c479290d047c3d36"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-0c53bf1a5a58234e2015"></a>

### <code>&#94;&#40;ldo&#95;&#41;&#63;v&#40;aud&#124;bif&#124;cn&#124;fe&#124;io&#41;28&#36;</code> — name matches this regular expression

<div id="dt-7f19156b735259aef7a9">
<p style="white-space: pre-wrap">LDOs with fixed 2.8V output and 0~100/10mV tuning</p>
</div>

**Value type (<code>type</code>):** <span id="dt-6339e50c365949f96855"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ed47c27e139d57b5ed63">[<code>regulator&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-regulator/regulator.md#dt-root>)</span>

<a id="dt-c3d0acd905d11da38297"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-7370479a932f91616f64"></a>

**<code>regulator&#45;allowed&#45;modes</code> — not listed as required here**

<code>false</code> — Not permitted by this property rule.

<a id="dt-0c32b61a5072c34356c1"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-6b9088bcf30eeeeaec57"></a>

### <code>&#94;&#40;ldo&#95;&#41;&#63;vusb&#36;</code> — name matches this regular expression

<div id="dt-e78cc1b77715e84660d4">
<p style="white-space: pre-wrap">LDOs with fixed 3.0V output and 0~100/10mV tuning</p>
</div>

**Value type (<code>type</code>):** <span id="dt-b253e6e74b500ab4d14c"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-76f8c396717cd81ffe14">[<code>regulator&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-regulator/regulator.md#dt-root>)</span>

<a id="dt-1b10ae044ea89b3e1f50"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-2b12a723f244f638d090"></a>

**<code>regulator&#45;allowed&#45;modes</code> — not listed as required here**

<code>false</code> — Not permitted by this property rule.

<a id="dt-ee311cee1bf6ef5c6319"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-4f658d5b34fb6b1ba21b"></a>

### <code>&#94;&#40;ldo&#95;&#41;&#63;vsram&#91;&#95;&#45;&#93;&#40;core&#124;gpu&#124;others&#124;proc1&#91;12&#93;&#41;&#36;</code> — name matches this regular expression

<div id="dt-19ffe69f0c950111634c">
<p style="white-space: pre-wrap">LDOs with variable output</p>
</div>

**Value type (<code>type</code>):** <span id="dt-4ec8f88d225eedf39189"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e86614543e7698d5da29">[<code>regulator&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-regulator/regulator.md#dt-root>)</span>

<a id="dt-3450bdcd7c4820955823"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-1c27cf662cb47ff74e98"></a>

**<code>regulator&#45;allowed&#45;modes</code> — not listed as required here**

<code>false</code> — Not permitted by this property rule.

<a id="dt-fabbffdc4f982ed6f4e0"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-2707b87b8eba89d3aff6"></a>

### <code>&#94;&#40;ldo&#95;&#41;&#63;v&#40;cama&#91;12&#93;&#124;camd&#124;cn33&#124;dram2&#124;efuse&#124;emc&#124;ibr&#124;ldo28&#124;m18&#124;mc&#124;mch&#124;mddr&#124;sim&#91;12&#93;&#41;&#36;</code> — name matches this regular expression

<div id="dt-e43c8c8d117ca029588c">
<p style="white-space: pre-wrap">LDOs with variable output and 0~100/10mV tuning</p>
</div>

**Value type (<code>type</code>):** <span id="dt-cf339de8a77f151c49f9"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c6a98fa2148fb1898ea1">[<code>regulator&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-regulator/regulator.md#dt-root>)</span>

<a id="dt-f83a42eb538702d134ea"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-68f75e1845f721be666c"></a>

**<code>regulator&#45;allowed&#45;modes</code> — not listed as required here**

<code>false</code> — Not permitted by this property rule.

<a id="dt-f93ffb76a29626f152cf"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-163c5e9d5c938bee1405"><code>&#34;mediatek&#44;mt6358&#45;regulator&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-6a22a8f69a54bcbb7d12"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-4a05faad503dd1595f5c"></a>
> >
> > **<code>&#94;&#40;&#63;&#60;&#33;buck&#95;&#41;&#40;&#63;&#60;&#33;ldo&#95;&#41;v&#46;&#42;&#91;&#94;y&#45;&#93;&#40;&#63;&#33;&#45;supply&#41;&#36;</code> — name matches this regular expression**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-2e9e132814bcb27e8b51"></a>
> >
> > **<code>&#94;ldo&#95;vsram&#45;</code> — name matches this regular expression**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-0e6916a8bf6183d7d6c6"></a>
> >
> > **<code>&#94;ldo&#95;vsram&#91;&#45;&#95;&#93;core&#36;</code> — name matches this regular expression**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-fd95d011a0f7bddd4ebb"></a>
> >
> > **<code>ldo&#95;vm18</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-92fbbc2a28c8207bb4ca"></a>
> >
> > **<code>ldo&#95;vmddr</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;mediatek&#44;mt6366&#45;regulator&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-8b91e530d80f7cc46df3"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-961f6ab805cdf1626913"></a>
> >
> > **<code>&#94;&#40;buck&#124;ldo&#41;&#95;</code> — name matches this regular expression**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-ccd7e348213ecc54b546"></a>
> >
> > **<code>&#94;vsram&#95;</code> — name matches this regular expression**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-bfd7da487e0262143895"></a>
> >
> > **<code>&#94;vcam</code> — name matches this regular expression**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-4554b1a41b830113c99f"></a>
> >
> > **<code>vldo28</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-afd300fbdeb2dd31c451"></a>
> >
> > **<code>vs2&#45;ldo4&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/regulator/mediatek,mt6397-regulator.h&gt;

regulator {
    compatible = "mediatek,mt6358-regulator";

    buck_vgpu {
        regulator-name = "vgpu";
        regulator-min-microvolt = &lt;625000&gt;;
        regulator-max-microvolt = &lt;900000&gt;;
        regulator-ramp-delay = &lt;6250&gt;;
        regulator-enable-ramp-delay = &lt;200&gt;;
        regulator-allowed-modes = &lt;MT6397_BUCK_MODE_AUTO
                                   MT6397_BUCK_MODE_FORCE_PWM&gt;;
    };

    ldo_vsram_gpu {
        regulator-name = "vsram_gpu";
        regulator-min-microvolt = &lt;850000&gt;;
        regulator-max-microvolt = &lt;1000000&gt;;
        regulator-ramp-delay = &lt;6250&gt;;
        regulator-enable-ramp-delay = &lt;240&gt;;
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/regulator/mediatek,mt6397-regulator.h&gt;

regulator {
    compatible = "mediatek,mt6366-regulator", "mediatek,mt6358-regulator";

    vdram1 {
        regulator-name = "pp1125_emi_vdd2";
        regulator-min-microvolt = &lt;1125000&gt;;
        regulator-max-microvolt = &lt;1125000&gt;;
        regulator-ramp-delay = &lt;12500&gt;;
        regulator-enable-ramp-delay = &lt;0&gt;;
        regulator-allowed-modes = &lt;MT6397_BUCK_MODE_AUTO
                                   MT6397_BUCK_MODE_FORCE_PWM&gt;;
        regulator-always-on;
    };

    vproc11 {
        regulator-name = "ppvar_dvdd_proc_bc_mt6366";
        regulator-min-microvolt = &lt;600000&gt;;
        regulator-max-microvolt = &lt;1200000&gt;;
        regulator-ramp-delay = &lt;6250&gt;;
        regulator-enable-ramp-delay = &lt;200&gt;;
        regulator-allowed-modes = &lt;MT6397_BUCK_MODE_AUTO
                                   MT6397_BUCK_MODE_FORCE_PWM&gt;;
        regulator-always-on;
    };

    vmddr {
        regulator-name = "pm0750_emi_vmddr";
        regulator-min-microvolt = &lt;700000&gt;;
        regulator-max-microvolt = &lt;750000&gt;;
        regulator-enable-ramp-delay = &lt;325&gt;;
        regulator-always-on;
    };

    vsram-proc11 {
        regulator-name = "pp0900_dvdd_sram_bc";
        regulator-min-microvolt = &lt;850000&gt;;
        regulator-max-microvolt = &lt;1120000&gt;;
        regulator-ramp-delay = &lt;6250&gt;;
        regulator-enable-ramp-delay = &lt;240&gt;;
        regulator-always-on;
    };
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 147:</strong> <span> Old regulator node name scheme (with prefix and underscores) only</span></p>

<p id="dt-comment-2"><strong>Line 148:</strong> <span> ([^y-] is used to avoid matching -supply</span></p>

<p id="dt-comment-3"><strong>Line 151:</strong> <span> vsram_core regulator doesn't exist on MT6358</span></p>

<p id="dt-comment-4"><strong>Line 155:</strong> <span> vm18 and vmddr regulators don't exist on MT6358</span></p>

<p id="dt-comment-5"><strong>Line 166:</strong> <span> Prefer cleaned up regulator node names</span></p>

<p id="dt-comment-6"><strong>Line 168:</strong> <span> Don't allow underscores</span></p>

<p id="dt-comment-7"><strong>Line 170:</strong> <span> vcam* regulators don't exist on MT6366</span></p>

<p id="dt-comment-8"><strong>Line 174:</strong> <span> vldo28 regulator doesn't exist on MT6366</span></p>

<p id="dt-comment-9"><strong>Line 176:</strong> <span> vs2_ldo4 supply pin doesn't exist on MT6366</span></p>

</details>
