# ROHM BD72720 Power Management Integrated Circuit

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

> Device-tree binding reference for ROHM BD72720 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;bd72720&#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">BD72720 is a single-chip power management IC for battery-powered portable devices. The BD72720 integrates 10 bucks and 11 LDOs, and a 3000 mA switching charger. The IC also includes a Coulomb counter, a real-time clock (RTC), GPIOs and a 32.768 kHz clock gate.</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;bd72720&#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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — required here

<code>true</code> — No constraints added by this property rule.

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

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

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<div id="dt-70b20397c3c73794f833">
<p style="white-space: pre-wrap">The first cell is the pin number and the second cell is used to specify flags. See the gpio binding document for more information.</p>
</div>

<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-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;bd71828&#45;32k&#45;out&#34;</code></span>

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

### <code>rohm&#44;clkout&#45;open&#45;drain</code> — not listed as required here

<div id="dt-bcdf9f37b43941e130ac">
<p style="white-space: pre-wrap">clk32kout mode. Set to 1 for "open-drain" or 0 for "cmos".</p>
</div>

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

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

<a id="dt-766ddb55c6103b385919"></a>

### <code>rohm&#44;charger&#45;sense&#45;resistor&#45;micro&#45;ohms</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-5660bd287cb1244d2f8e"><code>10000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-58f68c57af0aef6bc1fd"><code>50000</code></span>

<div id="dt-56c1ee00af918bcc5ae8">
<p style="white-space: pre-wrap">BD72720 has a SAR ADC for measuring charging currents. External sense resistor (RSENSE in data sheet) should be used. If some other but 30 mOhm resistor is used the resistance value should be given here in micro Ohms.</p>
</div>

<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;bd72720&#45;regulator&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-regulator/rohm-bd72720-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>

<a id="dt-85c9b34b55b27f5ea876"></a>

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

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

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

### <code>rohm&#44;pin&#45;fault&#95;b</code> — not listed as required here

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

<div id="dt-c179495aad2846e1c9d4">
<p style="white-space: pre-wrap">BD72720 has an OTP option to use fault_b-pin for different purposes. Set this property accordingly. OTP options are OTP0 - bi-directional FAULT_B or READY indicator depending on a 'sub option' OTP1 - GPO OTP2 - Power sequencer output.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-cb3931a13858a565479c"></a> <span id="dt-b2711de3e85b2d28c868"><code>&#34;faultb&#34;</code></span>, <span id="dt-8e78255cae8b2f81dd9b"><code>&#34;readyind&#34;</code></span>, <span id="dt-11bf0378136e3057e2b4"><code>&#34;gpo&#34;</code></span>, <span id="dt-c7a5abd6945c26165bd9"><code>&#34;pwrseq&#34;</code></span>

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

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

<a id="dt-66fdac935221b4654a73"></a>

### <code>&#94;rohm&#44;pin&#45;dvs&#91;0&#45;1&#93;&#36;</code> — name matches this regular expression

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

<div id="dt-9a3b57dd053fd0cbf25b">
<p style="white-space: pre-wrap">BD72720 has 4 different OTP options to determine the use of dvs&lt;X&gt;-pins. OTP0 - regulator RUN state control. OTP1 - GPI. OTP2 - GPO. OTP3 - Power sequencer output. This property specifies the use of the pin.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-9b01e5b98ff5ba2a5d02"></a> <span id="dt-e285214b28fd67246fcf"><code>&#34;dvs&#45;input&#34;</code></span>, <span id="dt-4d936e9d86b3a326bc66"><code>&#34;gpi&#34;</code></span>, <span id="dt-949bf038c714435060b2"><code>&#34;gpo&#34;</code></span>, <span id="dt-ab57527f8c08787219cf"><code>&#34;pwrseq&#34;</code></span>

<a id="dt-73cabaabe385af38bb5d"></a>

### <code>&#94;rohm&#44;pin&#45;exten&#91;0&#45;1&#93;&#36;</code> — name matches this regular expression

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

