# ROHM BD71815 Power Management Integrated Circuit regulators

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

> Device-tree binding reference for ROHM BD71815 Power Management Integrated Circuit 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;rohm&#44;bd71815&#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;Matti Vaittinen &#60;mazziesaccount&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This module is part of the ROHM BD718215 MFD device. For more details
see Documentation/devicetree/bindings/mfd/rohm,bd71815-pmic.yaml.</p>
<p style="white-space: pre-wrap">The regulator controller is represented as a sub-node of the PMIC node
on the device tree.</p>
<p style="white-space: pre-wrap">The valid names for BD71815 regulator nodes are
buck1, buck2, buck3, buck4, buck5,
ldo1, ldo2, ldo3, ldo4, ldo5,
ldodvref, ldolpsr, wled</p>
</div>

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

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

<a id="dt-78f1a5bb8baad4f27c68"></a>

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

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

<div id="dt-7aee3cc469df99299d91">
<p style="white-space: pre-wrap">properties for wled regulator</p>
</div>

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

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

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

<code>false</code>

Not allowed by this rule.

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-9f3f43cbade5d3df8388"><code>&#34;wled&#34;</code></span>

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

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

<a id="dt-23f2c0355747e51722ef"></a>

### <code>&#94;&#40;&#40;ldo&#124;buck&#41;&#91;1&#45;5&#93;&#124;ldolpsr&#124;ldodvref&#41;&#36;</code> — name matches this regular expression

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

<div id="dt-d5c6ef7bbcf8ab8690ae">
<p style="white-space: pre-wrap">Properties for single LDO/BUCK regulator.</p>
</div>

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

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

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

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

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

**String pattern (<code>pattern</code>):** <span id="dt-5e9590f317be2d80212f"><code>&#34;&#94;&#40;&#40;ldo&#124;buck&#41;&#91;1&#45;5&#93;&#124;ldolpsr&#124;ldodvref&#41;&#36;&#34;</code></span>

<div id="dt-a7877a2388b6b1516140">
<p style="white-space: pre-wrap">should be "ldo1", ..., "ldo5", "buck1", ..., "buck5" and "ldolpsr" for ldolpsr regulator, "ldodvref" for ldodvref reglator.</p>
</div>

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

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

<div id="dt-04d13f8c0fef43519021">
<p style="white-space: pre-wrap">GPIO used to control ldo4 state (when ldo4 is controlled by GPIO).</p>
</div>

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

**<code>rohm&#44;dvs&#45;run&#45;voltage</code> — not listed as required here**

<div id="dt-2863feb2d4c1b838687f">
<p style="white-space: pre-wrap">PMIC "RUN" state voltage in uV when PMIC HW states are used. See comments below for bucks/LDOs which support this. 0 means regulator should be disabled at RUN state.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-36c574ec5c4810c21a46">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-d25270635053495b7ebf"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-2c460fc94a3ad8d2f5bb"><code>3300000</code></span>

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

**<code>rohm&#44;dvs&#45;snvs&#45;voltage</code> — not listed as required here**

<div id="dt-62972b44d5d8105829e7">
<p style="white-space: pre-wrap">Whether to keep regulator enabled at "SNVS" state or not. 0 means regulator should be disabled at SNVS state, non zero voltage keeps regulator enabled. BD71815 does not change voltage level when PMIC transitions to SNVS.SNVS voltage depends on the previous state (from which the PMIC transitioned to SNVS).</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-43f2eb13148fd20a32b6">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-cf7e46e20a4ad626108f"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-34e47194e3a0a6b789bc"><code>3300000</code></span>

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

**<code>rohm&#44;dvs&#45;suspend&#45;voltage</code> — not listed as required here**

<div id="dt-16e23d21671106fe5ed9">
<p style="white-space: pre-wrap">PMIC "SUSPEND" state voltage in uV when PMIC HW states are used. See comments below for bucks/LDOs which support this. 0 means regulator should be disabled at SUSPEND state.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a3f33806bb292c57e51b">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-85194f281505fecc79d9"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-17e8f4d6d7268aac711f"><code>3300000</code></span>

<a id="dt-8bf36a5ce61954c58e60"></a>

**<code>rohm&#44;dvs&#45;lpsr&#45;voltage</code> — not listed as required here**

<div id="dt-4cc1c981c5628111ccc4">
<p style="white-space: pre-wrap">PMIC "LPSR" state voltage in uV when PMIC HW states are used. See comments below for bucks/LDOs which support this. 0 means regulator should be disabled at LPSR state.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-27aa6832645e37fa921b">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Minimum value (<code>minimum</code>):** <span id="dt-2f5d6711768982dee388"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-baf21a0a55baabf85710"><code>3300000</code></span>

**Required in this object (<code>required</code>):** <a id="dt-f23e80de97bdd993310e"></a> <span id="dt-0c3c172350c02148cd0a"><code>&#34;regulator&#45;name&#34;</code></span>

<a id="dt-249103ff89f84079f1d2"></a>

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

<code>false</code>

Not allowed by this rule.

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

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

<p id="dt-comment-1"><strong>Line 92:</strong> <span> Bucks 1 and 2 support giving separate voltages for operational states</span></p>

<p id="dt-comment-2"><strong>Line 93:</strong> <span> (RUN /CLEAN according to data-sheet) and non operational states</span></p>

<p id="dt-comment-3"><strong>Line 94:</strong> <span> (LPSR/SUSPEND). The voltage is automatically changed when HW</span></p>

<p id="dt-comment-4"><strong>Line 95:</strong> <span> state changes. Omitting these properties from bucks 1 and 2 leave</span></p>

<p id="dt-comment-5"><strong>Line 96:</strong> <span> buck voltages to not be toggled by HW state. Enable status may still</span></p>

<p id="dt-comment-6"><strong>Line 97:</strong> <span> be toggled by state changes depending on HW default settings.</span></p>

<p id="dt-comment-7"><strong>Line 98:</strong> <span></span></p>

<p id="dt-comment-8"><strong>Line 99:</strong> <span> Bucks 3-5 and ldos 1-5 support setting the RUN state voltage here.</span></p>

<p id="dt-comment-9"><strong>Line 100:</strong> <span> Given RUN voltage is used at all states if regulator is enabled at</span></p>

<p id="dt-comment-10"><strong>Line 101:</strong> <span> given state.</span></p>

<p id="dt-comment-11"><strong>Line 102:</strong> <span> Values given for other states are regarded as enable/disable at</span></p>

<p id="dt-comment-12"><strong>Line 103:</strong> <span> given state (see below).</span></p>

<p id="dt-comment-13"><strong>Line 104:</strong> <span></span></p>

<p id="dt-comment-14"><strong>Line 105:</strong> <span> All regulators except WLED support specifying enable/disable status</span></p>

<p id="dt-comment-15"><strong>Line 106:</strong> <span> for each of the HW states (RUN/SNVS/SUSPEND/LPSR). HW defaults can</span></p>

<p id="dt-comment-16"><strong>Line 107:</strong> <span> be overridden by setting voltage to 0 (regulator disabled at given</span></p>

<p id="dt-comment-17"><strong>Line 108:</strong> <span> state) or non-zero (regulator enabled at given state). Please note</span></p>

<p id="dt-comment-18"><strong>Line 109:</strong> <span> that setting non zero voltages for bucks 1/2 will also enable voltage</span></p>

<p id="dt-comment-19"><strong>Line 110:</strong> <span> changes according to state change.</span></p>

</details>
