# Richtek RT4801 Display Bias regulators

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

> Device-tree binding reference for Richtek RT4801 Display Bias regulators.

<!-- 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;rt4801&#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">Regulator nodes should be named to DSVP and DSVN. The
definition for each of these nodes is defined using the standard
binding for regulators at
Documentation/devicetree/bindings/regulator/regulator.txt.
Datasheet is available at
https://www.richtek.com/assets/product_file/RT4801H/DS4801H-00.pdf</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;rt4801&#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-0d068058a6f4b36b1505"></a>

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

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">GPIOs to use to enable DSVP/DSVN regulator. The first one is ENP to enable DSVP, and second one is ENM to enable DSVN. Number of GPIO in the array list could be 1 or 2. If only one gpio is specified, only one gpio used to control ENP/ENM. Else if both are specified, DSVP/DSVN could be controlled individually. If this property not specified, treat both as always-on regulators.
Property is deprecated. Use enable-gpios in each regulator.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-ea9f89a9304a753fcfcc"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-3ea466d5c9323bd58f62"><code>2</code></span>

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

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

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

<a id="dt-8007f88bf8d553975136"></a>

### <code>&#94;DSV&#40;P&#124;N&#41;&#36;</code> — name matches this regular expression

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

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

<a id="dt-91cbf3f2575fd4fb4de4"></a>

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

<code>false</code>

Not allowed by this rule.

<div id="dt-fa782311215836d95e0e">
<p style="white-space: pre-wrap">Properties for single display bias regulator.</p>
</div>

<a id="dt-0650a8687ddbc74ecd05"></a>

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

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

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

<div id="dt-a69f98a3f1405ccfd9af">
<p style="white-space: pre-wrap">GPIO to use to enable DSVP/DSVN regulator. One GPIO can be configured for controlling both regulators.  If this property not specified for any regulator, treat both as always-on regulators.</p>
</div>

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

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

<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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    rt4801@73 {
        compatible = "richtek,rt4801";
        reg = &lt;0x73&gt;;

        dsvp: DSVP {
            regulator-name = "rt4801,dsvp";
            regulator-min-microvolt = &lt;4000000&gt;;
            regulator-max-microvolt = &lt;6000000&gt;;
            regulator-boot-on;
            enable-gpios = &lt;&amp;gpio26 2 0&gt;;
        };
        dsvn: DSVN {
            regulator-name = "rt4801,dsvn";
            regulator-min-microvolt = &lt;4000000&gt;;
            regulator-max-microvolt = &lt;6000000&gt;;
            regulator-boot-on;
            enable-gpios = &lt;&amp;gpio26 3 0&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-only OR BSD-2-Clause</span></p>

</details>
