# Maxim MAX8997 Power Management IC

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

> Device-tree binding reference for Maxim MAX8997 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;regulator&#47;maxim&#44;max8997&#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">The Maxim MAX8997 is a Power Management IC which includes voltage and current
regulators, charger controller with fuel gauge, RTC, clock outputs, haptic
motor driver, flash LED driver and Micro-USB Interface Controller.</p>
<p style="white-space: pre-wrap">The binding here is not complete and describes only regulator and charger
controller parts.</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;maxim&#44;max8997&#45;pmic&#34;</code></span>

<a id="dt-0dd5a774f80511662014"></a>

### <code>charger&#45;supply</code> — not listed as required here

<div id="dt-6e26365f1de96d063732">
<p style="white-space: pre-wrap">Regulator node for charging current.</p>
</div>

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

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

<a id="dt-985aed94c3a5de8e946a"></a>

#### Array item rules (<code>items</code>)

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

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">irq1 interrupt</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">alert interrupt</p>
> </div>

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

### <code>max8997&#44;pmic&#45;buck1&#45;dvs&#45;voltage</code> — required here

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-560a924ba368a4960950"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9171a2e79f8fd82bb91c"><code>8</code></span>

<div id="dt-0785fa6fd8c03c504f3f">
<p style="white-space: pre-wrap">A set of 8 voltage values in micro-volt (uV) units for buck1 when
changing voltage using GPIO DVS.
If none of max8997,pmic-buck[1/2/5]-uses-gpio-dvs optional property is
specified, the max8997,pmic-buck[1/2/5]-dvs-voltage property should
specify at least one voltage level (which would be a safe operating
voltage).</p>
</div>

<a id="dt-0956f7552804482d4cf7"></a>

### <code>max8997&#44;pmic&#45;buck2&#45;dvs&#45;voltage</code> — required here

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-b898cadde0e9ae5c719a"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d3443d7f9cd41ac45938"><code>8</code></span>

<div id="dt-54d4e03a069b4b26c17c">
<p style="white-space: pre-wrap">A set of 8 voltage values in micro-volt (uV) units for buck2 when
changing voltage using GPIO DVS.
If none of max8997,pmic-buck[1/2/5]-uses-gpio-dvs optional property is
specified, the max8997,pmic-buck[1/2/5]-dvs-voltage property should
specify at least one voltage level (which would be a safe operating
voltage).</p>
</div>

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

### <code>max8997&#44;pmic&#45;buck5&#45;dvs&#45;voltage</code> — required here

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-46063ccc8c794d3a64ce"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-87f821d6dcbae79b649d"><code>8</code></span>

<div id="dt-0aeee52733ddc56d4482">
<p style="white-space: pre-wrap">A set of 8 voltage values in micro-volt (uV) units for buck5 when
changing voltage using GPIO DVS.
If none of max8997,pmic-buck[1/2/5]-uses-gpio-dvs optional property is
specified, the max8997,pmic-buck[1/2/5]-dvs-voltage property should
specify at least one voltage level (which would be a safe operating
voltage).</p>
</div>

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

### <code>max8997&#44;pmic&#45;buck1&#45;uses&#45;gpio&#45;dvs</code> — not listed as required here

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

<div id="dt-dbdf05239f6dea3ef2d8">
<p style="white-space: pre-wrap">buck1 can be controlled by GPIO DVS.</p>
</div>

<a id="dt-950b3399155ef48db8ae"></a>

### <code>max8997&#44;pmic&#45;buck2&#45;uses&#45;gpio&#45;dvs</code> — not listed as required here

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

<div id="dt-f38526ad2ac7059e31f4">
<p style="white-space: pre-wrap">buck2 can be controlled by GPIO DVS.</p>
</div>

<a id="dt-5828a458d2560d19db9b"></a>

### <code>max8997&#44;pmic&#45;buck5&#45;uses&#45;gpio&#45;dvs</code> — not listed as required here

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

<div id="dt-a20195759db4838e747a">
<p style="white-space: pre-wrap">buck5 can be controlled by GPIO DVS.</p>
</div>

<a id="dt-976fa570e0bacacdc2b4"></a>

### <code>max8997&#44;pmic&#45;buck125&#45;default&#45;dvs&#45;idx</code> — not listed as required here

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

**Maximum value (<code>maximum</code>):** <span id="dt-32d2d370db054a703070"><code>7</code></span>

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

