# Samsung S2MPS11/13/14/15 and S2MPU02 Power Management IC

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

> Device-tree binding reference for Samsung S2MPS11/13/14/15 and S2MPU02 Power Management IC.

<!-- SPDX-License-Identifier: GPL-2.0-only -->


<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;samsung&#44;s2mps11&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This is a part of device tree bindings for S2M and S5M family of Power
Management IC (PMIC).</p>
<p style="white-space: pre-wrap">The Samsung S2MPS11/13/14/15 and S2MPU02 is a family of Power Management IC
which include voltage and current regulators, RTC, clock outputs and other
sub-blocks.</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;samsung&#44;s2mps11&#45;pmic&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;samsung&#44;s2mps13&#45;pmic&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;samsung&#44;s2mps14&#45;pmic&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;samsung&#44;s2mps15&#45;pmic&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;samsung&#44;s2mpu02&#45;pmic&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;samsung&#44;s2mpu05&#45;pmic&#34;</code></span>

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-643939fb37b64dda22fe">[<code>&#47;schemas&#47;clock&#47;samsung&#44;s2mps11&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-clock/samsung-s2mps11.md#dt-root>)</span>

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">Child node describing clock provider.</p>
</div>

<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-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-e2393943ba50b32e47b2"></a>

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

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

<div id="dt-21c242b401be5c67bade">
<p style="white-space: pre-wrap">List of child nodes that specify the regulators.</p>
</div>

<a id="dt-6785421b5d69c24cd19b"></a>

### <code>samsung&#44;s2mps11&#45;acokb&#45;ground</code> — not listed as required here

<div id="dt-5fed97de79148195b680">
<p style="white-space: pre-wrap">Indicates that ACOKB pin of S2MPS11 PMIC is connected to the ground so
the PMIC must manually set PWRHOLD bit in CTRL1 register to turn off the
power. Usually the ACOKB is pulled up to VBATT so when PWRHOLD pin goes
low, the rising ACOKB will trigger power off.</p>
</div>

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

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

### <code>samsung&#44;s2mps11&#45;wrstbi&#45;ground</code> — not listed as required here

<div id="dt-8f2e6b3c6a7c62f6657b">
<p style="white-space: pre-wrap">Indicates that WRSTBI pin of PMIC is pulled down. When the system is
suspended it will always go down thus triggering unwanted buck warm
reset (setting buck voltages to default values).</p>
</div>

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

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

### <code>wakeup&#45;source</code> — not listed as required here

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

**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-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;samsung&#44;s2mps11&#45;pmic&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-a36efce75ba3d3990fcc"></a>
> >
> > **<code>regulators</code> — not listed as required here**
> >
> > **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b7301370e3561c18dc85">[<code>&#47;schemas&#47;regulator&#47;samsung&#44;s2mps11&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-regulator/samsung-s2mps11.md#dt-root>)</span>
> >
> > <a id="dt-dcb60ca97588d6f361ac"></a>
> >
> > **<code>samsung&#44;s2mps11&#45;wrstbi&#45;ground</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;samsung&#44;s2mps13&#45;pmic&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-a1f6ec42009cc1f7d13c"></a>
> >
> > **<code>regulators</code> — not listed as required here**
> >
> > **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9fa91d8a7bcbed4da27d">[<code>&#47;schemas&#47;regulator&#47;samsung&#44;s2mps13&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-regulator/samsung-s2mps13.md#dt-root>)</span>
> >
> > <a id="dt-13167141f9613f1e9db6"></a>
> >
> > **<code>samsung&#44;s2mps11&#45;acokb&#45;ground</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8cd5c6ac7cc13c2d9acf"><code>&#34;samsung&#44;s2mps14&#45;pmic&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-fe6ebf963511527bcfdb"></a>
> >
> > **<code>regulators</code> — not listed as required here**
> >
> > **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2ec14023583cb55155a5">[<code>&#47;schemas&#47;regulator&#47;samsung&#44;s2mps14&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-regulator/samsung-s2mps14.md#dt-root>)</span>
> >
> > <a id="dt-29b92a8e5043c7384163"></a>
> >
> > **<code>samsung&#44;s2mps11&#45;acokb&#45;ground</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-837cd871214a603718ba"></a>
> >
> > **<code>samsung&#44;s2mps11&#45;wrstbi&#45;ground</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

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

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-3de4a4db25c09109abf4"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-5c56c46a4e287cf52ece"><code>&#34;samsung&#44;s2mps15&#45;pmic&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-7cd597a6bb6b91730c25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-f87523328756dcce7baf"></a>
> >
> > **<code>regulators</code> — not listed as required here**
> >
> > **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b30a5cf3e98759ec7398">[<code>&#47;schemas&#47;regulator&#47;samsung&#44;s2mps15&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-regulator/samsung-s2mps15.md#dt-root>)</span>
> >
> > <a id="dt-3e5bd634b761d33b0917"></a>
> >
> > **<code>samsung&#44;s2mps11&#45;acokb&#45;ground</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-14adae269c8c87c01d12"></a>
> >
> > **<code>samsung&#44;s2mps11&#45;wrstbi&#45;ground</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-1c66024c2be5a725f708"></a>

### Rule 5

