# Samsung S2MPG10 Power Management IC regulators

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

> Device-tree binding reference for Samsung S2MPG10 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;s2mpg10&#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 S2MG10 Power Management IC
(PMIC).</p>
<p style="white-space: pre-wrap">The S2MPG10 PMIC provides 10 buck and 31 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-66ac8279461bc4ff2b45"></a>

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

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

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

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

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

<code>false</code>

Not allowed by this rule.

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

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

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

<a id="dt-10f1c113e8db35695bbd"></a>

**Rule 1**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-63934b472fa20ae6fe66">[<code>&#35;&#47;&#36;defs&#47;s2mpg10&#45;ext&#45;control</code>](<#dt-72c766c244d5c314e68c>)</span>

<a id="dt-267f9937add9a842131e"></a>

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

<a id="dt-2c15e7a2e403cfeb2a74"></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-dc2a461cdd35200f1c1d"></a>

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

**Minimum value (<code>minimum</code>):** <span id="dt-936872ac4e0111d1057a"><code>11</code></span>

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

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

<a id="dt-6f75e506e5bc47a7f618"></a>

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

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

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

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

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

<code>false</code>

Not allowed by this rule.

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

<a id="dt-6c5e6dfd35a92d431d94"></a>

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

<a id="dt-513d05834c4a99738142"></a>

**Rule 1**

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

<a id="dt-164988a96825665e1ef5"></a>

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-7ced86219178f62618e8"></a> <span id="dt-5c029f3632b4880ec08f"><code>6250</code></span>, <span id="dt-1ea8401b61501ef75d4e"><code>12500</code></span>, <span id="dt-1d9c41759385bba41bc5"><code>25000</code></span>

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

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

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

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

<a id="dt-110d3f7ceb9b7d488bf6"></a>

### <code>&#94;ldo&#40;2&#91;1&#45;9&#93;&#63;&#124;3&#91;0&#45;1&#93;&#41;m&#36;</code> — name matches this regular expression

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

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

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

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

<code>false</code>

Not allowed by this rule.

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

<a id="dt-590b428272501731f1e4"></a>

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

<a id="dt-112747fc378fbfcd7144"></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-0bf0c40b15c8c488e377"></a>

### <code>&#94;ldo&#40;&#91;3&#45;689&#93;&#124;1&#91;046&#45;9&#93;&#41;m&#36;</code> — name matches this regular expression

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

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

<a id="dt-02586e421a9d7a479806"></a>

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

<code>false</code>

Not allowed by this rule.

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

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

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

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

**Rule 1**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-98727023ae4d4ad44848">[<code>&#35;&#47;&#36;defs&#47;s2mpg10&#45;ext&#45;control</code>](<#dt-72c766c244d5c314e68c>)</span>

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

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

<a id="dt-daac4525b1b2b5467963"></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-fcf5d9086421cb1f08a4"></a>

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

**Maximum value (<code>maximum</code>):** <span id="dt-844d05644d43df3060ac"><code>10</code></span>

<a id="dt-04ea100cbba2ed7c3b3d"></a>

### <code>&#94;ldo&#40;1&#91;1235&#93;&#63;&#124;7&#41;m&#36;</code> — name matches this regular expression

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

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

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

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

<code>false</code>

Not allowed by this rule.

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

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

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

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

**Rule 1**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-130aac620e72d7e879b7">[<code>&#35;&#47;&#36;defs&#47;s2mpg10&#45;ext&#45;control</code>](<#dt-72c766c244d5c314e68c>)</span>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-f23cf42672f882b1c86b"></a> <span id="dt-cc46693aa0d9fea1ae81"><code>6250</code></span>, <span id="dt-d4ec4175bd6bb77a2b8f"><code>12500</code></span>

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

<a id="dt-48edca63818ba595e709"></a>

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

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

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

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

<a id="dt-72c766c244d5c314e68c"></a>

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

<a id="dt-5773650e64beda78f9c8"></a>

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

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

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

<div id="dt-9be00a1bc521feaecfb8">
<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. For S2MPG10 rails where external control is possible other
than ldo20m, the following values generally corresponding to the
respective on-chip pin are valid:
  - 0 # S2MPG10_EXTCTRL_PWREN - PWREN pin
  - 1 # S2MPG10_EXTCTRL_PWREN_MIF - PWREN_MIF pin
  - 2 # S2MPG10_EXTCTRL_AP_ACTIVE_N - ~AP_ACTIVE_N pin
  - 3 # S2MPG10_EXTCTRL_CPUCL1_EN - CPUCL1_EN pin
  - 4 # S2MPG10_EXTCTRL_CPUCL1_EN2 - CPUCL1_EN &amp; PWREN pins
  - 5 # S2MPG10_EXTCTRL_CPUCL2_EN - CPUCL2_EN pin
  - 6 # S2MPG10_EXTCTRL_CPUCL2_EN2 - CPUCL2_E2 &amp; PWREN pins
  - 7 # S2MPG10_EXTCTRL_TPU_EN - TPU_EN pin
  - 8 # S2MPG10_EXTCTRL_TPU_EN2 - TPU_EN &amp; ~AP_ACTIVE_N pins
  - 9 # S2MPG10_EXTCTRL_TCXO_ON - TCXO_ON pin
  - 10 # S2MPG10_EXTCTRL_TCXO_ON2 - TCXO_ON &amp; ~AP_ACTIVE_N pins</code></pre>
<pre><code>For S2MPG10 ldo20m, the following values are valid
  - 11 # S2MPG10_EXTCTRL_LDO20M_EN2 - VLDO20M_EN &amp; LDO20M_SFR
  - 12 # S2MPG10_EXTCTRL_LDO20M_EN - VLDO20M_EN pin</code></pre>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9ad3080676bab4d55039">[<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-938b106b3ac7a8712078"><code>0</code></span>

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

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

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

<div id="dt-a1bc2b30e09dddb2a001">
<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-ce66f352edcc8261bf16"></a> { <code>enable&#45;gpios</code>: <a id="dt-48ea713d526e9dc1563c"></a> <span id="dt-5295a0ab187df2dea5a6"><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;buck8m&#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;buck9m&#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;ldo1m&#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-0790be94ce9709421fb2"></a>
> >
> > **<code>&#94;&#40;buck&#91;8&#45;9&#93;&#124;ldo1&#41;m&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-45b34da5c1361f804bd9"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-a1f0afeac505f1a21b2d"></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 22:</strong> <span> 1 LDO with possible (but limited) external control</span></p>

<p id="dt-comment-2"><strong>Line 40:</strong> <span> 10 bucks</span></p>

<p id="dt-comment-3"><strong>Line 59:</strong> <span> 12 standard LDOs</span></p>

<p id="dt-comment-4"><strong>Line 70:</strong> <span> 12 LDOs with possible external control</span></p>

<p id="dt-comment-5"><strong>Line 87:</strong> <span> 6 LDOs with ramp support, 5 out of those with possible external control</span></p>

<p id="dt-comment-6"><strong>Line 145:</strong> <span> Bucks 8, 9, and LDO 1 can not be controlled externally - above definition</span></p>

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

</details>