<div id="dt-d9a5ae5fde0b4227e538">
<p style="white-space: pre-wrap">Default voltage setting selected from the possible 8 options selectable
by the dvs gpios. The value of this property should be between 0 and 7.
If not specified or if out of range, the default value of this property
is set to 0.</p>
</div>

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

### <code>max8997&#44;pmic&#45;buck125&#45;dvs&#45;gpios</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-07d5738ecc356a4f82b8"><code>3</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-2ef89597a3fdf0830fc1"><code>3</code></span>

<div id="dt-0fbfbba24f6aae9cfc08">
<p style="white-space: pre-wrap">GPIO specifiers for three host gpio's used for DVS.</p>
</div>

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

### <code>max8997&#44;pmic&#45;ignore&#45;gpiodvs&#45;side&#45;effect</code> — not listed as required here

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

<div id="dt-7b96e49d32c5993c3330">
<p style="white-space: pre-wrap">When GPIO-DVS mode is used for multiple bucks, changing the voltage value
of one of the bucks may affect that of another buck, which is the side
effect of the change (set_voltage).  Use this property to ignore such
side effects and change the voltage.</p>
</div>

<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>

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

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

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

<a id="dt-61f1ab18943e36a1a8bc"></a>

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

<a id="dt-4243a0bd01ad10678833"></a>

**<code>&#94;LDO&#40;&#91;1&#45;9&#93;&#124;1&#91;0&#45;8&#93;&#124;21&#41;&#36;</code> — name matches this regular expression**

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

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

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

<a id="dt-44404b93338d02046856"></a>

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

<a id="dt-2033fa22b2af9e5b08f0"></a>

**<code>regulator&#45;name</code> — required here**

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

**Required in this object (<code>required</code>):** <a id="dt-39675cc632cb9c9ed20d"></a> <span id="dt-ca88e9f0ec43afba6b87"><code>&#34;regulator&#45;name&#34;</code></span>

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

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

<code>false</code>

Not allowed by this rule.

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

**<code>&#94;BUCK&#91;1&#45;7&#93;&#36;</code> — name matches this regular expression**

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

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

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

<a id="dt-35bf7cd394f35f632e22"></a>

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

<a id="dt-01c311ca019739d4d3fc"></a>

**<code>regulator&#45;name</code> — required here**

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

**Required in this object (<code>required</code>):** <a id="dt-cd5384d931c8c58da44f"></a> <span id="dt-de2b8ec0218c2713a7be"><code>&#34;regulator&#45;name&#34;</code></span>

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

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

<code>false</code>

Not allowed by this rule.

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

**<code>&#94;EN32KHZ&#95;&#91;AC&#93;P&#36;</code> — name matches this regular expression**

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

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

<div id="dt-e2e9b637c0300447f49a">
<p style="white-space: pre-wrap">32768 Hz clock output (modelled as regulator)</p>
</div>

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

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

<a id="dt-78267cb10089c1ee50d0"></a>

**<code>regulator&#45;name</code> — required here**

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

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

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

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

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

**<code>regulator&#45;boot&#45;on</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-12ce2e7ed2208eb30b67"></a> <span id="dt-7d4f00c22dfc6c2417b3"><code>&#34;regulator&#45;name&#34;</code></span>

<a id="dt-f623e7c0d6c2c4de7831"></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-6b7569181c1f9f065c34"></a>

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

<a id="dt-18e4f52c164ffecb7669"></a>

**<code>CHARGER</code> — not listed as required here**

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

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

<div id="dt-804bd5bb8b46a045cd28">
<p style="white-space: pre-wrap">main battery charger current control</p>
</div>

<a id="dt-915da42f00cf6422eae5"></a>

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

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

**<code>regulator&#45;name</code> — required here**

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

**Required in this object (<code>required</code>):** <a id="dt-585c42e4c36f7f892f58"></a> <span id="dt-47c2bc155701ed0cc24f"><code>&#34;regulator&#45;name&#34;</code></span>

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

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

<code>false</code>

Not allowed by this rule.

<a id="dt-05cdcd926c8ce7df958e"></a>

**<code>CHARGER&#95;CV</code> — not listed as required here**

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

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

<div id="dt-0fe0f165fb01be157fb2">
<p style="white-space: pre-wrap">main battery charger voltage control</p>
</div>

