# KTD2692 Flash LED Driver from Kinetic Technologies

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

> Device-tree binding reference for KTD2692 Flash LED Driver from Kinetic Technologies.

<!-- 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;kinetic&#44;ktd2692&#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;Markuss Broks &#60;markuss&#46;broks&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">KTD2692 is the ideal power solution for high-power flash LEDs.
It uses ExpressWire single-wire programming for maximum flexibility.</p>
<p style="white-space: pre-wrap">The ExpressWire interface through CTRL pin can control LED on/off and
enable/disable the IC, Movie(max 1/3 of Flash current) / Flash mode current,
Flash timeout, LVP(low voltage protection).</p>
<p style="white-space: pre-wrap">Also, When the AUX pin is pulled high while CTRL pin is high,
LED current will be ramped up to the flash-mode current level.</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;kinetic&#44;ktd2692&#34;</code></span>

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

### <code>ctrl&#45;gpios</code> — required here

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

<div id="dt-4a99145662f9f94c190f">
<p style="white-space: pre-wrap">Specifier of the GPIO connected to CTRL pin.</p>
</div>

<a id="dt-2546fc34333f65912271"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-465a9bafc683c5bc1950"><code>1</code></span>

<div id="dt-d2f8bc279ef9198abb57">
<p style="white-space: pre-wrap">Specifier of the GPIO connected to CTRL pin.</p>
</div>

<a id="dt-51a959e83f4922242a97"></a>

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

<div id="dt-7b21b67ede244c89b73f">
<p style="white-space: pre-wrap">LED supply (2.7V to 5.5V).</p>
</div>

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

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

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

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

<div id="dt-20dfee01029f73720568">
<p style="white-space: pre-wrap">Properties for the LED.</p>
</div>

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

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

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

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

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

<a id="dt-58e416fb5bdfcf0345ec"></a>

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

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

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

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

<div id="dt-5fd96a69144f5077837f">
<p style="white-space: pre-wrap">Flash LED maximum timeout.</p>
</div>

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

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

**Maximum value (<code>maximum</code>):** <span id="dt-031adb05f7fa296f4fc6"><code>300000</code></span>

<div id="dt-d371e5d614de50479f27">
<p style="white-space: pre-wrap">Minimum Threshold for Timer protection is defined internally (Maximum 300mA).</p>
</div>

<a id="dt-5973299489666f8e26e3"></a>

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

**Maximum value (<code>maximum</code>):** <span id="dt-5ab4dd11a9dc62eaea61"><code>300000</code></span>

<div id="dt-f2f2d4145e5e22d557f9">
<p style="white-space: pre-wrap">Flash LED maximum current Formula - I(uA) = 15000000 / Rset.</p>
</div>

<a id="dt-60b829bfcfb5f6754307"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</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;ctrl&#45;gpios&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;led&#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/leds/common.h&gt;

ktd2692 {
  compatible = "kinetic,ktd2692";
  ctrl-gpios = &lt;&amp;gpc0 1 0&gt;;
  aux-gpios = &lt;&amp;gpc0 2 0&gt;;
  vin-supply = &lt;&amp;vbat&gt;;

  led {
    function = LED_FUNCTION_FLASH;
    color = &lt;LED_COLOR_ID_WHITE&gt;;
    flash-max-timeout-us = &lt;250000&gt;;
    flash-max-microamp = &lt;150000&gt;;
    led-max-microamp = &lt;25000&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>