<div id="dt-c899e63c0677af16cf6f">
<p style="white-space: pre-wrap">BD72720 has an OTP option to use exten0-pin for different purposes. Set this property accordingly. OTP0 - GPO OTP1 - Power sequencer output.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-b18da85ca87b62429aa3"></a> <span id="dt-bd16f4ae4e334eab4d9c"><code>&#34;gpo&#34;</code></span>, <span id="dt-25030c28a43b1166611b"><code>&#34;pwrseq&#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;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>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;&#35;gpio&#45;cells&#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,bd72720";
        reg = &lt;0x4b&gt;;

        interrupt-parent = &lt;&amp;gpio1&gt;;
        interrupts = &lt;29 IRQ_TYPE_LEVEL_LOW&gt;;

        clocks = &lt;&amp;osc 0&gt;;
        #clock-cells = &lt;0&gt;;
        clock-output-names = "bd71828-32k-out";

        gpio-controller;
        #gpio-cells = &lt;2&gt;;

        rohm,pin-dvs0 = "gpi";
        rohm,pin-dvs1 = "gpi";
        rohm,pin-exten0 = "gpo";
        rohm,pin-exten1 = "gpo";
        rohm,pin-fault_b = "faultb";

        rohm,charger-sense-resistor-micro-ohms = &lt;10000&gt;;

        regulators {
            buck1 {
                regulator-name = "buck1";
                regulator-min-microvolt = &lt;500000&gt;;
                regulator-max-microvolt = &lt;2000000&gt;;
                regulator-ramp-delay = &lt;2500&gt;;
            };
            buck2 {
                regulator-name = "buck2";
                regulator-min-microvolt = &lt;500000&gt;;
                regulator-max-microvolt = &lt;2000000&gt;;
                regulator-ramp-delay = &lt;2500&gt;;
            };
            buck3 {
                regulator-name = "buck3";
                regulator-min-microvolt = &lt;1200000&gt;;
                regulator-max-microvolt = &lt;2000000&gt;;
            };
            buck4 {
                regulator-name = "buck4";
                regulator-min-microvolt = &lt;1000000&gt;;
                regulator-max-microvolt = &lt;1800000&gt;;
            };
            buck5 {
                regulator-name = "buck5";
                regulator-min-microvolt = &lt;2500000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
            };
            buck6 {
                regulator-name = "buck6";
                regulator-min-microvolt = &lt;500000&gt;;
                regulator-max-microvolt = &lt;2000000&gt;;
                regulator-ramp-delay = &lt;2500&gt;;
            };
            buck7 {
                regulator-name = "buck7";
                regulator-min-microvolt = &lt;500000&gt;;
                regulator-max-microvolt = &lt;2000000&gt;;
                regulator-ramp-delay = &lt;2500&gt;;
            };
            buck8 {
                regulator-name = "buck8";
                regulator-min-microvolt = &lt;500000&gt;;
                regulator-max-microvolt = &lt;1700000&gt;;
                regulator-ramp-delay = &lt;2500&gt;;
                rohm,dvs-run-voltage = &lt;1700000&gt;;
                rohm,dvs-idle-voltage = &lt;1&gt;;
                rohm,dvs-suspend-voltage = &lt;1&gt;;
                rohm,dvs-lpsr-voltage = &lt;0&gt;;
                regulator-boot-on;
            };
            buck9 {
                regulator-name = "buck9";
                regulator-min-microvolt = &lt;500000&gt;;
                regulator-max-microvolt = &lt;1700000&gt;;
                regulator-ramp-delay = &lt;2500&gt;;
                rohm,dvs-run-voltage = &lt;1700000&gt;;
                rohm,dvs-idle-voltage = &lt;1&gt;;
                rohm,dvs-suspend-voltage = &lt;1&gt;;
                rohm,dvs-lpsr-voltage = &lt;0&gt;;
                regulator-boot-on;
            };
            buck10 {
                regulator-name = "buck10";
                regulator-min-microvolt = &lt;500000&gt;;
                regulator-max-microvolt = &lt;1700000&gt;;
                regulator-ramp-delay = &lt;2500&gt;;
                rohm,dvs-run-voltage = &lt;1700000&gt;;
                rohm,dvs-idle-voltage = &lt;1&gt;;
                rohm,dvs-suspend-voltage = &lt;1&gt;;
                rohm,dvs-lpsr-voltage = &lt;0&gt;;
                regulator-boot-on;
            };
            ldo1 {
                regulator-name = "ldo1";
                regulator-min-microvolt = &lt;800000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
            };
            ldo2 {
                regulator-name = "ldo2";
                regulator-min-microvolt = &lt;800000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
            };
            ldo3 {
                regulator-name = "ldo3";
                regulator-min-microvolt = &lt;800000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
            };
            ldo4 {
                regulator-name = "ldo4";
                regulator-min-microvolt = &lt;800000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
            };
            ldo5 {
                regulator-name = "ldo5";
                regulator-min-microvolt = &lt;800000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
            };
            ldo6 {
                regulator-name = "ldo6";
                regulator-min-microvolt = &lt;1800000&gt;;
                regulator-max-microvolt = &lt;1800000&gt;;
            };
            ldo7 {
                regulator-name = "ldo7";
                regulator-min-microvolt = &lt;800000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
            };
            ldo8 {
                regulator-name = "ldo8";
                regulator-min-microvolt = &lt;750000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
                rohm,dvs-suspend-voltage = &lt;0&gt;;
                rohm,dvs-lpsr-voltage = &lt;1&gt;;
                rohm,dvs-run-voltage = &lt;750000&gt;;
            };
            ldo9 {
                regulator-name = "ldo9";
                regulator-min-microvolt = &lt;750000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
                rohm,dvs-suspend-voltage = &lt;0&gt;;
                rohm,dvs-lpsr-voltage = &lt;1&gt;;
                rohm,dvs-run-voltage = &lt;750000&gt;;
            };
            ldo10 {
                regulator-name = "ldo10";
                regulator-min-microvolt = &lt;750000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
                rohm,dvs-suspend-voltage = &lt;0&gt;;
                rohm,dvs-lpsr-voltage = &lt;1&gt;;
                rohm,dvs-run-voltage = &lt;750000&gt;;
            };
            ldo11 {
                regulator-name = "ldo11";
                regulator-min-microvolt = &lt;750000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
                rohm,dvs-suspend-voltage = &lt;0&gt;;
                rohm,dvs-lpsr-voltage = &lt;1&gt;;
                rohm,dvs-run-voltage = &lt;750000&gt;;
            };
        };

        leds {
            compatible = "rohm,bd71828-leds";

            led-1 {
                rohm,led-compatible = "bd71828-grnled";
                function = LED_FUNCTION_INDICATOR;
                color = &lt;LED_COLOR_ID_GREEN&gt;;
            };
            led-2 {
                rohm,led-compatible = "bd71828-ambled";
                function = LED_FUNCTION_CHARGING;
                color = &lt;LED_COLOR_ID_AMBER&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 18:</strong> <span> In addition to the properties found from the charger node, the ROHM BD72720</span></p>

<p id="dt-comment-2"><strong>Line 19:</strong> <span> uses properties from a static battery node. Please see the:</span></p>

<p id="dt-comment-3"><strong>Line 20:</strong> <span> Documentation/devicetree/bindings/power/supply/battery.yaml</span></p>

<p id="dt-comment-4"><strong>Line 21:</strong> <span></span></p>

<p id="dt-comment-5"><strong>Line 22:</strong> <span> Following properties are used</span></p>

<p id="dt-comment-6"><strong>Line 23:</strong> <span> when present:</span></p>

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

<p id="dt-comment-8"><strong>Line 25:</strong> <span> charge-full-design-microamp-hours: Battry capacity in mAh</span></p>

<p id="dt-comment-9"><strong>Line 26:</strong> <span> voltage-max-design-microvolt:      Maximum voltage</span></p>

<p id="dt-comment-10"><strong>Line 27:</strong> <span> voltage-min-design-microvolt:      Minimum voltage system is still operating.</span></p>

<p id="dt-comment-11"><strong>Line 28:</strong> <span> degrade-cycle-microamp-hours:      Capacity lost due to aging at each full</span></p>

<p id="dt-comment-12"><strong>Line 29:</strong> <span>                                    charge cycle.</span></p>

<p id="dt-comment-13"><strong>Line 30:</strong> <span> ocv-capacity-celsius:              Array of OCV table temperatures. 1/table.</span></p>

<p id="dt-comment-14"><strong>Line 31:</strong> <span> ocv-capacity-table-&lt;N&gt;:            Table of OCV voltage/SOC pairs. Corresponds</span></p>

<p id="dt-comment-15"><strong>Line 32:</strong> <span>                                    N.th temperature in ocv-capacity-celsius</span></p>

<p id="dt-comment-16"><strong>Line 33:</strong> <span></span></p>

<p id="dt-comment-17"><strong>Line 34:</strong> <span> volt-drop-thresh-microvolt: Threshold for starting the VDR correction</span></p>

<p id="dt-comment-18"><strong>Line 35:</strong> <span> volt-drop-soc:                Table of capacity values matching the</span></p>

<p id="dt-comment-19"><strong>Line 36:</strong> <span>                                    values in VDR tables.</span></p>

<p id="dt-comment-20"><strong>Line 37:</strong> <span></span></p>

<p id="dt-comment-21"><strong>Line 38:</strong> <span> volt-drop-temperatures-millicelsius: Temperatures corresponding to the volage</span></p>

<p id="dt-comment-22"><strong>Line 39:</strong> <span> drop values given in volt-drop-[0-9]-microvolt</span></p>

<p id="dt-comment-23"><strong>Line 40:</strong> <span></span></p>

<p id="dt-comment-24"><strong>Line 41:</strong> <span> volt-drop-[0-9]-microvolt: VDR table for a temperature specified in</span></p>

<p id="dt-comment-25"><strong>Line 42:</strong> <span> volt-drop-temperatures-millicelsius</span></p>

<p id="dt-comment-26"><strong>Line 43:</strong> <span></span></p>

<p id="dt-comment-27"><strong>Line 44:</strong> <span> VDR tables are (usually) determined for a specific battery by ROHM.</span></p>

<p id="dt-comment-28"><strong>Line 45:</strong> <span> The battery node would then be referred from the charger node:</span></p>

<p id="dt-comment-29"><strong>Line 46:</strong> <span></span></p>

<p id="dt-comment-30"><strong>Line 47:</strong> <span> monitored-battery = &lt;&amp;battery&gt;;</span></p>

</details>
