# Dialog Semiconductor SLG51000 Voltage Regulator

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

> Device-tree binding reference for Dialog Semiconductor SLG51000 Voltage 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;dlg&#44;slg51000&#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;Eric Jeong &#60;eric&#46;jeong&#46;opensource&#64;diasemi&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Support Opensource &#60;support&#46;opensource&#64;diasemi&#46;com&#62;&#34;</code></span>

<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;dlg&#44;slg51000&#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-47029029d4d0e16d9887"></a>

### <code>dlg&#44;cs&#45;gpios</code> — not listed as required here

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

<div id="dt-5a5eb9911c716a9fadc8">
<p style="white-space: pre-wrap">GPIO for chip select</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">Input supply for ldo3, required if regulator is enabled</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">Input supply for ldo4, required if regulator is enabled</p>
</div>

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

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

<div id="dt-44584bfe5b325b684ce6">
<p style="white-space: pre-wrap">Input supply for ldo5, required if regulator is enabled</p>
</div>

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

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

<div id="dt-a687b0d2f3e406f4a3ec">
<p style="white-space: pre-wrap">Input supply for ldo6, required if regulator is enabled</p>
</div>

<a id="dt-2a958f82c632bf1623f5"></a>

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

<div id="dt-73178a569c7c0ae2d118">
<p style="white-space: pre-wrap">Input supply for ldo7, required if regulator is enabled</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-6545a4e352dd7d7c3f1d"></a>

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

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

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

<a id="dt-392c5b20f1cc8413c864"></a>

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

<code>false</code>

Not allowed by this rule.

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

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

<a id="dt-61578067ac0b0bb9fcc6"></a>

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

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

**Required in this object (<code>required</code>):** <a id="dt-237c9f894a842bc3acf7"></a> <span id="dt-9c44dcf888b138bf9530"><code>&#34;regulator&#45;name&#34;</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>, <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/gpio/gpio.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/regulator/dlg,da9121-regulator.h&gt;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    pmic@75 {
        compatible = "dlg,slg51000";
        reg = &lt;0x75&gt;;
        dlg,cs-gpios = &lt;&amp;tlmm 69 GPIO_ACTIVE_HIGH&gt;;
        vin5-supply = &lt;&amp;vreg_s1f_1p2&gt;;
        vin6-supply = &lt;&amp;vreg_s1f_1p2&gt;;

        regulators {
            ldo1 {
                regulator-name = "slg51000_b_ldo1";
                regulator-min-microvolt = &lt;2400000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
            };

            ldo2 {
                regulator-name = "slg51000_b_ldo2";
                regulator-min-microvolt = &lt;2400000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
            };

            ldo3 {
                regulator-name = "slg51000_b_ldo3";
                regulator-min-microvolt = &lt;1200000&gt;;
                regulator-max-microvolt = &lt;3750000&gt;;
            };

            ldo4 {
                regulator-name = "slg51000_b_ldo4";
                regulator-min-microvolt = &lt;1200000&gt;;
                regulator-max-microvolt = &lt;3750000&gt;;
            };

            ldo5 {
                regulator-name = "slg51000_b_ldo5";
                regulator-min-microvolt = &lt;500000&gt;;
                regulator-max-microvolt = &lt;1200000&gt;;
            };

            ldo6 {
                regulator-name = "slg51000_b_ldo6";
                regulator-min-microvolt = &lt;500000&gt;;
                regulator-max-microvolt = &lt;1200000&gt;;
            };

            ldo7 {
                regulator-name = "slg51000_b_ldo7";
                regulator-min-microvolt = &lt;1200000&gt;;
                regulator-max-microvolt = &lt;3750000&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>
