# Richtek RTQ2208 SubPMIC Regulator

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

> Device-tree binding reference for Richtek RTQ2208 SubPMIC Regulator.

<!-- SPDX-License-Identifier: GPL-2.0-only 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;richtek&#44;rtq2208&#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;Alina Yu &#60;alina&#95;yu&#64;richtek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">RTQ2208 is a highly integrated power converter that offers functional safety dual
multi-configurable synchronous buck converters and two LDOs.</p>
<p style="white-space: pre-wrap">Bucks support "regulator-allowed-modes" and "regulator-mode". The former defines the permitted
switching operation in normal mode; the latter defines the operation in suspend to RAM mode.</p>
<p style="white-space: pre-wrap">No matter the RTQ2208 is configured to normal or suspend to RAM mode, there are two switching
operation modes for all buck rails, automatic power saving mode (Auto mode) and forced continuous
conduction mode (FCCM).</p>
<pre><code>The definition of modes is in the datasheet which is available in below link
and their meaning is::
  0 - Auto mode for power saving, which reducing the switching frequency at light load condition
  to maintain high frequency.
  1 - FCCM to meet the strict voltage regulation accuracy, which keeping constant switching frequency.</code></pre>
<p style="white-space: pre-wrap">Datasheet will be available soon at
https://www.richtek.com/assets/Products</p>
</div>

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

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

<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;richtek&#44;rtq2208&#34;</code></span>

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

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

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

<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>

<a id="dt-256d770422185ba1b17b"></a>

### <code>richtek&#44;mtp&#45;sel&#45;high</code> — not listed as required here

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

<div id="dt-83a37545ddd91d74874b">
<p style="white-space: pre-wrap">vout register selection based on this boolean value. false - Using DVS0 register setting to adjust vout true - Using DVS1 register setting to adjust vout</p>
</div>

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

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

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

<a id="dt-8e4e67ed0dd0ed4ae33a"></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-61f1ab18943e36a1a8bc"></a>

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

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

**<code>&#94;buck&#45;&#91;a&#45;h&#93;&#36;</code> — name matches this regular expression**

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

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

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

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

<code>false</code>

Not allowed by this rule.

<div id="dt-511251438716accd9ad4">
<p style="white-space: pre-wrap">description for buck-[a-h] regulator.</p>
</div>

<a id="dt-3748311697e779187f2c"></a>

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

<a id="dt-28e84050d76ddd3979a9"></a>

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

<div id="dt-415220d2da19a92f60f6">
<p style="white-space: pre-wrap">two buck modes in different switching accuracy. 0 - Auto mode 1 - FCCM</p>
</div>

<a id="dt-9107716f9c9e11e25c69"></a>

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

> **Allowed values (<code>enum</code>):** <a id="dt-ce78400e2efc80d2c2af"></a> <span id="dt-1f710bfcc0fe26b061b4"><code>0</code></span>, <span id="dt-c4978334ff4f9f52536a"><code>1</code></span>

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

**<code>&#94;ldo&#91;1&#45;2&#93;&#36;</code> — name matches this regular expression**

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

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

<a id="dt-45123c5865c02688bdd7"></a>

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

<code>false</code>

Not allowed by this rule.

<div id="dt-a7c250ab9f6fa2cfd696">
<p style="white-space: pre-wrap">regulator description for ldo[1-2].</p>
</div>

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

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

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

**<code>richtek&#44;fixed&#45;microvolt</code> — not listed as required here**

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

<div id="dt-74ebd2b5aa23ba99655e">
<p style="white-space: pre-wrap">This property can be used to set a fixed operating voltage that lies outside
the range of the regulator's adjustable mode.</p>
</div>

**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;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;regulators&#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;
i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  pmic@10 {
    compatible = "richtek,rtq2208";
    reg = &lt;0x10&gt;;
    interrupts-extended = &lt;&amp;gpio26 0 IRQ_TYPE_LEVEL_LOW&gt;;
    richtek,mtp-sel-high;

    regulators {
      buck-a {
        regulator-min-microvolt = &lt;400000&gt;;
        regulator-max-microvolt = &lt;2050000&gt;;
        regulator-allowed-modes = &lt;0 1&gt;;
        regulator-always-on;
        regulator-state-mem {
          regulator-on-in-suspend;
          regulator-mode = &lt;1&gt;;
        };
      };
      buck-b {
        regulator-min-microvolt = &lt;400000&gt;;
        regulator-max-microvolt = &lt;2050000&gt;;
        regulator-allowed-modes = &lt;0 1&gt;;
        regulator-always-on;
        regulator-state-mem {
          regulator-on-in-suspend;
          regulator-mode = &lt;1&gt;;
        };
      };
      buck-c {
        regulator-min-microvolt = &lt;400000&gt;;
        regulator-max-microvolt = &lt;2050000&gt;;
        regulator-allowed-modes = &lt;0 1&gt;;
        regulator-always-on;
        regulator-state-mem {
          regulator-on-in-suspend;
          regulator-mode = &lt;1&gt;;
        };
      };
      buck-d {
        regulator-min-microvolt = &lt;400000&gt;;
        regulator-max-microvolt = &lt;2050000&gt;;
        regulator-allowed-modes = &lt;0 1&gt;;
        regulator-always-on;
        regulator-state-mem {
          regulator-on-in-suspend;
          regulator-mode = &lt;1&gt;;
        };
      };
      buck-e {
        regulator-min-microvolt = &lt;400000&gt;;
        regulator-max-microvolt = &lt;2050000&gt;;
        regulator-allowed-modes = &lt;0 1&gt;;
        regulator-always-on;
        regulator-state-mem {
          regulator-on-in-suspend;
          regulator-mode = &lt;1&gt;;
        };
      };
      buck-f {
        regulator-min-microvolt = &lt;400000&gt;;
        regulator-max-microvolt = &lt;2050000&gt;;
        regulator-allowed-modes = &lt;0 1&gt;;
        regulator-always-on;
        regulator-state-mem {
          regulator-on-in-suspend;
          regulator-mode = &lt;1&gt;;
        };
      };
      buck-g {
        regulator-min-microvolt = &lt;400000&gt;;
        regulator-max-microvolt = &lt;2050000&gt;;
        regulator-allowed-modes = &lt;0 1&gt;;
        regulator-always-on;
        regulator-state-mem {
          regulator-on-in-suspend;
          regulator-mode = &lt;1&gt;;
        };
      };
      buck-h {
        regulator-min-microvolt = &lt;400000&gt;;
        regulator-max-microvolt = &lt;2050000&gt;;
        regulator-allowed-modes = &lt;0 1&gt;;
        regulator-always-on;
        regulator-state-mem {
          regulator-on-in-suspend;
          regulator-mode = &lt;1&gt;;
        };
      };
      ldo1 {
        /* Fixed LDO VOUT */
        richtek,fixed-microvolt = &lt;1200000&gt;;
        regulator-min-microvolt = &lt;1200000&gt;;
        regulator-max-microvolt = &lt;1200000&gt;;
        regulator-always-on;
        regulator-state-mem {
          regulator-on-in-suspend;
        };
      };
      ldo2 {
        /* Adjustable LDO VOUT */
        regulator-min-microvolt = &lt;1800000&gt;;
        regulator-max-microvolt = &lt;3300000&gt;;
        regulator-always-on;
        regulator-state-mem {
          regulator-on-in-suspend;
        };
      };
    };
  };
};
</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-only OR BSD-2-Clause</span></p>

</details>