<a id="dt-087c5144adc38141f7ce"></a>

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

<a id="dt-61a2e20286f6c53f63ee"></a>

**<code>regulator&#45;name</code> — required here**

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

**Required in this object (<code>required</code>):** <a id="dt-9fe537d9cdde93e10abc"></a> <span id="dt-2d306b06b8b63cf8a6cf"><code>&#34;regulator&#45;name&#34;</code></span>

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

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

<code>false</code>

Not allowed by this rule.

<a id="dt-64c584374dd2fff1449c"></a>

**<code>CHARGER&#95;TOPOFF</code> — not listed as required here**

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

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

<div id="dt-c5515f6100fd82ce6ed3">
<p style="white-space: pre-wrap">end of charge current threshold level</p>
</div>

<a id="dt-221f5bd90bc7138f18e5"></a>

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

<a id="dt-52dfb5ea2a42a67828ba"></a>

**<code>regulator&#45;name</code> — required here**

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

**Required in this object (<code>required</code>):** <a id="dt-b6c19bbfc09b9467f001"></a> <span id="dt-dc044f189a20533b72fa"><code>&#34;regulator&#45;name&#34;</code></span>

<a id="dt-267030f037f1186308c2"></a>

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

<code>false</code>

Not allowed by this rule.

<a id="dt-258a28ef5ec7fc94d08a"></a>

**<code>ENVICHG</code> — not listed as required here**

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

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

<div id="dt-a9d6bb376ae13d6e860d">
<p style="white-space: pre-wrap">Battery Charging Current Monitor Output. This is a fixed voltage type
regulator</p>
</div>

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

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

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

**<code>regulator&#45;name</code> — required here**

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

**Required in this object (<code>required</code>):** <a id="dt-cd4c482d634ccc2b2285"></a> <span id="dt-3e84e97730e9d0812b4c"><code>&#34;regulator&#45;name&#34;</code></span>

<a id="dt-37adb0293133808b519f"></a>

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

<code>false</code>

Not allowed by this rule.

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

**<code>ESAFEOUT1</code> — not listed as required here**

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

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

<div id="dt-f89f26caef58cb70a0c9">
<p style="white-space: pre-wrap">LDO19</p>
</div>

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

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

<a id="dt-39300e5fb213a8b054b0"></a>

**<code>regulator&#45;name</code> — required here**

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

**Required in this object (<code>required</code>):** <a id="dt-869497ef07fbd27725e6"></a> <span id="dt-c45f7a1960170c3345cc"><code>&#34;regulator&#45;name&#34;</code></span>

<a id="dt-372314fc8e6a2e906f7c"></a>

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

<code>false</code>

Not allowed by this rule.

<a id="dt-37fa21539ee36817724d"></a>

**<code>ESAFEOUT2</code> — not listed as required here**

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

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

<div id="dt-666bd2f712748f268fe1">
<p style="white-space: pre-wrap">LDO20</p>
</div>

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

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

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

**<code>regulator&#45;name</code> — required here**

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

**Required in this object (<code>required</code>):** <a id="dt-a8d3189c79b8ed1fe9fe"></a> <span id="dt-2a81359eb77daeb231a9"><code>&#34;regulator&#45;name&#34;</code></span>

<a id="dt-475215fa271b7f562c37"></a>

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

<code>false</code>

Not allowed by this 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;max8997&#44;pmic&#45;buck1&#45;dvs&#45;voltage&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;max8997&#44;pmic&#45;buck2&#45;dvs&#45;voltage&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;max8997&#44;pmic&#45;buck5&#45;dvs&#45;voltage&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;reg&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;regulators&#34;</code></span>

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

## Property dependencies (<code>dependencies</code>)

<a id="dt-0193520866f014c76845"></a>

### <code>max8997&#44;pmic&#45;buck1&#45;uses&#45;gpio&#45;dvs</code> — applies when this property is present

Also requires: <span id="dt-ab2ed3d62d0fe15c963d"><code>&#34;max8997&#44;pmic&#45;buck125&#45;dvs&#45;gpios&#34;</code></span>

<a id="dt-973c98297f0e5763d555"></a>

### <code>max8997&#44;pmic&#45;buck2&#45;uses&#45;gpio&#45;dvs</code> — applies when this property is present

