# Samsung S2MPG11 Power Management IC regulators

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

> Device-tree binding reference for Samsung S2MPG11 Power Management IC 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;samsung&#44;s2mpg11&#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;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 S2MG11 Power Management IC
(PMIC).</p>
<p style="white-space: pre-wrap">The S2MPG11 PMIC provides 12 buck, 1 buck-boost, and 15 LDO regulators.</p>
<p style="white-space: pre-wrap">See also Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml for
additional information and example.</p>
</div>

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

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

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

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

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

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

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

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

<code>false</code>

Not allowed by this rule.

<div id="dt-0aa1d936d4be1a86b4fb">
<p style="white-space: pre-wrap">Properties for the buck-boost regulator.</p>
</div>

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

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

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

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

<code>false</code> — Not permitted by this property rule.

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

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

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

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

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

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

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

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

<code>false</code>

Not allowed by this rule.

<div id="dt-96e46334c9e23c7e4198">
<p style="white-space: pre-wrap">Properties for a single buck regulator.</p>
</div>

<a id="dt-3938c1f8520b46e61882"></a>

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

<a id="dt-5cf644ba7550225ce3f9"></a>

**Rule 1**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-35bc6eb50a3cdbf66099">[<code>&#35;&#47;&#36;defs&#47;s2mpg11&#45;ext&#45;control</code>](<#dt-d0a51089cdf78a17b3ce>)</span>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-95bab80ee82c40bc657b"></a> <span id="dt-ec220f570b0d9492ebe5"><code>6250</code></span>, <span id="dt-11efaaeb24c5486dd48e"><code>12500</code></span>, <span id="dt-27cee1ea90d7603d9125"><code>25000</code></span>

**Default value (<code>default</code>):** <span id="dt-5c865f1b63d4b0d4b121"><code>6250</code></span>

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

### <code>&#94;ldo&#40;&#91;3&#45;79&#93;&#124;1&#91;01245&#93;&#41;s&#36;</code> — name matches this regular expression

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

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

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

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

<code>false</code>

Not allowed by this rule.

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

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

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

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

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

<code>false</code> — Not permitted by this property rule.

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

### <code>&#94;ldo&#40;8&#124;13&#41;s&#36;</code> — name matches this regular expression

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

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

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

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

<code>false</code>

Not allowed by this rule.

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

<a id="dt-86da76fe0dd1caeeb0c6"></a>

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

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

**Rule 1**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9d6ef13aa85fb0be5527">[<code>&#35;&#47;&#36;defs&#47;s2mpg11&#45;ext&#45;control</code>](<#dt-d0a51089cdf78a17b3ce>)</span>

<a id="dt-1150167813c0526c0af1"></a>

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

<a id="dt-126462f53e60485ab613"></a>

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

<code>false</code> — Not permitted by this property rule.

<a id="dt-37369e0a38ae50465e8d"></a>

### <code>&#94;ldo&#91;12&#93;s&#36;</code> — name matches this regular expression

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

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

<a id="dt-3a92c47c42405947c872"></a>

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

<code>false</code>

Not allowed by this rule.

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

<a id="dt-39efe6b401db8f80c691"></a>

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

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

**Rule 1**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8167e6cc3506fbe6742b">[<code>&#35;&#47;&#36;defs&#47;s2mpg11&#45;ext&#45;control</code>](<#dt-d0a51089cdf78a17b3ce>)</span>

<a id="dt-03c77b609f903c260f3c"></a>

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-ccad3e759a0a737d9e46"></a> <span id="dt-6221246ca08b3bc58ad7"><code>6250</code></span>, <span id="dt-58dfe1419b91094ea6c3"><code>12500</code></span>

**Default value (<code>default</code>):** <span id="dt-31021a7c97fb0d0bebed"><code>6250</code></span>

<a id="dt-7fcd144dee0d1b44122a"></a>

## Reusable definitions (<code>&#36;defs</code>)

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

### <code>s2mpg11&#45;ext&#45;control</code>

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

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

<a id="dt-03980bd3b045516564be"></a>

**<code>samsung&#44;ext&#45;control</code> — not listed as required here**

