# Samsung S2MPG11 Power Management IC

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

> Device-tree binding reference for Samsung S2MPG11 Power Management IC.

<!-- 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;samsung&#44;s2mpg11&#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;André Draszik &#60;andre&#46;draszik&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This is part of the device tree bindings for the S2MPG11 Power Management IC
(PMIC).</p>
<p style="white-space: pre-wrap">The Samsung S2MPG11 is a Power Management IC for mobile applications with buck
converters, various LDOs, power meters, NTC thermistor inputs, and additional
GPIO interfaces and typically complements an S2MPG10 PMIC in a main/sub
configuration as the sub-PMIC.</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;samsung&#44;s2mpg11&#45;pmic&#34;</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-e2393943ba50b32e47b2"></a>

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5819bc1c9841bc927ec5">[<code>&#47;schemas&#47;regulator&#47;samsung&#44;s2mpg11&#45;regulator&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-regulator/samsung-s2mpg11-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-2a09d6d20023955671c8"></a>

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

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

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

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

<a id="dt-147eaf2f89b894186948"></a>

### <code>&#94;vinb&#40;&#40;&#91;1&#45;9&#93;&#124;10&#41;s&#124;&#91;abd&#93;&#41;&#45;supply&#36;</code> — name matches this regular expression

<div id="dt-02dd329ccf87ed18e2d5">
<p style="white-space: pre-wrap">Phandle to the power supply for each buck rail of this PMIC. There is a 1:1 mapping of numbered supply to rail, e.g. vinb1s-supply supplies buck1s. The remaining mapping is as follows vinba - bucka vinbb - buck boost vinbd - buckd</p>
</div>

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

### <code>&#94;vinl&#91;1&#45;6&#93;s&#45;supply&#36;</code> — name matches this regular expression

<div id="dt-fc7b1f1d575e0cb76bad">
<pre><code>Phandle to the power supply for one or multiple LDO rails of this PMIC.
The mapping of supply to rail(s) is as follows
  vinl1s - ldo1s, ldo2s
  vinl2s - ldo8s, ldo9s
  vinl3s - ldo3s, ldo5s, ldo7s, ldo15s
  vinl4s - ldo10s, ldo11s, ldo12s, ldo14s
  vinl5s - ldo4s, ldo6s
  vinl6s - ldo13s</code></pre>
</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;interrupts&#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/samsung,s2mpg10-regulator.h&gt;

pmic {
    compatible = "samsung,s2mpg11-pmic";
    interrupts-extended = &lt;&amp;gpa0 7 IRQ_TYPE_LEVEL_LOW&gt;;
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;pmic_int&gt;;
    wakeup-source;

    vinl1s-supply = &lt;&amp;buck8m&gt;;
    vinl2s-supply = &lt;&amp;buck6s&gt;;

    regulators {
        buckd {
            regulator-name = "vcc_ufs";
            regulator-ramp-delay = &lt;6250&gt;;
            enable-gpios = &lt;&amp;gpp0 1 GPIO_ACTIVE_HIGH&gt;;
            samsung,ext-control = &lt;S2MPG11_EXTCTRL_UFS_EN&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>