Also requires: <span id="dt-9e82c8416a667faa11b2"><code>&#34;max8997&#44;pmic&#45;buck125&#45;dvs&#45;gpios&#34;</code></span>

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

### <code>max8997&#44;pmic&#45;buck5&#45;uses&#45;gpio&#45;dvs</code> — applies when this property is present

Also requires: <span id="dt-3a42c76f9745ddfa1d64"><code>&#34;max8997&#44;pmic&#45;buck125&#45;dvs&#45;gpios&#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-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-3a75e9816ace2d3e8261"></a>
>
> ### At least one of these rules must match (<code>anyOf</code>)
>
> <a id="dt-678742b8c2cdec71131c"></a>
>
> #### Rule 1
>
> > **Required in this object (<code>required</code>):** <a id="dt-a2d9c66528ef4467876d"></a> <span id="dt-c811749e98cd14898f00"><code>&#34;max8997&#44;pmic&#45;buck1&#45;uses&#45;gpio&#45;dvs&#34;</code></span>
>
> <a id="dt-a0ab2f84a5d230fa7449"></a>
>
> #### Rule 2
>
> > **Required in this object (<code>required</code>):** <a id="dt-6ea4195e404fc02cb0e5"></a> <span id="dt-23b7bee066303f316a07"><code>&#34;max8997&#44;pmic&#45;buck2&#45;uses&#45;gpio&#45;dvs&#34;</code></span>
>
> <a id="dt-7d4b9ce5bc03b7dff47e"></a>
>
> #### Rule 3
>
> > **Required in this object (<code>required</code>):** <a id="dt-9fff6e571b123e2d632a"></a> <span id="dt-ff13024fbb70b2213e8d"><code>&#34;max8997&#44;pmic&#45;buck5&#45;uses&#45;gpio&#45;dvs&#34;</code></span>

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> <a id="dt-d3da345ec82b9041251c"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-1752218cc5a00a5ca70a"></a>
>
> #### <code>max8997&#44;pmic&#45;buck1&#45;dvs&#45;voltage</code> — not listed as required here
>
> **Minimum number of items (<code>minItems</code>):** <span id="dt-8dd4b2438ab7bf5e2fc3"><code>8</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-dc8c714d2e0f05346a3b"><code>8</code></span>
>
> <a id="dt-99bc907d8018ec58206b"></a>
>
> #### <code>max8997&#44;pmic&#45;buck2&#45;dvs&#45;voltage</code> — not listed as required here
>
> **Minimum number of items (<code>minItems</code>):** <span id="dt-d0acd77c349ae1d4e9ca"><code>8</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-99c5cfe77ed433611335"><code>8</code></span>
>
> <a id="dt-c049d9150d6bcd0f2b30"></a>
>
> #### <code>max8997&#44;pmic&#45;buck5&#45;dvs&#45;voltage</code> — not listed as required here
>
> **Minimum number of items (<code>minItems</code>):** <span id="dt-b3985ffbdd70eaa79ad8"><code>8</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-5c3a7acae45e3521dadb"><code>8</code></span>