> <a id="dt-30dd43480a02ff52099e"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-815e247e2e39708faa21"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-95159efb137dae08a1e1"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-2bc9a23172c2091be559"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-def647aea9878c3c7610"><code>&#34;samsung&#44;s2mpu02&#45;pmic&#34;</code></span>
>
> <a id="dt-b13bdf6bf01ba2db1729"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-61105cb355bf27434ff1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-07831fe311b468ce85f0"></a>
> >
> > **<code>regulators</code> — not listed as required here**
> >
> > **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4675e98e27fa8e579570">[<code>&#47;schemas&#47;regulator&#47;samsung&#44;s2mpu02&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-regulator/samsung-s2mpu02.md#dt-root>)</span>
> >
> > <a id="dt-c2a0a2affd88eb87302f"></a>
> >
> > **<code>samsung&#44;s2mps11&#45;acokb&#45;ground</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-da20e108a49d06456bfd"></a>
> >
> > **<code>samsung&#44;s2mps11&#45;wrstbi&#45;ground</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-51879ae9be030b28e888"></a>

### Rule 6

> <a id="dt-29f1a7d11303016de0fb"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-31db8c2b34419cd49333"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-049791ad441d801be5c0"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-b015f3429cf037cca578"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-7f8a84f9de0fb496acc4"><code>&#34;samsung&#44;s2mpu05&#45;pmic&#34;</code></span>
>
> <a id="dt-5d3814a6fa606b79b9a6"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-bc42d1cd066384e1f6fa"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-4c90a3548a343efbf114"></a>
> >
> > **<code>regulators</code> — not listed as required here**
> >
> > **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d444e00d1371ab4f1987">[<code>&#47;schemas&#47;regulator&#47;samsung&#44;s2mpu05&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-regulator/samsung-s2mpu05.md#dt-root>)</span>
> >
> > <a id="dt-d20bba107d8814b3124c"></a>
> >
> > **<code>samsung&#44;s2mps11&#45;acokb&#45;ground</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-669c87900c5292bf2305"></a>
> >
> > **<code>samsung&#44;s2mps11&#45;wrstbi&#45;ground</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property 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;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    pmic@66 {
        compatible = "samsung,s2mps11-pmic";
        reg = &lt;0x66&gt;;

        interrupt-parent = &lt;&amp;gpx0&gt;;
        interrupts = &lt;4 IRQ_TYPE_LEVEL_LOW&gt;;
        pinctrl-names = "default";
        pinctrl-0 = &lt;&amp;s2mps11_irq&gt;;
        samsung,s2mps11-acokb-ground;
        wakeup-source;

        clocks {
            compatible = "samsung,s2mps11-clk";
            #clock-cells = &lt;1&gt;;
            clock-output-names = "s2mps11_ap", "s2mps11_cp", "s2mps11_bt";
        };

        regulators {
            LDO1 {
                regulator-name = "vdd_ldo1";
                regulator-min-microvolt = &lt;1000000&gt;;
                regulator-max-microvolt = &lt;1000000&gt;;
                regulator-always-on;
            };

            LDO4 {
                regulator-name = "vdd_adc";
                regulator-min-microvolt = &lt;1800000&gt;;
                regulator-max-microvolt = &lt;1800000&gt;;

                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            // ....

            BUCK1 {
                regulator-name = "vdd_mif";
                regulator-min-microvolt = &lt;800000&gt;;
                regulator-max-microvolt = &lt;1300000&gt;;
                regulator-always-on;
                regulator-boot-on;

                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            BUCK2 {
                regulator-name = "vdd_arm";
                regulator-min-microvolt = &lt;800000&gt;;
                regulator-max-microvolt = &lt;1500000&gt;;
                regulator-always-on;
                regulator-boot-on;
                regulator-coupled-with = &lt;&amp;buck3_reg&gt;;
                regulator-coupled-max-spread = &lt;300000&gt;;

                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            BUCK3 {
                regulator-name = "vdd_int";
                regulator-min-microvolt = &lt;800000&gt;;
                regulator-max-microvolt = &lt;1400000&gt;;
                regulator-always-on;
                regulator-boot-on;
                regulator-coupled-with = &lt;&amp;buck2_reg&gt;;
                regulator-coupled-max-spread = &lt;300000&gt;;

                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            // ...
        };
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    pmic@66 {
        compatible = "samsung,s2mps14-pmic";
        reg = &lt;0x66&gt;;

        interrupt-parent = &lt;&amp;gpx0&gt;;
        interrupts = &lt;7 IRQ_TYPE_LEVEL_LOW&gt;;
        wakeup-source;

        clocks {
            compatible = "samsung,s2mps14-clk";
            #clock-cells = &lt;1&gt;;
            clock-output-names = "s2mps14_ap", "unused", "s2mps14_bt";
        };

        regulators {
            LDO1 {
                regulator-name = "VLDO1_1.0V";
                regulator-min-microvolt = &lt;1000000&gt;;
                regulator-max-microvolt = &lt;1000000&gt;;
                regulator-always-on;

                regulator-state-mem {
                    regulator-on-in-suspend;
                };
            };

            // ...

            BUCK1 {
                regulator-name = "VBUCK1_1.0V";
                regulator-min-microvolt = &lt;800000&gt;;
                regulator-max-microvolt = &lt;1000000&gt;;
                regulator-always-on;

                regulator-state-mem {
                    regulator-off-in-suspend;
                };
            };

            // ...
        };
    };
};
</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</span></p>

</details>
