# MT6360 Regulator from MediaTek Integrated

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

> Device-tree binding reference for MT6360 Regulator from MediaTek Integrated.

<!-- 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;mt6360&#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;Gene Chen &#60;gene&#95;chen&#64;richtek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">list of regulators provided by this controller, must be named
after their hardware counterparts buck1/2 or ldo1/2/3/5/6/7</p>
</div>

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

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

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

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

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

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

### <code>LDO&#95;VIN1&#45;supply</code> — not listed as required here

<div id="dt-3986f5ed7f3b5e690ee1">
<p style="white-space: pre-wrap">Input supply phandle(s) for LDO1/2/3</p>
</div>

<a id="dt-775431328474bb4c49df"></a>

### <code>LDO&#95;VIN2&#45;supply</code> — not listed as required here

<div id="dt-eb5cf9ecb7b05d277e4b">
<p style="white-space: pre-wrap">Input supply phandle(s) for LDO5</p>
</div>

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

### <code>LDO&#95;VIN3&#45;supply</code> — not listed as required here

<div id="dt-8c6eae99ff30537a3e6e">
<p style="white-space: pre-wrap">Input supply phandle(s) for LDO6/7</p>
</div>

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

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

<a id="dt-5255a9c26f4e73e7bf47"></a>

### <code>&#94;buck&#91;12&#93;&#36;</code> — name matches this regular expression

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

<a id="dt-634934afb941d4ade8ed"></a>

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

<code>false</code>

Not allowed by this rule.

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

### <code>&#94;ldo&#91;123567&#93;&#36;</code> — name matches this regular expression

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

<a id="dt-7845e6a5e24cd3744efb"></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-1a130cabaa8a47b058bf"></a>

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/regulator/mediatek,mt6360-regulator.h&gt;
regulator {
  compatible = "mediatek,mt6360-regulator";
  LDO_VIN3-supply = &lt;&amp;BUCK2&gt;;
  buck1 {
    regulator-name = "mt6360,buck1";
    regulator-min-microvolt = &lt;300000&gt;;
    regulator-max-microvolt = &lt;1300000&gt;;
    regulator-allowed-modes = &lt;MT6360_OPMODE_NORMAL
         MT6360_OPMODE_LP
         MT6360_OPMODE_ULP&gt;;
  };
  BUCK2: buck2 {
    regulator-name = "mt6360,buck2";
    regulator-min-microvolt = &lt;300000&gt;;
    regulator-max-microvolt = &lt;1300000&gt;;
    regulator-allowed-modes = &lt;MT6360_OPMODE_NORMAL
         MT6360_OPMODE_LP
         MT6360_OPMODE_ULP&gt;;
  };
  ldo6 {
    regulator-name = "mt6360,ldo6";
    regulator-min-microvolt = &lt;500000&gt;;
    regulator-max-microvolt = &lt;2100000&gt;;
    regulator-allowed-modes = &lt;MT6360_OPMODE_NORMAL
         MT6360_OPMODE_LP&gt;;
  };
  ldo7 {
    regulator-name = "mt6360,ldo7";
    regulator-min-microvolt = &lt;500000&gt;;
    regulator-max-microvolt = &lt;2100000&gt;;
    regulator-allowed-modes = &lt;MT6360_OPMODE_NORMAL
         MT6360_OPMODE_LP&gt;;
  };
  ldo1 {
    regulator-name = "mt6360,ldo1";
    regulator-min-microvolt = &lt;1200000&gt;;
    regulator-max-microvolt = &lt;3600000&gt;;
    regulator-allowed-modes = &lt;MT6360_OPMODE_NORMAL
         MT6360_OPMODE_LP&gt;;
  };
  ldo2 {
    regulator-name = "mt6360,ldo2";
    regulator-min-microvolt = &lt;1200000&gt;;
    regulator-max-microvolt = &lt;3600000&gt;;
    regulator-allowed-modes = &lt;MT6360_OPMODE_NORMAL
         MT6360_OPMODE_LP&gt;;
  };
  ldo3 {
    regulator-name = "mt6360,ldo3";
    regulator-min-microvolt = &lt;1200000&gt;;
    regulator-max-microvolt = &lt;3600000&gt;;
    regulator-allowed-modes = &lt;MT6360_OPMODE_NORMAL
         MT6360_OPMODE_LP&gt;;
  };
  ldo5 {
    regulator-name = "mt6360,ldo5";
    regulator-min-microvolt = &lt;2700000&gt;;
    regulator-max-microvolt = &lt;3600000&gt;;
    regulator-allowed-modes = &lt;MT6360_OPMODE_NORMAL
         MT6360_OPMODE_LP&gt;;
  };
};
</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>

</details>