<div id="dt-3956e03f775a5123f02e">
<pre><code>These rails can be controlled via one of several possible external
(hardware) signals. If so, this property configures the signal the PMIC
should monitor. The following values generally corresponding to the
respective on-chip pin are valid:
  - 0 # S2MPG11_EXTCTRL_PWREN - PWREN pin
  - 1 # S2MPG11_EXTCTRL_PWREN_MIF - PWREN_MIF pin
  - 2 # S2MPG11_EXTCTRL_AP_ACTIVE_N - ~AP_ACTIVE_N pin
  - 3 # S2MPG11_EXTCTRL_G3D_EN - G3D_EN pin
  - 4 # S2MPG11_EXTCTRL_G3D_EN2 - G3D_EN &amp; ~AP_ACTIVE_N pins
  - 5 # S2MPG11_EXTCTRL_AOC_VDD - AOC_VDD pin
  - 6 # S2MPG11_EXTCTRL_AOC_RET - AOC_RET pin
  - 7 # S2MPG11_EXTCTRL_UFS_EN - UFS_EN pin
  - 8 # S2MPG11_EXTCTRL_LDO13S_EN - VLDO13S_EN pin</code></pre>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-804c9e30ad0ea96dd1b9">[<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-6aa7402cda2199cab888"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-79dd14ce54521947a6e0"><code>8</code></span>

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

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

<div id="dt-ecc4dee6cc4412bf15c6">
<p style="white-space: pre-wrap">For rails where external control is done via a GPIO, this optional property describes the GPIO line used.</p>
</div>

**Requirements triggered by another property (<code>dependentRequired</code>):** <a id="dt-90a18c509943d7f1aec6"></a> { <code>enable&#45;gpios</code>: <a id="dt-e908810f2008e5dc59f6"></a> <span id="dt-b0230a43bdad6e0b5ceb"><code>&#34;samsung&#44;ext&#45;control&#34;</code></span> }

<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-e7d54747281472c6ad1b"></a>
> >
> > **At least one of these rules must match (<code>anyOf</code>)**
> >
> > <a id="dt-c61f26c44d8072fb3b84"></a>
> >
> > **Rule 1**
> >
> > > **Required in this object (<code>required</code>):** <a id="dt-29d1902ca31efa1a77cf"></a> <span id="dt-572ad0eac3a9e52a2233"><code>&#34;buck4s&#34;</code></span>
> >
> > <a id="dt-b8b208d9d653bea2f1b8"></a>
> >
> > **Rule 2**
> >
> > > **Required in this object (<code>required</code>):** <a id="dt-12fd4fec5512530e4923"></a> <span id="dt-d5573c0d1235face0f99"><code>&#34;buck6s&#34;</code></span>
> >
> > <a id="dt-36f65cb56068a4b5f953"></a>
> >
> > **Rule 3**
> >
> > > **Required in this object (<code>required</code>):** <a id="dt-aa974cdeeccbdd61e2d7"></a> <span id="dt-47bb305fece1468db051"><code>&#34;buck7s&#34;</code></span>
> >
> > <a id="dt-f330c72f0d794b989faf"></a>
> >
> > **Rule 4**
> >
> > > **Required in this object (<code>required</code>):** <a id="dt-ce5a3a6ea6c5a3749658"></a> <span id="dt-ec3efcf63c786c8d7fb0"><code>&#34;buck10s&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-6a22a8f69a54bcbb7d12"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-a4f867871cd83a17ee32"></a>
> >
> > **<code>&#94;buck&#40;&#91;467&#93;&#124;10&#41;s&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-af326967c9d0e742fcee"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-03addec45812b0f7452d"></a>
> >
> > **<code>samsung&#44;ext&#45;control</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property 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 33:</strong> <span> 12 bucks</span></p>

<p id="dt-comment-2"><strong>Line 49:</strong> <span> 11 standard LDOs</span></p>

<p id="dt-comment-3"><strong>Line 60:</strong> <span> 2 LDOs with possible external control</span></p>

<p id="dt-comment-4"><strong>Line 74:</strong> <span> 2 LDOs with ramp support and possible external control</span></p>

<p id="dt-comment-5"><strong>Line 122:</strong> <span> Bucks 4, 6, 7 and 10 can not be controlled externally - above definition</span></p>

<p id="dt-comment-6"><strong>Line 123:</strong> <span> allows it and we deny it here. This approach reduces repetition.</span></p>

</details>