<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;

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

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

        interrupts-extended = &lt;&amp;gpx0 7 IRQ_TYPE_LEVEL_LOW&gt;,
                              &lt;&amp;gpx2 3 IRQ_TYPE_EDGE_FALLING&gt;;

        max8997,pmic-buck1-uses-gpio-dvs;
        max8997,pmic-buck2-uses-gpio-dvs;
        max8997,pmic-buck5-uses-gpio-dvs;

        max8997,pmic-ignore-gpiodvs-side-effect;
        max8997,pmic-buck125-default-dvs-idx = &lt;0&gt;;

        max8997,pmic-buck125-dvs-gpios = &lt;&amp;gpx0 5 GPIO_ACTIVE_HIGH&gt;,
                                         &lt;&amp;gpx0 6 GPIO_ACTIVE_HIGH&gt;,
                                         &lt;&amp;gpl0 0 GPIO_ACTIVE_HIGH&gt;;

        max8997,pmic-buck1-dvs-voltage = &lt;1350000&gt;, &lt;1300000&gt;,
                                         &lt;1250000&gt;, &lt;1200000&gt;,
                                         &lt;1150000&gt;, &lt;1100000&gt;,
                                         &lt;1000000&gt;, &lt;950000&gt;;

        max8997,pmic-buck2-dvs-voltage = &lt;1100000&gt;, &lt;1000000&gt;,
                                         &lt;950000&gt;,  &lt;900000&gt;,
                                         &lt;1100000&gt;, &lt;1000000&gt;,
                                         &lt;950000&gt;,  &lt;900000&gt;;

        max8997,pmic-buck5-dvs-voltage = &lt;1200000&gt;, &lt;1200000&gt;,
                                         &lt;1200000&gt;, &lt;1200000&gt;,
                                         &lt;1200000&gt;, &lt;1200000&gt;,
                                         &lt;1200000&gt;, &lt;1200000&gt;;

        pinctrl-0 = &lt;&amp;max8997_irq&gt;, &lt;&amp;otg_gp&gt;, &lt;&amp;usb_sel&gt;;
        pinctrl-names = "default";

        charger-supply = &lt;&amp;charger_reg&gt;;

        regulators {
            LDO1 {
                regulator-name = "VADC_3.3V_C210";
                regulator-min-microvolt = &lt;3300000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
                regulator-always-on;
            };

            LDO2 {
                regulator-name = "VALIVE_1.1V_C210";
                regulator-min-microvolt = &lt;1100000&gt;;
                regulator-max-microvolt = &lt;1100000&gt;;
                regulator-always-on;
            };

            BUCK1 {
                regulator-name = "VARM_1.2V_C210";
                regulator-min-microvolt = &lt;65000&gt;;
                regulator-max-microvolt = &lt;2225000&gt;;
                regulator-always-on;
            };

            // ...

            BUCK7 {
                regulator-name = "VCC_SUB_2.0V";
                regulator-min-microvolt = &lt;2000000&gt;;
                regulator-max-microvolt = &lt;2000000&gt;;
                regulator-always-on;
            };

            ESAFEOUT1 {
                regulator-name = "SAFEOUT1";
            };

            ESAFEOUT2 {
                regulator-name = "SAFEOUT2";
                regulator-boot-on;
            };

            EN32KHZ_AP {
                regulator-name = "EN32KHZ_AP";
                regulator-always-on;
            };

            EN32KHZ_CP {
                regulator-name = "EN32KHZ_CP";
                regulator-always-on;
            };

            CHARGER {
                regulator-name = "CHARGER";
                regulator-min-microamp = &lt;200000&gt;;
                regulator-max-microamp = &lt;950000&gt;;
            };

            CHARGER_CV {
                regulator-name = "CHARGER_CV";
                regulator-min-microvolt = &lt;4200000&gt;;
                regulator-max-microvolt = &lt;4200000&gt;;
                regulator-always-on;
            };

            CHARGER_TOPOFF {
                regulator-name = "CHARGER_TOPOFF";
                regulator-min-microamp = &lt;200000&gt;;
                regulator-max-microamp = &lt;200000&gt;;
                regulator-always-on;
            };
        };
    };
};
</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 = "maxim,max8997-pmic";
        reg = &lt;0x66&gt;;

        interrupt-parent = &lt;&amp;gpx0&gt;;
        interrupts = &lt;4 IRQ_TYPE_LEVEL_LOW&gt;,
                     &lt;3 IRQ_TYPE_EDGE_FALLING&gt;;
        pinctrl-names = "default";
        pinctrl-0 = &lt;&amp;max8997_irq&gt;;

        max8997,pmic-buck1-dvs-voltage = &lt;1350000&gt;;
        max8997,pmic-buck2-dvs-voltage = &lt;1100000&gt;;
        max8997,pmic-buck5-dvs-voltage = &lt;1200000&gt;;

        regulators {
            LDO1 {
                regulator-name = "VDD_ABB_3.3V";
                regulator-min-microvolt = &lt;3300000&gt;;
                regulator-max-microvolt = &lt;3300000&gt;;
            };

            // ...

            BUCK1 {
                regulator-name = "VDD_ARM_1.2V";
                regulator-min-microvolt = &lt;950000&gt;;
                regulator-max-microvolt = &lt;1350000&gt;;
                regulator-always-on;
                regulator-boot-on;
            };

            // ...

            EN32KHZ_AP {
                regulator-name = "EN32KHZ_AP";
                regulator-always-on;
            };
        };
    };
};
</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>

<p id="dt-comment-1"><strong>Line 119:</strong> <span> 1-18 and 21 LDOs</span></p>

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

</details>
