# ROHM BD71837 Power Management Integrated Circuit

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

> Device-tree binding reference for ROHM BD71837 Power Management Integrated Circuit.

<!-- 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;mfd&#47;rohm&#44;bd71837&#45;pmic&#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">BD71837MWV is programmable Power Management ICs for powering single-core,
dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is optimized for low
BOM cost and compact solution footprint. BD71837MWV  integrates 8 Buck
regulators and 7 LDOs.
Datasheet for BD71837 is available at
https://www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applications/nxp-imx/bd71837amwv-product</p>
</div>

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

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

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C slave address.</p>
</div>

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

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

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

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

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

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

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

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;osc&#34;</code></span>

<a id="dt-7471877b51a93881192b"></a>

### <code>&#35;clock&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-0eebe37dd30ae3dd2a72"><code>0</code></span>

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

### <code>clock&#45;output&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-ec886847af661a542167"><code>&#34;pmic&#95;clk&#34;</code></span>

<a id="dt-12001fc810fb77913c93"></a>

### <code>rohm&#44;reset&#45;snvs&#45;powered</code> — not listed as required here

<div id="dt-763c4dc09cab677ace49">
<p style="white-space: pre-wrap">Transfer PMIC to SNVS state at reset</p>
</div>

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

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

### <code>rohm&#44;short&#45;press&#45;ms</code> — not listed as required here

<div id="dt-6e977ca5ee686f4800ac">
<p style="white-space: pre-wrap">Short press duration in milliseconds</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-770e34fe360295e2a491"></a> <span id="dt-32fc83223c236dfe2af2"><code>10</code></span>, <span id="dt-d3a14fcb1536d6c8c2b9"><code>500</code></span>, <span id="dt-b30e22d9ecbf1139b50b"><code>1000</code></span>, <span id="dt-5252b4d28bce74cca44d"><code>1500</code></span>, <span id="dt-0effe5c19ab91aa5b83c"><code>2000</code></span>, <span id="dt-36c182dd61532535180e"><code>2500</code></span>, <span id="dt-ba86546c5518dac09b68"><code>3000</code></span>, <span id="dt-fd9fd49f3adaa9975693"><code>3500</code></span>, <span id="dt-a64999fb267d7ce4670d"><code>4000</code></span>, <span id="dt-9bc7a9a93a55bcde189a"><code>4500</code></span>, <span id="dt-a0784383eae0485fa0f8"><code>5000</code></span>, <span id="dt-3543ae4a32900ff9806d"><code>5500</code></span>, <span id="dt-7c83fbc5766d995856b8"><code>6000</code></span>, <span id="dt-3b6352609a85ad9bacf1"><code>6500</code></span>, <span id="dt-46104cfb5c430f1b85f4"><code>7000</code></span>

<a id="dt-618c1c1b1aad9761385a"></a>

### <code>rohm&#44;long&#45;press&#45;ms</code> — not listed as required here

<div id="dt-3ce2ecf43fcc7cf90d47">
<p style="white-space: pre-wrap">Long press duration in milliseconds</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-7b48e0be0974acc20858"></a> <span id="dt-b70a6ab61960dc29abb2"><code>10</code></span>, <span id="dt-cb79944ef48c479070a5"><code>1000</code></span>, <span id="dt-71f275146259353dbb41"><code>2000</code></span>, <span id="dt-09d5c00cc09a3aef7295"><code>3000</code></span>, <span id="dt-26c801d682b566552851"><code>4000</code></span>, <span id="dt-e37ab48c4d98cd503330"><code>5000</code></span>, <span id="dt-9b4745c54cd655543eb8"><code>6000</code></span>, <span id="dt-f2d4656c5a807815de21"><code>7000</code></span>, <span id="dt-d5452d19b2a1f0b62047"><code>8000</code></span>, <span id="dt-86c36ba3239810f5893e"><code>9000</code></span>, <span id="dt-fa9259e613f7de766da5"><code>10000</code></span>, <span id="dt-343f51c9365ba58a9c34"><code>11000</code></span>, <span id="dt-73b646088b63d8051299"><code>12000</code></span>, <span id="dt-6631b1ddf58d6b29c8aa"><code>13000</code></span>, <span id="dt-c98ba4cd7512c65ad5ee"><code>14000</code></span>

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

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

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

