# Richtek RT5190A PMIC Regulator

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

> Device-tree binding reference for Richtek RT5190A PMIC 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;rt5190a&#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;ChiYuan Huang &#60;cy&#95;huang&#64;richtek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The RT5190A integrates 1 channel buck controller, 3 channels high efficiency
synchronous buck converters, 1 LDO, I2C control interface and peripheral
logical control.</p>
<p style="white-space: pre-wrap">It also supports mute AC OFF depop sound and quick setting storage while
input power is removed.</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;rt5190a&#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-49d80349ebc5dc88a1cd"></a>

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

<div id="dt-101223f780fad5beccf9">
<p style="white-space: pre-wrap">phandle to buck2 input voltage.</p>
</div>

<a id="dt-475ced49e2a9251f39b0"></a>

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

<div id="dt-aa9a9a05d93659f86633">
<p style="white-space: pre-wrap">phandle to buck3 input voltage.</p>
</div>

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

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

<div id="dt-da7876e91a9ddebb2c69">
<p style="white-space: pre-wrap">phandle to buck4 input voltage.</p>
</div>

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

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

<div id="dt-74c2d9635d7db6c0ad0d">
<p style="white-space: pre-wrap">phandle to ldo input voltage</p>
</div>

<a id="dt-17d2dff2523fefffa731"></a>

### <code>richtek&#44;mute&#45;enable</code> — not listed as required here

<div id="dt-4f4a3839f164d66cdda8">
<p style="white-space: pre-wrap">The mute function uses 'mutein', 'muteout', and 'vdet' pins as the control
signal. When enabled, The normal behavior is to bypass the 'mutein' signal
'muteout'. But if the power source removal is detected from 'vdet',
whatever the 'mutein' signal is, it will pull down the 'muteout' to force
speakers mute. this function is commonly used to prevent the speaker pop
noise during AC power turned off in the modern TV system design.</p>
</div>

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

<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-61f1ab18943e36a1a8bc"></a>

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

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

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

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

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

<div id="dt-ce6fa8a452a8f633f39c">
<p style="white-space: pre-wrap">regulator description for buck1 to buck4, and ldo.</p>
</div>

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

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

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

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

<div id="dt-99811c7e9f114f4cf889">
<p style="white-space: pre-wrap">buck operating mode, only buck1/4 support mode operating.
 0: auto mode
 1: force pwm mode</p>
</div>

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

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

> **Allowed values (<code>enum</code>):** <a id="dt-7be2cf824a2cfc5d5e6d"></a> <span id="dt-c2a6372e258d60a4513c"><code>0</code></span>, <span id="dt-c1d45c2b6375447a0e8b"><code>1</code></span>

<a id="dt-152886bb0d4ab707a202"></a>

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

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

<div id="dt-40f5fedefaa037325e83">
<p style="white-space: pre-wrap">If specified, undervolt protection mode changes from the default
hiccup to latchup.</p>
</div>

<a id="dt-806676a4f24f83b33a2d"></a>

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

<code>false</code>

Not allowed by this rule.

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

**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;
#include &lt;dt-bindings/regulator/richtek,rt5190a-regulator.h&gt;

i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  pmic@64 {
    compatible = "richtek,rt5190a";
    reg = &lt;0x64&gt;;
    interrupts-extended = &lt;&amp;gpio26 0 IRQ_TYPE_LEVEL_LOW&gt;;
    vin2-supply = &lt;&amp;rt5190_buck1&gt;;
    vin3-supply = &lt;&amp;rt5190_buck1&gt;;
    vin4-supply = &lt;&amp;rt5190_buck1&gt;;

    regulators {
      rt5190_buck1: buck1 {
        regulator-name = "rt5190a-buck1";
        regulator-min-microvolt = &lt;5090000&gt;;
        regulator-max-microvolt = &lt;5090000&gt;;
        regulator-allowed-modes = &lt;RT5190A_OPMODE_AUTO RT5190A_OPMODE_FPWM&gt;;
        regulator-boot-on;
      };
      buck2 {
        regulator-name = "rt5190a-buck2";
        regulator-min-microvolt = &lt;600000&gt;;
        regulator-max-microvolt = &lt;1400000&gt;;
        regulator-boot-on;
      };
      buck3 {
        regulator-name = "rt5190a-buck3";
        regulator-min-microvolt = &lt;600000&gt;;
        regulator-max-microvolt = &lt;1400000&gt;;
        regulator-boot-on;
      };
      buck4 {
        regulator-name = "rt5190a-buck4";
        regulator-min-microvolt = &lt;850000&gt;;
        regulator-max-microvolt = &lt;850000&gt;;
        regulator-allowed-modes = &lt;RT5190A_OPMODE_AUTO RT5190A_OPMODE_FPWM&gt;;
        regulator-boot-on;
      };
      ldo {
        regulator-name = "rt5190a-ldo";
        regulator-min-microvolt = &lt;1200000&gt;;
        regulator-max-microvolt = &lt;1200000&gt;;
        regulator-boot-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-only OR BSD-2-Clause</span></p>

</details>
