# Fixed Voltage regulators

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

> Device-tree binding reference for Fixed Voltage regulators.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;fixed&#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;Liam Girdwood &#60;lgirdwood&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Mark Brown &#60;broonie&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Any property defined as part of the core regulator binding, defined in regulator.yaml, can also be used. However a fixed voltage regulator is expected to have the regulator-min-microvolt and regulator-max-microvolt to be the same.</p>
</div>

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

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

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

### Rule 1

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

<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;regulator&#45;fixed&#45;clock&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;clocks&#34;</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8cd5c6ac7cc13c2d9acf"><code>&#34;regulator&#45;fixed&#45;domain&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-caec4da91c2837148d80"></a> <span id="dt-aa785038ee05bfb1e067"><code>&#34;power&#45;domains&#34;</code></span>, <span id="dt-ec639a3f525fd28f920c"><code>&#34;required&#45;opps&#34;</code></span>

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

### Rule 4

> <a id="dt-383689961e36c827e36f"></a>
>
> #### This rule must not match (<code>not</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-d26717e19cde18937ec4"></a> <span id="dt-7c0ec596bcf691c67e36"><code>&#34;gpio&#34;</code></span>, <span id="dt-04bb093d2ab5c892718e"><code>&#34;gpios&#34;</code></span>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

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

#### At least one of these rules must match (<code>anyOf</code>)

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

**Rule 1**

> <div id="dt-5930bf6a13bb26a52f46">
> <p style="white-space: pre-wrap">Preferred name is 'regulator-[0-9]v[0-9]'</p>
> </div>
>
> **String pattern (<code>pattern</code>):** <span id="dt-636b7734554530869225"><code>&#34;&#94;regulator&#40;&#45;&#91;0&#45;9&#93;&#43;v&#91;0&#45;9&#93;&#43;&#124;&#45;&#91;0&#45;9a&#45;z&#45;&#93;&#43;&#41;&#63;&#36;&#34;</code></span>

<a id="dt-42c9a0817749e4e86e30"></a>

**Rule 2**

> <div id="dt-818ade3212466ef937cc">
> <p style="white-space: pre-wrap">Any name allowed</p>
> </div>
>
> **Deprecated (<code>deprecated</code>):** <span id="dt-c8bec8d1f24f61eec910"><code>true</code></span>

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;regulator&#45;fixed&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;regulator&#45;fixed&#45;clock&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;regulator&#45;fixed&#45;domain&#34;</code></span>

<a id="dt-844ed0b0534e495c9740"></a>

### <code>regulator&#45;name</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-164e830b227a48d9ffdb"></a>

### <code>gpio</code> — not listed as required here

<div id="dt-214e58ae22046104868f">
<p style="white-space: pre-wrap">gpio to use for enable control</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-4ac88229e85e74c71ac1"><code>1</code></span>

<a id="dt-6423357510c4f559d9df"></a>

### <code>gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-6e02d6c73a4125d32798"><code>1</code></span>

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

### <code>clocks</code> — not listed as required here

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">clock to use for enable control. This binding is only available if the compatible is chosen to regulator-fixed-clock. The clock binding is mandatory if compatible is chosen to regulator-fixed-clock.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Deprecated (<code>deprecated</code>):** <span id="dt-1126e8675ac037307740"><code>true</code></span>

<div id="dt-33c740e5969dba94b4e6">
<p style="white-space: pre-wrap">Power domain to use for enable control. This binding is only available if the compatible is chosen to regulator-fixed-domain.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-01a7da425c5cdde10237"></a>

### <code>required&#45;opps</code> — not listed as required here

**Deprecated (<code>deprecated</code>):** <span id="dt-4b792b171e5445952f1e"><code>true</code></span>

<div id="dt-7bac8b7497870dfa0cf9">
<p style="white-space: pre-wrap">Performance state to use for enable control. This binding is only available if the compatible is chosen to regulator-fixed-domain. The power-domain binding is mandatory if compatible is chosen to regulator-fixed-domain.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-247a602eeb337c91095b"><code>1</code></span>

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

### <code>startup&#45;delay&#45;us</code> — not listed as required here

<div id="dt-2353b8ad16acbca5d731">
<p style="white-space: pre-wrap">startup time in microseconds</p>
</div>

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

### <code>off&#45;on&#45;delay&#45;us</code> — not listed as required here

<div id="dt-6141c843a9795d21bda6">
<p style="white-space: pre-wrap">off delay time in microseconds</p>
</div>

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

### <code>enable&#45;active&#45;high</code> — not listed as required here

<div id="dt-7019373b3824ba5b7aed">
<p style="white-space: pre-wrap">Polarity of GPIO is Active high. If this property is missing, the default assumed is Active low.</p>
</div>

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

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

### <code>gpio&#45;open&#45;drain</code> — not listed as required here

<div id="dt-3c7e9410732c932c76a2">
<p style="white-space: pre-wrap">GPIO is open drain type. If this property is missing then default assumption is false.</p>
</div>

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

<a id="dt-51a959e83f4922242a97"></a>

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

<div id="dt-7b21b67ede244c89b73f">
<p style="white-space: pre-wrap">Input supply phandle.</p>
</div>

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

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">Interrupt signaling a critical under-voltage event.</p>
</div>

<a id="dt-75e22177b22547107ff4"></a>

### <code>system&#45;critical&#45;regulator</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

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

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">reg_1v8: regulator-1v8 {
  compatible = "regulator-fixed";
  regulator-name = "1v8";
  regulator-min-microvolt = &lt;1800000&gt;;
  regulator-max-microvolt = &lt;1800000&gt;;
  gpio = &lt;&amp;gpio1 16 0&gt;;
  startup-delay-us = &lt;70000&gt;;
  enable-active-high;
  regulator-boot-on;
  gpio-open-drain;
  vin-supply = &lt;&amp;parent_reg&gt;;
};
reg_1v8_clk: regulator-1v8-clk {
  compatible = "regulator-fixed-clock";
  regulator-name = "1v8";
  regulator-min-microvolt = &lt;1800000&gt;;
  regulator-max-microvolt = &lt;1800000&gt;;
  clocks = &lt;&amp;clock1&gt;;
  startup-delay-us = &lt;70000&gt;;
  enable-active-high;
  regulator-boot-on;
  vin-supply = &lt;&amp;parent_reg&gt;;
};
reg_1v8_domain: regulator-1v8-domain {
  compatible = "regulator-fixed-domain";
  regulator-name = "1v8";
  regulator-min-microvolt = &lt;1800000&gt;;
  regulator-max-microvolt = &lt;1800000&gt;;
  power-domains = &lt;&amp;domain1&gt;;
  required-opps = &lt;&amp;domain1_state1&gt;;
  startup-delay-us = &lt;70000&gt;;
  enable-active-high;
  regulator-boot-on;
  vin-supply = &lt;&amp;parent_reg&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</span></p>

</details>
