# Maxim MAX77693 MicroUSB and Companion Power Management IC LEDs

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

> Device-tree binding reference for Maxim MAX77693 MicroUSB and Companion Power Management IC LEDs.

<!-- 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;leds&#47;maxim&#44;max77693&#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 Maxim MAX77693 MicroUSB Integrated
Circuit (MUIC).</p>
<p style="white-space: pre-wrap">There are two LED outputs available - FLED1 and FLED2. Each of them can
control a separate LED or they can be connected together to double the
maximum current for a single connected LED. One LED is represented by one
child node.</p>
<p style="white-space: pre-wrap">See also Documentation/devicetree/bindings/mfd/maxim,max77693.yaml for
additional information and example.</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;max77693&#45;led&#34;</code></span>

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

### <code>maxim&#44;boost&#45;mode</code> — not listed as required here

<div id="dt-a617a86a5c58af93859f">
<p style="white-space: pre-wrap">In boost mode the device can produce up to 1.2A of total current on both outputs. The maximum current on each output is reduced to 625mA then. If not enabled explicitly, boost setting defaults to LEDS_BOOST_FIXED in case both current sources are used. See LEDS_BOOST_* in include/dt-bindings/leds/common.h.</p>
</div>

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

**Allowed values (<code>enum</code>):** <a id="dt-4ceb38da788466301ea7"></a> <span id="dt-30645b2931ea26401a1a"><code>0</code></span>, <span id="dt-787f6b5c88253bd0cdb8"><code>1</code></span>, <span id="dt-41ada0d6778e6cd0711d"><code>2</code></span>

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

### <code>maxim&#44;boost&#45;mvout</code> — not listed as required here

<div id="dt-061e4b92d2ef7eb8a563">
<p style="white-space: pre-wrap">Output voltage of the boost module in millivolts.
Valid values: 3300 - 5500, step by 25 (rounded down)</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6f7b223bf084034dc58c">[<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-4eea318846206bcbf394"><code>3300</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-869b7234660c1b344dfb"><code>5500</code></span>

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

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

### <code>maxim&#44;mvsys&#45;min</code> — not listed as required here

<div id="dt-10bec2b3ce71e277a5df">
<p style="white-space: pre-wrap">Low input voltage level in millivolts. Flash is not fired if chip
estimates that system voltage could drop below this level due to flash
power consumption.
Valid values: 2400 - 3400, step by 33 (rounded down)</p>
</div>

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

**Maximum value (<code>maximum</code>):** <span id="dt-53b1f400c5c058a9e47d"><code>3400</code></span>

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

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

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

<a id="dt-62f775a53f6161ac5454"></a>

### <code>&#94;&#40;&#91;a&#45;z&#93;&#43;&#45;&#41;&#63;led&#91;01&#93;&#63;&#36;</code> — name matches this regular expression

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

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

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

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

<code>false</code>

Not allowed by this rule.

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

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

<a id="dt-7122ac2d7478be1ea868"></a>

**<code>led&#45;sources</code> — required here**

<a id="dt-190123b8b9599c725aca"></a>

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

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

**Rule 1**

> **Minimum number of items (<code>minItems</code>):** <span id="dt-83bd99a085c3da0b8e01"><code>1</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-5cde8ca9dd09aa01308b"><code>2</code></span>
>
> <a id="dt-08e131627534708acb01"></a>
>
> **Array item rules (<code>items</code>)**
>
> > **Minimum value (<code>minimum</code>):** <span id="dt-671f1b46ac9ac7951640"><code>0</code></span>
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-90124aaaf0e16d2e7caa"><code>1</code></span>

<a id="dt-67a373236b81871de1dc"></a>

**<code>led&#45;max&#45;microamp</code> — required here**

<div id="dt-7516d90bbd92bfa110ca">
<pre><code>Valid values for a LED connected to one FLED output:
  15625 - 250000, step by 15625 (rounded down)
Valid values for a LED connected to both FLED outputs:
  15625 - 500000, step by 15625 (rounded down)</code></pre>
</div>

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

**<code>flash&#45;max&#45;microamp</code> — required here**

<div id="dt-e135dcf5b178feec5230">
<pre><code>Valid values for a single LED connected to one FLED output
(boost mode must be turned off):
  15625 - 1000000, step by 15625 (rounded down)
Valid values for a single LED connected to both FLED outputs:
  15625 - 1250000, step by 15625 (rounded down)
Valid values for two LEDs case:
  15625 - 625000, step by 15625 (rounded down)</code></pre>
</div>

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

**<code>flash&#45;max&#45;timeout&#45;us</code> — required here**

<div id="dt-b2ecd141f4b99e2eb505">
<p style="white-space: pre-wrap">Valid values: 62500 - 1000000, step by 62500 (rounded down)</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-d684b029811af2ec893b"><code>62500</code></span>

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

**Required in this object (<code>required</code>):** <a id="dt-a4d84a15b18a1847889a"></a> <span id="dt-f9fd2b9c7832aeed0ed2"><code>&#34;flash&#45;max&#45;microamp&#34;</code></span>, <span id="dt-057b8907778bde608e11"><code>&#34;flash&#45;max&#45;timeout&#45;us&#34;</code></span>, <span id="dt-5c73299a1e4a9661d9ee"><code>&#34;led&#45;max&#45;microamp&#34;</code></span>, <span id="dt-66dda21fa729a46b3831"><code>&#34;led&#45;sources&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#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.

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