<div id="dt-21c242b401be5c67bade">
<p style="white-space: pre-wrap">List of child nodes that specify the regulators.</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;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;clock&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><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/leds/common.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    pmic: pmic@4b {
        compatible = "rohm,bd71837";
        reg = &lt;0x4b&gt;;
        interrupt-parent = &lt;&amp;gpio1&gt;;
        interrupts = &lt;29 IRQ_TYPE_LEVEL_LOW&gt;;
        #clock-cells = &lt;0&gt;;
        clocks = &lt;&amp;osc 0&gt;;
        rohm,reset-snvs-powered;
        rohm,short-press-ms = &lt;10&gt;;
        rohm,long-press-ms = &lt;2000&gt;;

        regulators {
            buck1: BUCK1 {
                regulator-name = "buck1";
                regulator-min-microvolt = &lt;700000&gt;;
                regulator-max-microvolt = &lt;1300000&gt;;
                regulator-boot-on;
                regulator-always-on;
                regulator-ramp-delay = &lt;1250&gt;;
                rohm,dvs-run-voltage = &lt;900000&gt;;
                rohm,dvs-idle-voltage = &lt;850000&gt;;
                rohm,dvs-suspend-voltage = &lt;800000&gt;;
            };
            buck2: BUCK2 {
                regulator-name = "buck2";
                regulator-min-microvolt = &lt;700000&gt;;
                regulator-max-microvolt = &lt;1300000&gt;;
                regulator-boot-on;
                regulator-always-on;
                regulator-ramp-delay = &lt;1250&gt;;
                rohm,dvs-run-voltage = &lt;1000000&gt;;
                rohm,dvs-idle-voltage = &lt;900000&gt;;
            };
            buck3: BUCK3 {
                regulator-name = "buck3";
                regulator-min-microvolt = &lt;700000&gt;;
                regulator-max-microvolt = &lt;1300000&gt;;
                regulator-boot-on;
                rohm,dvs-run-voltage = &lt;1000000&gt;;
            };
            buck4: BUCK4 {
                regulator-name = "buck4";
                regulator-min-microvolt = &lt;700000&gt;;
                regulator-max-microvolt = &lt;1300000&gt;;
                regulator-boot-on;
                rohm,dvs-run-voltage = &lt;1000000&gt;;
            };
            buck5: BUCK5 {
                regulator-name = "buck5";
                regulator-min-microvolt = &lt;700000&gt;;
                regulator-max-microvolt = &lt;1350000&gt;;
                regulator-boot-on;
            };
            buck6: BUCK6 {
                regulator-name = "buck6";
                regulator-min-microvolt = &lt;3000000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
                regulator-boot-on;
            };
            buck7: BUCK7 {
                regulator-name = "buck7";
                regulator-min-microvolt = &lt;1605000&gt;;
                regulator-max-microvolt = &lt;1995000&gt;;
                regulator-boot-on;
            };
            buck8: BUCK8 {
                regulator-name = "buck8";
                regulator-min-microvolt = &lt;800000&gt;;
                regulator-max-microvolt = &lt;1400000&gt;;
            };

            ldo1: LDO1 {
                regulator-name = "ldo1";
                regulator-min-microvolt = &lt;3000000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
                regulator-boot-on;
            };
            ldo2: LDO2 {
                regulator-name = "ldo2";
                regulator-min-microvolt = &lt;900000&gt;;
                regulator-max-microvolt = &lt;900000&gt;;
                regulator-boot-on;
            };
            ldo3: LDO3 {
                regulator-name = "ldo3";
                regulator-min-microvolt = &lt;1800000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
            };
            ldo4: LDO4 {
                regulator-name = "ldo4";
                regulator-min-microvolt = &lt;900000&gt;;
                regulator-max-microvolt = &lt;1800000&gt;;
            };
            ldo5: LDO5 {
                regulator-name = "ldo5";
                regulator-min-microvolt = &lt;1800000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
            };
            ldo6: LDO6 {
                regulator-name = "ldo6";
                regulator-min-microvolt = &lt;900000&gt;;
                regulator-max-microvolt = &lt;1800000&gt;;
            };
            ldo7_reg: LDO7 {
                regulator-name = "ldo7";
                regulator-min-microvolt = &lt;1800000&gt;;
                regulator-max-microvolt = &lt;3300000&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>

<p id="dt-comment-1"><strong>Line 44:</strong> <span> The BD718x7 supports two different HW states as reset target states. States</span></p>

<p id="dt-comment-2"><strong>Line 45:</strong> <span> are called as SNVS and READY. At READY state all the PMIC power outputs go</span></p>

<p id="dt-comment-3"><strong>Line 46:</strong> <span> down and OTP is reload. At the SNVS state all other logic and external</span></p>

<p id="dt-comment-4"><strong>Line 47:</strong> <span> devices apart from the SNVS power domain are shut off. Please refer to NXP</span></p>

<p id="dt-comment-5"><strong>Line 48:</strong> <span> i.MX8 documentation for further information regarding SNVS state. When a</span></p>

<p id="dt-comment-6"><strong>Line 49:</strong> <span> reset is done via SNVS state the PMIC OTP data is not reload. This causes</span></p>

<p id="dt-comment-7"><strong>Line 50:</strong> <span> power outputs that have been under SW control to stay down when reset has</span></p>

<p id="dt-comment-8"><strong>Line 51:</strong> <span> switched power state to SNVS. If reset is done via READY state the power</span></p>

<p id="dt-comment-9"><strong>Line 52:</strong> <span> outputs will be returned to HW control by OTP loading. Thus the reset</span></p>

<p id="dt-comment-10"><strong>Line 53:</strong> <span> target state is set to READY by default. If SNVS state is used the boot</span></p>

<p id="dt-comment-11"><strong>Line 54:</strong> <span> crucial regulators must have the regulator-always-on and regulator-boot-on</span></p>

<p id="dt-comment-12"><strong>Line 55:</strong> <span> properties set in regulator node.</span></p>

<p id="dt-comment-13"><strong>Line 62:</strong> <span> Configure the "short press" and "long press" timers for the power button.</span></p>

<p id="dt-comment-14"><strong>Line 63:</strong> <span> Values are rounded to what hardware supports</span></p>

<p id="dt-comment-15"><strong>Line 64:</strong> <span> Short-press:</span></p>

<p id="dt-comment-16"><strong>Line 65:</strong> <span>   Shortest being 10ms, next 500ms and then multiple of 500ms up to 7,5s</span></p>

<p id="dt-comment-17"><strong>Line 66:</strong> <span> Long-press:</span></p>

<p id="dt-comment-18"><strong>Line 67:</strong> <span>   Shortest being 10ms, next 1000ms and then multiple of 1000ms up to 15s</span></p>

<p id="dt-comment-19"><strong>Line 68:</strong> <span> If these properties are not present the existing configuration (from</span></p>

<p id="dt-comment-20"><strong>Line 69:</strong> <span> bootloader or OTP) is not touched.</span></p>

</details>
