# LED bindings

---

# Apple DWI 2-Wire Interface Backlight Controller

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

> Device-tree binding reference for Apple DWI 2-Wire Interface Backlight Controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;backlight&#47;apple&#44;dwi&#45;bl&#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;Nick Chan &#60;towinchenmi&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Apple SoCs contain a 2-wire interface called DWI. On some Apple iPhones, iPads and iPod touches with a LCD display, 1-2 backlight controllers are connected via DWI. Interfacing with DWI controls all backlight controllers at the same time. As such, the backlight controllers are treated as a single controller regardless of the underlying configuration.</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

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

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

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

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

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

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

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

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

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-851ace07a50c83495949"></a> <span id="dt-63b688f2ccd82724cb8f"><code>&#34;apple&#44;s5l8960x&#45;dwi&#45;bl&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;apple&#44;t7000&#45;dwi&#45;bl&#34;</code></span>, <span id="dt-9802844ed4869452d348"><code>&#34;apple&#44;s8000&#45;dwi&#45;bl&#34;</code></span>, <span id="dt-24a1253e29125294194d"><code>&#34;apple&#44;t8010&#45;dwi&#45;bl&#34;</code></span>, <span id="dt-6eb9cf2b3f55b257fde4"><code>&#34;apple&#44;t8015&#45;dwi&#45;bl&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;apple&#44;dwi&#45;bl&#34;</code></span>

<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-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

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

**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;reg&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">soc {
  #address-cells = &lt;2&gt;;
  #size-cells = &lt;2&gt;;

  dwi_bl: backlight@20e200010 {
    compatible = "apple,s5l8960x-dwi-bl", "apple,dwi-bl";
    reg = &lt;0x2 0x0e200010 0x0 0x8&gt;;
    power-domains = &lt;&amp;ps_dwi&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 OR BSD-2-Clause)</span></p>

</details>

---

# ArcticSand arc2c0608 LED driver

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

> Device-tree binding reference for ArcticSand arc2c0608 LED driver.

<!-- SPDX-License-Identifier: (GPL-2.0 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;backlight&#47;arc&#44;arc2c0608&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The ArcticSand arc2c0608 LED driver provides ultra
efficient notebook backlighting. Optional properties not
specified will default to values in IC EPROM.</p>
<p style="white-space: pre-wrap">Datasheet:
https://www.murata.com/-/media/webrenewal/products/power/power-semiconductor/overview/lineup/led-boost/arc2/arc2c0608.ashx.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Brian Dodge &#60;bdodge&#64;arcticsand&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

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

<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;arc&#44;arc2c0608&#34;</code></span>

<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-6e7d2af8110e9741b754"></a>

### <code>default&#45;brightness</code> — not listed as required here

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

**Maximum value (<code>maximum</code>):** <span id="dt-316c9b354372c7189a8a"><code>4095</code></span>

<a id="dt-93cbf8a6a76407d7652e"></a>

### <code>led&#45;sources</code> — not listed as required here

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

<div id="dt-8199b44e474c53d796f0">
<p style="white-space: pre-wrap">List of enabled channels</p>
</div>

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

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

> **Allowed values (<code>enum</code>):** <a id="dt-bfdf8bc538444607c01b"></a> <span id="dt-3713383f73a98dd85faa"><code>0</code></span>, <span id="dt-f444a7da7cb52acf04b4"><code>1</code></span>, <span id="dt-84b3d7d023683cc6cb2a"><code>2</code></span>, <span id="dt-ae86164be39322b5d3ed"><code>3</code></span>, <span id="dt-484fa6cc111909c727b5"><code>4</code></span>, <span id="dt-8b4cc173f973a5a5675f"><code>5</code></span>

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

**Items must be unique (<code>uniqueItems</code>):** <span id="dt-f1584937fd02069d8dc3"><code>true</code></span>

<a id="dt-179d48973ddb730ce3eb"></a>

### <code>arc&#44;led&#45;config&#45;0</code> — not listed as required here

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

<div id="dt-32b1437fb22b00f07b6d">
<p style="white-space: pre-wrap">Fading speed (period between intensity steps)</p>
</div>

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

### <code>arc&#44;led&#45;config&#45;1</code> — not listed as required here

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

<div id="dt-fe9478eef19fe425f037">
<p style="white-space: pre-wrap">If set, sets ILED_CONFIG register. Used for fine tuning the maximum LED current.</p>
</div>

<a id="dt-32df0598b5f0aedfbef4"></a>

### <code>arc&#44;dim&#45;freq</code> — not listed as required here

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

<div id="dt-761ccb92d44668d5f23e">
<p style="white-space: pre-wrap">PWM mode frequency setting (bits [3:0] used)</p>
</div>

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

### <code>arc&#44;comp&#45;config</code> — not listed as required here

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

<div id="dt-1b8f72a0f3e72002a68c">
<p style="white-space: pre-wrap">Setting for register CONFIG_COMP which controls internal resitances, feed forward freqs, and initial VOUT at startup. Consult the datasheet.</p>
</div>

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

### <code>arc&#44;filter&#45;config</code> — not listed as required here

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

<div id="dt-8d731c2be07ccf90b52a">
<p style="white-space: pre-wrap">RC and PWM Filter settings. Bit Assignment 7654 3    2    1    0 xxxx RCF1 RCF0 PWM1 PWM0 RCF statuses        PWM Filter Statues 00 = OFF (default)  00 = OFF (default) 01 = LOW            01 = 2 STEPS 10 - MEDIUM         10 = 4 STEPS 11 = HIGH           11 = 8 STEPS</p>
</div>

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

### <code>arc&#44;trim&#45;config</code> — not listed as required here

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

<div id="dt-6f78c32f91e910fe8356">
<p style="white-space: pre-wrap">Sets percentage increase of Maximum LED Current. 0x00 = 0% increase. 0x20 = 20.2%. 0x3F = 41.5%</p>
</div>

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

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

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

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

### <code>linux&#44;default&#45;trigger</code> — not listed as required here

<code>true</code> — No constraints added 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.

**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;reg&#34;</code></span>

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

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led-controller@30 {
        compatible = "arc,arc2c0608";
        reg = &lt;0x30&gt;;
        default-brightness = &lt;500&gt;;
        label = "lcd-backlight";
        linux,default-trigger = "backlight";
        led-sources = &lt;0 1 2 5&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 OR BSD-2-Clause)</span></p>

</details>

---

# Awinic AW99706 6-channel WLED Backlight Driver

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

> Device-tree binding reference for Awinic AW99706 6-channel WLED Backlight Driver.

<!-- SPDX-License-Identifier: (GPL-2.0 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;backlight&#47;awinic&#44;aw99706&#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;Junjie Cao &#60;caojunjie650&#64;gmail&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

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

<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;awinic&#44;aw99706&#34;</code></span>

<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-0d068058a6f4b36b1505"></a>

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

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">GPIO to use to enable/disable the backlight (HWEN pin).</p>
</div>

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

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

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

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

<div id="dt-ba0d2efd572c5ae68e7c">
<pre><code>Select dimming mode of the device.
  0 = Bypass mode.
  1 = DC mode.
  2 = MIX mode(PWM at low brightness and DC at high brightness).
  3 = MIX-26k mode(MIX mode with different PWM frequency).</code></pre>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-aba3308c4b403a3d9718"></a> <span id="dt-6e626554075ee6fa50c8"><code>0</code></span>, <span id="dt-c8d0652f8359a3b914ce"><code>1</code></span>, <span id="dt-806366b327c726c0d061"><code>2</code></span>, <span id="dt-667bec5f92f8cd77c17d"><code>3</code></span>

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

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

### <code>awinic&#44;sw&#45;freq&#45;hz</code> — not listed as required here

<div id="dt-89a7d01eb7e3044ddf72">
<p style="white-space: pre-wrap">Boost switching frequency in Hz.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-3c7a429be56f532c2f56"></a> <span id="dt-d43a98989d6b5d12eca0"><code>300000</code></span>, <span id="dt-45eb2fabe1a83d78d783"><code>400000</code></span>, <span id="dt-d71df67b021b2fef3065"><code>500000</code></span>, <span id="dt-c8584a43ce22b0bb784f"><code>600000</code></span>, <span id="dt-6c41b43f30a502beefe3"><code>660000</code></span>, <span id="dt-898f81efd539ad7d02f4"><code>750000</code></span>, <span id="dt-75accf26ccac2afb7ed4"><code>850000</code></span>, <span id="dt-fa28e04d226acce3b8af"><code>1000000</code></span>, <span id="dt-2289a3268fd934d5af21"><code>1200000</code></span>, <span id="dt-d299cf0082fc855354d7"><code>1330000</code></span>, <span id="dt-6176ba4e74c644f41dab"><code>1500000</code></span>, <span id="dt-e45718e4067b039e06c7"><code>1700000</code></span>

**Default value (<code>default</code>):** <span id="dt-32e1b83a56f375ed96c6"><code>750000</code></span>

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

### <code>awinic&#44;sw&#45;ilmt&#45;microamp</code> — not listed as required here

<div id="dt-7a9c06a2098400a7c864">
<p style="white-space: pre-wrap">Switching current limitation in uA.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-c0241e1c2c7ffc91a4e8"></a> <span id="dt-a9eff084f2022f289323"><code>1500000</code></span>, <span id="dt-d4d7bb94423c5100bcd2"><code>2000000</code></span>, <span id="dt-f6c92c1ffea778214a65"><code>2500000</code></span>, <span id="dt-94e7b264076781a5a1b4"><code>3000000</code></span>

**Default value (<code>default</code>):** <span id="dt-950205c608ac23750d9d"><code>3000000</code></span>

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

### <code>awinic&#44;iled&#45;max&#45;microamp</code> — not listed as required here

<div id="dt-fc7712510fb4794a062e">
<p style="white-space: pre-wrap">Maximum LED current setting in uA.</p>
</div>

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

**Maximum value (<code>maximum</code>):** <span id="dt-656f47b065061005588a"><code>50000</code></span>

**Multiple of (<code>multipleOf</code>):** <span id="dt-d38cc5bc659d1187cea6"><code>500</code></span>

**Default value (<code>default</code>):** <span id="dt-19386336b4c2bbc7393c"><code>20000</code></span>

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

### <code>awinic&#44;uvlo&#45;thres&#45;microvolt</code> — not listed as required here

<div id="dt-51c8c17b41b68a885b94">
<p style="white-space: pre-wrap">UVLO(Under Voltage Lock Out) in uV.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-d5ed4833d46f30a8a3a4"></a> <span id="dt-3d25e1378f15b68f59ab"><code>2200000</code></span>, <span id="dt-ab9cbbd90190dbd1864d"><code>5000000</code></span>

**Default value (<code>default</code>):** <span id="dt-6d6166b8bc9a04565970"><code>2200000</code></span>

<a id="dt-491e1d078e4c7bcab895"></a>

### <code>awinic&#44;ramp&#45;ctl</code> — not listed as required here

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

<div id="dt-35e6bdbb8fafda15a2e0">
<pre><code>Select ramp control and filter of the device.
  0 = Fade in/fade out.
  1 = Light filter.
  2 = Medium filter.
  3 = Heavy filter.</code></pre>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-44692385aa546eb2adae"></a> <span id="dt-a5cff0c747fef6ac0589"><code>0</code></span>, <span id="dt-35aad8f0eee0bf592da0"><code>1</code></span>, <span id="dt-a7cab5c54ae4e4583123"><code>2</code></span>, <span id="dt-90734884f566abc0781f"><code>3</code></span>

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

**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;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;enable&#45;gpios&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;

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

    backlight@76 {
        compatible = "awinic,aw99706";
        reg = &lt;0x76&gt;;
        enable-gpios = &lt;&amp;tlmm 88 GPIO_ACTIVE_HIGH&gt;;
        default-brightness = &lt;2047&gt;;
        max-brightness = &lt;4095&gt;;
        awinic,dim-mode = &lt;1&gt;;
        awinic,sw-freq-hz = &lt;750000&gt;;
        awinic,sw-ilmt-microamp = &lt;3000000&gt;;
        awinic,uvlo-thres-microvolt = &lt;2200000&gt;;
        awinic,iled-max-microamp = &lt;20000&gt;;
        awinic,ramp-ctl = &lt;2&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 OR BSD-2-Clause)</span></p>

</details>

---

# Common backlight properties

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

> Device-tree binding reference for Common backlight properties.

<!-- 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;backlight&#47;common&#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;Lee Jones &#60;lee&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Daniel Thompson &#60;daniel&#46;thompson&#64;linaro&#46;org&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Jingoo Han &#60;jingoohan1&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Backlight devices provide backlight for different types of graphical displays. They are typically but not necessarily implemented using a white LED powered by a boost converter.</p>
</div>

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

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

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

### <code>default&#45;brightness</code> — not listed as required here

<div id="dt-183df262154cac976a81">
<p style="white-space: pre-wrap">The default brightness that should be applied to the LED by the operating system on start-up. The brightness should not exceed the brightness the LED can provide.</p>
</div>

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

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

### <code>max&#45;brightness</code> — not listed as required here

<div id="dt-bb584d2a660571ac17b6">
<p style="white-space: pre-wrap">Normally the maximum brightness is determined by the hardware and this property is not required. This property is used to put a software limit on the brightness apart from what the driver says, as it could happen that a LED can be made so bright that it gets damaged or causes damage due to restrictions in a specific system, such as mounting conditions.</p>
</div>

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

<a id="dt-14033a57148c68867def"></a>

### <code>brightness&#45;levels</code> — not listed as required here

<div id="dt-2707349e36fb83937dc1">
<p style="white-space: pre-wrap">Array of distinct brightness levels. The levels must be in the range accepted by the underlying LED device. Typically these are in the range from 0 to 255, but any range starting at 0 will do, as long as they are accepted by the LED. The 0 value means a 0% of brightness (darkest/off), while the last value in the array represents a full 100% brightness (brightest). If this array is not provided, the driver default mapping is used.</p>
</div>

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

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

### <code>default&#45;brightness&#45;level</code> — not listed as required here

<div id="dt-5ec7b951bc46314c02dc">
<p style="white-space: pre-wrap">The default brightness level (index into the array defined by the "brightness-levels" property).</p>
</div>

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

<a id="dt-738c4b4f9e483441138b"></a>

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

<code>true</code>

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>

---

# gpio-backlight

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

> Device-tree binding reference for gpio-backlight.

<!-- 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;leds&#47;backlight&#47;gpio&#45;backlight&#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;Lee Jones &#60;lee&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Daniel Thompson &#60;daniel&#46;thompson&#64;linaro&#46;org&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Jingoo Han &#60;jingoohan1&#64;gmail&#46;com&#62;&#34;</code></span>

<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;gpio&#45;backlight&#34;</code></span>

<a id="dt-6423357510c4f559d9df"></a>

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

<div id="dt-e9a56736b9784e1b506e">
<p style="white-space: pre-wrap">The gpio that is used for enabling/disabling the backlight.</p>
</div>

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

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

### <code>default&#45;on</code> — not listed as required here

<div id="dt-b155853ed975cf4a2261">
<p style="white-space: pre-wrap">enable the backlight at boot.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-735cb01985bb1b30270f"><code>&#34;boolean&#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>, <span id="dt-ee7433925c1528c16b99"><code>&#34;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-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/gpio/gpio.h&gt;
backlight {
    compatible = "gpio-backlight";
    gpios = &lt;&amp;gpio3 4 GPIO_ACTIVE_HIGH&gt;;
    default-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>

</details>

---

# Kinetic Technologies KTD253 and KTD259 one-wire backlight

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

> Device-tree binding reference for Kinetic Technologies KTD253 and KTD259 one-wire backlight.

<!-- SPDX-License-Identifier: (GPL-2.0 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;backlight&#47;kinetic&#44;ktd253&#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;Linus Walleij &#60;linusw&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Kinetic Technologies KTD253 and KTD259 are white LED backlights
controlled by a single GPIO line. If you just turn on the backlight
it goes to maximum backlight then you can set the level of backlight
using pulses on the enable wire. This is sometimes referred to as
"expresswire".</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

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

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

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

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

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

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

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

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

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-851ace07a50c83495949"></a> <span id="dt-63b688f2ccd82724cb8f"><code>&#34;kinetic&#44;ktd253&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;kinetic&#44;ktd259&#34;</code></span>

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

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

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">GPIO to use to enable/disable and dim the backlight.</p>
</div>

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

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

### <code>default&#45;brightness</code> — not listed as required here

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

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

### <code>max&#45;brightness</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-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;enable&#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-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/gpio/gpio.h&gt;
backlight {
    compatible = "kinetic,ktd253";
    enable-gpios = &lt;&amp;gpio2 5 GPIO_ACTIVE_HIGH&gt;;
    default-brightness = &lt;13&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 OR BSD-2-Clause)</span></p>

</details>

---

# Kinetic Technologies KTD2801 one-wire backlight

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

> Device-tree binding reference for Kinetic Technologies KTD2801 one-wire backlight.

<!-- SPDX-License-Identifier: (GPL-2.0 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;backlight&#47;kinetic&#44;ktd2801&#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;Duje Mihanović &#60;duje&#46;mihanovic&#64;skole&#46;hr&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Kinetic Technologies KTD2801 is a LED backlight driver controlled
by a single GPIO line. The driver can be controlled with a PWM signal
or by pulsing the GPIO line to set the backlight level. This is called
"ExpressWire".</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

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

<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;ktd2801&#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>

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

### <code>default&#45;brightness</code> — not listed as required here

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

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

### <code>max&#45;brightness</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-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;ctrl&#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-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/gpio/gpio.h&gt;

backlight {
    compatible = "kinetic,ktd2801";
    ctrl-gpios = &lt;&amp;gpio 97 GPIO_ACTIVE_HIGH&gt;;
    max-brightness = &lt;210&gt;;
    default-brightness = &lt;100&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 OR BSD-2-Clause)</span></p>

</details>

---

# Kinetic Technologies KTZ8866 backlight

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

> Device-tree binding reference for Kinetic Technologies KTZ8866 backlight.

<!-- SPDX-License-Identifier: (GPL-2.0 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;backlight&#47;kinetic&#44;ktz8866&#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;Jianhua Lu &#60;lujianhua000&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Kinetic Technologies KTZ8866 is a high efficiency 6-channels-current-sinks
led backlight with dual lcd bias power.
https://www.kinet-ic.com/ktz8866/</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

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

<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;ktz8866&#34;</code></span>

<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-06742f4da81b35fd60c2"></a>

### <code>vddpos&#45;supply</code> — required here

<div id="dt-bdf9021c94e2f3e8a508">
<p style="white-space: pre-wrap">positive boost supply regulator.</p>
</div>

<a id="dt-940a850c7f516fe39850"></a>

### <code>vddneg&#45;supply</code> — required here

<div id="dt-5ae0e843b39a05d923ce">
<p style="white-space: pre-wrap">negative boost supply regulator.</p>
</div>

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

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

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">GPIO to use to enable/disable the backlight (HWEN pin).</p>
</div>

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

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

### <code>current&#45;num&#45;sinks</code> — not listed as required here

<div id="dt-55a91a9c3e697f359795">
<p style="white-space: pre-wrap">number of the LED current sinks' channels.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f166827cb88e9440268d">[<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-0b18adb3bb94306afa28"></a> <span id="dt-9c17a05a00df4a3787ea"><code>1</code></span>, <span id="dt-a813c4303900aded111a"><code>2</code></span>, <span id="dt-80a709dfeeb224c76243"><code>3</code></span>, <span id="dt-7e75b8e2023e2e3de14d"><code>4</code></span>, <span id="dt-9e8d0c99588d30c23537"><code>5</code></span>, <span id="dt-f0376eb7eba138eee3d9"><code>6</code></span>

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

### <code>kinetic&#44;current&#45;ramp&#45;delay&#45;ms</code> — not listed as required here

<div id="dt-351deb5f3537d4288d13">
<p style="white-space: pre-wrap">LED current ramping delay time in milliseconds, note that the
case 1 will be mapped to 1μs.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-9cb947bdb9ae5791c441"></a> <span id="dt-4d69b6413a8d89690f5a"><code>1</code></span>, <span id="dt-929fa696110fcc1aefa8"><code>2</code></span>, <span id="dt-b07619d93121166fe86e"><code>4</code></span>, <span id="dt-0ae2814391859b6581ab"><code>8</code></span>, <span id="dt-fc4d294fdf1450941514"><code>16</code></span>, <span id="dt-70282c3731de2483c040"><code>32</code></span>, <span id="dt-347d1334a4825e283245"><code>64</code></span>, <span id="dt-a6e67f3f0246fa573a65"><code>128</code></span>, <span id="dt-336d819f1814cdcbea97"><code>192</code></span>, <span id="dt-50afef3dd93b33e62e29"><code>256</code></span>, <span id="dt-2a6eb98edac8d9fb588d"><code>320</code></span>, <span id="dt-4feeb5d7882fd2aacf6d"><code>384</code></span>, <span id="dt-8a363cdf88b28f033cf7"><code>448</code></span>, <span id="dt-811573aa20eec4e225c4"><code>512</code></span>, <span id="dt-bd5fa5560b1bb3c57743"><code>576</code></span>, <span id="dt-0ec2d524f6c9e1adabcb"><code>640</code></span>

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

### <code>kinetic&#44;led&#45;enable&#45;ramp&#45;delay&#45;ms</code> — not listed as required here

<div id="dt-3ec0fb54e4da5bcc1d27">
<p style="white-space: pre-wrap">LED on/off ramping delay time in milliseconds, note that the case 0 will be
mapped to 512μs because ktz8866 can't ramp faster than it.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-8127075f0283d7cc1dc9"></a> <span id="dt-8b729393246609669149"><code>0</code></span>, <span id="dt-944834c7b57064da208c"><code>1</code></span>, <span id="dt-df7816e9f7519be42fbf"><code>2</code></span>, <span id="dt-058c7f893cb280569cbe"><code>4</code></span>, <span id="dt-4df4d4cd6c4a1a23edb2"><code>8</code></span>, <span id="dt-9ee3e32cb291c1bfd77f"><code>16</code></span>, <span id="dt-5e86a9a204c4ddc0aee4"><code>32</code></span>, <span id="dt-c1d83acfea23b3d70e23"><code>64</code></span>, <span id="dt-266360ffb9374986e266"><code>128</code></span>, <span id="dt-b977c71ac09761d7f5f2"><code>256</code></span>, <span id="dt-1e54203fd11f53a69e39"><code>512</code></span>, <span id="dt-b453c913ffa4e568f9eb"><code>1024</code></span>, <span id="dt-43d6a6ca27492c6d68fc"><code>2048</code></span>, <span id="dt-205f17b14302539a0699"><code>4096</code></span>, <span id="dt-9c84dfe31850149e7d4e"><code>8192</code></span>, <span id="dt-345eb47eff345e66e012"><code>16384</code></span>

<a id="dt-1963ec49176c5e723aff"></a>

### <code>kinetic&#44;enable&#45;lcd&#45;bias</code> — not listed as required here

<div id="dt-9653985b78c24880f722">
<p style="white-space: pre-wrap">Set if we want to output bias power supply for LCD.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-621988acebdc8c9d91b2"><code>&#34;boolean&#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>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;vddpos&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;vddneg&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;enable&#45;gpios&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;

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

    backlight@11 {
        compatible = "kinetic,ktz8866";
        reg = &lt;0x11&gt;;
        vddpos-supply = &lt;&amp;bl_vddpos_5p5&gt;;
        vddneg-supply = &lt;&amp;bl_vddneg_5p5&gt;;
        enable-gpios = &lt;&amp;tlmm 139 GPIO_ACTIVE_HIGH&gt;;
        current-num-sinks = &lt;5&gt;;
        kinetic,current-ramp-delay-ms = &lt;128&gt;;
        kinetic,led-enable-ramp-delay-ms = &lt;1&gt;;
        kinetic,enable-lcd-bias;
    };
};
</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 OR BSD-2-Clause)</span></p>

</details>

---

# led-backlight

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

> Device-tree binding reference for led-backlight.

<!-- 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;leds&#47;backlight&#47;led&#45;backlight&#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;Lee Jones &#60;lee&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Daniel Thompson &#60;daniel&#46;thompson&#64;linaro&#46;org&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Jingoo Han &#60;jingoohan1&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding is used to describe a basic backlight device made of LEDs. It can also be used to describe a backlight device controlled by the output of a LED driver.</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

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

<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;led&#45;backlight&#34;</code></span>

<a id="dt-85c9b34b55b27f5ea876"></a>

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

<code>true</code> — No constraints added by this property 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;leds&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">backlight {
    compatible = "led-backlight";

    leds = &lt;&amp;led1&gt;, &lt;&amp;led2&gt;;
    brightness-levels = &lt;0 4 8 16 32 64 128 255&gt;;
    default-brightness-level = &lt;6&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</span></p>

</details>

---

# TI LM3630A High-Efficiency Dual-String White LED

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

> Device-tree binding reference for TI LM3630A High-Efficiency Dual-String White LED.

<!-- SPDX-License-Identifier: (GPL-2.0 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;backlight&#47;lm3630a&#45;backlight&#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;Lee Jones &#60;lee&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Daniel Thompson &#60;daniel&#46;thompson&#64;linaro&#46;org&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Jingoo Han &#60;jingoohan1&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The LM3630A is a current-mode boost converter which supplies the power and
controls the current in up to two strings of 10 LEDs per string.
https://www.ti.com/product/LM3630A</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;ti&#44;lm3630a&#34;</code></span>

<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-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

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

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

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

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

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">GPIO to use to enable/disable the backlight (HWEN pin).</p>
</div>

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

**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;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#34;</code></span>

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

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

<a id="dt-3149080f56da2050cbdb"></a>

### <code>&#94;led&#64;&#91;01&#93;&#36;</code> — name matches this regular expression

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

<div id="dt-7d773514d1460fd0c835">
<p style="white-space: pre-wrap">Properties for a string of connected LEDs.</p>
</div>

<a id="dt-81f78405b1acb5c061bf"></a>

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

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

**<code>reg</code> — required here**

<div id="dt-1550f303c063d63d6927">
<p style="white-space: pre-wrap">The control bank that is used to program the two current sinks. The
LM3630A has two control banks (A and B) and are represented as 0 or 1
in this property. The two current sinks can be controlled
independently with both banks, or bank A can be configured to control
both sinks with the led-sources property.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-0910a62beb632fc8b427"><code>0</code></span>

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

<a id="dt-1618b36c59e380a09a0b"></a>

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

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

<a id="dt-740d10ff49bd74c01e97"></a>

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

<a id="dt-760b44d1cb736946d905"></a>

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

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

**Rule 1**

> **Minimum number of items (<code>minItems</code>):** <span id="dt-93364db29e5fc6ef86c9"><code>1</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-6f6e14733e4e4e8b274e"><code>2</code></span>
>
> <a id="dt-7dac463654a94a1eaa5b"></a>
>
> **Array item rules (<code>items</code>)**
>
> > **Minimum value (<code>minimum</code>):** <span id="dt-075036f35d94f340cb33"><code>0</code></span>
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-947f47c0584dade22bc1"><code>1</code></span>

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

**<code>default&#45;brightness</code> — not listed as required here**

<div id="dt-a71b7aa92e4def0dab4a">
<p style="white-space: pre-wrap">Default brightness level on boot.</p>
</div>

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

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

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

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

<div id="dt-d3481c6fcc153bfdae7c">
<p style="white-space: pre-wrap">Maximum brightness that is allowed during runtime.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-83797bcc735e3542ff3a"><code>0</code></span>

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

<a id="dt-707146899b828eeb804b"></a>

**<code>ti&#44;linear&#45;mapping&#45;mode</code> — not listed as required here**

<div id="dt-08eb123bea3efb70a74b">
<p style="white-space: pre-wrap">Enable linear mapping mode. If disabled, then it will use exponential
mapping mode in which the ramp up/down appears to have a more uniform
transition to the human eye.</p>
</div>

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

**Required in this object (<code>required</code>):** <a id="dt-3991ad4881fa1d645bb9"></a> <span id="dt-0780209107967c8bd17b"><code>&#34;reg&#34;</code></span>

<a id="dt-be66ad8bc36e3cfa1556"></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-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;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led-controller@38 {
            compatible = "ti,lm3630a";
            reg = &lt;0x38&gt;;
            enable-gpios = &lt;&amp;gpio2 5 GPIO_ACTIVE_HIGH&gt;;

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

            led@0 {
                    reg = &lt;0&gt;;
                    led-sources = &lt;0 1&gt;;
                    label = "lcd-backlight";
                    default-brightness = &lt;200&gt;;
                    max-brightness = &lt;255&gt;;
            };
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led-controller@38 {
            compatible = "ti,lm3630a";
            reg = &lt;0x38&gt;;

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

            led@0 {
                    reg = &lt;0&gt;;
                    default-brightness = &lt;150&gt;;
                    ti,linear-mapping-mode;
            };

            led@1 {
                    reg = &lt;1&gt;;
                    default-brightness = &lt;225&gt;;
                    ti,linear-mapping-mode;
            };
    };
};
</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 OR BSD-2-Clause)</span></p>

</details>

---

# Texas Instruments LP855X backlight controllers

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

> Device-tree binding reference for Texas Instruments LP855X backlight controllers.

<!-- SPDX-License-Identifier: (GPL-2.0 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;backlight&#47;lp855x&#45;backlight&#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;Artur Weber &#60;aweber&#46;kernel&#64;gmail&#46;com&#62;&#34;</code></span>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;ti&#44;lp8550&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;lp8551&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;ti&#44;lp8552&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;ti&#44;lp8553&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;ti&#44;lp8555&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;ti&#44;lp8556&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;ti&#44;lp8557&#34;</code></span>

<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-97809f95b7f7fe82580d"></a>

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

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

<div id="dt-e41dc074fbe49374a6af">
<p style="white-space: pre-wrap">Value of device control register. This is a device-specific value.</p>
</div>

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

### <code>bl&#45;name</code> — not listed as required here

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

<div id="dt-c578ed5059899799e17a">
<p style="white-space: pre-wrap">Backlight device name.</p>
</div>

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

### <code>init&#45;brt</code> — not listed as required here

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

<div id="dt-d9655e9527a0b1e45d0d">
<p style="white-space: pre-wrap">Initial value of backlight brightness.</p>
</div>

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

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

<div id="dt-c5b2942452eb66576e7d">
<p style="white-space: pre-wrap">Regulator which controls the 3V rail.</p>
</div>

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

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

<div id="dt-a8513bef192d78aca5be">
<p style="white-space: pre-wrap">Regulator which controls the EN/VDDIO input.</p>
</div>

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

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

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

<div id="dt-901b3170f60b32ff98e9">
<p style="white-space: pre-wrap">PWM channel to use for controlling the backlight; setting this
enables the PWM-based backlight control mode.</p>
</div>

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

### <code>pwm&#45;names</code> — not listed as required here

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

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

### <code>pwm&#45;period</code> — not listed as required here

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

<div id="dt-72af198510e1f5b0482b">
<p style="white-space: pre-wrap">PWM period value. Deprecated; set the period value in the pwms property instead.</p>
</div>

**Deprecated (<code>deprecated</code>):** <span id="dt-df0803a379871450cf97"><code>true</code></span>

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

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

<a id="dt-099ed5b52bf4a6e367c7"></a>

### <code>&#94;rom&#45;&#91;0&#45;9a&#45;f&#93;&#123;2&#125;h&#36;</code> — name matches this regular expression

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

<div id="dt-f35d6d840079d0772912">
<p style="white-space: pre-wrap">Nodes containing the values of configuration registers.</p>
</div>

<a id="dt-936a208586d1cfd5afdb"></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-694e57790d7cb1badc76"></a>

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

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

**<code>rom&#45;addr</code> — not listed as required here**

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

<div id="dt-411eeb8a13adddbd47e9">
<p style="white-space: pre-wrap">Register address of ROM area to be updated.</p>
</div>

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

**<code>rom&#45;val</code> — not listed as required here**

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

<div id="dt-342383e547d3edff3139">
<p style="white-space: pre-wrap">Value to write to the ROM register.</p>
</div>

**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;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;dev&#45;ctrl&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    backlight@2c {
        compatible = "ti,lp8555";
        reg = &lt;0x2c&gt;;

        dev-ctrl = /bits/ 8 &lt;0x00&gt;;

        pwms = &lt;&amp;pwm 0 10000&gt;;
        pwm-names = "lp8555";

        /* 4V OV, 4 output LED0 string enabled */
        rom-14h {
          rom-addr = /bits/ 8 &lt;0x14&gt;;
          rom-val = /bits/ 8 &lt;0xcf&gt;;
        };

        /* Heavy smoothing, 24ms ramp time step */
        rom-15h {
          rom-addr = /bits/ 8 &lt;0x15&gt;;
          rom-val = /bits/ 8 &lt;0xc7&gt;;
        };

        /* 4 output LED1 string enabled */
        rom-19h {
          rom-addr = /bits/ 8 &lt;0x19&gt;;
          rom-val = /bits/ 8 &lt;0x0f&gt;;
        };
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    backlight@2c {
        compatible = "ti,lp8556";
        reg = &lt;0x2c&gt;;

        bl-name = "lcd-bl";
        dev-ctrl = /bits/ 8 &lt;0x85&gt;;
        init-brt = /bits/ 8 &lt;0x10&gt;;
    };
  };
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    backlight@2c {
        compatible = "ti,lp8557";
        reg = &lt;0x2c&gt;;
        enable-supply = &lt;&amp;backlight_vddio&gt;;
        power-supply = &lt;&amp;backlight_vdd&gt;;

        dev-ctrl = /bits/ 8 &lt;0x41&gt;;
        init-brt = /bits/ 8 &lt;0x0a&gt;;

        /* 4V OV, 4 output LED string enabled */
        rom-14h {
          rom-addr = /bits/ 8 &lt;0x14&gt;;
          rom-val = /bits/ 8 &lt;0xcf&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 OR BSD-2-Clause)</span></p>

</details>

---

# MediaTek MT6370 Backlight

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

> Device-tree binding reference for MediaTek MT6370 Backlight.

<!-- 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;backlight&#47;mediatek&#44;mt6370&#45;backlight&#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;ChiaEn Wu &#60;chiaen&#95;wu&#64;richtek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This module is part of the MT6370 MFD device.
The MT6370 Backlight WLED driver supports up to a 29V output voltage for
4 channels of 8 series WLEDs. Each channel supports up to 30mA of current
capability with 2048 current steps (11 bits, only for MT6370/MT6371) or
16384 current steps (14 bits, only for MT6372) in exponential or linear
mapping curves.</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

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

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;mediatek&#44;mt6370&#45;backlight&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;mediatek&#44;mt6372&#45;backlight&#34;</code></span>

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

### <code>default&#45;brightness</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-31940e652ca21b28fcbb"><code>0</code></span>

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

### <code>max&#45;brightness</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-61959ddd0a364545bba6"><code>0</code></span>

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

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

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">External backlight 'enable' pin</p>
</div>

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

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

### <code>mediatek&#44;bled&#45;pwm&#45;enable</code> — not listed as required here

<div id="dt-03fe6542c0f759f517fa">
<p style="white-space: pre-wrap">Enable external PWM input for backlight dimming</p>
</div>

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

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

### <code>mediatek&#44;bled&#45;pwm&#45;hys&#45;enable</code> — not listed as required here

<div id="dt-5b4fe5cfcfbacb63826b">
<p style="white-space: pre-wrap">Enable the backlight input-hysteresis for PWM mode</p>
</div>

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

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

### <code>mediatek&#44;bled&#45;pwm&#45;hys&#45;input&#45;th&#45;steps</code> — not listed as required here

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

**Allowed values (<code>enum</code>):** <a id="dt-233f553ddb5502e43184"></a> <span id="dt-8f18ee274e1eb8e5b7aa"><code>1</code></span>, <span id="dt-23fa4a29ae17cdae095a"><code>4</code></span>, <span id="dt-5226144820331dd778d2"><code>16</code></span>, <span id="dt-73c99745e62360837360"><code>64</code></span>

<div id="dt-3ab1a36c3b504ae76eca">
<p style="white-space: pre-wrap">The selection of the upper and lower bounds threshold of backlight
PWM resolution. If we choose selection 64, the variation of PWM
resolution needs more than 64 steps.</p>
</div>

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

### <code>mediatek&#44;bled&#45;ovp&#45;shutdown</code> — not listed as required here

<div id="dt-ceb79565d9deb88563bb">
<p style="white-space: pre-wrap">Enable the backlight shutdown when OVP level triggered</p>
</div>

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

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

### <code>mediatek&#44;bled&#45;ovp&#45;microvolt</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-21e1165c730614c26fbf"></a> <span id="dt-73d79a9bd921e3c1bba8"><code>17000000</code></span>, <span id="dt-b91ea31cf795c9a41245"><code>21000000</code></span>, <span id="dt-48eb68f8b901f42c788e"><code>25000000</code></span>, <span id="dt-4c5dd7d69e7c6efeac88"><code>29000000</code></span>

<div id="dt-bf7e852feeea9d269194">
<p style="white-space: pre-wrap">Backlight OVP level selection.</p>
</div>

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

### <code>mediatek&#44;bled&#45;ocp&#45;shutdown</code> — not listed as required here

<div id="dt-90e171d4256c87263451">
<p style="white-space: pre-wrap">Enable the backlight shutdown when OCP level triggered.</p>
</div>

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

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

### <code>mediatek&#44;bled&#45;ocp&#45;microamp</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-d3a0f387bf248e2f0a23"></a> <span id="dt-62dae995501f9bc54cb1"><code>900000</code></span>, <span id="dt-ae33195ba18a4ff3b528"><code>1200000</code></span>, <span id="dt-a9cd890b0baedd715f44"><code>1500000</code></span>, <span id="dt-fe438a2d20411dee80d9"><code>1800000</code></span>

<div id="dt-f0d3033039249970ba14">
<p style="white-space: pre-wrap">Backlight OC level selection.</p>
</div>

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

### <code>mediatek&#44;bled&#45;exponential&#45;mode&#45;enable</code> — not listed as required here

<div id="dt-15fa7e6f23a9bb171600">
<p style="white-space: pre-wrap">Enable the exponential mode of backlight brightness. If this property
is not enabled, the default is to use linear mode.</p>
</div>

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

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

### <code>mediatek&#44;bled&#45;channel&#45;use</code> — required here

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

<div id="dt-02d93cf0015fd673c542">
<pre><code>Backlight LED channel to be used.
Each bit mapping to:
  - 0: CH4
  - 1: CH3
  - 2: CH2
  - 3: CH1</code></pre>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-90cf5d15bcb907663a76"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-6d80432d1afc18285a0b"><code>15</code></span>

<a id="dt-158e3f6339df9dc0e448"></a>

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

> <a id="dt-0c7b6d12024f922c1b96"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-824fdc441f7c94ae56ca"></a>
>
> #### <code>compatible</code> — not listed as required here
>
> <a id="dt-8239149d6c8b0a5dabbe"></a>
>
> **Rule for matching array elements (<code>contains</code>)**
>
> > **Exact value (<code>const</code>):** <span id="dt-0259836b095562054cc8"><code>&#34;mediatek&#44;mt6372&#45;backlight&#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-21f58594d1563051a78f"></a>
>
> #### <code>default&#45;brightness</code> — not listed as required here
>
> **Maximum value (<code>maximum</code>):** <span id="dt-8bf1700d6f10e86954de"><code>16384</code></span>
>
> <a id="dt-1bb29e463deb757421f2"></a>
>
> #### <code>max&#45;brightness</code> — not listed as required here
>
> **Maximum value (<code>maximum</code>):** <span id="dt-dd9630d17fab117e8323"><code>16384</code></span>

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

## When the condition does not match (<code>else</code>)

> <a id="dt-cf075a4b84ee9b101feb"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-c8a926f6722c4b057b1f"></a>
>
> #### <code>default&#45;brightness</code> — not listed as required here
>
> **Maximum value (<code>maximum</code>):** <span id="dt-c2f395902599907738ae"><code>2048</code></span>
>
> <a id="dt-fc34248f5f0b848d5e7e"></a>
>
> #### <code>max&#45;brightness</code> — not listed as required here
>
> **Maximum value (<code>maximum</code>):** <span id="dt-8f8432b24dc5237c0acb"><code>2048</code></span>

**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;mediatek&#44;bled&#45;channel&#45;use&#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>

---

# MPS MP3309C backlight

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

> Device-tree binding reference for MPS MP3309C backlight.

<!-- SPDX-License-Identifier: (GPL-2.0 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;backlight&#47;mps&#44;mp3309c&#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;Flavio Suligoi &#60;f&#46;suligoi&#64;asem&#46;it&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Monolithic Power (MPS) MP3309C is a WLED step-up converter, featuring a
programmable switching frequency to optimize efficiency.
It supports two different dimming modes:</p>
<p style="white-space: pre-wrap">- analog mode, via I2C commands, as default mode (32 dimming levels)
- PWM controlled mode (optional)</p>
<p style="white-space: pre-wrap">The datasheet is available at:
https://www.monolithicpower.com/en/mp3309c.html</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

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

<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;mps&#44;mp3309c&#34;</code></span>

<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-4a7041c930b420fcb4d6"></a>

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

<div id="dt-901b3170f60b32ff98e9">
<p style="white-space: pre-wrap">if present, the backlight is controlled in PWM mode.</p>
</div>

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

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

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

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">GPIO used to enable the backlight in "analog-i2c" dimming mode.</p>
</div>

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

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

### <code>mps&#44;overvoltage&#45;protection&#45;microvolt</code> — not listed as required here

<div id="dt-a25793b8e3ad5e44dbad">
<p style="white-space: pre-wrap">Overvoltage protection (13.5V, 24V or 35.5V).</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-44ac2bdf639113323e4d"></a> <span id="dt-ea4ba489dbc25b6f9974"><code>13500000</code></span>, <span id="dt-057ff2521253db249dd2"><code>24000000</code></span>, <span id="dt-79beea205bfbcce81550"><code>35500000</code></span>

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

<a id="dt-19dcd6b4c510de8d43ed"></a>

### <code>mps&#44;no&#45;sync&#45;mode</code> — not listed as required here

<div id="dt-6142700e7720e77930b0">
<p style="white-space: pre-wrap">disable synchronous rectification mode</p>
</div>

**Value type (<code>type</code>):** <span id="dt-42034e17fa69d080a10f"><code>&#34;boolean&#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>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    /* Backlight with PWM control */
    backlight_pwm: backlight@17 {
        compatible = "mps,mp3309c";
        reg = &lt;0x17&gt;;
        pwms = &lt;&amp;pwm1 0 3333333 0&gt;; /* 300 Hz --&gt; (1/f) * 1*10^9 */
        brightness-levels = &lt;0 4 8 16 32 64 128 255&gt;;
        default-brightness = &lt;6&gt;;
        mps,overvoltage-protection-microvolt = &lt;24000000&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 OR BSD-2-Clause)</span></p>

</details>

---

# pwm-backlight

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

> Device-tree binding reference for pwm-backlight.

<!-- 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;leds&#47;backlight&#47;pwm&#45;backlight&#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;Lee Jones &#60;lee&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Daniel Thompson &#60;daniel&#46;thompson&#64;linaro&#46;org&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Jingoo Han &#60;jingoohan1&#64;gmail&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

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

<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;pwm&#45;backlight&#34;</code></span>

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

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

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

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

### <code>pwm&#45;names</code> — not listed as required here

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

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

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

<div id="dt-c5b2942452eb66576e7d">
<p style="white-space: pre-wrap">regulator for supply voltage</p>
</div>

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

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

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">Contains a single GPIO specifier for the GPIO which enables and disables the backlight.</p>
</div>

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

<a id="dt-272894f1d6673cce65e8"></a>

### <code>post&#45;pwm&#45;on&#45;delay&#45;ms</code> — not listed as required here

<div id="dt-f5c0825c68c85feb18fe">
<p style="white-space: pre-wrap">Delay in ms between setting an initial (non-zero) PWM and enabling the backlight using GPIO.</p>
</div>

<a id="dt-78d30c5eb50103d8a211"></a>

### <code>pwm&#45;off&#45;delay&#45;ms</code> — not listed as required here

<div id="dt-2e3b997e0a0474319b5a">
<p style="white-space: pre-wrap">Delay in ms between disabling the backlight using GPIO and setting PWM value to 0.</p>
</div>

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

### <code>num&#45;interpolated&#45;steps</code> — not listed as required here

<div id="dt-94121704c8f50b6e0126">
<p style="white-space: pre-wrap">Number of interpolated steps between each value of brightness-levels table. This way a high resolution pwm duty cycle can be used without having to list out every possible value in the brightness-level array.</p>
</div>

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

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

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

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

### <code>default&#45;brightness&#45;level</code> — applies when this property is present

Also requires: <span id="dt-a9f12c621004c1ce532e"><code>&#34;brightness&#45;levels&#34;</code></span>

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

### <code>num&#45;interpolated&#45;steps</code> — applies when this property is present

Also requires: <span id="dt-afdc742a197f853b9a9b"><code>&#34;brightness&#45;levels&#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>, <span id="dt-ee7433925c1528c16b99"><code>&#34;pwms&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">backlight {
    compatible = "pwm-backlight";
    pwms = &lt;&amp;pwm 0 5000000&gt;;

    brightness-levels = &lt;0 4 8 16 32 64 128 255&gt;;
    default-brightness-level = &lt;6&gt;;

    power-supply = &lt;&amp;vdd_bl_reg&gt;;
    enable-gpios = &lt;&amp;gpio 58 0&gt;;
    post-pwm-on-delay-ms = &lt;10&gt;;
    pwm-off-delay-ms = &lt;10&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">// Example using num-interpolation-steps:
backlight {
    compatible = "pwm-backlight";
    pwms = &lt;&amp;pwm 0 5000000&gt;;

    brightness-levels = &lt;0 2048 4096 8192 16384 65535&gt;;
    num-interpolated-steps = &lt;2048&gt;;
    default-brightness-level = &lt;4096&gt;;

    power-supply = &lt;&amp;vdd_bl_reg&gt;;
    enable-gpios = &lt;&amp;gpio 58 0&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</span></p>

</details>

---

# Qualcomm Technologies, Inc. WLED driver

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

> Device-tree binding reference for Qualcomm Technologies, Inc. WLED driver.

<!-- SPDX-License-Identifier: (GPL-2.0 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;backlight&#47;qcom&#45;wled&#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;Bjorn Andersson &#60;andersson&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Kiran Gunda &#60;quic&#95;kgunda&#64;quicinc&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">WLED (White Light Emitting Diode) driver is used for controlling display
backlight that is part of PMIC on Qualcomm Technologies, Inc. reference
platforms. The PMIC is connected to the host processor via SPMI bus.</p>
</div>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;qcom&#44;pm8941&#45;wled&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;qcom&#44;pmi8950&#45;wled&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;qcom&#44;pmi8994&#45;wled&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;qcom&#44;pmi8998&#45;wled&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;qcom&#44;pm660l&#45;wled&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;qcom&#44;pm6150l&#45;wled&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;qcom&#44;pm8150l&#45;wled&#34;</code></span>

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

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

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

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

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

### <code>default&#45;brightness</code> — not listed as required here

<div id="dt-183df262154cac976a81">
<p style="white-space: pre-wrap">brightness value on boot.</p>
</div>

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

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

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

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

### <code>max&#45;brightness</code> — not listed as required here

<div id="dt-bb584d2a660571ac17b6">
<p style="white-space: pre-wrap">Maximum brightness level.</p>
</div>

<a id="dt-59449a4e625d919e7f00"></a>

### <code>qcom&#44;cs&#45;out</code> — not listed as required here

<div id="dt-fa42087c88d54475fb2d">
<p style="white-space: pre-wrap">enable current sink output.
This property is supported only for WLED3.</p>
</div>

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

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

### <code>qcom&#44;cabc</code> — not listed as required here

<div id="dt-2ff1c993496eb48a509d">
<p style="white-space: pre-wrap">enable content adaptive backlight control.</p>
</div>

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

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

### <code>qcom&#44;ext&#45;gen</code> — not listed as required here

<div id="dt-f02997c234663d4c0f56">
<p style="white-space: pre-wrap">use externally generated modulator signal to dim.
This property is supported only for WLED3.</p>
</div>

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

<a id="dt-9237a6dc90f82b536afa"></a>

### <code>qcom&#44;current&#45;limit</code> — not listed as required here

<div id="dt-f725c214921f25db24d9">
<p style="white-space: pre-wrap">mA; per-string current limit.
This property is supported only for WLED3.</p>
</div>

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

**Default value (<code>default</code>):** <span id="dt-88fb0bb657f75a4043ce"><code>20</code></span>

**Minimum value (<code>minimum</code>):** <span id="dt-236c14e305c4c234d46a"><code>0</code></span>

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

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

### <code>qcom&#44;current&#45;limit&#45;microamp</code> — not listed as required here

<div id="dt-30a6f3007f67f64dc3be">
<p style="white-space: pre-wrap">uA; per-string current limit.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-269945af81dc71e40565"><code>25</code></span>

**Minimum value (<code>minimum</code>):** <span id="dt-8347677ed6eaa7dea600"><code>0</code></span>

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

**Multiple of (<code>multipleOf</code>):** <span id="dt-e334b343842190693e95"><code>25</code></span>

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

### <code>qcom&#44;current&#45;boost&#45;limit</code> — not listed as required here

<div id="dt-37d2a0c79ec4777e862c">
<p style="white-space: pre-wrap">mA; boost current limit.</p>
</div>

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

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

### <code>qcom&#44;switching&#45;freq</code> — not listed as required here

<div id="dt-25402e1c5185c4f1ae5c">
<p style="white-space: pre-wrap">kHz; switching frequency.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ae51c8f97e550d0c2e0f">[<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-220b2d972f95b05e19bf"></a> <span id="dt-c1f677ef84ddf3d99e08"><code>600</code></span>, <span id="dt-802d3b6e966c69f78075"><code>640</code></span>, <span id="dt-f04c2bb6a645be4b9c17"><code>685</code></span>, <span id="dt-ceec94e36bb896a1b281"><code>738</code></span>, <span id="dt-054c083466b4b1ec67ee"><code>800</code></span>, <span id="dt-243d95cba69f99fe9f6d"><code>872</code></span>, <span id="dt-b2c755b45797062d2855"><code>960</code></span>, <span id="dt-897da5f67608d5b27f54"><code>1066</code></span>, <span id="dt-6da3cc5d27327b61ba80"><code>1200</code></span>, <span id="dt-ee758a417fd5ddbad037"><code>1371</code></span>, <span id="dt-74df033b248f158a2479"><code>1600</code></span>, <span id="dt-db43e29d86e709bd7f05"><code>1920</code></span>, <span id="dt-dbd07e34d453197463ad"><code>2400</code></span>, <span id="dt-dd05c92a6641145c4a82"><code>3200</code></span>, <span id="dt-9b3bbbb1319e2150012e"><code>4800</code></span>, <span id="dt-615f2215bb69bf5d10a2"><code>9600</code></span>

<a id="dt-611bbb5d3ceded51138e"></a>

### <code>qcom&#44;ovp</code> — not listed as required here

<div id="dt-6f4ae69f4418572f2036">
<p style="white-space: pre-wrap">V; Over-voltage protection limit.
This property is supported only for WLED3.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2204bc8a4997724fb53e">[<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-2b7bec55a14c39a0c3dd"></a> <span id="dt-da2b3bf075374bd394b7"><code>27</code></span>, <span id="dt-aa0fe177ee8c0fb2b438"><code>29</code></span>, <span id="dt-9c5c74383e4427a0a41e"><code>32</code></span>, <span id="dt-3d8e29d28323e8b9566b"><code>35</code></span>

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

<a id="dt-066e2ae1ec488ec59712"></a>

### <code>qcom&#44;ovp&#45;millivolt</code> — not listed as required here

<div id="dt-ba046f9308d4204d5b51">
<p style="white-space: pre-wrap">Over-voltage protection limit. This property is for WLED4 only.</p>
</div>

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

**Maximum value (<code>maximum</code>):** <span id="dt-33993fa5bbf84fb206ff"><code>31100</code></span>

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

### <code>qcom&#44;num&#45;strings</code> — not listed as required here

<div id="dt-53faac40e3e9ef10a088">
<p style="white-space: pre-wrap">number of led strings attached.</p>
</div>

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

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

### <code>qcom&#44;enabled&#45;strings</code> — not listed as required here

<div id="dt-6cbc925f100195516e33">
<p style="white-space: pre-wrap">Array of the WLED strings numbered from 0 to 3. Each
string of leds are operated individually. Specify the
list of strings used by the device. Any combination of
led strings can be used.</p>
</div>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-90e87f58f70b1d7659b4"><code>4</code></span>

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

### <code>qcom&#44;external&#45;pfet</code> — not listed as required here

<div id="dt-d4b87f357b1321bb3a82">
<p style="white-space: pre-wrap">Specify if external PFET control for short circuit
protection is used. This property is supported only
for WLED4.</p>
</div>

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

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

### <code>qcom&#44;auto&#45;string&#45;detection</code> — not listed as required here

<div id="dt-e09ea29a12e6f0b08ff7">
<p style="white-space: pre-wrap">Enables auto-detection of the WLED string configuration.
This feature is not supported for WLED3.</p>
</div>

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

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

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

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

<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">over voltage protection interrupt.</p>
> </div>

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

**Item 2**

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

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

### <code>interrupt&#45;names</code> — not listed as required here

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

<a id="dt-77e94e63ca0b20bb5ef1"></a>

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

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-7f7686a533ef09dda0b1"><code>&#34;ovp&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-5af1964d23a153c89b8a"><code>&#34;short&#34;</code></span>

<a id="dt-41f14392b86b4869d588"></a>

### <code>qcom&#44;modulator&#45;sel</code> — not listed as required here

<div id="dt-c1f4b7278ec6bc83f0d0">
<pre><code>Selects the modulator used for brightness modulation.
Allowed values are,
     0 - Modulator A
     1 - Modulator B
This property is applicable only to WLED5 peripheral.</code></pre>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-da97b0b29477c48ab2fb">[<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-7aa8abd0128fc7ff10dc"></a> <span id="dt-dc5eac119579d2a35e23"><code>0</code></span>, <span id="dt-40089863a4507eaac58b"><code>1</code></span>

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

<a id="dt-7736301d3fd2d298ceb8"></a>

### <code>qcom&#44;cabc&#45;sel</code> — not listed as required here

<div id="dt-ddc9fbb6ca08d7ead816">
<pre><code>Selects the CABC pin signal used for brightness modulation.
Allowed values are,
     0 - CABC disabled
     1 - CABC 1
     2 - CABC 2
     3 - External signal (e.g. LPG) is used for dimming
This property is applicable only to WLED5 peripheral.</code></pre>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e1b06d56e9467c3af03b">[<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-1cbe9fe7af822103404a"></a> <span id="dt-7bd34dddaab68fe6a40d"><code>0</code></span>, <span id="dt-309e95a777523066675c"><code>1</code></span>, <span id="dt-3fa079f315fad040d2c1"><code>2</code></span>, <span id="dt-ea452313e64e3c367b3f"><code>3</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-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;qcom&#44;pm8941&#45;wled&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-f6af340cf87a1ddfe255"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-144fc3e6513e11ca4459"><code>1</code></span>
> >
> > <a id="dt-7b87ca89a8181492d4b5"></a>
> >
> > **<code>qcom&#44;current&#45;boost&#45;limit</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-27ed140e0740eeeafd01"></a> <span id="dt-9ade3c40df9983456489"><code>105</code></span>, <span id="dt-7e261cd9508a6273016b"><code>385</code></span>, <span id="dt-cc0e4d09a243f2411cf3"><code>525</code></span>, <span id="dt-db7540b0cf18a7d6823c"><code>805</code></span>, <span id="dt-f931516289665fd0f54e"><code>980</code></span>, <span id="dt-37fb399edb580c71c649"><code>1260</code></span>, <span id="dt-30109253d56337f08fc6"><code>1400</code></span>, <span id="dt-dcceafa74700c7c4754d"><code>1680</code></span>
> >
> > **Default value (<code>default</code>):** <span id="dt-37165085d45575da2a2e"><code>805</code></span>
> >
> > <a id="dt-19cd0ded0370334982ca"></a>
> >
> > **<code>qcom&#44;switching&#45;freq</code> — not listed as required here**
> >
> > **Default value (<code>default</code>):** <span id="dt-0a95b8bb2cd48ac39ad4"><code>1600</code></span>
> >
> > <a id="dt-27ae8299dabc65fcbb3f"></a>
> >
> > **<code>qcom&#44;num&#45;strings</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-9c8101c286dbf87cdae1"></a> <span id="dt-e929d0e513014ae6d5dc"><code>1</code></span>, <span id="dt-53bb8988a4dff197c076"><code>2</code></span>, <span id="dt-7133f95bc955230748ec"><code>3</code></span>
> >
> > <a id="dt-7787b28725c144fbfc92"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-f83fd3bbdeba05802410"><code>1</code></span>
> >
> > <a id="dt-c34ab5a282220afd648a"></a>
> >
> > **<code>interrupt&#45;names</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-188dea9cb2fd643a8f92"><code>1</code></span>
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-0b56c96a40292905ded0"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-b8e4772f5364b2c96f73"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-14b828b0b7dde330657a"><code>2</code></span>
> >
> > <a id="dt-0a71a393704202039df2"></a>
> >
> > **<code>qcom&#44;current&#45;boost&#45;limit</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-b3ab1bfeb5a50e5952e0"></a> <span id="dt-242def051045fc05118b"><code>105</code></span>, <span id="dt-c3bac5bd54738302e226"><code>280</code></span>, <span id="dt-318873004d174710868a"><code>450</code></span>, <span id="dt-3afbacae5b1960ce93f8"><code>620</code></span>, <span id="dt-13da5c474d5185bae230"><code>970</code></span>, <span id="dt-bdb59f96df6f393e6452"><code>1150</code></span>, <span id="dt-66bb0024ad47d43b38bd"><code>1300</code></span>, <span id="dt-7b7bcf7d835a165165b7"><code>1500</code></span>
> >
> > **Default value (<code>default</code>):** <span id="dt-cc5101028370b84dedb2"><code>970</code></span>
> >
> > <a id="dt-42ba5fcdb1c86f3069d1"></a>
> >
> > **<code>qcom&#44;switching&#45;freq</code> — not listed as required here**
> >
> > **Default value (<code>default</code>):** <span id="dt-1951cdafaa1405f4db9a"><code>800</code></span>
> >
> > <a id="dt-5c4a91a1f60807289226"></a>
> >
> > **<code>qcom&#44;num&#45;strings</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-887b2bf48cbd753cb657"></a> <span id="dt-f85c6e4da8c80aa25c44"><code>1</code></span>, <span id="dt-92edb24d674afbce8e93"><code>2</code></span>, <span id="dt-201055031411b5c9bfd5"><code>3</code></span>, <span id="dt-4c115486ef368404de66"><code>4</code></span>
> >
> > <a id="dt-c67bbe72af985902ec8f"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-3bc3f9c58c175fd4ea15"><code>2</code></span>
> >
> > <a id="dt-67e0349c45a71119517a"></a>
> >
> > **<code>interrupt&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-649c5683be820c1fe6ed"><code>2</code></span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;qcom&#44;pm8150l&#45;wled&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-4de286cb6de777b922f9"></a>
> >
> > **<code>default&#45;brightness</code> — not listed as required here**
> >
> > **Minimum value (<code>minimum</code>):** <span id="dt-0f0d1b479e944c8d81bb"><code>0</code></span>
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-77171bb5ebd9fe9a3ef5"><code>32767</code></span>
> >
> > <a id="dt-5302359eba7fb6c5e08f"></a>
> >
> > **<code>max&#45;brightness</code> — not listed as required here**
> >
> > **Minimum value (<code>minimum</code>):** <span id="dt-d16564deae87e965b793"><code>0</code></span>
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-f60dae130edeb81a05b2"><code>32767</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-701ead2866d5aac1c7b0"></a>
> >
> > **<code>default&#45;brightness</code> — not listed as required here**
> >
> > **Minimum value (<code>minimum</code>):** <span id="dt-0102a4e2c415a7bebd94"><code>0</code></span>
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-1ec579478830b8f17e08"><code>4095</code></span>
> >
> > <a id="dt-a74bb2354a4f68e0d383"></a>
> >
> > **<code>max&#45;brightness</code> — not listed as required here**
> >
> > **Minimum value (<code>minimum</code>):** <span id="dt-62a23b6f0f20bf1f82f6"><code>0</code></span>
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-cec041892b4ed955a36c"><code>4095</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;qcom&#44;pmi8950&#45;wled&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;qcom&#44;pmi8994&#45;wled&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-da460228e5072ef65697"></a>
> >
> > **<code>qcom&#44;ovp&#45;millivolt</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-a6fe4f29fe462af98839"></a> <span id="dt-51413aca395b89cc1e86"><code>17800</code></span>, <span id="dt-c3ad9367d2fb77bb8ef6"><code>19400</code></span>, <span id="dt-6771ac057fc74d3127ca"><code>29500</code></span>, <span id="dt-f4f87bc32d286a418f1d"><code>31000</code></span>
> >
> > **Default value (<code>default</code>):** <span id="dt-8caa55670c9054304eb6"><code>29500</code></span>
>
> <a id="dt-a27f5f4fc91750ae210f"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-10a581729d134f7b8a73"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-da9dfadf3ff88422199d"></a>
> >
> > **<code>qcom&#44;ovp&#45;millivolt</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-998a1629b2a2eb36091c"></a> <span id="dt-c058e5f55567f861d487"><code>18100</code></span>, <span id="dt-d9ebebd99fd3bcb01a19"><code>19600</code></span>, <span id="dt-f76ad3d47516e461c83d"><code>29600</code></span>, <span id="dt-75151aae42750c934960"><code>31100</code></span>
> >
> > **Default value (<code>default</code>):** <span id="dt-596d9919c7a322b5d7e5"><code>29600</code></span>

**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;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;label&#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">backlight@d800 {
    compatible = "qcom,pm8941-wled";
    reg = &lt;0xd800 0x100&gt;;
    label = "backlight";

    qcom,cs-out;
    qcom,current-limit = &lt;20&gt;;
    qcom,current-boost-limit = &lt;805&gt;;
    qcom,switching-freq = &lt;1600&gt;;
    qcom,ovp = &lt;29&gt;;
    qcom,num-strings = &lt;2&gt;;
    qcom,enabled-strings = &lt;0 1&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 OR BSD-2-Clause)</span></p>

</details>

---

# Richtek RT4831 Backlight

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

> Device-tree binding reference for Richtek RT4831 Backlight.

<!-- 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;backlight&#47;richtek&#44;rt4831&#45;backlight&#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;ChiYuan Huang &#60;cy&#95;huang&#64;richtek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">RT4831 is a mutifunctional device that can provide power to the LCD display
and LCD backlight.</p>
<p style="white-space: pre-wrap">For the LCD backlight, it can provide four channel WLED driving capability.
Each channel driving current is up to 30mA</p>
<p style="white-space: pre-wrap">Datasheet is available at
https://www.richtek.com/assets/product_file/RT4831A/DS4831A-05.pdf</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

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

<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;richtek&#44;rt4831&#45;backlight&#34;</code></span>

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

### <code>default&#45;brightness</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-31940e652ca21b28fcbb"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-316c9b354372c7189a8a"><code>2048</code></span>

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

### <code>max&#45;brightness</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-61959ddd0a364545bba6"><code>0</code></span>

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

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

### <code>richtek&#44;pwm&#45;enable</code> — not listed as required here

<div id="dt-16a35f959229099548af">
<p style="white-space: pre-wrap">Specify the backlight dimming following by PWM duty or by SW control.</p>
</div>

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

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

### <code>richtek&#44;bled&#45;ovp&#45;sel</code> — not listed as required here

<div id="dt-e52413aab5c5f2e53edd">
<p style="white-space: pre-wrap">Backlight OVP level selection, currently support 17V/21V/25V/29V.</p>
</div>

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

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

**Minimum value (<code>minimum</code>):** <span id="dt-82870f03c69a46d79b91"><code>0</code></span>

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

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

### <code>richtek&#44;bled&#45;ocp&#45;microamp</code> — not listed as required here

<div id="dt-8a69464785c940e0671b">
<p style="white-space: pre-wrap">Backlight over current protection level.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-2a9b8b8cc143d8172778"></a> <span id="dt-214a1875ac612a4df878"><code>900000</code></span>, <span id="dt-a3605da89c3fd3924a91"><code>1200000</code></span>, <span id="dt-2aa04f078bd9f33d396b"><code>1500000</code></span>, <span id="dt-f5f3631d044cb2e8ecef"><code>1800000</code></span>

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

### <code>richtek&#44;channel&#45;use</code> — required here

<div id="dt-28274527c570572ddb59">
<p style="white-space: pre-wrap">Backlight LED channel to be used.
BIT 0/1/2/3 is used to indicate led channel 1/2/3/4 enable or disable.</p>
</div>

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

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

**Maximum value (<code>maximum</code>):** <span id="dt-896c411632299afd666d"><code>15</code></span>

**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;richtek&#44;channel&#45;use&#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>

---

# TI LM3509 High Efficiency Boost for White LED's and/or OLED Displays

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

> Device-tree binding reference for TI LM3509 High Efficiency Boost for White LED's and/or OLED Displays.

<!-- SPDX-License-Identifier: (GPL-2.0 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;backlight&#47;ti&#44;lm3509&#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;Patrick Gansterer &#60;paroga&#64;paroga&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The LM3509 current mode boost converter offers two separate outputs. https://www.ti.com/product/LM3509</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;ti&#44;lm3509&#34;</code></span>

<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-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

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

### <code>&#35;size&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

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

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

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

<a id="dt-96735478024c17f74a13"></a>

### <code>ti&#44;brightness&#45;rate&#45;of&#45;change&#45;us</code> — not listed as required here

<div id="dt-129de2a7199f7681b25e">
<p style="white-space: pre-wrap">Brightness Rate of Change in microseconds.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-4a8df91d19fbf49ea10d"></a> <span id="dt-c2ff19d4b45db6d2865c"><code>51</code></span>, <span id="dt-85a9aaa3872db9fdf6b4"><code>13000</code></span>, <span id="dt-48ab6e9798f2eb7af8d8"><code>26000</code></span>, <span id="dt-3f8cabed6ebdb6bd2869"><code>52000</code></span>

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

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

<div id="dt-a148c5d1ea8c9fac86f0">
<p style="white-space: pre-wrap">Enable OLED mode.</p>
</div>

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

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

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

<a id="dt-3149080f56da2050cbdb"></a>

### <code>&#94;led&#64;&#91;01&#93;&#36;</code> — name matches this regular expression

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

<div id="dt-7d773514d1460fd0c835">
<p style="white-space: pre-wrap">Properties for a string of connected LEDs.</p>
</div>

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

<a id="dt-81f78405b1acb5c061bf"></a>

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

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

**<code>reg</code> — required here**

<div id="dt-1550f303c063d63d6927">
<p style="white-space: pre-wrap">The control register that is used to program the two current sinks. The LM3509 has two registers (BMAIN and BSUB) and are represented as 0 or 1 in this property. The two current sinks can be controlled independently with both registers, or register BMAIN can be configured to control both sinks with the led-sources property.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-0910a62beb632fc8b427"><code>0</code></span>

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

<a id="dt-1618b36c59e380a09a0b"></a>

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

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

<a id="dt-740d10ff49bd74c01e97"></a>

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

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

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

<a id="dt-13e181a25d1a06047aa6"></a>

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

> **Minimum value (<code>minimum</code>):** <span id="dt-b2a44a034aea8002c82e"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-dcfae20e61b03782c383"><code>1</code></span>

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

**<code>default&#45;brightness</code> — not listed as required here**

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

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

**Default value (<code>default</code>):** <span id="dt-1d9e61f4146200b5eefa"><code>18</code></span>

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

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

**Minimum value (<code>minimum</code>):** <span id="dt-83797bcc735e3542ff3a"><code>0</code></span>

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

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

**Required in this object (<code>required</code>):** <a id="dt-3991ad4881fa1d645bb9"></a> <span id="dt-0780209107967c8bd17b"><code>&#34;reg&#34;</code></span>

<a id="dt-be66ad8bc36e3cfa1556"></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;reg&#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;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    backlight@36 {
        compatible = "ti,lm3509";
        reg = &lt;0x36&gt;;
        reset-gpios = &lt;&amp;gpio2 5 GPIO_ACTIVE_LOW&gt;;

        ti,oled-mode;
        ti,brightness-rate-of-change-us = &lt;52000&gt;;

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

        led@0 {
            reg = &lt;0&gt;;
            led-sources = &lt;0 1&gt;;
            label = "lcd-backlight";
            default-brightness = &lt;12&gt;;
            max-brightness = &lt;31&gt;;
        };
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    backlight@36 {
        compatible = "ti,lm3509";
        reg = &lt;0x36&gt;;

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

        led@0 {
            reg = &lt;0&gt;;
            default-brightness = &lt;12&gt;;
        };

        led@1 {
            reg = &lt;1&gt;;
            default-brightness = &lt;15&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 OR BSD-2-Clause)</span></p>

</details>

---

# Texas Instruments - LP8864/LP8866 4/6-Channel LED Driver family

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

> Device-tree binding reference for Texas Instruments - LP8864/LP8866 4/6-Channel LED Driver family.

<!-- SPDX-License-Identifier: (GPL-2.0 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;backlight&#47;ti&#44;lp8864&#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;Andrew Davis &#60;afd&#64;ti&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Alexander Sverdlin &#60;alexander&#46;sverdlin&#64;siemens&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">LP8866-Q1, LP8866S-Q1, LP8864-Q1, LP8864S-Q1 are display LED-backlight drivers
with 4/6 channels. LED brightness can be controlled globally through the I2C
interface or PWM input.</p>
<pre><code>For more product information please see the links below:
  https://www.ti.com/product/LP8864-Q1
  https://www.ti.com/product/LP8864S-Q1
  https://www.ti.com/product/LP8866-Q1
  https://www.ti.com/product/LP8866S-Q1</code></pre>
</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;ti&#44;lp8864&#34;</code></span>

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C slave address</p>
</div>

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

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

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

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">GPIO pin to enable (active high) / disable the device</p>
</div>

<a id="dt-42409c6466fa99f5dd2b"></a>

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

<div id="dt-d27ff73a83c623529667">
<p style="white-space: pre-wrap">LED supply</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/backlight/common.md#dt-root>)</span>

<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-7157739214091cae70ff"></a>

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

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

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

**<code>linux&#44;default&#45;trigger</code> — not listed as required here**

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

<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;reg&#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;

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

    led-controller@3a {
        compatible = "ti,lp8864";
        reg = &lt;0x3a&gt;;
        enable-gpios = &lt;&amp;gpio1 28 GPIO_ACTIVE_HIGH&gt;;
        vled-supply = &lt;&amp;vbatt&gt;;

        led {
            function = LED_FUNCTION_BACKLIGHT;
            color = &lt;LED_COLOR_ID_WHITE&gt;;
            linux,default-trigger = "backlight";
        };
    };
};
</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 OR BSD-2-Clause)</span></p>

</details>

---

# Zodiac Inflight Innovations RAVE Supervisory Processor Backlight

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

> Device-tree binding reference for Zodiac Inflight Innovations RAVE Supervisory Processor Backlight.

<!-- 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;backlight&#47;zii&#44;rave&#45;sp&#45;backlight&#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;Frank Li &#60;Frank&#46;Li&#64;nxp&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">RAVE SP backlight device is a "MFD cell" device corresponding to backlight functionality of RAVE Supervisory Processor. It is expected that its Device Tree node is specified as a child of the node corresponding to the parent RAVE SP device (as documented in Documentation/devicetree/bindings/mfd/zii,rave-sp.yaml)</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;zii&#44;rave&#45;sp&#45;backlight&#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-935ee547587f3e75de61"></a>

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

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

### Rule 1

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

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">backlight {
    compatible = "zii,rave-sp-backlight";
};
</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>

---

# IR LED connected through GPIO pin

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

> Device-tree binding reference for IR LED connected through GPIO pin.

<!-- 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;irled&#47;gpio&#45;ir&#45;tx&#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;Sean Young &#60;sean&#64;mess&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">IR LED connected through GPIO pin which is used as remote controller transmitter.</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;gpio&#45;ir&#45;tx&#34;</code></span>

<a id="dt-6423357510c4f559d9df"></a>

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

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

**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;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-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/gpio/gpio.h&gt;

irled {
    compatible = "gpio-ir-tx";
    gpios = &lt;&amp;gpio1 2 GPIO_ACTIVE_HIGH&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>

---

# IR LED connected through SPI bus

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

> Device-tree binding reference for IR LED connected through SPI bus.

<!-- 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;irled&#47;ir&#45;spi&#45;led&#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;Sean Young &#60;sean&#64;mess&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">IR LED switch is connected to the MOSI line of the SPI device and the data is delivered through that.</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>&#47;schemas&#47;spi&#47;spi&#45;peripheral&#45;props&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-spi/spi-peripheral-props.md#dt-root>)</span>

<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;ir&#45;spi&#45;led&#34;</code></span>

<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-4d3185ced481f0633c63"></a>

### <code>duty&#45;cycle</code> — not listed as required here

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

**Allowed values (<code>enum</code>):** <a id="dt-1f1f9a6471cfaba472da"></a> <span id="dt-ba1770a63eea9068061e"><code>50</code></span>, <span id="dt-233cc9b7c03be449bfc4"><code>60</code></span>, <span id="dt-a1d727c78e02bf404aa8"><code>70</code></span>, <span id="dt-d7022b983fc56154774c"><code>75</code></span>, <span id="dt-f31d5abb39a04ac66d93"><code>80</code></span>, <span id="dt-e07357ca9b625333eadb"><code>90</code></span>

<div id="dt-f72495008a727e6a780b">
<p style="white-space: pre-wrap">Percentage of one period in which the signal is active.</p>
</div>

<a id="dt-827b1b025203e10f66b6"></a>

### <code>led&#45;active&#45;low</code> — not listed as required here

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

<div id="dt-b1a2f037f172333a97fd">
<p style="white-space: pre-wrap">Output is negated with a NOT gate.</p>
</div>

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

### <code>power&#45;supply</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-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    irled@0 {
        compatible = "ir-spi-led";
        reg = &lt;0x0&gt;;

        duty-cycle = /bits/ 8 &lt;60&gt;;
        led-active-low;
        power-supply = &lt;&amp;irda_regulator&gt;;
        spi-max-frequency = &lt;5000000&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>

---

# IR LED connected through PWM pin

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

> Device-tree binding reference for IR LED connected through PWM pin.

<!-- 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;irled&#47;pwm&#45;ir&#45;tx&#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;Sean Young &#60;sean&#64;mess&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">IR LED connected through PWM pin which is used as remote controller transmitter.</p>
</div>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;pwm&#45;ir&#45;tx&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;nokia&#44;n900&#45;ir&#34;</code></span>
>
> **Deprecated (<code>deprecated</code>):** <span id="dt-7a0984fd34c2f9bbace7"><code>true</code></span>

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

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

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

**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;pwms&#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">irled {
    compatible = "pwm-ir-tx";
    pwms = &lt;&amp;pwm0 0 10000000&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>

---

# Allwinner A100 LED Controller

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

> Device-tree binding reference for Allwinner A100 LED Controller.

<!-- 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;allwinner&#44;sun50i&#45;a100&#45;ledc&#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;Samuel Holland &#60;samuel&#64;sholland&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The LED controller found in Allwinner sunxi SoCs uses a one-wire serial interface to drive up to 1024 RGB LEDs.</p>
</div>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;allwinner&#44;sun50i&#45;a100&#45;ledc&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;allwinner&#44;sun20i&#45;d1&#45;ledc&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;allwinner&#44;sun50i&#45;r329&#45;ledc&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;allwinner&#44;sun50i&#45;a100&#45;ledc&#34;</code></span>

<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-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

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

### <code>&#35;size&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

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

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

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

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

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

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Bus clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Module clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;bus&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;mod&#34;</code></span>

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

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

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

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

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

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

<div id="dt-af21a91b793bee877863">
<p style="white-space: pre-wrap">TX DMA channel</p>
</div>

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

### <code>dma&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-05981720df4cd7d43d3c"><code>&#34;tx&#34;</code></span>

<a id="dt-6856788e807a8e31f082"></a>

### <code>allwinner&#44;pixel&#45;format</code> — not listed as required here

<div id="dt-829ad2821e8f0002bbc0">
<p style="white-space: pre-wrap">Pixel format (subpixel transmission order), default is "grb"</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-b104630b5bde4b50726a"></a> <span id="dt-dd5bf2cbda67d08dd8fb"><code>&#34;bgr&#34;</code></span>, <span id="dt-7d2abe1ece5d14a6006b"><code>&#34;brg&#34;</code></span>, <span id="dt-18984d60393568ae85e7"><code>&#34;gbr&#34;</code></span>, <span id="dt-b5118c54c171f73cfdb1"><code>&#34;grb&#34;</code></span>, <span id="dt-3b4103ca28d53371897d"><code>&#34;rbg&#34;</code></span>, <span id="dt-91090fad8fb8ae0f3c18"><code>&#34;rgb&#34;</code></span>

<a id="dt-80a9ea2049c1890205bd"></a>

### <code>allwinner&#44;t0h&#45;ns</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-3960bd8719f616831d7e"><code>336</code></span>

<div id="dt-7e10ec6a0b8b05e2676d">
<p style="white-space: pre-wrap">Length of high pulse when transmitting a "0" bit</p>
</div>

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

### <code>allwinner&#44;t0l&#45;ns</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-2c41e2cef9e140324245"><code>840</code></span>

<div id="dt-f4bde424eae0ff117d22">
<p style="white-space: pre-wrap">Length of low pulse when transmitting a "0" bit</p>
</div>

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

### <code>allwinner&#44;t1h&#45;ns</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-767d46eed42ae230faa6"><code>882</code></span>

<div id="dt-e0d90dae0dd063edeb8e">
<p style="white-space: pre-wrap">Length of high pulse when transmitting a "1" bit</p>
</div>

<a id="dt-78b34bbd952b67e49a0e"></a>

### <code>allwinner&#44;t1l&#45;ns</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-57192dc3a75e4c27d592"><code>294</code></span>

<div id="dt-793a3812ae2050e7887d">
<p style="white-space: pre-wrap">Length of low pulse when transmitting a "1" bit</p>
</div>

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

### <code>allwinner&#44;treset&#45;ns</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-281f261c5abc27f18cf3"><code>300000</code></span>

<div id="dt-2e5fe4b4590bbf9ab0c0">
<p style="white-space: pre-wrap">Minimum delay between transmission frames</p>
</div>

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

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

<a id="dt-720c5288299c2f9b3c3a"></a>

### <code>&#94;multi&#45;led&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

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

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

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

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

<code>false</code>

Not allowed by this rule.

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

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

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

**<code>reg</code> — required here**

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

**Maximum value (<code>maximum</code>):** <span id="dt-3c2a611cc4406dd46848"><code>1023</code></span>

<div id="dt-835ca8cd511da940040f">
<p style="white-space: pre-wrap">Index of the LED in the series (must be contiguous)</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-f12d34bed745420575a4"></a> <span id="dt-7b6f4c33be5ea7846b70"><code>&#34;reg&#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>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;resets&#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/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/leds/common.h&gt;

ledc: led-controller@2008000 {
  compatible = "allwinner,sun20i-d1-ledc",
               "allwinner,sun50i-a100-ledc";
  reg = &lt;0x2008000 0x400&gt;;
  interrupts = &lt;36 IRQ_TYPE_LEVEL_HIGH&gt;;
  clocks = &lt;&amp;ccu 12&gt;, &lt;&amp;ccu 34&gt;;
  clock-names = "bus", "mod";
  resets = &lt;&amp;ccu 12&gt;;
  dmas = &lt;&amp;dma 42&gt;;
  dma-names = "tx";
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  multi-led@0 {
    reg = &lt;0x0&gt;;
    color = &lt;LED_COLOR_ID_RGB&gt;;
    function = LED_FUNCTION_INDICATOR;
  };
};
</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>

---

# Analog Devices AS3645A LED Controller

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

> Device-tree binding reference for Analog Devices AS3645A LED Controller.

<!-- 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;ams&#44;as3645a&#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;Sakari Ailus &#60;sakari&#46;ailus&#64;iki&#46;fi&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The AS3645A flash LED controller can drive two LEDs, one high current flash LED and one indicator LED. The high current flash LED can be used in torch mode as well.</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;ams&#44;as3645a&#34;</code></span>

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

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

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

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<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-88a7c0fea55bd5026d6c"></a>

### <code>led&#64;0</code> — not listed as required here

<div id="dt-48e50bb6993c606b7edf">
<p style="white-space: pre-wrap">led0 describes the 'flash' feature</p>
</div>

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

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

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

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

<code>false</code>

Not allowed by this rule.

<a id="dt-2291a5a4cb4e25df2b4e"></a>

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

<a id="dt-504448e6cbc9d6f3ceef"></a>

**<code>reg</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-927ae793630ac21345cf"><code>0</code></span>

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

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

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

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

**Multiple of (<code>multipleOf</code>):** <span id="dt-4099f5e176f830f209b4"><code>50000</code></span>

<a id="dt-577a398750e2874e6527"></a>

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

**Minimum value (<code>minimum</code>):** <span id="dt-647c6c7e4964bb6e4655"><code>200000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-1a39897521930d5615bd"><code>500000</code></span>

**Multiple of (<code>multipleOf</code>):** <span id="dt-11b66874ca61a2452b8a"><code>20000</code></span>

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

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

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

**Maximum value (<code>maximum</code>):** <span id="dt-61b47353e367feef4081"><code>160000</code></span>

**Multiple of (<code>multipleOf</code>):** <span id="dt-8a7761a5d35445ae9b5e"><code>20000</code></span>

<div id="dt-a916fc29620583f2f686">
<p style="white-space: pre-wrap">Maximum current when in torch (assist) mode.</p>
</div>

<a id="dt-902632332c9cc6836feb"></a>

**<code>ams&#44;input&#45;max&#45;microamp</code> — required here**

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

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

**Multiple of (<code>multipleOf</code>):** <span id="dt-bcbb1d8fd0c3be460e4a"><code>50000</code></span>

**Required in this object (<code>required</code>):** <a id="dt-bdc12b791a584b8bdd2b"></a> <span id="dt-58913610f0a050f4fac5"><code>&#34;reg&#34;</code></span>, <span id="dt-54970f264f8f781c0015"><code>&#34;flash&#45;timeout&#45;us&#34;</code></span>, <span id="dt-0edee87c99145eee3e7c"><code>&#34;flash&#45;max&#45;microamp&#34;</code></span>, <span id="dt-7d3d5fe0ca7d269aad98"><code>&#34;led&#45;max&#45;microamp&#34;</code></span>, <span id="dt-ab824ffd80613cd70e92"><code>&#34;ams&#44;input&#45;max&#45;microamp&#34;</code></span>

<a id="dt-468d38357ff139d61ff9"></a>

### <code>led&#64;1</code> — not listed as required here

<div id="dt-4437d85fe65a9069980d">
<p style="white-space: pre-wrap">led1 describes the 'indicator' feature</p>
</div>

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

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

<a id="dt-04104f16fc2b3a7c72f6"></a>

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

<code>false</code>

Not allowed by this rule.

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

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

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

**<code>reg</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-ce03992af8cd23ca7e0a"><code>1</code></span>

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

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

**Allowed values (<code>enum</code>):** <a id="dt-03d8b7470888b7fb86d4"></a> <span id="dt-7c753a55bf7899338d6d"><code>2500</code></span>, <span id="dt-851aa6ef9e923737c4f3"><code>5000</code></span>, <span id="dt-a3927e9903cffa771fe6"><code>7500</code></span>, <span id="dt-ee9fac27cb9590d64be6"><code>10000</code></span>

<div id="dt-ca7379e1fcb1b95e5911">
<p style="white-space: pre-wrap">Maximum indicator current.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-4bd7657309ec2dee6142"></a> <span id="dt-5f7079ef4618c614b95c"><code>&#34;reg&#34;</code></span>, <span id="dt-5cbe9799df88a9206a2d"><code>&#34;led&#45;max&#45;microamp&#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>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;size&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;address&#45;cells&#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/leds/common.h&gt;

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

    led-controller@30 {
        compatible = "ams,as3645a";
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;
        reg = &lt;0x30&gt;;

        led@0 {
            reg = &lt;0&gt;;
            flash-timeout-us = &lt;150000&gt;;
            flash-max-microamp = &lt;320000&gt;;
            led-max-microamp = &lt;60000&gt;;
            ams,input-max-microamp = &lt;1750000&gt;;
            function = LED_FUNCTION_FLASH;
        };

        led@1 {
            reg = &lt;1&gt;;
            led-max-microamp = &lt;10000&gt;;
            function = LED_FUNCTION_INDICATOR;
        };
    };
};
</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>

---

# Osram 4-channel i2c LED driver

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

> Device-tree binding reference for Osram 4-channel i2c LED driver.

<!-- 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;ams&#44;as3668&#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;Lukas Timmermann &#60;linux&#64;timmermann&#46;space&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This IC can drive up to four separate LEDs. Having four channels suggests it could be used with a single RGBW LED.</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;ams&#44;as3668&#34;</code></span>

<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-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

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

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

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

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

<a id="dt-27d6c783b4ca9de9aab7"></a>

### <code>&#94;led&#64;&#91;0&#45;3&#93;&#36;</code> — name matches this regular expression

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

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

<a id="dt-679eb5ada28301673dfb"></a>

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

<code>false</code>

Not allowed by this rule.

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

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

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

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

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

**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;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#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/leds/common.h&gt;

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

  led-controller@42 {
    compatible = "ams,as3668";
    reg = &lt;0x42&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led@0 {
      reg = &lt;0x0&gt;;
      function = LED_FUNCTION_STATUS;
      color = &lt;LED_COLOR_ID_RED&gt;;
    };

    led@1 {
      reg = &lt;0x1&gt;;
      function = LED_FUNCTION_STATUS;
      color = &lt;LED_COLOR_ID_GREEN&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>

---

# AWINIC AW200XX LED

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

> Device-tree binding reference for AWINIC AW200XX LED.

<!-- 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;awinic&#44;aw200xx&#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;Martin Kurbanov &#60;mmkurbanov&#64;sberdevices&#46;ru&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<pre><code>It is a matrix LED driver programmed via an I2C interface. Devices have
a set of individually controlled leds and support 3 pattern controllers
for auto breathing or group dimming control. Supported devices:
  - AW20036 (3x12) 36 LEDs
  - AW20054 (6x9)  54 LEDs
  - AW20072 (6x12) 72 LEDs
  - AW20108 (9x12) 108 LEDs</code></pre>
<p style="white-space: pre-wrap">For more product information please see the link below:
aw20036 - https://www.awinic.com/en/productDetail/AW20036QNR#tech-docs
aw20054 - https://www.awinic.com/en/productDetail/AW20054QNR#tech-docs
aw20072 - https://www.awinic.com/en/productDetail/AW20072QNR#tech-docs
aw20108 - https://www.awinic.com/en/productDetail/AW20108QNR#tech-docs</p>
</div>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;awinic&#44;aw20036&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;awinic&#44;aw20054&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;awinic&#44;aw20072&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;awinic&#44;aw20108&#34;</code></span>

<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-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

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

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

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

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

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

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

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

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

### <code>&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

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

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

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

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

<code>false</code>

Not allowed by this rule.

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

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

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

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

<div id="dt-5456977e2bab064a853b">
<p style="white-space: pre-wrap">LED number</p>
</div>

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

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

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

**Default value (<code>default</code>):** <span id="dt-4477c0571a7ea040204c"><code>9780</code></span>

<div id="dt-c093cfd4146009d811fb">
<pre><code>Note that a driver will take the minimum of all LED limits
since the chip has a single global setting.
The maximum output current of each LED is calculated by the
following formula:
  IMAXled = 160000 * (592 / 600.5) * (1 / max-current-switch-number)
And the minimum output current formula:
  IMINled = 3300 * (592 / 600.5) * (1 / max-current-switch-number)
where max-current-switch-number is determined by led configuration
and depends on how leds are physically connected to the led driver.</code></pre>
</div>

<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-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;awinic&#44;aw20036&#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-681113d3f91024e9a518"></a>
> >
> > **<code>&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-ae5a49b27f663798b3b6"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-d5ec8726c51425edc233"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > <a id="dt-aec4cf4e6ec3d91d05b2"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Minimum value (<code>minimum</code>):** <span id="dt-d38129a66db9a1ce2c48"><code>0</code></span>
> > >
> > > **Maximum value (<code>maximum</code>):** <span id="dt-36f57064681c65bac075"><code>36</code></span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;awinic&#44;aw20054&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-8b91e530d80f7cc46df3"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-1d9240b573515978dab1"></a>
> >
> > **<code>&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-4a90c097aec025db6988"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-1916838bc85075faf650"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > <a id="dt-e8731dd762b312e13e47"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Minimum value (<code>minimum</code>):** <span id="dt-7b826af3a40a542deb03"><code>0</code></span>
> > >
> > > **Maximum value (<code>maximum</code>):** <span id="dt-60ddab718119adb4a688"><code>54</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8cd5c6ac7cc13c2d9acf"><code>&#34;awinic&#44;aw20072&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-c8fcd31065f7e965d191"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-d903c0d9808631509687"></a>
> >
> > **<code>&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-9c175a3cca5e9ba19f75"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-975bc817c816a86c69da"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > <a id="dt-91c2898e929eb5077404"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Minimum value (<code>minimum</code>):** <span id="dt-491e4260ab617410c63e"><code>0</code></span>
> > >
> > > **Maximum value (<code>maximum</code>):** <span id="dt-bf06f0a057f38ef3ee3f"><code>72</code></span>

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

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-3de4a4db25c09109abf4"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-5c56c46a4e287cf52ece"><code>&#34;awinic&#44;aw20108&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-9fff9961ce6722b392f4"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-7b35fa15e1ee71f85768"></a>
> >
> > **<code>&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-35d5f6c0f28f3a89ff50"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-6ff026d4a1c06a4bcb04"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > <a id="dt-286c9f65a55ed12f38a0"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Minimum value (<code>minimum</code>):** <span id="dt-8877f8b8c67e05dc6d03"><code>0</code></span>
> > >
> > > **Maximum value (<code>maximum</code>):** <span id="dt-606957693df06a23f4a2"><code>108</code></span>

**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;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#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;

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

    led-controller@3a {
        compatible = "awinic,aw20036";
        reg = &lt;0x3a&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;
        enable-gpios = &lt;&amp;gpio 3 GPIO_ACTIVE_HIGH&gt;;

        led@0 {
            reg = &lt;0x0&gt;;
            color = &lt;LED_COLOR_ID_RED&gt;;
            led-max-microamp = &lt;9780&gt;;
        };

        led@1 {
            reg = &lt;0x1&gt;;
            color = &lt;LED_COLOR_ID_GREEN&gt;;
            led-max-microamp = &lt;9780&gt;;
        };

        led@2 {
            reg = &lt;0x2&gt;;
            color = &lt;LED_COLOR_ID_BLUE&gt;;
            led-max-microamp = &lt;9780&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>

---

# Common leds properties

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

> Device-tree binding reference for Common leds properties.

<!-- 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;leds&#47;common&#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;Jacek Anaszewski &#60;jacek&#46;anaszewski&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Pavel Machek &#60;pavel&#64;ucw&#46;cz&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">LED and flash LED devices provide the same basic functionality as current regulators, but extended with LED and flash LED specific features like blinking patterns, flash timeout, flash faults and external flash strobe mode.
Many LED devices expose more than one current output that can be connected to one or more discrete LED component. Since the arrangement of connections can influence the way of the LED device initialization, the LED components have to be tightly coupled with the LED device binding. They are represented by child nodes of the parent LED device binding.</p>
</div>

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

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

<a id="dt-93cbf8a6a76407d7652e"></a>

### <code>led&#45;sources</code> — not listed as required here

<div id="dt-8199b44e474c53d796f0">
<p style="white-space: pre-wrap">List of device current outputs the LED is connected to. The outputs are identified by the numbers that must be defined in the LED device binding documentation.</p>
</div>

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

<a id="dt-29b0e62ce7edaaa076c8"></a>

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

<div id="dt-4c613d9bd1240ccdfe5c">
<p style="white-space: pre-wrap">LED function. Use one of the LED_FUNCTION_* prefixed definitions from the header include/dt-bindings/leds/common.h. If there is no matching LED_FUNCTION available, add a new one.</p>
</div>

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

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

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

<div id="dt-068304638617a13acf7a">
<p style="white-space: pre-wrap">Color of the LED. Use one of the LED_COLOR_ID_* prefixed definitions from the header include/dt-bindings/leds/common.h. If there is no matching LED_COLOR_ID available, add a new one.</p>
</div>

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

**Maximum value (<code>maximum</code>):** <span id="dt-840cf62a9967a3ebdad2"><code>14</code></span>

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

### <code>function&#45;enumerator</code> — not listed as required here

<div id="dt-330975a398d061b0fd56">
<p style="white-space: pre-wrap">Integer to be used when more than one instance of the same function is needed, differing only with an ordinal number.</p>
</div>

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

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

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

<div id="dt-f7c1a813bb0d2e9dd066">
<p style="white-space: pre-wrap">The label for this LED. If omitted, the label is taken from the node name (excluding the unit address). It has to uniquely identify a device, i.e. no other LED class device can be assigned the same label. This property is deprecated - use 'function' and 'color' properties instead. function-enumerator has no effect when this property is present.</p>
</div>

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

### <code>default&#45;state</code> — not listed as required here

<div id="dt-83d86a77a7bfb89c2bc4">
<p style="white-space: pre-wrap">The initial state of the LED. If the LED is already on or off and the default-state property is set to the same value, then no glitch should be produced where the LED momentarily turns off (or on). The "keep" setting will keep the LED at whatever its current state is, without producing a glitch.</p>
</div>

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

**Allowed values (<code>enum</code>):** <a id="dt-f0f60432c7f3a0ba0645"></a> <span id="dt-eda45fa58381e9e21de8"><code>&#34;on&#34;</code></span>, <span id="dt-fe944ad3fb9dc052bdf6"><code>&#34;off&#34;</code></span>, <span id="dt-41a8707ba20fda666833"><code>&#34;keep&#34;</code></span>

**Default value (<code>default</code>):** <span id="dt-1d6cf3f01c5c86dc392d"><code>&#34;off&#34;</code></span>

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

### <code>linux&#44;default&#45;trigger</code> — not listed as required here

<div id="dt-57e6e5a4ca0bdcb49e73">
<p style="white-space: pre-wrap">This parameter, if present, is a string defining the trigger assigned to the LED.</p>
</div>

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

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

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-ee55a4e24dd600346c4d"></a> <span id="dt-ac9bf10345e587b91c09"><code>&#34;backlight&#34;</code></span>, <span id="dt-470638e08235b9533acc"><code>&#34;default&#45;on&#34;</code></span>, <span id="dt-cf8678e95848151629bb"><code>&#34;heartbeat&#34;</code></span>, <span id="dt-5de17197c5e8effb66fa"><code>&#34;disk&#45;activity&#34;</code></span>, <span id="dt-b8b3035ca52b007d2b06"><code>&#34;disk&#45;read&#34;</code></span>, <span id="dt-4767fc7808b9ec471a83"><code>&#34;disk&#45;write&#34;</code></span>, <span id="dt-a144fd6659b0b793ec92"><code>&#34;timer&#34;</code></span>, <span id="dt-9c8d5cb06aa191461d55"><code>&#34;pattern&#34;</code></span>, <span id="dt-ea42f402dbfb4be60bb6"><code>&#34;audio&#45;micmute&#34;</code></span>, <span id="dt-1fa80846909742b76dec"><code>&#34;audio&#45;mute&#34;</code></span>, <span id="dt-a631b1ebb1622cdee9bb"><code>&#34;bluetooth&#45;power&#34;</code></span>, <span id="dt-033f7bdfeb640673363c"><code>&#34;flash&#34;</code></span>, <span id="dt-c7e3176218b968fb96f5"><code>&#34;kbd&#45;capslock&#34;</code></span>, <span id="dt-1bc0aca5f38878277362"><code>&#34;mtd&#34;</code></span>, <span id="dt-2c156415fa1ad1c885cb"><code>&#34;nand&#45;disk&#34;</code></span>, <span id="dt-185c40ca258a3d999230"><code>&#34;netdev&#34;</code></span>, <span id="dt-b665c522f54c79671514"><code>&#34;none&#34;</code></span>, <span id="dt-b1f84538bd48885b299d"><code>&#34;rc&#45;feedback&#34;</code></span>, <span id="dt-7833a3cf3474da5c487c"><code>&#34;torch&#34;</code></span>, <span id="dt-724edb7caaf67fe89b71"><code>&#34;usb&#45;gadget&#34;</code></span>, <span id="dt-f1b902f2af39e1d117aa"><code>&#34;usb&#45;host&#34;</code></span>, <span id="dt-81c94fca3889a9f10104"><code>&#34;usbport&#34;</code></span>

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

**Rule 2**

> **String pattern (<code>pattern</code>):** <span id="dt-fe09c217d499d9eefa9e"><code>&#34;&#94;cpu&#91;0&#45;9&#93;&#42;&#36;&#34;</code></span>

<a id="dt-681512cdcc6b21edd979"></a>

**Rule 3**

> **String pattern (<code>pattern</code>):** <span id="dt-5f04608fe93ecd1faf7b"><code>&#34;&#94;hci&#91;0&#45;9&#93;&#43;&#45;power&#36;&#34;</code></span>

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

**Rule 4**

> **String pattern (<code>pattern</code>):** <span id="dt-eeb53d2b30e025b2f2e4"><code>&#34;&#94;mmc&#91;0&#45;9&#93;&#43;&#36;&#34;</code></span>

<a id="dt-9444ca62111b0331eb36"></a>

**Rule 5**

> **String pattern (<code>pattern</code>):** <span id="dt-afcea11e3ebe569af9ab"><code>&#34;&#94;phy&#91;0&#45;9&#93;&#43;tx&#36;&#34;</code></span>

<a id="dt-190eac0eaac76f70f658"></a>

### <code>led&#45;pattern</code> — not listed as required here

<div id="dt-c1ebe6fa67dc0e971fa3">
<p style="white-space: pre-wrap">Array of integers with default pattern for certain triggers.</p>
<pre><code>Each trigger may parse this property differently:
  - one-shot : two numbers specifying delay on and delay off (in ms),
  - timer : two numbers specifying delay on and delay off (in ms),
  - pattern : the pattern is given by a series of tuples, of
    brightness and duration (in ms).  The exact format is
    described in:
    Documentation/devicetree/bindings/leds/leds-trigger-pattern.txt</code></pre>
</div>

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

<a id="dt-725ccd7b99dc3b376309"></a>

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

> **Minimum number of items (<code>minItems</code>):** <span id="dt-063a1ef6b2f5c7804c7a"><code>2</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-b0fb31088419fcc21403"><code>2</code></span>

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

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

<div id="dt-6ea964396d81de8f7995">
<p style="white-space: pre-wrap">Maximum LED supply current in microamperes. This property can be made mandatory for the board configurations introducing a risk of hardware damage in case an excessive current is set. For flash LED controllers with configurable current this property is mandatory for the LEDs in the non-flash modes (e.g. torch or indicator).</p>
</div>

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

### <code>max&#45;brightness</code> — not listed as required here

<div id="dt-bb584d2a660571ac17b6">
<p style="white-space: pre-wrap">Normally, the maximum brightness is determined by the hardware, and this property is not required. This property is used to set a software limit. It could happen that an LED is made so bright that it gets damaged or causes damage due to restrictions in a specific system, such as mounting conditions. Note that this flag is mainly used for PWM-LEDs, where it is not possible to map brightness to current. Drivers for other controllers should use led-max-microamp.</p>
</div>

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

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

### <code>default&#45;brightness</code> — not listed as required here

<div id="dt-183df262154cac976a81">
<p style="white-space: pre-wrap">Brightness to be set if LED's default state is on. Used only during initialization. If the option is not set then max brightness is used.</p>
</div>

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

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

### <code>panic&#45;indicator</code> — not listed as required here

<div id="dt-44602ba741c29ace9f6d">
<p style="white-space: pre-wrap">This property specifies that the LED should be used, if at all possible, as a panic indicator.</p>
</div>

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

<a id="dt-40c7343756bb6d7f5be6"></a>

### <code>retain&#45;state&#45;shutdown</code> — not listed as required here

<div id="dt-37586713f22f1516ef4b">
<p style="white-space: pre-wrap">This property specifies that the LED should not be turned off or changed when the system shuts down.</p>
</div>

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

<a id="dt-2078f2eb7e7316143969"></a>

### <code>trigger&#45;sources</code> — not listed as required here

<div id="dt-3862dc38adc5470cf473">
<p style="white-space: pre-wrap">List of devices which should be used as a source triggering this LED
activity. Some LEDs can be related to a specific device and should somehow
indicate its state. E.g. USB 2.0 LED may react to device(s) in a USB 2.0
port(s).
Another common example is switch or router with multiple Ethernet ports
each of them having its own LED assigned (assuming they are not
hardwired). In such cases this property should contain phandle(s) of
related source device(s).
Another example is a GPIO line that will be monitored and mirror the
state of the line (with or without inversion flags) to the LED.
In many cases LED can be related to more than one device (e.g. one USB LED
vs. multiple USB ports). Each source should be represented by a node in
the device tree and be referenced by a phandle and a set of phandle
arguments. A length of arguments should be specified by the
#trigger-source-cells property in the source node.</p>
</div>

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

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

### <code>active&#45;high</code> — not listed as required here

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

<div id="dt-e8db10b4490c8a1a69ac">
<p style="white-space: pre-wrap">Makes LED active high. To turn the LED ON, line needs to be set to high voltage instead of low.</p>
</div>

<a id="dt-90b228e511bec3417f3f"></a>

### <code>active&#45;low</code> — not listed as required here

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

<div id="dt-da4258c453d8214137c9">
<p style="white-space: pre-wrap">Makes LED active low. To turn the LED ON, line needs to be set to low voltage instead of high.</p>
</div>

<a id="dt-8168fe6506bef07acd2f"></a>

### <code>inactive&#45;high&#45;impedance</code> — not listed as required here

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

<div id="dt-203bab74c13455b15b6c">
<p style="white-space: pre-wrap">Set LED to high-impedance mode to turn the LED OFF. LED might also describe this mode as tristate.</p>
</div>

<a id="dt-081ce1a8cb696aa365b0"></a>

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

<div id="dt-80d8aa5ce825a57b7272">
<p style="white-space: pre-wrap">Maximum flash LED supply current in microamperes. Required for flash LED nodes with configurable current.</p>
</div>

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

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

<div id="dt-841449a63d943ec040c4">
<p style="white-space: pre-wrap">Maximum timeout in microseconds after which the flash LED is turned off. Required for flash LED nodes with configurable timeout.</p>
</div>

<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>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-8562362a36ebdbb1ff2a"></a> <span id="dt-31d648f7705dc578c2d6"><code>&#34;active&#45;low&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-808c1f734e41ad1784be"></a>
> >
> > **<code>active&#45;high</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>true</code>

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;

led-controller {
    compatible = "gpio-leds";

    led-0 {
        function = LED_FUNCTION_STATUS;
        linux,default-trigger = "heartbeat";
        gpios = &lt;&amp;gpio0 0 GPIO_ACTIVE_HIGH&gt;;
    };

    led-1 {
        function = LED_FUNCTION_USB;
        gpios = &lt;&amp;gpio0 1 GPIO_ACTIVE_HIGH&gt;;
        trigger-sources = &lt;&amp;ohci_port1&gt;, &lt;&amp;ehci_port1&gt;;
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/leds/common.h&gt;

led-controller {
    compatible = "maxim,max77693-led";

    led {
        function = LED_FUNCTION_FLASH;
        color = &lt;LED_COLOR_ID_WHITE&gt;;
        led-sources = &lt;0&gt;, &lt;1&gt;;
        led-max-microamp = &lt;50000&gt;;
        flash-max-microamp = &lt;320000&gt;;
        flash-max-timeout-us = &lt;500000&gt;;
    };
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">#include &lt;dt-bindings/leds/common.h&gt;

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

    led-controller@30 {
        compatible = "panasonic,an30259a";
        reg = &lt;0x30&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        led@1 {
            reg = &lt;1&gt;;
            linux,default-trigger = "heartbeat";
            function = LED_FUNCTION_INDICATOR;
            function-enumerator = &lt;1&gt;;
        };

        led@2 {
            reg = &lt;2&gt;;
            function = LED_FUNCTION_INDICATOR;
            function-enumerator = &lt;2&gt;;
        };

        led@3 {
            reg = &lt;3&gt;;
            function = LED_FUNCTION_INDICATOR;
            function-enumerator = &lt;3&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</span></p>

<p id="dt-comment-1"><strong>Line 84:</strong> <span> LED will act as a back-light, controlled by the framebuffer system</span></p>

<p id="dt-comment-2"><strong>Line 86:</strong> <span> LED will turn on (see also "default-state" property)</span></p>

<p id="dt-comment-3"><strong>Line 88:</strong> <span> LED "double" flashes at a load average based rate</span></p>

<p id="dt-comment-4"><strong>Line 90:</strong> <span> LED indicates disk activity</span></p>

<p id="dt-comment-5"><strong>Line 92:</strong> <span> LED indicates disk read activity</span></p>

<p id="dt-comment-6"><strong>Line 94:</strong> <span> LED indicates disk write activity</span></p>

<p id="dt-comment-7"><strong>Line 96:</strong> <span> LED flashes at a fixed, configurable rate</span></p>

<p id="dt-comment-8"><strong>Line 98:</strong> <span> LED alters the brightness for the specified duration with one software</span></p>

<p id="dt-comment-9"><strong>Line 99:</strong> <span> timer (requires "led-pattern" property)</span></p>

<p id="dt-comment-10"><strong>Line 101:</strong> <span> LED indicates mic mute state</span></p>

<p id="dt-comment-11"><strong>Line 103:</strong> <span> LED indicates audio mute state</span></p>

<p id="dt-comment-12"><strong>Line 105:</strong> <span> LED indicates bluetooth power state</span></p>

<p id="dt-comment-13"><strong>Line 107:</strong> <span> LED indicates camera flash state</span></p>

<p id="dt-comment-14"><strong>Line 109:</strong> <span> LED indicated keyboard capslock</span></p>

<p id="dt-comment-15"><strong>Line 111:</strong> <span> LED indicates MTD memory activity</span></p>

<p id="dt-comment-16"><strong>Line 113:</strong> <span> LED indicates NAND memory activity (deprecated),</span></p>

<p id="dt-comment-17"><strong>Line 114:</strong> <span> in new implementations use "mtd"</span></p>

<p id="dt-comment-18"><strong>Line 116:</strong> <span> LED indicates network activity</span></p>

<p id="dt-comment-19"><strong>Line 118:</strong> <span> No trigger assigned to the LED. This is the default mode</span></p>

<p id="dt-comment-20"><strong>Line 119:</strong> <span> if trigger is absent</span></p>

<p id="dt-comment-21"><strong>Line 121:</strong> <span> LED indicates remote control feedback</span></p>

<p id="dt-comment-22"><strong>Line 123:</strong> <span> LED indicates camera torch state</span></p>

<p id="dt-comment-23"><strong>Line 125:</strong> <span> LED indicates USB gadget activity</span></p>

<p id="dt-comment-24"><strong>Line 127:</strong> <span> LED indicates USB host activity</span></p>

<p id="dt-comment-25"><strong>Line 129:</strong> <span> LED indicates USB port state</span></p>

<p id="dt-comment-26"><strong>Line 131:</strong> <span> LED is triggered by CPU activity</span></p>

<p id="dt-comment-27"><strong>Line 133:</strong> <span> LED is triggered by Bluetooth activity</span></p>

<p id="dt-comment-28"><strong>Line 135:</strong> <span> LED is triggered by SD/MMC activity</span></p>

<p id="dt-comment-29"><strong>Line 137:</strong> <span> LED is triggered by WLAN activity</span></p>

<p id="dt-comment-30"><strong>Line 231:</strong> <span> Required properties for flash LED child nodes:</span></p>

</details>

---

# CZ.NIC's Turris Omnia LEDs driver

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

> Device-tree binding reference for CZ.NIC's Turris Omnia LEDs driver.

<!-- 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;cznic&#44;turris&#45;omnia&#45;leds&#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;Marek Behún &#60;kabel&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This module adds support for the RGB LEDs found on the front panel of the Turris Omnia router. There are 12 RGB LEDs that are controlled by a microcontroller that communicates via the I2C bus. Each LED is described as a subnode of this I2C device.</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;cznic&#44;turris&#45;omnia&#45;leds&#34;</code></span>

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

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C slave address of the microcontroller.</p>
</div>

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

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

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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">Specifier for the global LED brightness changed by front button press interrupt.</p>
</div>

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

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

### <code>&#35;address&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

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

### <code>&#35;size&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

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

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

<a id="dt-40f4c27d85b693ec749f"></a>

### <code>&#94;multi&#45;led&#64;&#91;0&#45;9a&#45;b&#93;&#36;</code> — name matches this regular expression

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

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

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

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

<code>false</code>

Not allowed by this rule.

<div id="dt-dcfbddcdef32b02b32e5">
<p style="white-space: pre-wrap">This node represents one of the RGB LED devices on Turris Omnia. No subnodes need to be added for subchannels since this controller only supports RGB LEDs.</p>
</div>

<a id="dt-326481fa8759b6cf6087"></a>

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

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

**<code>reg</code> — required here**

**Minimum value (<code>minimum</code>):** <span id="dt-9ac0ca9c774759b490cd"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-4fabd1f019e0ef41a82e"><code>11</code></span>

<div id="dt-37d9d1166a67831d29dd">
<p style="white-space: pre-wrap">This property identifies one of the LEDs on the front panel of the Turris Omnia router.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-e55818bc781512f46e63"></a> <span id="dt-82cbe2245efcd244e8dd"><code>&#34;reg&#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/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/leds/common.h&gt;

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

    led-controller@2b {
        compatible = "cznic,turris-omnia-leds";
        reg = &lt;0x2b&gt;;
        interrupts-extended = &lt;&amp;mcu 11 IRQ_TYPE_NONE&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        multi-led@0 {
            /*
             * No subnodes are needed, this controller only supports RGB
             * LEDs.
             */
            reg = &lt;0&gt;;
            color = &lt;LED_COLOR_ID_MULTI&gt;;
            function = LED_FUNCTION_POWER;
            linux,default-trigger = "heartbeat";
        };

        multi-led@a {
            reg = &lt;0xa&gt;;
            color = &lt;LED_COLOR_ID_MULTI&gt;;
            function = LED_FUNCTION_INDICATOR;
            function-enumerator = &lt;1&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>

---

# IEI WT61P803 PUZZLE MCU LED module from IEI Integration Corp.

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

> Device-tree binding reference for IEI WT61P803 PUZZLE MCU LED module from IEI Integration Corp..

<!-- 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;iei&#44;wt61p803&#45;puzzle&#45;leds&#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;Luka Kovacic &#60;luka&#46;kovacic&#64;sartura&#46;hr&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This module is a part of the IEI WT61P803 PUZZLE MFD device. For more details
see Documentation/devicetree/bindings/mfd/iei,wt61p803-puzzle.yaml.</p>
<p style="white-space: pre-wrap">The LED module is a sub-node of the MCU node in the Device Tree.</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;iei&#44;wt61p803&#45;puzzle&#45;leds&#34;</code></span>

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

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

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

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-88a7c0fea55bd5026d6c"></a>

### <code>led&#64;0</code> — not listed as required here

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

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

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

<code>false</code>

Not allowed by this rule.

<a id="dt-2291a5a4cb4e25df2b4e"></a>

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

<a id="dt-504448e6cbc9d6f3ceef"></a>

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

**Exact value (<code>const</code>):** <span id="dt-927ae793630ac21345cf"><code>0</code></span>

**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;&#35;address&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;size&#45;cells&#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>

---

# ISSI LED Controllers for IS31FL319{0,1,3,6,9}

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

> Device-tree binding reference for ISSI LED Controllers for IS31FL319{0,1,3,6,9}.

<!-- 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;issi&#44;is31fl319x&#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;Vincent Knecht &#60;vincent&#46;knecht&#64;mailoo&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The IS31FL319X are LED controllers with I2C interface.
Previously known as Si-En SN319{0,1,3,6,9}.</p>
<pre><code>For more product information please see the links below:
  https://lumissil.com/assets/pdf/core/IS31FL3190_DS.pdf
  https://lumissil.com/assets/pdf/core/IS31FL3191_DS.pdf
  https://lumissil.com/assets/pdf/core/IS31FL3193_DS.pdf
  https://lumissil.com/assets/pdf/core/IS31FL3196_DS.pdf
  https://lumissil.com/assets/pdf/core/IS31FL3199_DS.pdf</code></pre>
</div>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;issi&#44;is31fl3190&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;issi&#44;is31fl3191&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;issi&#44;is31fl3193&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;issi&#44;is31fl3196&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;issi&#44;is31fl3199&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;si&#45;en&#44;sn3190&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;si&#45;en&#44;sn3191&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;si&#45;en&#44;sn3193&#34;</code></span>, <span id="dt-07feb33463d5c114ab05"><code>&#34;si&#45;en&#44;sn3196&#34;</code></span>, <span id="dt-1e634b71c3167df349bb"><code>&#34;si&#45;en&#44;sn3199&#34;</code></span>

<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-45e267b98287a9b9f697"></a>

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

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

<div id="dt-b739a5c096a414ad16bb">
<p style="white-space: pre-wrap">GPIO attached to the SDB pin.</p>
</div>

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

### <code>audio&#45;gain&#45;db</code> — not listed as required here

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

<div id="dt-6e3d1a6e85775188940b">
<p style="white-space: pre-wrap">Audio gain selection for external analog modulation input.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-fb88090b9384f4526e2e"></a> <span id="dt-c71ea3c31cffa5d453c5"><code>0</code></span>, <span id="dt-fe36230cd5fcf9788beb"><code>3</code></span>, <span id="dt-180230fe3821a5d3c469"><code>6</code></span>, <span id="dt-6c2a3d8edf81fdeeabea"><code>9</code></span>, <span id="dt-3c2ec928e300be4c9937"><code>12</code></span>, <span id="dt-7c5c759dcdf52a9f1585"><code>15</code></span>, <span id="dt-ecedbdc3c42d93ebe4f8"><code>18</code></span>, <span id="dt-6b348bcbd41f898560b3"><code>21</code></span>

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

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

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

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

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

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

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

### <code>&#94;led&#64;&#91;1&#45;9&#93;&#36;</code> — name matches this regular expression

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

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

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

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

<code>false</code>

Not allowed by this rule.

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

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

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

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

<div id="dt-cddd787da3cbc623e089">
<p style="white-space: pre-wrap">Index of the LED.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-857573749a1f58beffa0"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-724751cef24d86f807a6"><code>9</code></span>

<a id="dt-68906b3add633b6f7aa5"></a>

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

<div id="dt-b01b87184b710460c074">
<p style="white-space: pre-wrap">Note that a driver will take the lowest of all LED limits since the chip has a single global setting. The lowest value will be chosen due to the PWM specificity, where lower brightness is achieved by reducing the duty-cycle of pulses and not the current, which will always have its peak value equal to led-max-microamp.</p>
</div>

<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-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b5c9dbe70762f9ad7bb5"></a> <span id="dt-d017b1b1b5a0bb01c549"><code>&#34;issi&#44;is31fl3190&#34;</code></span>, <span id="dt-b1891799a94ae03bda89"><code>&#34;issi&#44;is31fl3191&#34;</code></span>, <span id="dt-f7ddd2674cdadacec733"><code>&#34;issi&#44;is31fl3193&#34;</code></span>, <span id="dt-1afa9c359b113daf77e4"><code>&#34;si&#45;en&#44;sn3190&#34;</code></span>, <span id="dt-f4184526859cd3d4f83a"><code>&#34;si&#45;en&#44;sn3191&#34;</code></span>, <span id="dt-5781a391973aa6c79186"><code>&#34;si&#45;en&#44;sn3193&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-f6af340cf87a1ddfe255"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-1108d122b06e2eca4d8d"></a> <span id="dt-8897cc021265607117cb"><code>104</code></span>, <span id="dt-231afb08156fd87dc215"><code>105</code></span>, <span id="dt-8dd35fcc4652d78b082e"><code>106</code></span>, <span id="dt-898de859b27eb37aabe3"><code>107</code></span>
> >
> > <a id="dt-d250f0269337b1c5fa27"></a>
> >
> > **<code>audio&#45;gain&#45;db</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-6a22a8f69a54bcbb7d12"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-6cb64daaf156007d9ecc"></a>
> >
> > **<code>&#94;led&#64;&#91;1&#45;9&#93;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-0cdc3323acd0aff06540"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-93472030559cb5878849"></a>
> >
> > **<code>led&#45;max&#45;microamp</code> — not listed as required here**
> >
> > **Default value (<code>default</code>):** <span id="dt-abfc183405d2e3f91453"><code>42000</code></span>
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-db9f222d4be2c07b29e2"></a> <span id="dt-2bf0c51d91252183b25a"><code>5000</code></span>, <span id="dt-e976929b2093beee8b8e"><code>10000</code></span>, <span id="dt-a4c65e90bd86996e52cb"><code>17500</code></span>, <span id="dt-35005d6ca17ebbe71672"><code>30000</code></span>, <span id="dt-7dbb98e74295b7cd2fbd"><code>42000</code></span>
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-0b56c96a40292905ded0"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-b8e4772f5364b2c96f73"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-dbfca7b360d48e595b36"></a> <span id="dt-9bea23d1ea05abb79a65"><code>100</code></span>, <span id="dt-065ee6037558d74620c1"><code>101</code></span>, <span id="dt-f9bf96dca3038ee40fa8"><code>102</code></span>, <span id="dt-905040d7ea215f48ac4f"><code>103</code></span>
> >
> > <a id="dt-7fb969d41394745ecdc2"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-b2d6c5f28788f6a94fbc"></a>
> >
> > **<code>&#94;led&#64;&#91;1&#45;9&#93;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-b346457ace7b1d6d1af1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-7d8bfdcbeeba02322e45"></a>
> >
> > **<code>led&#45;max&#45;microamp</code> — not listed as required here**
> >
> > **Default value (<code>default</code>):** <span id="dt-f1e32500f36a08e18196"><code>20000</code></span>
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-f2956052798c098dae6a"></a> <span id="dt-560ba981e989325f46d6"><code>5000</code></span>, <span id="dt-5041246ac3f227b5c0da"><code>10000</code></span>, <span id="dt-68bb63980158f0b45ee6"><code>15000</code></span>, <span id="dt-92de41c067a1675e849f"><code>20000</code></span>, <span id="dt-9277c5020cb6bde73618"><code>25000</code></span>, <span id="dt-3d8240a147d88cf01e97"><code>30000</code></span>, <span id="dt-2e96090e377d63bc4ec0"><code>35000</code></span>, <span id="dt-ccdb931ff921b32bb319"><code>40000</code></span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;issi&#44;is31fl3190&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;issi&#44;is31fl3191&#34;</code></span>, <span id="dt-d29379bd469379c8aac7"><code>&#34;si&#45;en&#44;sn3190&#34;</code></span>, <span id="dt-4d46427daeb4d8de3150"><code>&#34;si&#45;en&#44;sn3191&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-8b91e530d80f7cc46df3"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-a4b38c774a251fa9550e"></a>
> >
> > **<code>&#94;led&#64;&#91;1&#45;9&#93;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-0cbce90319bb1cac42b9"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-6aef45012cb043c63d4f"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-80651706c01035252118"><code>1</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;issi&#44;is31fl3193&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;si&#45;en&#44;sn3193&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-c8fcd31065f7e965d191"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-f47cc6c9a1a466831818"></a>
> >
> > **<code>&#94;led&#64;&#91;1&#45;9&#93;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-8495d942ebc53aaeff3e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-ebfbc952c0665962510c"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-9f93077e8a8e7c8625a0"><code>3</code></span>

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

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-3de4a4db25c09109abf4"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-2f146490cc52d0a82c19"></a> <span id="dt-b1038ed41acf3cc462f9"><code>&#34;issi&#44;is31fl3196&#34;</code></span>, <span id="dt-ee83d100044168836749"><code>&#34;si&#45;en&#44;sn3196&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-9fff9961ce6722b392f4"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-4ab517bc885ec5bfe1a6"></a>
> >
> > **<code>&#94;led&#64;&#91;1&#45;9&#93;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-5a1f23683d350e5706ea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-571bdb8ff6af30337b25"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-382f30e7f90275f4da1a"><code>6</code></span>

**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;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#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;

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

    led-controller@65 {
        compatible = "issi,is31fl3196";
        reg = &lt;0x65&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        shutdown-gpios = &lt;&amp;gpio0 11 GPIO_ACTIVE_HIGH&gt;;

        led@1 {
            reg = &lt;1&gt;;
            label = "red:aux";
            led-max-microamp = &lt;10000&gt;;
        };

        led@5 {
            reg = &lt;5&gt;;
            label = "green:power";
            linux,default-trigger = "default-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 OR BSD-2-Clause)</span></p>

</details>

---

# Kinetic KTD2026/7 RGB/White LED Driver

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

> Device-tree binding reference for Kinetic KTD2026/7 RGB/White LED Driver.

<!-- 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;ktd202x&#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é Apitzsch &#60;git&#64;apitzsch&#46;eu&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The KTD2026/7 is a RGB/White LED driver with I2C interface.</p>
<pre><code>The data sheet can be found at:
  https://www.kinet-ic.com/uploads/KTD2026-7-04h.pdf</code></pre>
</div>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;kinetic&#44;ktd2026&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;kinetic&#44;ktd2027&#34;</code></span>

<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-51a959e83f4922242a97"></a>

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

<div id="dt-7b21b67ede244c89b73f">
<p style="white-space: pre-wrap">Regulator providing power to the "VIN" pin.</p>
</div>

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

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

<div id="dt-13f51f213fdf6c69a1ce">
<p style="white-space: pre-wrap">Regulator providing power for pull-up of the I/O lines. Note that this regulator does not directly connect to KTD2026, but is needed for the correct operation of the status ("ST") and I2C lines.</p>
</div>

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

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

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

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-19fbc5d6c1bc08da1c68"></a>

### <code>multi&#45;led</code> — not listed as required here

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

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

<a id="dt-850b6df1fd018b5c206d"></a>

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

<code>false</code>

Not allowed by this rule.

<a id="dt-06a616ca378e5b0c5564"></a>

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

<a id="dt-99f9f80f12ede1d634fa"></a>

**<code>&#35;address&#45;cells</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-7ec149eb865d8bce773b"><code>1</code></span>

<a id="dt-30ffda9af37fb093b31b"></a>

**<code>&#35;size&#45;cells</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-c5a4e289911b8a5feb33"><code>0</code></span>

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

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

<a id="dt-68c29d77843f87a08c32"></a>

**<code>&#94;led&#64;&#91;0&#45;3&#93;&#36;</code> — name matches this regular expression**

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

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

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

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

<code>false</code>

Not allowed by this rule.

<a id="dt-02979ebe712029a18a79"></a>

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

<a id="dt-556b5b5fdc708510ba7f"></a>

**<code>reg</code> — required here**

<div id="dt-0baeec8065394f56e463">
<p style="white-space: pre-wrap">Index of the LED.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-5c6e044af27d031f5855"><code>0</code></span>

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

**Required in this object (<code>required</code>):** <a id="dt-2060728a87856bc08d32"></a> <span id="dt-7a77893c682d602a8e3e"><code>&#34;reg&#34;</code></span>, <span id="dt-a688d0946c82c2903754"><code>&#34;color&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-0cd344e50b685123b0ff"></a> <span id="dt-b1b20a18d55a6a63576c"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-6539cd2e6d95f9a3b1d3"><code>&#34;&#35;size&#45;cells&#34;</code></span>

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

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

<a id="dt-27d6c783b4ca9de9aab7"></a>

### <code>&#94;led&#64;&#91;0&#45;3&#93;&#36;</code> — name matches this regular expression

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

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

<a id="dt-679eb5ada28301673dfb"></a>

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

<code>false</code>

Not allowed by this rule.

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

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

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

**<code>reg</code> — required here**

<div id="dt-fea4c0d0d39f777f49ef">
<p style="white-space: pre-wrap">Index of the LED.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-7d9fc2f61097ab209afd"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-4548ccf9707194603210"><code>3</code></span>

**Required in this object (<code>required</code>):** <a id="dt-632aea05cfce42a98982"></a> <span id="dt-2a9ce406e0f197b1a49d"><code>&#34;reg&#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>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#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/leds/common.h&gt;

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

    led-controller@30 {
        compatible = "kinetic,ktd2026";
        reg = &lt;0x30&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        vin-supply = &lt;&amp;pm8916_l17&gt;;
        vio-supply = &lt;&amp;pm8916_l6&gt;;

        led@0 {
            reg = &lt;0&gt;;
            function = LED_FUNCTION_STATUS;
            color = &lt;LED_COLOR_ID_RED&gt;;
        };

        led@1 {
            reg = &lt;1&gt;;
            function = LED_FUNCTION_STATUS;
            color = &lt;LED_COLOR_ID_GREEN&gt;;
        };

        led@2 {
            reg = &lt;2&gt;;
            function = LED_FUNCTION_STATUS;
            color = &lt;LED_COLOR_ID_BLUE&gt;;
        };
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/leds/common.h&gt;

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

    led-controller@30 {
        compatible = "kinetic,ktd2026";
        reg = &lt;0x30&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        vin-supply = &lt;&amp;pm8916_l17&gt;;
        vio-supply = &lt;&amp;pm8916_l6&gt;;

        multi-led {
            color = &lt;LED_COLOR_ID_RGB&gt;;
            function = LED_FUNCTION_STATUS;

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

            led@0 {
                reg = &lt;0&gt;;
                color = &lt;LED_COLOR_ID_RED&gt;;
            };

            led@1 {
                reg = &lt;1&gt;;
                color = &lt;LED_COLOR_ID_GREEN&gt;;
            };

            led@2 {
                reg = &lt;2&gt;;
                color = &lt;LED_COLOR_ID_BLUE&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>

---

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

---

# AWINIC AW2013 3-channel LED Driver

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

> Device-tree binding reference for AWINIC AW2013 3-channel LED Driver.

<!-- 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;leds&#45;aw2013&#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;Nikita Travkin &#60;nikitos&#46;tr&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The AW2013 is a 3-channel LED driver with I2C interface. It can control
LED brightness with PWM output.</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;awinic&#44;aw2013&#34;</code></span>

<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-c2de09e7f7fd211b679d"></a>

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

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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">Open-drain, low active interrupt pin "INTN". Used to report completion of operations (power up, LED breath effects).</p>
</div>

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

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

<div id="dt-304923183fea32e69a40">
<p style="white-space: pre-wrap">Regulator providing power to the "VCC" pin.</p>
</div>

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

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

<div id="dt-13f51f213fdf6c69a1ce">
<p style="white-space: pre-wrap">Regulator providing power for pull-up of the I/O lines. "VIO1" in the typical application circuit example of the datasheet. Note that this regulator does not directly connect to AW2013, but is needed for the correct operation of the interrupt and I2C lines.</p>
</div>

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

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

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

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

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

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

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

### <code>&#94;led&#64;&#91;0&#45;2&#93;&#36;</code> — name matches this regular expression

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

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

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

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

<code>false</code>

Not allowed by this rule.

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

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

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

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

<div id="dt-fc98c607b26d7d8f1034">
<p style="white-space: pre-wrap">Index of the LED.</p>
</div>

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

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

**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;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#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/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/leds/common.h&gt;

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

    led-controller@45 {
        compatible = "awinic,aw2013";
        reg = &lt;0x45&gt;;
        interrupts = &lt;42 IRQ_TYPE_LEVEL_LOW&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        vcc-supply = &lt;&amp;pm8916_l17&gt;;

        led@0 {
            reg = &lt;0&gt;;
            led-max-microamp = &lt;5000&gt;;
            function = LED_FUNCTION_INDICATOR;
            color = &lt;LED_COLOR_ID_RED&gt;;
        };

        led@1 {
            reg = &lt;1&gt;;
            led-max-microamp = &lt;5000&gt;;
            function = LED_FUNCTION_INDICATOR;
            color = &lt;LED_COLOR_ID_GREEN&gt;;
        };

        led@2 {
            reg = &lt;2&gt;;
            led-max-microamp = &lt;5000&gt;;
            function = LED_FUNCTION_INDICATOR;
            color = &lt;LED_COLOR_ID_BLUE&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>

---

# Broadcom's BCM63138 LEDs controller

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

> Device-tree binding reference for Broadcom's BCM63138 LEDs controller.

<!-- 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;leds&#45;bcm63138&#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;Rafał Miłecki &#60;rafal&#64;milecki&#46;pl&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This LEDs controller was first used on BCM63138 and later reused on BCM4908,
BCM6848, BCM6858, BCM63138, BCM63148, BCM63381 and BCM68360 SoCs.</p>
<p style="white-space: pre-wrap">It supports up to 32 LEDs that can be connected parallelly or serially. It
also includes limited support for hardware blinking.</p>
<p style="white-space: pre-wrap">Binding serially connected LEDs isn't documented yet.</p>
</div>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;brcm&#44;bcm4908&#45;leds&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;brcm&#44;bcm6848&#45;leds&#34;</code></span>, <span id="dt-b7d19de74fd35364d49f"><code>&#34;brcm&#44;bcm6858&#45;leds&#34;</code></span>, <span id="dt-6cbdeefc52e7132bc62c"><code>&#34;brcm&#44;bcm63148&#45;leds&#34;</code></span>, <span id="dt-fd88adda17227ca32776"><code>&#34;brcm&#44;bcm63381&#45;leds&#34;</code></span>, <span id="dt-f0dfbb755d86acc4c265"><code>&#34;brcm&#44;bcm68360&#45;leds&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;brcm&#44;bcm63138&#45;leds&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;brcm&#44;bcm63138&#45;leds&#34;</code></span>

<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-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

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

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

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

### <code>brcm&#44;serial&#45;shift&#45;bits</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-375cdc1e23c52cb9e8bc"><code>1</code></span>

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

<div id="dt-f24206be7a61fc7cb6d2">
<p style="white-space: pre-wrap">This describes the number of 8-bit serial shifters connected to the LED controller block. The hardware is typically using 8-bit shift registers with 8 LEDs per shift register, so 4 shifters results in 32 LEDs or 2 shifters give 16 LEDs etc, but the hardware supports any odd number of registers. If left unspecified, the hardware boot-time default is used.</p>
</div>

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

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

<a id="dt-00875195dacea4e86347"></a>

### <code>&#94;led&#64;&#91;a&#45;f0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

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

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

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

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

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

**<code>reg</code> — required here**

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

<div id="dt-d377bdf6b58d0a1770c4">
<p style="white-space: pre-wrap">LED pin number</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-ef157f9634bd1d0141ef"></a> <span id="dt-a79596936e34d285cac3"><code>&#34;reg&#34;</code></span>

<a id="dt-916981c56a0096e1a386"></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;reg&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;size&#45;cells&#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/leds/common.h&gt;

leds@ff800800 {
    compatible = "brcm,bcm4908-leds", "brcm,bcm63138-leds";
    reg = &lt;0xff800800 0xdc&gt;;
    brcm,serial-shift-bits = &lt;16&gt;;

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

    led@0 {
        reg = &lt;0x0&gt;;
        function = LED_FUNCTION_POWER;
        color = &lt;LED_COLOR_ID_GREEN&gt;;
        default-state = "on";
    };

    led@3 {
        reg = &lt;0x3&gt;;
        function = LED_FUNCTION_STATUS;
        color = &lt;LED_COLOR_ID_GREEN&gt;;
        active-low;
    };
};
</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>

---

# LEDs connected to Broadcom BCM6328 controller

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

> Device-tree binding reference for LEDs connected to Broadcom BCM6328 controller.

<!-- 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;leds&#45;bcm6328&#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;Álvaro Fernández Rojas &#60;noltari&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This controller is present on BCM6318, BCM6328, BCM6362 and BCM63268.
In these SoCs it's possible to control LEDs both as GPIOs or by hardware.
However, on some devices there are Serial LEDs (LEDs connected to a 74x164
controller), which can either be controlled by software (exporting the 74x164
as spi-gpio. See
Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml), or by hardware
using this driver.
Some of these Serial LEDs are hardware controlled (e.g. ethernet LEDs) and
exporting the 74x164 as spi-gpio prevents those LEDs to be hardware
controlled, so the only chance to keep them working is by using this driver.</p>
<p style="white-space: pre-wrap">BCM6328 LED controller has a HWDIS register, which controls whether a LED
should be controlled by a hardware signal instead of the MODE register value,
with 0 meaning hardware control enabled and 1 hardware control disabled. This
is usually 1:1 for hardware to LED signals, but through the activity/link
registers you have some limited control over rerouting the LEDs (as
explained later in brcm,link-signal-sources). Even if a LED is hardware
controlled you are still able to make it blink or light it up if it isn't,
but you can't turn it off if the hardware decides to light it up. For this
reason, hardware controlled LEDs aren't registered as LED class devices.</p>
<p style="white-space: pre-wrap">Each LED is represented as a sub-node of the brcm,bcm6328-leds device.</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;brcm&#44;bcm6328&#45;leds&#34;</code></span>

<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-eac8fc1d3bf9292b178f"></a>

### <code>brcm&#44;serial&#45;leds</code> — not listed as required here

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

<div id="dt-2d05a5353368b4f4c7c2">
<p style="white-space: pre-wrap">Enables Serial LEDs.</p>
</div>

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

### <code>brcm&#44;serial&#45;mux</code> — not listed as required here

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

<div id="dt-031af7fb66446daa952c">
<p style="white-space: pre-wrap">Enables Serial LEDs multiplexing.</p>
</div>

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

### <code>brcm&#44;serial&#45;clk&#45;low</code> — not listed as required here

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

<div id="dt-7437cb8ba35ae85f8767">
<p style="white-space: pre-wrap">Makes clock signal active low.</p>
</div>

<a id="dt-448d0bf70dbba3cf66d2"></a>

### <code>brcm&#44;serial&#45;dat&#45;low</code> — not listed as required here

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

<div id="dt-bb55801da20b58f6f190">
<p style="white-space: pre-wrap">Makes data signal active low.</p>
</div>

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

### <code>brcm&#44;serial&#45;shift&#45;inv</code> — not listed as required here

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

<div id="dt-67ba0387cd2c7e01c7f6">
<p style="white-space: pre-wrap">Inverts Serial LEDs shift direction.</p>
</div>

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

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

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

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

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

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

<a id="dt-78496c5801513b48d9f9"></a>

### <code>&#64;&#91;a&#45;f0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression

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

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

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

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

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

**<code>reg</code> — required here**

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

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

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

**Item 1**

> **Maximum value (<code>maximum</code>):** <span id="dt-7153fe1ca1de4ad257bf"><code>23</code></span>

<div id="dt-3ecb2a48207795044fc1">
<p style="white-space: pre-wrap">LED pin number (only LEDs 0 to 23 are valid).</p>
</div>

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

**<code>brcm&#44;hardware&#45;controlled</code> — not listed as required here**

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

<div id="dt-454a27fb3d7bd802bebc">
<p style="white-space: pre-wrap">Makes this LED hardware controlled.</p>
</div>

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

**<code>brcm&#44;link&#45;signal&#45;sources</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-066da8bb08aa0ab8846f">[<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-dcdbc2f95b402886d0c3"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9fe5990a74cd06c8d9b6"><code>4</code></span>

<div id="dt-d87d1f294e5306678a2b">
<p style="white-space: pre-wrap">An array of hardware link signal sources. Up to four link hardware signals can get muxed into these LEDs. Only valid for LEDs 0 to 7, where LED signals 0 to 3 may be muxed to LEDs 0 to 3, and signals 4 to 7 may be muxed to LEDs 4 to 7. A signal can be muxed to more than one LED, and one LED can have more than one source signal.</p>
</div>

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

**<code>brcm&#44;activity&#45;signal&#45;sources</code> — not listed as required here**

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-5a6fe2396680e6a787b5"><code>4</code></span>

<div id="dt-83f1b2caaaa449766c24">
<p style="white-space: pre-wrap">An array of hardware activity signal sources. Up to four activity hardware signals can get muxed into these LEDs. Only valid for LEDs 0 to 7, where LED signals 0 to 3 may be muxed to LEDs 0 to 3, and signals 4 to 7 may be muxed to LEDs 4 to 7. A signal can be muxed to more than one LED, and one LED can have more than one source signal.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-3f5a2806a6999348cfdd"></a> <span id="dt-dabfe49d12ad14240ada"><code>&#34;reg&#34;</code></span>

<a id="dt-81d53b86ecb853309b3d"></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;reg&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;size&#45;cells&#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">/* BCM6328 with 4 EPHY LEDs */
led-controller@10000800 {
    compatible = "brcm,bcm6328-leds";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    reg = &lt;0x10000800 0x24&gt;;

    alarm_red@2 {
        reg = &lt;2&gt;;
        active-low;
        label = "red:alarm";
    };

    inet_green@3 {
        reg = &lt;3&gt;;
        active-low;
        label = "green:inet";
    };

    power_green@4 {
        reg = &lt;4&gt;;
        active-low;
        label = "green:power";
        default-state = "on";
    };

    ephy0_spd@17 {
        reg = &lt;17&gt;;
        brcm,hardware-controlled;
    };

    ephy1_spd@18 {
        reg = &lt;18&gt;;
        brcm,hardware-controlled;
    };

    ephy2_spd@19 {
        reg = &lt;19&gt;;
        brcm,hardware-controlled;
    };

    ephy3_spd@20 {
        reg = &lt;20&gt;;
        brcm,hardware-controlled;
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">/* BCM63268 with Serial/GPHY0 LEDs */
led-controller@10001900 {
    compatible = "brcm,bcm6328-leds";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    reg = &lt;0x10001900 0x24&gt;;
    brcm,serial-leds;
    brcm,serial-dat-low;
    brcm,serial-shift-inv;

    gphy0_spd0@0 {
        reg = &lt;0&gt;;
        brcm,hardware-controlled;
        brcm,link-signal-sources = &lt;0&gt;;
    };

    gphy0_spd1@1 {
        reg = &lt;1&gt;;
        brcm,hardware-controlled;
        brcm,link-signal-sources = &lt;1&gt;;
    };

    inet_red@2 {
        reg = &lt;2&gt;;
        active-low;
        label = "red:inet";
    };

    dsl_green@3 {
        reg = &lt;3&gt;;
        active-low;
        label = "green:dsl";
    };

    usb_green@4 {
        reg = &lt;4&gt;;
        active-low;
        label = "green:usb";
    };

    wps_green@7 {
        reg = &lt;7&gt;;
        active-low;
        label = "green:wps";
    };

    inet_green@8 {
        reg = &lt;8&gt;;
        active-low;
        label = "green:inet";
    };

    ephy0_act@9 {
        reg = &lt;9&gt;;
        brcm,hardware-controlled;
    };

    ephy1_act@10 {
        reg = &lt;10&gt;;
        brcm,hardware-controlled;
    };

    ephy2_act@11 {
        reg = &lt;11&gt;;
        brcm,hardware-controlled;
    };

    gphy0_act@12 {
        reg = &lt;12&gt;;
        brcm,hardware-controlled;
    };

    ephy0_spd@13 {
        reg = &lt;13&gt;;
        brcm,hardware-controlled;
    };

    ephy1_spd@14 {
        reg = &lt;14&gt;;
        brcm,hardware-controlled;
    };

    ephy2_spd@15 {
        reg = &lt;15&gt;;
        brcm,hardware-controlled;
    };

    power_green@20 {
        reg = &lt;20&gt;;
        active-low;
        label = "green:power";
        default-state = "on";
    };
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">/* BCM6362 with 1 LED for each EPHY */
led-controller@10001900 {
    compatible = "brcm,bcm6328-leds";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    reg = &lt;0x10001900 0x24&gt;;

    usb@0 {
        reg = &lt;0&gt;;
        brcm,hardware-controlled;
        brcm,link-signal-sources = &lt;0&gt;;
        brcm,activity-signal-sources = &lt;0&gt;;
        /* USB link/activity routed to USB LED */
    };

    inet@1 {
        reg = &lt;1&gt;;
        brcm,hardware-controlled;
        brcm,activity-signal-sources = &lt;1&gt;;
        /* INET activity routed to INET LED */
    };

    ephy0@4 {
        reg = &lt;4&gt;;
        brcm,hardware-controlled;
        brcm,link-signal-sources = &lt;4&gt;;
        /* EPHY0 link routed to EPHY0 LED */
    };

    ephy1@5 {
        reg = &lt;5&gt;;
        brcm,hardware-controlled;
        brcm,link-signal-sources = &lt;5&gt;;
        /* EPHY1 link routed to EPHY1 LED */
    };

    ephy2@6 {
        reg = &lt;6&gt;;
        brcm,hardware-controlled;
        brcm,link-signal-sources = &lt;6&gt;;
        /* EPHY2 link routed to EPHY2 LED */
    };

    ephy3@7 {
        reg = &lt;7&gt;;
        brcm,hardware-controlled;
        brcm,link-signal-sources = &lt;7&gt;;
        /* EPHY3 link routed to EPHY3 LED */
    };

    power_green@20 {
        reg = &lt;20&gt;;
        active-low;
        label = "green:power";
        default-state = "on";
    };
};
</code></pre>

<pre id="dt-cf8a683b5a963eb1c566"><code class="language-dts">/* BCM6362 with 1 LED for all EPHYs */
led-controller@10001900 {
    compatible = "brcm,bcm6328-leds";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    reg = &lt;0x10001900 0x24&gt;;

    usb@0 {
        reg = &lt;0&gt;;
        brcm,hardware-controlled;
        brcm,link-signal-sources = &lt;0 1&gt;;
        brcm,activity-signal-sources = &lt;0 1&gt;;
        /* USB/INET link/activity routed to USB LED */
    };

    ephy@4 {
        reg = &lt;4&gt;;
        brcm,hardware-controlled;
        brcm,link-signal-sources = &lt;4 5 6 7&gt;;
        /* EPHY0/1/2/3 link routed to EPHY0 LED */
    };

    power_green@20 {
        reg = &lt;20&gt;;
        active-low;
        label = "green:power";
        default-state = "on";
    };
};
</code></pre>

<pre id="dt-89dd782fdab7d446b5b9"><code class="language-dts">/* BCM6362 with EPHY LEDs swapped */
led-controller@10001900 {
    compatible = "brcm,bcm6328-leds";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    reg = &lt;0x10001900 0x24&gt;;

    usb@0 {
        reg = &lt;0&gt;;
        brcm,hardware-controlled;
        brcm,link-signal-sources = &lt;0&gt;;
        brcm,activity-signal-sources = &lt;0 1&gt;;
        /* USB link/act and INET act routed to USB LED */
    };

    ephy0@4 {
        reg = &lt;4&gt;;
        brcm,hardware-controlled;
        brcm,link-signal-sources = &lt;7&gt;;
        /* EPHY3 link routed to EPHY0 LED */
    };

    ephy1@5 {
        reg = &lt;5&gt;;
        brcm,hardware-controlled;
        brcm,link-signal-sources = &lt;6&gt;;
        /* EPHY2 link routed to EPHY1 LED */
    };

    ephy2@6 {
        reg = &lt;6&gt;;
        brcm,hardware-controlled;
        brcm,link-signal-sources = &lt;5&gt;;
        /* EPHY1 link routed to EPHY2 LED */
    };

    ephy3@7 {
        reg = &lt;7&gt;;
        brcm,hardware-controlled;
        brcm,link-signal-sources = &lt;4&gt;;
        /* EPHY0 link routed to EPHY3 LED */
    };

    power_green@20 {
        reg = &lt;20&gt;;
        active-low;
        label = "green:power";
        default-state = "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 OR BSD-2-Clause</span></p>

</details>

---

# Common properties for the multicolor LED class.

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

> Device-tree binding reference for Common properties for the multicolor LED class..

<!-- 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;leds&#45;class&#45;multicolor&#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;Andrew Davis &#60;afd&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Bindings for multi color LEDs show how to describe current outputs of
either integrated multi-color LED elements (like RGB, RGBW, RGBWA-UV
etc.) or standalone LEDs, to achieve logically grouped multi-color LED
modules. This is achieved by adding multi-led nodes layer to the
monochrome LED bindings.
The nodes and properties defined in this document are unique to the multicolor
LED class.  Common LED nodes and properties are inherited from the common.yaml
within this documentation directory.</p>
</div>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;multi&#45;led&#40;&#64;&#91;0&#45;9a&#45;f&#93;&#124;&#45;&#91;0&#45;9&#93;&#43;&#41;&#63;&#36;&#34;</code></span>

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

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

<div id="dt-068304638617a13acf7a">
<p style="white-space: pre-wrap">For multicolor LED support this property should be defined as either
LED_COLOR_ID_RGB or LED_COLOR_ID_MULTI which can be found in
include/dt-bindings/leds/common.h.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-bcb374068dcd8abd101e"></a> <span id="dt-d4d245ec6787e02d0de1"><code>8</code></span>, <span id="dt-fa952c642b581727f586"><code>9</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;color&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

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

<a id="dt-738c4b4f9e483441138b"></a>

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

<code>true</code>

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>

---

# Common leds consumer

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

> Device-tree binding reference for Common leds consumer.

<!-- 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;leds&#45;consumer&#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;Aleksandrs Vinarskis &#60;alex&#64;vinarskis&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Some LED defined in DT are required by other DT consumers, for example v4l2 subnode may require privacy or flash LED. Unlike trigger-source approach which is typically used as 'soft' binding, referencing LED devices by phandle makes things simpler when 'hard' binding is desired.
Document LED properties that its consumers may define.</p>
</div>

<a id="dt-865ef19e891fb9fe7b15"></a>

## Automatic schema selection (<code>select</code>)

<code>true</code>

This selection rule always matches.

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

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

<a id="dt-85c9b34b55b27f5ea876"></a>

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

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

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

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

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

**Rule 2**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-11441b7892771c97df4b">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>
>
> <div id="dt-1a8446ef48ea6535f023">
> <p style="white-space: pre-wrap">A list of LED device(s) required by a particular consumer.</p>
> </div>
>
> <a id="dt-96b4980ee7d4809c5235"></a>
>
> **Array item rules (<code>items</code>)**
>
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-fa8fa4b3246ff3983169"><code>1</code></span>

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

### <code>led&#45;names</code> — not listed as required here

<div id="dt-1c687da182f0ae04a266">
<p style="white-space: pre-wrap">A list of device name(s). Used to map LED devices to their respective functions, when consumer requires more than one LED.</p>
</div>

<a id="dt-738c4b4f9e483441138b"></a>

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

<code>true</code>

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;

leds {
    compatible = "gpio-leds";

    privacy_led: privacy-led {
        color = &lt;LED_COLOR_ID_RED&gt;;
        default-state = "off";
        function = LED_FUNCTION_INDICATOR;
        gpios = &lt;&amp;tlmm 110 GPIO_ACTIVE_HIGH&gt;;
    };
};

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

  v4l2_node: camera@36 {
    reg = &lt;0x36&gt;;

    leds = &lt;&amp;privacy_led&gt;;
    led-names = "privacy";
  };
};
</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>

---

# LEDs connected to GPIO lines

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

> Device-tree binding reference for LEDs connected to GPIO lines.

<!-- 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;leds&#47;leds&#45;gpio&#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;Jacek Anaszewski &#60;jacek&#46;anaszewski&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Pavel Machek &#60;pavel&#64;ucw&#46;cz&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Each LED is represented as a sub-node of the gpio-leds device.  Each node's name represents the name of the corresponding LED.</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;gpio&#45;leds&#34;</code></span>

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

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

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

### <code>&#40;&#94;led&#45;&#91;0&#45;9a&#45;f&#93;&#36;&#124;led&#41;</code> — name matches this regular expression

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

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

<a id="dt-24c9714e7cbe5ac325dc"></a>

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

<code>false</code>

Not allowed by this rule.

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

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

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

**<code>gpios</code> — required here**

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

<a id="dt-78fd83a1b81841608dfe"></a>

**<code>retain&#45;state&#45;suspended</code> — not listed as required here**

<div id="dt-57d7872fb88a00bd0923">
<p style="white-space: pre-wrap">The suspend state can be retained.Such as charge-led gpio.</p>
</div>

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

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

**<code>retain&#45;state&#45;shutdown</code> — not listed as required here**

<div id="dt-8547e1b0809a2c0b515b">
<p style="white-space: pre-wrap">Retain the state of the LED on shutdown. Useful in BMC systems, for example when the BMC is rebooted while the host remains up.</p>
</div>

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

**Required in this object (<code>required</code>):** <a id="dt-97ffc9c8fc137ddf3f2a"></a> <span id="dt-d7ab57b28cf4fa419049"><code>&#34;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-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;

leds {
    compatible = "gpio-leds";
    led-0 {
        gpios = &lt;&amp;mcu_pio 0 GPIO_ACTIVE_LOW&gt;;
        linux,default-trigger = "disk-activity";
        function = LED_FUNCTION_DISK;
    };

    led-1 {
        gpios = &lt;&amp;mcu_pio 1 GPIO_ACTIVE_HIGH&gt;;
        /* Keep LED on if BIOS detected hardware fault */
        default-state = "keep";
        function = LED_FUNCTION_FAULT;
    };
};

run-control {
    compatible = "gpio-leds";
    led-0 {
        gpios = &lt;&amp;mpc8572 6 GPIO_ACTIVE_HIGH&gt;;
        color = &lt;LED_COLOR_ID_RED&gt;;
        default-state = "off";
    };
    led-1 {
        gpios = &lt;&amp;mpc8572 7 GPIO_ACTIVE_HIGH&gt;;
        color = &lt;LED_COLOR_ID_GREEN&gt;;
        default-state = "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 22:</strong> <span> The first form is preferred, but fall back to just 'led' anywhere in the</span></p>

<p id="dt-comment-2"><strong>Line 23:</strong> <span> node name to at least catch some child nodes.</span></p>

</details>

---

# Multi-color LED built with monochromatic LEDs

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

> Device-tree binding reference for Multi-color LED built with monochromatic 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;leds&#45;group&#45;multicolor&#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;Jean&#45;Jacques Hiblot &#60;jjhiblot&#64;traphandler&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This driver combines several monochromatic LEDs into one multi-color
LED using the multicolor LED class.</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;leds&#45;group&#45;multicolor&#34;</code></span>

<a id="dt-85c9b34b55b27f5ea876"></a>

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

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

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;leds&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

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

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;

monochromatic-leds {
    compatible = "gpio-leds";

    led0: led-0 {
        gpios = &lt;&amp;mcu_pio 0 GPIO_ACTIVE_LOW&gt;;
        color = &lt;LED_COLOR_ID_RED&gt;;
    };

    led1: led-1 {
        gpios = &lt;&amp;mcu_pio 1 GPIO_ACTIVE_HIGH&gt;;
        color = &lt;LED_COLOR_ID_GREEN&gt;;
    };

    led2: led-2 {
        gpios = &lt;&amp;mcu_pio 2 GPIO_ACTIVE_HIGH&gt;;
        color = &lt;LED_COLOR_ID_BLUE&gt;;
    };
};

multi-led {
    compatible = "leds-group-multicolor";
    color = &lt;LED_COLOR_ID_RGB&gt;;
    function = LED_FUNCTION_INDICATOR;
    leds = &lt;&amp;led0&gt;, &lt;&amp;led1&gt;, &lt;&amp;led2&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>

---

# Intel Lightning Mountain (LGM) SoC LED Serial Shift Output (SSO) Controller driver

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

> Device-tree binding reference for Intel Lightning Mountain (LGM) SoC LED Serial Shift Output (SSO) Controller driver.

<!-- 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;leds&#45;lgm&#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;Zhu&#44; Yi Xin &#60;Yixin&#46;zhu&#64;intel&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Amireddy Mallikarjuna reddy &#60;mallikarjunax&#46;reddy&#64;intel&#46;com&#62;&#34;</code></span>

<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;intel&#44;lgm&#45;ssoled&#34;</code></span>

<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-4e9a371963ac013ad39d"></a>

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

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

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;sso&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;fpid&#34;</code></span>

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

### <code>gpio&#45;controller</code> — required here

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

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

### <code>&#35;gpio&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

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

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

**Minimum value (<code>minimum</code>):** <span id="dt-4ef4898ec8b764d69b54"><code>0</code></span>

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

<div id="dt-4e60045f2efa1256c93d">
<p style="white-space: pre-wrap">Number of GPIOs this controller provides.</p>
</div>

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

### <code>intel&#44;sso&#45;update&#45;rate&#45;hz</code> — not listed as required here

<div id="dt-2532030508e5da9c1909">
<p style="white-space: pre-wrap">Blink frequency for SOUTs in Hz.</p>
</div>

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

### <code>led&#45;controller</code> — not listed as required here

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

<div id="dt-1b1c9815128aaeb2d29a">
<p style="white-space: pre-wrap">This sub-node must contain a sub-node for each leds.</p>
</div>

<a id="dt-f3df9e77fc6e6ac957e2"></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-4ae6ed1710a463bcd95c"></a>

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

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

**<code>&#35;address&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-f3de117d1edddcf39111"><code>1</code></span>

<a id="dt-672683f10cfec2993f22"></a>

**<code>&#35;size&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-5f9a0e7d71ec90cc7ad4"><code>0</code></span>

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

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

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

**<code>&#94;led&#64;&#91;0&#45;2&#93;&#36;</code> — name matches this regular expression**

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

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

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

<code>false</code>

Not allowed by this rule.

<a id="dt-07757201477b90594f77"></a>

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

<a id="dt-718f5d634f30ee86ad6d"></a>

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

<div id="dt-e13426c3526b00dd74f6">
<p style="white-space: pre-wrap">Index of the LED.</p>
</div>

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

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

<a id="dt-91641125f5ad95e520e1"></a>

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

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

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

**<code>intel&#44;sso&#45;hw&#45;trigger</code> — not listed as required here**

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

<div id="dt-fbd17ebe407b82a08f01">
<p style="white-space: pre-wrap">This property indicates Hardware driven/control LED.</p>
</div>

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

**<code>intel&#44;sso&#45;hw&#45;blink</code> — not listed as required here**

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

<div id="dt-14b68359a52be8b5d0c1">
<p style="white-space: pre-wrap">This property indicates Enable LED blink by Hardware.</p>
</div>

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

**<code>intel&#44;sso&#45;blink&#45;rate&#45;hz</code> — not listed as required here**

<div id="dt-1abcb45f031d8ac3a264">
<p style="white-space: pre-wrap">LED HW blink frequency.</p>
</div>

<a id="dt-648ce97bd4c7b82ab705"></a>

**<code>retain&#45;state&#45;suspended</code> — not listed as required here**

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

<div id="dt-01b5ed4c2d8ccf276bf6">
<p style="white-space: pre-wrap">The suspend state of LED can be retained.</p>
</div>

<a id="dt-607e1a19be232f6d7ee2"></a>

**<code>retain&#45;state&#45;shutdown</code> — not listed as required here**

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

<div id="dt-2be25533b5d898655a57">
<p style="white-space: pre-wrap">Retain the state of the LED on shutdown.</p>
</div>

**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;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;gpio&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;gpio&#45;controller&#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/clock/intel,lgm-clk.h&gt;
#include &lt;dt-bindings/leds/common.h&gt;

ssogpio: ssogpio@e0d40000 {
  compatible = "intel,lgm-ssoled";
  reg = &lt;0xE0D40000 0x2E4&gt;;
  gpio-controller;
  #gpio-cells = &lt;2&gt;;
  ngpios = &lt;32&gt;;
  pinctrl-names = "default";
  pinctrl-0 = &lt;&amp;pinctrl_ledc&gt;;
  clocks = &lt;&amp;cgu0 LGM_GCLK_LEDC0&gt;, &lt;&amp;afeclk&gt;;
  clock-names = "sso", "fpid";
  intel,sso-update-rate-hz = &lt;250000&gt;;

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

    led@0 {
      reg = &lt;0&gt;;
      function = "gphy";
      color = &lt;LED_COLOR_ID_GREEN&gt;;
      led-gpios = &lt;&amp;ssogpio 0 0&gt;;
    };

    led@2 {
      reg = &lt;2&gt;;
      function = LED_FUNCTION_POWER;
      color = &lt;LED_COLOR_ID_GREEN&gt;;
      led-gpios = &lt;&amp;ssogpio 23 0&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>

---

# LED driver for LP50XX RGB LED from Texas Instruments.

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

> Device-tree binding reference for LED driver for LP50XX RGB LED from Texas Instruments..

<!-- 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;leds&#45;lp50xx&#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;Andrew Davis &#60;afd&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The LP50XX is multi-channel, I2C RGB LED Drivers that can group RGB LEDs into
a LED group or control them individually.</p>
<p style="white-space: pre-wrap">The difference in these RGB LED drivers is the number of supported RGB
modules.</p>
<p style="white-space: pre-wrap">For more product information please see the link below:
https://www.ti.com/lit/ds/symlink/lp5012.pdf
https://www.ti.com/lit/ds/symlink/lp5024.pdf
https://www.ti.com/lit/ds/symlink/lp5036.pdf</p>
</div>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;ti&#44;lp5009&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;lp5012&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;ti&#44;lp5018&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;ti&#44;lp5024&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;ti&#44;lp5030&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;ti&#44;lp5036&#34;</code></span>

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C slave address lp5009/12 - 0x14, 0x15, 0x16, 0x17 lp5018/24 - 0x28, 0x29, 0x2a, 0x2b lp5030/36 - 0x30, 0x31, 0x32, 0x33</p>
</div>

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

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

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

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">GPIO pin to enable/disable the device.</p>
</div>

<a id="dt-42409c6466fa99f5dd2b"></a>

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

<div id="dt-d27ff73a83c623529667">
<p style="white-space: pre-wrap">LED supply.</p>
</div>

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

### <code>&#35;address&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

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

### <code>&#35;size&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

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

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

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

### <code>&#94;multi&#45;led&#64;&#91;0&#45;9a&#45;f&#93;&#36;</code> — name matches this regular expression

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

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

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

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

<code>false</code>

Not allowed by this rule.

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

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

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

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

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

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

<div id="dt-cc3fdb0856761220d906">
<p style="white-space: pre-wrap">This property denotes the LED module number(s) that is used on the for the child node.  The LED modules can either be used stand alone or grouped into a module bank.</p>
</div>

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

**<code>&#35;address&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-99c481773668f69d9bb4"><code>1</code></span>

<a id="dt-30a6d3eab0d67b06d4e0"></a>

**<code>&#35;size&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-44203c0e27531c2d049b"><code>0</code></span>

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

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

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

**<code>&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression**

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

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

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

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

<code>false</code>

Not allowed by this rule.

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

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

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

**<code>reg</code> — required here**

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

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

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

**Item 1**

> **Minimum value (<code>minimum</code>):** <span id="dt-a6e79b3bc0936dbe3160"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-1d6e566d145af902945d"><code>2</code></span>

<div id="dt-82057010a037ca315bb7">
<p style="white-space: pre-wrap">This property denotes the index within the LED bank.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-a017409fd5c64051dd90"></a> <span id="dt-2fcd82b9410614c6e7a3"><code>&#34;reg&#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>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#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;

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

    led-controller@14 {
        compatible = "ti,lp5009";
        reg = &lt;0x14&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;
        enable-gpios = &lt;&amp;gpio1 16&gt;;

        multi-led@1 {
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;
            reg = &lt;0x1&gt;;
            color = &lt;LED_COLOR_ID_RGB&gt;;
            function = LED_FUNCTION_CHARGING;

            led@0 {
                 reg = &lt;0x0&gt;;
                 color = &lt;LED_COLOR_ID_RED&gt;;
            };

            led@1 {
                 reg = &lt;0x1&gt;;
                 color = &lt;LED_COLOR_ID_GREEN&gt;;
            };

            led@2 {
                 reg = &lt;0x2&gt;;
                 color = &lt;LED_COLOR_ID_BLUE&gt;;
            };
        };

        multi-led@3 {
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;
            reg = &lt;0x3&gt;, &lt;0x4&gt;, &lt;0x5&gt;;
            color = &lt;LED_COLOR_ID_RGB&gt;;
            function = LED_FUNCTION_STANDBY;

            led@0 {
                reg = &lt;0x0&gt;;
                color = &lt;LED_COLOR_ID_RED&gt;;
            };

            led@1 {
                reg = &lt;0x1&gt;;
                color = &lt;LED_COLOR_ID_GREEN&gt;;
            };

            led@2 {
                reg = &lt;0x2&gt;;
                color = &lt;LED_COLOR_ID_BLUE&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>

---

# TI/National Semiconductor LP55xx and LP8501 LED Drivers

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

> Device-tree binding reference for TI/National Semiconductor LP55xx and LP8501 LED Drivers.

<!-- 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;leds&#45;lp55xx&#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;Jacek Anaszewski &#60;jacek&#46;anaszewski&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Pavel Machek &#60;pavel&#64;ucw&#46;cz&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Bindings for the TI/National Semiconductor LP55xx and LP8501 multi channel
LED Drivers.</p>
<pre><code>For more product information please see the link below:
  https://www.ti.com/lit/gpn/lp5521
  https://www.ti.com/lit/gpn/lp5523
  https://www.ti.com/lit/gpn/lp55231
  https://www.ti.com/lit/gpn/lp5562
  https://www.ti.com/lit/gpn/lp8501</code></pre>
</div>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;national&#44;lp5521&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;national&#44;lp5523&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;ti&#44;lp55231&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;ti&#44;lp5562&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;ti&#44;lp5569&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;ti&#44;lp8501&#34;</code></span>

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C slave address</p>
</div>

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

### <code>clock&#45;mode</code> — not listed as required here

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

<div id="dt-407b503f5c4e8c596f35">
<p style="white-space: pre-wrap">Input clock mode</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-8442e6f00f6e72cb056b"></a> <span id="dt-955ccb141a3711e1b0d9"><code>0</code></span>, <span id="dt-3aed280e656584fdc166"><code>1</code></span>, <span id="dt-1f22ecffe7e9584cd2a5"><code>2</code></span>

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

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

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

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">GPIO attached to the chip's enable pin</p>
</div>

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

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

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

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

### <code>pwr&#45;sel</code> — not listed as required here

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

<div id="dt-496e3c426a0636c92900">
<p style="white-space: pre-wrap">LP8501 specific property. Power selection for output channels.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-95c6ebd10dbcdbb6daef"></a> <span id="dt-deb28c33c1e3077a194f"><code>0</code></span>, <span id="dt-9c97788ec46a99632d0f"><code>1</code></span>, <span id="dt-315cbee60bba785ba713"><code>2</code></span>, <span id="dt-b666e85e92d369910543"><code>3</code></span>

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

### <code>&#35;address&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-923cb4a46001f70b6374"></a>

### <code>ti&#44;charge&#45;pump&#45;mode</code> — not listed as required here

<div id="dt-fa57dc505efaa074be14">
<p style="white-space: pre-wrap">Set the operating mode of the internal charge pump as defined in &lt;dt-bindings/leds/leds-lp55xx.h&gt;.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-12a7933b302657b720b6">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Default value (<code>default</code>):** <span id="dt-1d17b35937412d13d7e3"><code>3</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-fa3eea3a21d5d34af4c3"><code>3</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-d90aa6b3505f1c61a0d2"></a>

### <code>&#94;multi&#45;led&#64;&#91;0&#45;8&#93;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-ae164010d82462ad672e"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c0e6be68bee4d77dedbf">[<code>leds&#45;class&#45;multicolor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/leds-class-multicolor.md#dt-root>)</span>

<a id="dt-3b57efd416c15f779d1a"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-6930d1bdd781765f01ac"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-3418b18823c06b9fc4cb"></a>

**<code>reg</code> — not listed as required here**

**Maximum value (<code>maximum</code>):** <span id="dt-37fa00d12bbb2c58a95c"><code>8</code></span>

<a id="dt-4c7381ed47dd9a7d849a"></a>

**<code>&#35;address&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-47e7ac6ed48eda21bed4"><code>1</code></span>

<a id="dt-04f84bbace863f820cef"></a>

**<code>&#35;size&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-aa817acb6cbcb750b4ed"><code>0</code></span>

<a id="dt-4f61ce9bea5bc8eb7628"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-c46dc63beb6a0783728a"></a>

**<code>&#94;led&#64;&#91;0&#45;8&#93;&#36;</code> — name matches this regular expression**

**Value type (<code>type</code>):** <span id="dt-6af46e56772649504c9f"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9148345c06145b85fba8">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-da413e9215245c7dd59c"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<a id="dt-fd7bfd37204b0c2959d2"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-f5d69018e8860c947508"></a>

**<code>led&#45;cur</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2c7331ff2e9563d5e34d">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint8</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-cb434e6bda91f9109635>)</span>

<div id="dt-6a600fde6a5491bd112c">
<p style="white-space: pre-wrap">Current setting at each LED channel (mA x10, 0 if LED is not connected)</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-72c2814b53630ed1de5b"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-332765a63489c5207a11"><code>255</code></span>

<a id="dt-6df05f94e06334abb1a9"></a>

**<code>max&#45;cur</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-488a587337a76ef552d7">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint8</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-cb434e6bda91f9109635>)</span>

<div id="dt-e02f6215c7b75e993949">
<p style="white-space: pre-wrap">Maximum current at each LED channel.</p>
</div>

<a id="dt-f9e91d2e5858aa6d87a9"></a>

**<code>reg</code> — required here**

**Maximum value (<code>maximum</code>):** <span id="dt-c72140d3084b65766540"><code>8</code></span>

**Required in this object (<code>required</code>):** <a id="dt-b51f24153e261acde2a9"></a> <span id="dt-e525ccd92e0a8c19b656"><code>&#34;reg&#34;</code></span>

<a id="dt-bb5052da11c4ea87cae9"></a>

### <code>&#94;led&#64;&#91;0&#45;8&#93;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-a9f20e8fdbed51278513"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9c16fbdb301af01bbe36">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-79a1684bd687a97c69b6"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-9bf306eb91cdb59f0abf"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-8d01149589f103deae34"></a>

**<code>led&#45;cur</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1a33c95ada9eaf2a508f">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint8</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-cb434e6bda91f9109635>)</span>

<div id="dt-d6725b4cbfbc8341a95a">
<p style="white-space: pre-wrap">Current setting at each LED channel (mA x10, 0 if LED is not connected)</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-bdeb5a2ee73c01e49f0d"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-fe725f75fb87a4e4e5dd"><code>255</code></span>

<a id="dt-b94543ac4c3cf426336b"></a>

**<code>max&#45;cur</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d0a4e91ad17977c8698a">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint8</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-cb434e6bda91f9109635>)</span>

<div id="dt-b8000e674ec3ebec7a5d">
<p style="white-space: pre-wrap">Maximum current at each LED channel.</p>
</div>

<a id="dt-2c2ff087ebaabc0831c1"></a>

**<code>reg</code> — not listed as required here**

<div id="dt-27eed08c933f3fe0a7bb">
<p style="white-space: pre-wrap">Output channel for the LED.  This is zero based channel identifier and
the data sheet is a one based channel identifier.
reg value to output to LED output number</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-87241485f12a5ee640eb"></a> <span id="dt-3a37a93f4fa771d71a5c"><code>0</code></span>, <span id="dt-579aa2d5ebf4c9d3899b"><code>1</code></span>, <span id="dt-3eee3a4f602e05c9b36b"><code>2</code></span>, <span id="dt-7e506a545e829464e5c9"><code>3</code></span>, <span id="dt-662dad167ee707966aa0"><code>4</code></span>, <span id="dt-0fd9e461860c4a33fd03"><code>5</code></span>, <span id="dt-1708350c7bdd695ba32f"><code>6</code></span>, <span id="dt-46f938f63f089ba4bdf0"><code>7</code></span>, <span id="dt-71ce95a73fcdb36b2d09"><code>8</code></span>

<a id="dt-4402e9e66c91e65e3729"></a>

**<code>chan&#45;name</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8043a7aad151eb1c4911">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-2a83b3aa20853d1d81f8">
<p style="white-space: pre-wrap">name of channel</p>
</div>

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-3bfe73d6d5d592adab9c"></a>
>
> ### This rule must not match (<code>not</code>)
>
> > <a id="dt-f5021076855403a9683d"></a>
> >
> > #### Properties and child nodes (<code>properties</code>)
> >
> > <a id="dt-ec318efdc6e27fef954f"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-026175eea792feb254b1"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-e5c8657d0c1668702568"><code>&#34;ti&#44;lp8501&#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-6dd5df265f9bb2451b6b"></a>
>
> #### <code>pwr&#45;sel</code> — not listed as required here
>
> <code>false</code> — Not permitted by this property 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;reg&#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/leds/common.h&gt;
#include &lt;dt-bindings/leds/leds-lp55xx.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led-controller@32 {
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;
        compatible = "ti,lp8501";
        reg = &lt;0x32&gt;;
        clock-mode = /bits/ 8 &lt;2&gt;;
        pwr-sel = /bits/ 8 &lt;3&gt;;	/* D1~9 connected to VOUT */
        ti,charge-pump-mode = &lt;LP55XX_CP_BYPASS&gt;;

        led@0 {
            reg = &lt;0&gt;;
            chan-name = "d1";
            led-cur = /bits/ 8 &lt;0x14&gt;;
            max-cur = /bits/ 8 &lt;0x20&gt;;
        };

        led@1 {
            reg = &lt;1&gt;;
            chan-name = "d2";
            led-cur = /bits/ 8 &lt;0x14&gt;;
            max-cur = /bits/ 8 &lt;0x20&gt;;
        };

        led@2 {
            reg = &lt;2&gt;;
            chan-name = "d3";
            led-cur = /bits/ 8 &lt;0x14&gt;;
            max-cur = /bits/ 8 &lt;0x20&gt;;
        };

        led@3 {
            reg = &lt;3&gt;;
            chan-name = "d4";
            led-cur = /bits/ 8 &lt;0x14&gt;;
            max-cur = /bits/ 8 &lt;0x20&gt;;
        };

        led@4 {
            reg = &lt;4&gt;;
            chan-name = "d5";
            led-cur = /bits/ 8 &lt;0x14&gt;;
            max-cur = /bits/ 8 &lt;0x20&gt;;
        };

        led@5 {
            reg = &lt;5&gt;;
            chan-name = "d6";
            led-cur = /bits/ 8 &lt;0x14&gt;;
            max-cur = /bits/ 8 &lt;0x20&gt;;
        };

        led@6 {
            reg = &lt;6&gt;;
            chan-name = "d7";
            led-cur = /bits/ 8 &lt;0x14&gt;;
            max-cur = /bits/ 8 &lt;0x20&gt;;
        };

        led@7 {
            reg = &lt;7&gt;;
            chan-name = "d8";
            led-cur = /bits/ 8 &lt;0x14&gt;;
            max-cur = /bits/ 8 &lt;0x20&gt;;
        };

        led@8 {
            reg = &lt;8&gt;;
            chan-name = "d9";
            led-cur = /bits/ 8 &lt;0x14&gt;;
            max-cur = /bits/ 8 &lt;0x20&gt;;
        };
    };

    led-controller@33 {
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;
        compatible = "national,lp5523";
        reg = &lt;0x33&gt;;
        clock-mode = /bits/ 8 &lt;0&gt;;

        multi-led@2 {
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;
            reg = &lt;0x2&gt;;
            color = &lt;LED_COLOR_ID_RGB&gt;;
            function = LED_FUNCTION_STANDBY;
            linux,default-trigger = "heartbeat";

            led@0 {
                led-cur = /bits/ 8 &lt;50&gt;;
                max-cur = /bits/ 8 &lt;100&gt;;
                reg = &lt;0x0&gt;;
                color = &lt;LED_COLOR_ID_GREEN&gt;;
            };

            led@1 {
                led-cur = /bits/ 8 &lt;50&gt;;
                max-cur = /bits/ 8 &lt;100&gt;;
                reg = &lt;0x1&gt;;
                color = &lt;LED_COLOR_ID_BLUE&gt;;
            };

            led@6 {
                led-cur = /bits/ 8 &lt;50&gt;;
                max-cur = /bits/ 8 &lt;100&gt;;
                reg = &lt;0x6&gt;;
                color = &lt;LED_COLOR_ID_RED&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>

<p id="dt-comment-1"><strong>Line 43:</strong> <span> automode</span></p>

<p id="dt-comment-2"><strong>Line 44:</strong> <span> internal</span></p>

<p id="dt-comment-3"><strong>Line 45:</strong> <span> external</span></p>

<p id="dt-comment-4"><strong>Line 59:</strong> <span> D1~9 are connected to VDD</span></p>

<p id="dt-comment-5"><strong>Line 60:</strong> <span> D1~6 with VDD, D7~9 with VOUT</span></p>

<p id="dt-comment-6"><strong>Line 61:</strong> <span> D1~6 with VOUT, D7~9 with VDD</span></p>

<p id="dt-comment-7"><strong>Line 62:</strong> <span> D1~9 are connected to VOUT</span></p>

<p id="dt-comment-8"><strong>Line 75:</strong> <span> auto</span></p>

<p id="dt-comment-9"><strong>Line 141:</strong> <span> LED output D1</span></p>

<p id="dt-comment-10"><strong>Line 142:</strong> <span> LED output D2</span></p>

<p id="dt-comment-11"><strong>Line 143:</strong> <span> LED output D3</span></p>

<p id="dt-comment-12"><strong>Line 144:</strong> <span> LED output D4</span></p>

<p id="dt-comment-13"><strong>Line 145:</strong> <span> LED output D5</span></p>

<p id="dt-comment-14"><strong>Line 146:</strong> <span> LED output D6</span></p>

<p id="dt-comment-15"><strong>Line 147:</strong> <span> LED output D7</span></p>

<p id="dt-comment-16"><strong>Line 148:</strong> <span> LED output D8</span></p>

<p id="dt-comment-17"><strong>Line 149:</strong> <span> LED output D9</span></p>

</details>

---

# LED driver for LP5860 RGB LED from Texas Instruments.

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for LED driver for LP5860 RGB LED from Texas Instruments..

<!-- 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;leds&#45;lp5860&#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;Steffen Trumtrar &#60;kernel&#64;pengutronix&#46;de&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The LP5860 is multi-channel, I2C and SPI RGB LED Driver that can group RGB LEDs
into a LED group or control them individually.</p>
<p style="white-space: pre-wrap">For more product information please see the link below:
https://www.ti.com/lit/ds/symlink/lp5860.pdf</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>&#47;schemas&#47;spi&#47;spi&#45;peripheral&#45;props&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-spi/spi-peripheral-props.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;ti&#44;lp5860&#34;</code></span>

<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-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-720c5288299c2f9b3c3a"></a>

### <code>&#94;multi&#45;led&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-ca9f04bbb2bfec269daa"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3c63296425b1ffa81091">[<code>leds&#45;class&#45;multicolor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/leds-class-multicolor.md#dt-root>)</span>

<a id="dt-9bd1ad423282878ff7b0"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-8cbb1694868a808ba1b8"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-ca5b493733a93ae62623"></a>

**<code>reg</code> — not listed as required here**

**Minimum value (<code>minimum</code>):** <span id="dt-bcc7005cb3de208b1832"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-3c2a611cc4406dd46848"><code>198</code></span>

<div id="dt-835ca8cd511da940040f">
<p style="white-space: pre-wrap">This property denotes the LED module number that is used for the child node.</p>
</div>

<a id="dt-5a203631ab58d482fd57"></a>

**<code>&#35;address&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-1a73b816fb9cc478752c"><code>1</code></span>

<a id="dt-ec918ef55619a0796d8a"></a>

**<code>&#35;size&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-5e293de07903110f6a5b"><code>0</code></span>

<a id="dt-bd3174eda38f09d94f00"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-4c1a6c9f09a8fb9bbe0e"></a>

**<code>&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression**

**Value type (<code>type</code>):** <span id="dt-e0e9bc42d66acdac6a15"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6e93b7a37a49b10e0ee5">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-8fd311fd76fade289af5"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<a id="dt-81a5faf53b3ddb40a723"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-7e482ab2e62b7d2e0982"></a>

**<code>reg</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-7ed5e324186afb4827a6"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-60b61dd07e9eda81451c"></a> <span id="dt-489d2ec64b5b78b00549"><code>&#34;reg&#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>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/leds/common.h&gt;

spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led-controller@0 {
        compatible = "ti,lp5860";
        reg = &lt;0x0&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        multi-led@0 {
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;
            reg = &lt;0x0&gt;;
            color = &lt;LED_COLOR_ID_RGB&gt;;

            led@0 {
                 reg = &lt;0x0&gt;;
                 color = &lt;LED_COLOR_ID_RED&gt;;
            };

            led@1 {
                 reg = &lt;0x1&gt;;
                 color = &lt;LED_COLOR_ID_GREEN&gt;;
            };

            led@2 {
                 reg = &lt;0x2&gt;;
                 color = &lt;LED_COLOR_ID_BLUE&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>

---

# LED driver for MAX77650 PMIC from Maxim Integrated.

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for LED driver for MAX77650 PMIC from Maxim Integrated..

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;leds&#45;max77650&#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;Bartosz Golaszewski &#60;bgolaszewski&#64;baylibre&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This module is part of the MAX77650 MFD device. For more details
see Documentation/devicetree/bindings/mfd/max77650.yaml.</p>
<p style="white-space: pre-wrap">The LED controller is represented as a sub-node of the PMIC node on
the device tree.</p>
<p style="white-space: pre-wrap">This device has three current sinks.</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;max77650&#45;led&#34;</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-ca1fa55752b8de825f3d"></a>

### <code>&#94;led&#64;&#91;0&#45;2&#93;&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e18de73f5a27532bfdd2">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-e67a1c86e5fbf8a5dcf9"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-fe2f68bc1a813bc88151"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-fa075d76e8e8063acf75"></a>

**<code>reg</code> — not listed as required here**

<div id="dt-fc98c607b26d7d8f1034">
<p style="white-space: pre-wrap">Index of the LED.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-0cbbee1af017a73c9cd1"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-2c2a4514e5ba6d12111e"><code>2</code></span>

**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;&#35;address&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;size&#45;cells&#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</span></p>

</details>

---

# LED driver for MT6360 PMIC from MediaTek Integrated.

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for LED driver for MT6360 PMIC from MediaTek Integrated..

<!-- 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;leds&#45;mt6360&#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;Gene Chen &#60;gene&#95;chen&#64;richtek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This module is part of the MT6360 MFD device.
see Documentation/devicetree/bindings/mfd/mediatek,mt6360.yaml
Add MT6360 LED driver include 2-channel Flash LED with torch/strobe mode,
and 4-channel RGB LED support Register/Flash/Breath Mode</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;mediatek&#44;mt6360&#45;led&#34;</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-41297294fa4ce68e3558"></a>

### <code>&#94;multi&#45;led&#64;&#91;0&#45;5&#93;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-4fd46eacbefbd98face3"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c9e99582b8fce154bde4">[<code>leds&#45;class&#45;multicolor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/leds-class-multicolor.md#dt-root>)</span>

<a id="dt-aeeb7809f70850a59a25"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-7fe9ed5ed34ae7d01167"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-13c3bd094d159e9f6de1"></a>

**<code>reg</code> — required here**

<div id="dt-904960a605f0800c6885">
<p style="white-space: pre-wrap">Index of the LED.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-b18286c12e7d714c2c0a"></a> <span id="dt-8244d9f938473d2ad6da"><code>0</code></span>, <span id="dt-730cd7eac2b6d2c2538e"><code>1</code></span>, <span id="dt-4458fa3b620a5fda1a54"><code>2</code></span>, <span id="dt-efeb9af241ed1ee04b4f"><code>3</code></span>, <span id="dt-51da4d7eda80733d81fa"><code>4</code></span>, <span id="dt-44075c1b76e6b440f930"><code>5</code></span>

<a id="dt-c1a9cbd8e717caa9c9c9"></a>

**<code>&#35;address&#45;cells</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-bacd74b487337e57872d"><code>1</code></span>

<a id="dt-e06ac16305fe987c48b5"></a>

**<code>&#35;size&#45;cells</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-b5db3997fb0dd7793f2f"><code>0</code></span>

<a id="dt-f0faeb56384a80fb1e45"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-274db9a7f583e2c33bd6"></a>

**<code>&#94;led&#64;&#91;0&#45;2&#93;&#36;</code> — name matches this regular expression**

**Value type (<code>type</code>):** <span id="dt-381911efd314bd5266f5"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f565e0490fab1c789509">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-78a96d492054f3472d48"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<a id="dt-d06dc00c72c61e4b8823"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-95f3ec70e82cfe90ed7d"></a>

**<code>reg</code> — required here**

**Allowed values (<code>enum</code>):** <a id="dt-e5e2eaed3d53dd522f04"></a> <span id="dt-024a99f69d782b04bb37"><code>0</code></span>, <span id="dt-0bb6abe7ca29ad8b0f90"><code>1</code></span>, <span id="dt-004852bea9243a1108f2"><code>2</code></span>

**Required in this object (<code>required</code>):** <a id="dt-cfb727a4c7a0981a355e"></a> <span id="dt-18f783fb4c4f8c5f9e1e"><code>&#34;reg&#34;</code></span>, <span id="dt-5ee7832ffd9e05f4252e"><code>&#34;color&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-573abafe0ffee609561b"></a> <span id="dt-74e3a61555c8c4c806df"><code>&#34;reg&#34;</code></span>, <span id="dt-3793ec80c81966f7aa58"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-93a89f433317aada0f43"><code>&#34;&#35;size&#45;cells&#34;</code></span>

<a id="dt-bc3178a6c674d0160157"></a>

### <code>&#94;led&#64;&#91;0&#45;5&#93;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-c4be1012ff60d8720f85"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e4afd620be3858bab1a4">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-919d29de0c809057d21b"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<div id="dt-145485dac3bd7d100516">
<p style="white-space: pre-wrap">Properties for a single LED.</p>
</div>

<a id="dt-61eecda24950cfe44d13"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-663b169946d027b64931"></a>

**<code>reg</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-4f8f91cda0c82a609ab9"></a> <span id="dt-249f7b7229c1e0ae9f40"><code>0</code></span>, <span id="dt-7a0dac823c447bd322e5"><code>1</code></span>, <span id="dt-1c67fa26ef32b3423c73"><code>2</code></span>, <span id="dt-bd69c1b2c299bdf3c767"><code>3</code></span>, <span id="dt-d056f87ec983f476dde4"><code>4</code></span>, <span id="dt-e8ad3ec8628c02ff0646"><code>5</code></span>

**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;&#35;address&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;size&#45;cells&#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/leds/common.h&gt;
led-controller {
    compatible = "mediatek,mt6360-led";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    multi-led@0 {
        reg = &lt;0&gt;;
        function = LED_FUNCTION_INDICATOR;
        color = &lt;LED_COLOR_ID_RGB&gt;;
        led-max-microamp = &lt;24000&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;
        led@0 {
            reg = &lt;0&gt;;
            color = &lt;LED_COLOR_ID_RED&gt;;
        };
        led@1 {
            reg = &lt;1&gt;;
            color = &lt;LED_COLOR_ID_GREEN&gt;;
        };
        led@2 {
            reg = &lt;2&gt;;
            color = &lt;LED_COLOR_ID_BLUE&gt;;
        };
    };
    led@3 {
        reg = &lt;3&gt;;
        function = LED_FUNCTION_INDICATOR;
        color = &lt;LED_COLOR_ID_WHITE&gt;;
        led-max-microamp = &lt;150000&gt;;
    };
    led@4 {
        reg = &lt;4&gt;;
        function = LED_FUNCTION_FLASH;
        color = &lt;LED_COLOR_ID_WHITE&gt;;
        function-enumerator = &lt;1&gt;;
        led-max-microamp = &lt;200000&gt;;
        flash-max-microamp = &lt;500000&gt;;
        flash-max-timeout-us = &lt;1024000&gt;;
    };
    led@5 {
        reg = &lt;5&gt;;
        function = LED_FUNCTION_FLASH;
        color = &lt;LED_COLOR_ID_WHITE&gt;;
        function-enumerator = &lt;2&gt;;
        led-max-microamp = &lt;200000&gt;;
        flash-max-microamp = &lt;500000&gt;;
        flash-max-timeout-us = &lt;1024000&gt;;
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">led-controller {
    compatible = "mediatek,mt6360-led";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led@0 {
        reg = &lt;0&gt;;
        function = LED_FUNCTION_INDICATOR;
        color = &lt;LED_COLOR_ID_RED&gt;;
        led-max-microamp = &lt;24000&gt;;
    };
    led@1 {
        reg = &lt;1&gt;;
        function = LED_FUNCTION_INDICATOR;
        color = &lt;LED_COLOR_ID_GREEN&gt;;
        led-max-microamp = &lt;24000&gt;;
    };
    led@2 {
        reg = &lt;2&gt;;
        function = LED_FUNCTION_INDICATOR;
        color = &lt;LED_COLOR_ID_BLUE&gt;;
        led-max-microamp = &lt;24000&gt;;
    };
    led@3 {
        reg = &lt;3&gt;;
        function = LED_FUNCTION_INDICATOR;
        color = &lt;LED_COLOR_ID_WHITE&gt;;
        led-max-microamp = &lt;150000&gt;;
    };
    led@4 {
        reg = &lt;4&gt;;
        function = LED_FUNCTION_FLASH;
        color = &lt;LED_COLOR_ID_WHITE&gt;;
        function-enumerator = &lt;1&gt;;
        led-max-microamp = &lt;200000&gt;;
        flash-max-microamp = &lt;500000&gt;;
        flash-max-timeout-us = &lt;1024000&gt;;
    };
    led@5 {
        reg = &lt;5&gt;;
        function = LED_FUNCTION_FLASH;
        color = &lt;LED_COLOR_ID_WHITE&gt;;
        function-enumerator = &lt;2&gt;;
        led-max-microamp = &lt;200000&gt;;
        flash-max-microamp = &lt;500000&gt;;
        flash-max-timeout-us = &lt;1024000&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>

<p id="dt-comment-1"><strong>Line 38:</strong> <span> LED output ISINK1</span></p>

<p id="dt-comment-2"><strong>Line 39:</strong> <span> LED output ISINK2</span></p>

<p id="dt-comment-3"><strong>Line 40:</strong> <span> LED output ISINK3</span></p>

<p id="dt-comment-4"><strong>Line 41:</strong> <span> LED output ISINKML</span></p>

<p id="dt-comment-5"><strong>Line 42:</strong> <span> LED output FLASH1</span></p>

<p id="dt-comment-6"><strong>Line 43:</strong> <span> LED output FLASH2</span></p>

</details>

---

# Multi-color LEDs connected to PWM

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for Multi-color LEDs connected to PWM.

<!-- 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;leds&#45;pwm&#45;multicolor&#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;Sven Schwermer &#60;sven&#46;schwermer&#64;disruptive&#45;technologies&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This driver combines several monochrome PWM LEDs into one multi-color
LED using the multicolor LED class.</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;pwm&#45;leds&#45;multicolor&#34;</code></span>

<a id="dt-19fbc5d6c1bc08da1c68"></a>

### <code>multi&#45;led</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-a601e78f50bde6a92094"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5e4ce5eb9dd359f48d3c">[<code>leds&#45;class&#45;multicolor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/leds-class-multicolor.md#dt-root>)</span>

<a id="dt-850b6df1fd018b5c206d"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-06a616ca378e5b0c5564"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-6d3e33bde0be8dfd6ace"></a>

**<code>max&#45;brightness</code> — not listed as required here**

<div id="dt-a612822b4929ba7b2328">
<p style="white-space: pre-wrap">Maximum brightness possible for the LED</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-44cd6cf6693533ebccfb">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<a id="dt-b9b1dcb69cb1e6df5489"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-07963273eeb12ff1189d"></a>

**<code>&#94;led&#45;&#91;0&#45;9a&#45;z&#93;&#43;&#36;</code> — name matches this regular expression**

**Value type (<code>type</code>):** <span id="dt-645160d06664376671ac"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a4962f9a8ad96b1813af">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-11c49d6ef07f2df17c17"></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-4b7d5e98ea84df7489d0"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-fec7aa7b6b211c88cbb8"></a>

**<code>pwms</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d8b2902697253627df71"><code>1</code></span>

<a id="dt-463eae7c8b8c5f663f93"></a>

**<code>pwm&#45;names</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-600879b7f304f8e397cd"></a>

**<code>active&#45;low</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-5cdfe49bdcf64fc26d7d"></a>

**<code>color</code> — required here**

<code>true</code> — No constraints added by this property rule.

**Required in this object (<code>required</code>):** <a id="dt-0d4a442d5be6cac36de9"></a> <span id="dt-d9c26b3084c88c775d79"><code>&#34;pwms&#34;</code></span>, <span id="dt-65fd27676e689707c7a9"><code>&#34;color&#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.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/leds/common.h&gt;

led-controller {
    compatible = "pwm-leds-multicolor";

    multi-led {
        color = &lt;LED_COLOR_ID_RGB&gt;;
        function = LED_FUNCTION_INDICATOR;
        max-brightness = &lt;65535&gt;;

        led-red {
            pwms = &lt;&amp;pwm1 0 1000000&gt;;
            color = &lt;LED_COLOR_ID_RED&gt;;
        };

        led-green {
            pwms = &lt;&amp;pwm2 0 1000000&gt;;
            color = &lt;LED_COLOR_ID_GREEN&gt;;
        };

        led-blue {
            pwms = &lt;&amp;pwm3 0 1000000&gt;;
            color = &lt;LED_COLOR_ID_BLUE&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>

---

# LEDs connected to PWM

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for LEDs connected to PWM.

<!-- 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;leds&#45;pwm&#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;Pavel Machek &#60;pavel&#64;ucw&#46;cz&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Each LED is represented as a sub-node of the pwm-leds device.  Each node's name represents the name of the corresponding LED.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;pwm&#45;leds&#34;</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-a526bf0c7efd4a2cc79b"></a>

### <code>&#94;led&#40;&#45;&#91;0&#45;9a&#45;f&#93;&#43;&#41;&#63;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-40d2ca64c81d312fec7b"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b335a054f1d2d49b1858">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-236bbd6fd8350c956d98"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-276a631dcc1071b479b2"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-bc0e92dbbb7ec96fae22"></a>

**<code>pwms</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-3e8103b7553c0f1e1ba5"><code>1</code></span>

<a id="dt-f9e97afc02b6c85a8346"></a>

**<code>pwm&#45;names</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-844bd1e158c3960cb44f"></a>

**<code>max&#45;brightness</code> — required here**

<div id="dt-eea30189148dcda263fd">
<p style="white-space: pre-wrap">Maximum brightness possible for the LED</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1e7d19ff3c045f156485">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<a id="dt-9eb64195c9fb57ba7177"></a>

**<code>default&#45;brightness</code> — not listed as required here**

<div id="dt-48d1874756c4666b92a5">
<p style="white-space: pre-wrap">Brightness to be set if LED's default state is on. Used only during initialization. If the option is not set then max brightness is used.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-971fda59e88d798b0855">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<a id="dt-ef15ba0c87f67aae9391"></a>

**<code>enable&#45;gpios</code> — not listed as required here**

<div id="dt-1daf6d4af495126f42eb">
<p style="white-space: pre-wrap">GPIO for LED hardware enable control. Set active when brightness is non-zero and inactive when brightness is zero. The GPIO default state follows the "default-state" property.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-675611630e10fe07d1a4"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-4580ac82e583ae0b7504"></a> <span id="dt-6ab9920a875aa783f474"><code>&#34;pwms&#34;</code></span>, <span id="dt-2ccf2b36c10f6c0d2278"><code>&#34;max&#45;brightness&#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/leds/common.h&gt;

led-controller {
    compatible = "pwm-leds";

    led-1 {
        label = "omap4::keypad";
        pwms = &lt;&amp;twl_pwm 0 7812500&gt;;
        max-brightness = &lt;127&gt;;
    };

    led-2 {
        color = &lt;LED_COLOR_ID_GREEN&gt;;
        function = LED_FUNCTION_CHARGING;
        pwms = &lt;&amp;twl_pwmled 0 7812500&gt;;
        max-brightness = &lt;255&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>

---

# Qualcomm Light Pulse Generator

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for Qualcomm Light Pulse Generator.

<!-- 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;leds&#45;qcom&#45;lpg&#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;Bjorn Andersson &#60;bjorn&#46;andersson&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Qualcomm Light Pulse Generator consists of three different hardware blocks; a ramp generator with lookup table (LUT), the light pulse generator and a three channel current sink. These blocks are found in a wide range of Qualcomm PMICs. The light pulse generator (LPG) can also be used independently to output PWM signal for standard PWM applications. In this scenario, the LPG output should be routed to a specific PMIC GPIO by setting the GPIO pin mux to the special functions indicated in the datasheet, the TRILED driver for the channel will not be enabled in this configuration.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;qcom&#44;pm660l&#45;lpg&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;qcom&#44;pm8150b&#45;lpg&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;qcom&#44;pm8150l&#45;lpg&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;qcom&#44;pm8350c&#45;pwm&#34;</code></span>, <span id="dt-d29c3f554eb9a606c63a"><code>&#34;qcom&#44;pm8916&#45;pwm&#34;</code></span>, <span id="dt-6abdfa16ccd722b794e6"><code>&#34;qcom&#44;pm8941&#45;lpg&#34;</code></span>, <span id="dt-7775c6eae6cdca3e9809"><code>&#34;qcom&#44;pm8994&#45;lpg&#34;</code></span>, <span id="dt-9727c2c60e912d553bb7"><code>&#34;qcom&#44;pmc8180c&#45;lpg&#34;</code></span>, <span id="dt-1361d1fce62d86040b5e"><code>&#34;qcom&#44;pmi632&#45;lpg&#34;</code></span>, <span id="dt-a66cdf3fb4555997cc02"><code>&#34;qcom&#44;pmi8950&#45;pwm&#34;</code></span>, <span id="dt-9dfc548002c970ddb9ed"><code>&#34;qcom&#44;pmi8994&#45;lpg&#34;</code></span>, <span id="dt-fb22acbeafd709abc5c8"><code>&#34;qcom&#44;pmi8998&#45;lpg&#34;</code></span>, <span id="dt-126cc5375600a24450a4"><code>&#34;qcom&#44;pmk8550&#45;pwm&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;qcom&#44;pm6150l&#45;lpg&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;qcom&#44;pm8150l&#45;lpg&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9d5b9f6fd2f9759f6e43"></a> <span id="dt-73fb2f4b762df7b35870"><code>&#34;qcom&#44;pm8550&#45;pwm&#34;</code></span>, <span id="dt-4f2dd487e4b2e6e79827"><code>&#34;qcom&#44;pmh0101&#45;pwm&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;qcom&#44;pm8350c&#45;pwm&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> <a id="dt-a1b1c435b08c85ff96c7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4758c8f9c99bfa28b10c"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-12b3e48e4010cb944698"></a> <span id="dt-e46f645e6715baa60581"><code>&#34;qcom&#44;pm8937&#45;pwm&#34;</code></span>
>
> <a id="dt-c99d921c49bf15e79633"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-9e0f2ef968dd632f09b7"><code>&#34;qcom&#44;pm8916&#45;pwm&#34;</code></span>

<a id="dt-e97bb1133dd7fd6fa0e7"></a>

### <code>&#35;pwm&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-4552d6b6103babdf0959"><code>2</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-2e92bd3aa7d91ebb750d"></a>

### <code>qcom&#44;power&#45;source</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-421d7c05cf3c2b34c876">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-3cff870d668385f09de0">
<p style="white-space: pre-wrap">power-source used to drive the output, as defined in the datasheet. Should be specified if the TRILED block is present</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-9ac2c9dfada16883b99a"></a> <span id="dt-0ea50b8b5430baaa2d85"><code>0</code></span>, <span id="dt-54530bb3c5f0899fd9b2"><code>1</code></span>, <span id="dt-c63271f89216f4f4f01f"><code>3</code></span>

<a id="dt-0306cf5d0b501fb3c62e"></a>

### <code>qcom&#44;dtest</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e0318619f6475cfe450c">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;matrix</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d948f2945b497d9aa3c7>)</span>

<div id="dt-eb9730ee69a051bf52a8">
<p style="white-space: pre-wrap">A list of integer pairs, where each pair represent the dtest line the particular channel should be connected to and the flags denoting how the value should be outputted, as defined in the datasheet. The number of pairs should be the same as the number of channels.</p>
</div>

<a id="dt-885d5d853733ed0589e5"></a>

#### Array item rules (<code>items</code>)

> <a id="dt-f1dea23df60b10b6bc7b"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-32979651f021dafdae89"></a>
>
> **Item 1**
>
> > <div id="dt-1d4059b05e59b03cfc12">
> > <p style="white-space: pre-wrap">dtest line to attach</p>
> > </div>
>
> <a id="dt-7fbd9b0299d060527526"></a>
>
> **Item 2**
>
> > <div id="dt-295df9fbc5cc1542cdb2">
> > <p style="white-space: pre-wrap">flags for the attachment</p>
> > </div>

<a id="dt-f7a377ba07dccb476444"></a>

### <code>nvmem</code> — not listed as required here

<div id="dt-9c2a14343de9ca76c894">
<p style="white-space: pre-wrap">This property is required for PMICs that supports PPG, which is when a PMIC stores LPG per-channel data and pattern LUT in SDAM modules instead of in a LUT peripheral. For PMICs, such as PM8350C, per-channel data and pattern LUT is separated into 2 SDAM modules. In that case, phandles to both SDAM modules need to be specified.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1871695c59074a1160cb"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-db039d19e52e48804b2d"><code>2</code></span>

<a id="dt-9b27c333fc1331949120"></a>

### <code>nvmem&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-2f4470037f73585faf9f"><code>1</code></span>

<a id="dt-7e123d353f1961da4a94"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b067e1c19dbf2661fd73"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-133710bbfa1cc98a0379"><code>&#34;lpg&#95;chan&#95;sdam&#34;</code></span>

<a id="dt-ef1a29a7fc8d57060a0a"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-a188fcd4807fd57aa4e6"><code>&#34;lut&#95;sdam&#34;</code></span>

<a id="dt-58f9e15b4c8bdb440be8"></a>

### <code>qcom&#44;pbs</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-73997827cd1a4332ac2b">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

<div id="dt-353a445691587191e201">
<p style="white-space: pre-wrap">Phandle of the Qualcomm Programmable Boot Sequencer node (PBS). PBS node is used to trigger LPG pattern sequences for PMICs that support single SDAM PPG.</p>
</div>

<a id="dt-19fbc5d6c1bc08da1c68"></a>

### <code>multi&#45;led</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-a601e78f50bde6a92094"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5e4ce5eb9dd359f48d3c">[<code>leds&#45;class&#45;multicolor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/leds-class-multicolor.md#dt-root>)</span>

<a id="dt-850b6df1fd018b5c206d"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-06a616ca378e5b0c5564"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-99f9f80f12ede1d634fa"></a>

**<code>&#35;address&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-7ec149eb865d8bce773b"><code>1</code></span>

<a id="dt-30ffda9af37fb093b31b"></a>

**<code>&#35;size&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-c5a4e289911b8a5feb33"><code>0</code></span>

<a id="dt-b9b1dcb69cb1e6df5489"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-eaef131a20ac4b3c6bf6"></a>

**<code>&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#36;</code> — name matches this regular expression**

**Value type (<code>type</code>):** <span id="dt-9ef883fa2c054d4b1adb"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b447e53706d23c0e2b7e">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-00a5a16fcb4d134d6fbb"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<a id="dt-bcb8f3448c8269d58e23"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-f228964b1ecd71bd8b23"></a>

**<code>reg</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-7ef567c902b9b4a0e124"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-53930917fcc764b75183"></a> <span id="dt-44c329cc737f41551c52"><code>&#34;reg&#34;</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-f06251130361daeed295"></a>

### <code>&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-d874c9dd98e9a1072a6d"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-460d8ab39ec8c1468f88">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-3c5ebd0405b89160faed"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-362e22883eb0c50c80fe"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-b2555a8bcefd24011a93"></a>

**<code>reg</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-8a20ad025c426978c3cc"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-4ec89049e6858ed3fd5b"></a> <span id="dt-3d6548473fa4f29f0151"><code>&#34;reg&#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.

<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-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b5c9dbe70762f9ad7bb5"></a> <span id="dt-d017b1b1b5a0bb01c549"><code>&#34;qcom&#44;pm660l&#45;lpg&#34;</code></span>, <span id="dt-b1891799a94ae03bda89"><code>&#34;qcom&#44;pm8150b&#45;lpg&#34;</code></span>, <span id="dt-f7ddd2674cdadacec733"><code>&#34;qcom&#44;pm8150l&#45;lpg&#34;</code></span>, <span id="dt-1afa9c359b113daf77e4"><code>&#34;qcom&#44;pm8916&#45;pwm&#34;</code></span>, <span id="dt-f4184526859cd3d4f83a"><code>&#34;qcom&#44;pm8941&#45;lpg&#34;</code></span>, <span id="dt-5781a391973aa6c79186"><code>&#34;qcom&#44;pm8994&#45;lpg&#34;</code></span>, <span id="dt-a6fb5890966cb504376f"><code>&#34;qcom&#44;pmc8180c&#45;lpg&#34;</code></span>, <span id="dt-cda04678bfdba417244f"><code>&#34;qcom&#44;pmi8950&#45;pwm&#34;</code></span>, <span id="dt-d165f90539702b545a9b"><code>&#34;qcom&#44;pmi8994&#45;lpg&#34;</code></span>, <span id="dt-56f4171c18410f47cb0f"><code>&#34;qcom&#44;pmi8998&#45;lpg&#34;</code></span>, <span id="dt-8d2dd7f81fc9bd280a02"><code>&#34;qcom&#44;pmk8550&#45;pwm&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-9f8b0919148e67d21480"></a>
> >
> > **<code>nvmem</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-c06a1493ef580d994da0"></a>
> >
> > **<code>nvmem&#45;names</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;qcom&#44;pmi632&#45;lpg&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-a0f059ab0ff3e38f28a1"></a>
> >
> > **<code>nvmem</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-91ce2526be5704a0d87d"><code>1</code></span>
> >
> > <a id="dt-148321e31f372694b8de"></a>
> >
> > **<code>nvmem&#45;names</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-cfb8745bc272e6a93224"><code>1</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;qcom&#44;pm8350c&#45;pwm&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-4a72a51329b1c5206f1c"></a>
> >
> > **<code>nvmem</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-8386479aac2eeb1f210f"><code>2</code></span>
> >
> > <a id="dt-ee42df81e3f397d90421"></a>
> >
> > **<code>nvmem&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-e770d0250e3f488f863d"><code>2</code></span>

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/leds/common.h&gt;

led-controller {
  compatible = "qcom,pmi8994-lpg";

  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  qcom,power-source = &lt;1&gt;;

  qcom,dtest = &lt;0 0&gt;,
               &lt;0 0&gt;,
               &lt;0 0&gt;,
               &lt;4 1&gt;;

  led@1 {
    reg = &lt;1&gt;;
    color = &lt;LED_COLOR_ID_GREEN&gt;;
    function = LED_FUNCTION_INDICATOR;
    function-enumerator = &lt;1&gt;;
  };

  led@2 {
    reg = &lt;2&gt;;
    color = &lt;LED_COLOR_ID_GREEN&gt;;
    function = LED_FUNCTION_INDICATOR;
    function-enumerator = &lt;0&gt;;
    default-state = "on";
  };

  led@3 {
    reg = &lt;3&gt;;
    color = &lt;LED_COLOR_ID_GREEN&gt;;
    function = LED_FUNCTION_INDICATOR;
    function-enumerator = &lt;2&gt;;
  };

  led@4 {
    reg = &lt;4&gt;;
    color = &lt;LED_COLOR_ID_GREEN&gt;;
    function = LED_FUNCTION_INDICATOR;
    function-enumerator = &lt;3&gt;;
  };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/leds/common.h&gt;

led-controller {
  compatible = "qcom,pmi8994-lpg";

  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  qcom,power-source = &lt;1&gt;;

  multi-led {
    color = &lt;LED_COLOR_ID_RGB&gt;;
    function = LED_FUNCTION_STATUS;

    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led@1 {
      reg = &lt;1&gt;;
      color = &lt;LED_COLOR_ID_RED&gt;;
    };

    led@2 {
      reg = &lt;2&gt;;
      color = &lt;LED_COLOR_ID_GREEN&gt;;
    };

    led@3 {
      reg = &lt;3&gt;;
      color = &lt;LED_COLOR_ID_BLUE&gt;;
    };
  };
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">pwm-controller {
  compatible = "qcom,pm8916-pwm";
  #pwm-cells = &lt;2&gt;;
};
</code></pre>

<pre id="dt-cf8a683b5a963eb1c566"><code class="language-dts">#include &lt;dt-bindings/leds/common.h&gt;

led-controller {
  compatible = "qcom,pmi632-lpg";
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;
  #pwm-cells = &lt;2&gt;;
  nvmem-names = "lpg_chan_sdam";
  nvmem = &lt;&amp;pmi632_sdam_7&gt;;
  qcom,pbs = &lt;&amp;pmi632_pbs_client3&gt;;

  led@1 {
    reg = &lt;1&gt;;
    color = &lt;LED_COLOR_ID_RED&gt;;
    label = "red";
  };

  led@2 {
    reg = &lt;2&gt;;
    color = &lt;LED_COLOR_ID_GREEN&gt;;
    label = "green";
  };

  led@3 {
    reg = &lt;3&gt;;
    color = &lt;LED_COLOR_ID_BLUE&gt;;
    label = "blue";
  };
};
</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>

---

# Richtek RT4505 Single Channel LED Driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for Richtek RT4505 Single Channel LED Driver.

<!-- 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;leds&#45;rt4505&#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;ChiYuan Huang &#60;cy&#95;huang&#64;richtek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The RT4505 is a flash LED driver that can support up to 375mA and 1.5A for
torch and flash mode, respectively.</p>
<pre><code>The data sheet can be found at:
  https://www.richtek.com/assets/product_file/RT4505/DS4505-02.pdf</code></pre>
</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;richtek&#44;rt4505&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C slave address of the controller.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-9b79c19257f929c2eb86"></a>

### <code>led</code> — not listed as 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>

<a id="dt-0464810ac301d76e7629"></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;reg&#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/leds/common.h&gt;

i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  led-controller@63 {
    compatible = "richtek,rt4505";
    reg = &lt;0x63&gt;;

    rt4505_flash: led {
      function = LED_FUNCTION_FLASH;
      color = &lt;LED_COLOR_ID_WHITE&gt;;
      led-max-microamp = &lt;375000&gt;;
      flash-max-microamp = &lt;1500000&gt;;
      flash-max-timeout-us = &lt;800000&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>

---

# SGMICRO SGM3140 500mA Buck/Boost Charge Pump LED Driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for SGMICRO SGM3140 500mA Buck/Boost Charge Pump LED Driver.

<!-- 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;leds&#45;sgm3140&#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;Luca Weiss &#60;luca&#64;z3ntu&#46;xyz&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The SGM3140 is a current-regulated charge pump which can regulate two current
levels for Flash and Torch modes.</p>
<pre><code>The data sheet can be found at:
  http://www.sg-micro.com/uploads/soft/20190626/1561535688.pdf</code></pre>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;ocs&#44;ocp8110&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;richtek&#44;rt5033&#45;led&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;sgmicro&#44;sgm3140&#34;</code></span>

<a id="dt-0d068058a6f4b36b1505"></a>

### <code>enable&#45;gpios</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-3ea466d5c9323bd58f62"><code>1</code></span>

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">A connection to the 'EN' pin.</p>
</div>

<a id="dt-28be50e8a4485ff65168"></a>

### <code>flash&#45;gpios</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-317cd2d3de24e85f95d6"><code>1</code></span>

<div id="dt-a6641e8d31a8cd631b25">
<p style="white-space: pre-wrap">A connection to the 'FLASH' 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">Regulator providing power to the 'VIN' pin.</p>
</div>

<a id="dt-9b79c19257f929c2eb86"></a>

### <code>led</code> — not listed as 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>

<a id="dt-0464810ac301d76e7629"></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;flash&#45;gpios&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;enable&#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-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;

led-controller {
    compatible = "sgmicro,sgm3140";
    flash-gpios = &lt;&amp;pio 3 24 GPIO_ACTIVE_HIGH&gt;; /* PD24 */
    enable-gpios = &lt;&amp;pio 2 3 GPIO_ACTIVE_HIGH&gt;; /* PC3 */
    vin-supply = &lt;&amp;reg_dcdc1&gt;;

    sgm3140_flash: led {
        function = LED_FUNCTION_FLASH;
        color = &lt;LED_COLOR_ID_WHITE&gt;;
        flash-max-timeout-us = &lt;250000&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>

---

# 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>

---

# Flash LED driver for MT6370 PMIC from MediaTek Integrated.

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for Flash LED driver for MT6370 PMIC from MediaTek Integrated..

<!-- 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;mediatek&#44;mt6370&#45;flashlight&#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;Alice Chen &#60;alice&#95;chen&#64;richtek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This module is part of the MT6370 MFD device.
Add MT6370 flash LED driver include 2-channel flash LED support Torch/Strobe Mode.</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;mediatek&#44;mt6370&#45;flashlight&#34;</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-cb3230c0c81179b190d4"></a>

### <code>&#94;led&#64;&#91;0&#45;1&#93;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-d245327e10cc9589bd5b"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ca5faeee67e8262cfde6">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-4a5993de199df85da86f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-dfd94574c1ad7c729fc1"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-1e6d81a98cb11aaab3e9"></a>

**<code>reg</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-0ad270ece038b5a23efc"></a> <span id="dt-f6b63608cf841145ddc0"><code>0</code></span>, <span id="dt-185a8b5b23a26f5fd396"><code>1</code></span>

**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;&#35;address&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;size&#45;cells&#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>

---

# LED driver for MT6370 PMIC from MediaTek Integrated.

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for LED driver for MT6370 PMIC from MediaTek Integrated..

<!-- 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;mediatek&#44;mt6370&#45;indicator&#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;Alice Chen &#60;alice&#95;chen&#64;richtek&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This module is part of the MT6370 MFD device.
Add MT6370 LED driver include 4-channel RGB LED support Register/PWM/Breath Mode</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;mediatek&#44;mt6370&#45;indicator&#34;</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-c85ad3830da00d95e9f9"></a>

### <code>&#94;multi&#45;led&#64;&#91;0&#45;3&#93;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-56a70ae902000838b3be"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5842bd950e8877863d17">[<code>leds&#45;class&#45;multicolor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/leds-class-multicolor.md#dt-root>)</span>

<a id="dt-187dd4b28382ff2b0b9d"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-d4cbd611f6869b465cdd"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-55b3e98a3c9e60f8439d"></a>

**<code>reg</code> — required here**

**Allowed values (<code>enum</code>):** <a id="dt-718d42e87237497940df"></a> <span id="dt-6e6a04615ac8ae994f75"><code>0</code></span>, <span id="dt-d9651028e69f069d9c21"><code>1</code></span>, <span id="dt-8f8e75e0b2c4eb363c17"><code>2</code></span>, <span id="dt-f08ef1dafb7961f8f121"><code>3</code></span>

<a id="dt-8e04d58a1bb344f64ab2"></a>

**<code>&#35;address&#45;cells</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-22d92c28bb31cb833902"><code>1</code></span>

<a id="dt-6e04b4d628a49e38b6f9"></a>

**<code>&#35;size&#45;cells</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-bf0de9ebb3543252a5aa"><code>0</code></span>

<a id="dt-ec85eb1383d1d4307714"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-649027a72183fc49fe18"></a>

**<code>&#94;led&#64;&#91;0&#45;2&#93;&#36;</code> — name matches this regular expression**

**Value type (<code>type</code>):** <span id="dt-4d2cf7b84680d813152c"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-48622c70e93b71b89b23">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-a8d26312969c4da4903d"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<a id="dt-b19c5000980469da4a0c"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-fbdb753c45fb3c471715"></a>

**<code>reg</code> — required here**

**Allowed values (<code>enum</code>):** <a id="dt-6054dbb82297bf1723d3"></a> <span id="dt-3851067754e33ab6686e"><code>0</code></span>, <span id="dt-f5bbdbffcf0c76043226"><code>1</code></span>, <span id="dt-f34cf457568b22ffb067"><code>2</code></span>

**Required in this object (<code>required</code>):** <a id="dt-ec4979f267343607cb11"></a> <span id="dt-ba1a0b781228d84e0f22"><code>&#34;reg&#34;</code></span>, <span id="dt-7b69ca76ea4917b9b969"><code>&#34;color&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8c9d72c3923d83673f19"></a> <span id="dt-e3cefdf71a9d1ecb8ed6"><code>&#34;reg&#34;</code></span>, <span id="dt-1ed1d0318bf88e937993"><code>&#34;color&#34;</code></span>, <span id="dt-b9a56aa8758c09a5efde"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-e1f083104a6d132e8ce9"><code>&#34;&#35;size&#45;cells&#34;</code></span>

<a id="dt-27d6c783b4ca9de9aab7"></a>

### <code>&#94;led&#64;&#91;0&#45;3&#93;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-c04d7a8bedd991a9c193"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6470b3f1c0cb069f8653">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-679eb5ada28301673dfb"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-a898a1c0b5e2a7021657"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-a61165d2b26e0226dfce"></a>

**<code>reg</code> — required here**

**Allowed values (<code>enum</code>):** <a id="dt-c975e5431dd3356385b3"></a> <span id="dt-bea637e7d5f204360f84"><code>0</code></span>, <span id="dt-20550ae54e754cf19786"><code>1</code></span>, <span id="dt-b3c1217f808f08c1e25c"><code>2</code></span>, <span id="dt-ec30af981f81e1c40cbc"><code>3</code></span>

**Required in this object (<code>required</code>):** <a id="dt-632aea05cfce42a98982"></a> <span id="dt-2a9ce406e0f197b1a49d"><code>&#34;reg&#34;</code></span>, <span id="dt-5b7d6519b1eca30d41e3"><code>&#34;color&#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>, <span id="dt-ee7433925c1528c16b99"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;size&#45;cells&#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>

---

# NXP PCA9532 LED Dimmer

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for NXP PCA9532 LED Dimmer.

<!-- 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;nxp&#44;pca953x&#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;Riku Voipio &#60;riku&#46;voipio&#64;iki&#46;fi&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The PCA9532 family is SMBus I/O expander optimized for dimming LEDs.
The PWM support 256 steps.</p>
<pre><code>For more product information please see the link below:
  https://www.nxp.com/docs/en/data-sheet/PCA9532.pdf</code></pre>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;nxp&#44;pca9530&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;nxp&#44;pca9531&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;nxp&#44;pca9532&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;nxp&#44;pca9533&#34;</code></span>

<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-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-a63b03dba047b6fd45f0"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d7da1f39f1fcedec6860"><code>16</code></span>

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-108b6dfae6388599edae"></a>

### <code>&#94;led&#45;&#91;0&#45;9a&#45;z&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-e75c121fbef53e7cb42f"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5f133bcd6f7ee482e5ae">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-183f36689d72dfc1d748"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-20f108451dc9ef8ad444"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-07589445589628e1c5d0"></a>

**<code>type</code> — not listed as required here**

<div id="dt-1db1a1f9069c1d8e5c0f">
<p style="white-space: pre-wrap">Output configuration, see include/dt-bindings/leds/leds-pca9532.h</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-645d1b7f231aa5c3adca">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Default value (<code>default</code>):** <span id="dt-aef7a4fd8bf65e59c6ab"><code>0</code></span>

**Minimum value (<code>minimum</code>):** <span id="dt-2845641da0352e12f20c"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-d85edeaf4a3108521abf"><code>4</code></span>

**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;reg&#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/leds/leds-pca9532.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led-controller@62 {
        compatible = "nxp,pca9533";
        reg = &lt;0x62&gt;;

        led-1 {
            label = "pca:red:power";
            type = &lt;PCA9532_TYPE_LED&gt;;
        };

        led-2 {
            label = "pca:green:power";
            type = &lt;PCA9532_TYPE_LED&gt;;
        };

        led-3 {
            type = &lt;PCA9532_TYPE_LED&gt;;
            default-state = "on";
        };

        led-4 {
            type = &lt;PCA9532_TYPE_LED&gt;;
            default-state = "keep";
        };
    };
};
</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>

---

# NXP PCA955X LED controllers

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for NXP PCA955X LED controllers.

<!-- 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;nxp&#44;pca955x&#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;Nate Case &#60;ncase&#64;xes&#45;inc&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The PCA955x family of chips are I2C LED blinkers whose pins not used
to control LEDs can be used as general purpose I/Os. The GPIO pins can
be input or output, and output pins can also be pulse-width controlled.</p>
<p style="white-space: pre-wrap">For more product information please see the link below:
- https://www.nxp.com/docs/en/data-sheet/PCA9552.pdf</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;nxp&#44;pca9550&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;nxp&#44;pca9551&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;nxp&#44;pca9552&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;ibm&#44;pca9552&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;nxp&#44;pca9553&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-a63b03dba047b6fd45f0"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d7da1f39f1fcedec6860"><code>16</code></span>

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-f06251130361daeed295"></a>

### <code>&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-d874c9dd98e9a1072a6d"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-460d8ab39ec8c1468f88">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-3c5ebd0405b89160faed"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-362e22883eb0c50c80fe"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-b2555a8bcefd24011a93"></a>

**<code>reg</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-8a20ad025c426978c3cc"><code>1</code></span>

<a id="dt-c9748e52aa766a5d5e84"></a>

**<code>type</code> — not listed as required here**

<div id="dt-6470a0fcd635d1d38c3b">
<p style="white-space: pre-wrap">Output configuration, see include/dt-bindings/leds/leds-pca955x.h</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-90096384f30666f0c3c3">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Default value (<code>default</code>):** <span id="dt-dc7add11f728740897b6"><code>0</code></span>

**Minimum value (<code>minimum</code>):** <span id="dt-f69e8223da9fbb43bcaa"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-fa29c773e8aa219c0e06"><code>2</code></span>

**Required in this object (<code>required</code>):** <a id="dt-4ec89049e6858ed3fd5b"></a> <span id="dt-3d6548473fa4f29f0151"><code>&#34;reg&#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-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b5c9dbe70762f9ad7bb5"></a> <span id="dt-d017b1b1b5a0bb01c549"><code>&#34;nxp&#44;pca9550&#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-87801dfbc566c3d3ad65"></a>
> >
> > **<code>&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-50a00471e953c1c65156"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-1219750cf0966190b716"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-9776b1f742dc5880fff1"><code>1</code></span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;nxp&#44;pca9551&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-8b91e530d80f7cc46df3"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-82106165dc7708b2637c"></a>
> >
> > **<code>&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-d112b260394d84154cf4"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-72e061e6193e540eb300"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-3d28a14625fc085fe68e"><code>7</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;nxp&#44;pca9552&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;ibm&#44;pca9552&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-c8fcd31065f7e965d191"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-1f95622701d4ff733ab0"></a>
> >
> > **<code>&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-805e68e1eaa762a2b654"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-87318dc5a022470d41aa"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-a15e0762b5d91568592c"><code>15</code></span>

<a id="dt-e198e1d898e7c60d5fed"></a>

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-3de4a4db25c09109abf4"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-2f146490cc52d0a82c19"></a> <span id="dt-b1038ed41acf3cc462f9"><code>&#34;nxp&#44;pca9553&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-9fff9961ce6722b392f4"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-bb4773634e9e21230223"></a>
> >
> > **<code>&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-e98ac67cab01809414a1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-a0b99160b95c5b4aebca"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-e0650d9d1e4ce6006621"><code>3</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/leds/leds-pca955x.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led-controller@60 {
        compatible = "nxp,pca9552";
        reg = &lt;0x60&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        led@0 {
            reg = &lt;0&gt;;
            label = "red:power";
            linux,default-trigger = "default-on";
            type = &lt;PCA955X_TYPE_LED&gt;;
        };
        led@1 {
            reg = &lt;1&gt;;
            label = "green:power";
            type = &lt;PCA955X_TYPE_LED&gt;;
        };
        led@2 {
            reg = &lt;2&gt;;
            label = "pca9552:yellow";
            type = &lt;PCA955X_TYPE_LED&gt;;
        };
        led@3 {
            reg = &lt;3&gt;;
            label = "pca9552:white";
            type = &lt;PCA955X_TYPE_LED&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>

---

# NXP PCA963x LED controllers

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for NXP PCA963x LED controllers.

<!-- 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;nxp&#44;pca963x&#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;Laurent Pinchart &#60;laurent&#46;pinchart&#64;ideasonboard&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The NXP PCA963x are I2C-controlled LED drivers optimized for
Red/Green/Blue/Amber (RGBA) color mixing applications. Each LED is
individually controllable and has its own PWM controller.</p>
<p style="white-space: pre-wrap">Datasheets are available at</p>
<p style="white-space: pre-wrap">- https://www.nxp.com/docs/en/data-sheet/PCA9632.pdf
- https://www.nxp.com/docs/en/data-sheet/PCA9633.pdf
- https://www.nxp.com/docs/en/data-sheet/PCA9634.pdf
- https://www.nxp.com/docs/en/data-sheet/PCA9635.pdf</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;nxp&#44;pca9632&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;nxp&#44;pca9633&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;nxp&#44;pca9634&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;nxp&#44;pca9635&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-90c3cb9826f5e698ae8a"></a>

### <code>nxp&#44;hw&#45;blink</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-100a8e9bc0df258b3f23"><code>&#34;boolean&#34;</code></span>

<div id="dt-111965fa92be95449816">
<p style="white-space: pre-wrap">Use hardware blinking instead of software blinking</p>
</div>

<a id="dt-dd388a6e192adb815a10"></a>

### <code>nxp&#44;inverted&#45;out</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-6c2c49eb0a676e907630"><code>&#34;boolean&#34;</code></span>

<div id="dt-d71ff9c3ea601372e771">
<p style="white-space: pre-wrap">Invert the polarity of the generated PWM.</p>
</div>

<a id="dt-f59da9bb1c2ed186a7c3"></a>

### <code>nxp&#44;period&#45;scale</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b2badd3f3d1840c6b440">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-6a1e4fa5740019dcfc2e">
<p style="white-space: pre-wrap">In some configurations, the chip blinks faster than expected. This parameter provides a scaling ratio (fixed point, decimal divided by 1000) to compensate, e.g. 1300=1.3x and 750=0.75x.</p>
</div>

<a id="dt-0bf7683eb27715905a2b"></a>

### <code>nxp&#44;totem&#45;pole</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-d8237b7fbf6b20e97683"><code>&#34;boolean&#34;</code></span>

<div id="dt-91684c395a8b490421a2">
<p style="white-space: pre-wrap">Use totem pole (push-pull) instead of open-drain (pca9632 defaults to open-drain, newer chips to totem pole).</p>
</div>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-4a3c606d81fba079f0b7"></a>

### <code>&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-b31522a8a03e3ef95647"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-daed6f62ff8753465b81">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-f6b0b39b07568f7f9631"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-efaa4801cda70b4dba4d"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-e9b3de7c6ecb4ef773b5"></a>

**<code>reg</code> — required here**

**Minimum value (<code>minimum</code>):** <span id="dt-f2d86c9a1b1c87eb503a"><code>0</code></span>

**Required in this object (<code>required</code>):** <a id="dt-36119caabf85ddc332de"></a> <span id="dt-e0154bce9bca0b8cc4e1"><code>&#34;reg&#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-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b5c9dbe70762f9ad7bb5"></a> <span id="dt-d017b1b1b5a0bb01c549"><code>&#34;nxp&#44;pca9632&#34;</code></span>, <span id="dt-b1891799a94ae03bda89"><code>&#34;nxp&#44;pca9633&#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-681113d3f91024e9a518"></a>
> >
> > **<code>&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-ae5a49b27f663798b3b6"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-d5ec8726c51425edc233"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-015e0812c7e7727a083e"><code>3</code></span>
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-7fb969d41394745ecdc2"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-bcbcfdd6ceb00a108365"></a>
> >
> > **<code>&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-7505c712b1aef91fc95f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-13874f39c907cb98af79"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum value (<code>maximum</code>):** <span id="dt-043fb005c0eca64d247a"><code>7</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/leds/common.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led-controller@62 {
        compatible = "nxp,pca9632";
        reg = &lt;0x62&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        led@0 {
                reg = &lt;0&gt;;
                color = &lt;LED_COLOR_ID_RED&gt;;
                function = LED_FUNCTION_STATUS;
        };

        led@1 {
                reg = &lt;1&gt;;
                color = &lt;LED_COLOR_ID_GREEN&gt;;
                function = LED_FUNCTION_STATUS;
        };

        led@2 {
                reg = &lt;2&gt;;
                color = &lt;LED_COLOR_ID_BLUE&gt;;
                function = LED_FUNCTION_STATUS;
        };

        led@3 {
                reg = &lt;3&gt;;
                color = &lt;LED_COLOR_ID_WHITE&gt;;
                function = LED_FUNCTION_STATUS;
        };
    };
};
</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>

---

# NXP PCA995x LED controllers

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for NXP PCA995x LED controllers.

<!-- 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;nxp&#44;pca995x&#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;Isai Gaspar &#60;isaiezequiel&#46;gaspar&#64;nxp&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Marek Vasut &#60;marex&#64;denx&#46;de&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The NXP PCA995x family are programmable LED controllers connected via I2C that can drive separate lines. Each of them can be individually switched on and off, and brightness can be controlled via individual PWM.
Datasheets are available at https://www.nxp.com/docs/en/data-sheet/PCA9952_PCA9955.pdf https://www.nxp.com/docs/en/data-sheet/PCA9955B.pdf https://www.nxp.com/docs/en/data-sheet/PCA9956B.pdf</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;nxp&#44;pca9952&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;nxp&#44;pca9955b&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;nxp&#44;pca9956b&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-4a3c606d81fba079f0b7"></a>

### <code>&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-b31522a8a03e3ef95647"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-daed6f62ff8753465b81">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-f6b0b39b07568f7f9631"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-efaa4801cda70b4dba4d"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-e9b3de7c6ecb4ef773b5"></a>

**<code>reg</code> — required here**

**Minimum value (<code>minimum</code>):** <span id="dt-f2d86c9a1b1c87eb503a"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-f5e97f6365e558952203"><code>15</code></span>

**Required in this object (<code>required</code>):** <a id="dt-36119caabf85ddc332de"></a> <span id="dt-e0154bce9bca0b8cc4e1"><code>&#34;reg&#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/leds/common.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led-controller@1 {
        compatible = "nxp,pca9955b";
        reg = &lt;0x01&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        led@0 {
            reg = &lt;0x0&gt;;
            color = &lt;LED_COLOR_ID_RED&gt;;
            function = LED_FUNCTION_POWER;
        };

        led@2 {
            reg = &lt;0x2&gt;;
            color = &lt;LED_COLOR_ID_WHITE&gt;;
            function = LED_FUNCTION_STATUS;
        };
    };
};
</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>

---

# ON Semiconductor NCP5623 multi-LED Driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for ON Semiconductor NCP5623 multi-LED Driver.

<!-- 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;onnn&#44;ncp5623&#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;Abdel Alkuor &#60;alkuor&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">NCP5623 Triple Output I2C Controlled LED Driver. https://www.onsemi.com/pdf/datasheet/ncp5623-d.pdf</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;onnn&#44;ncp5623&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-917ea1ad16cfd55f8ef7"></a> <span id="dt-808e90b1016f267b83cf"><code>56</code></span>, <span id="dt-3f3177878e4e0b370619"><code>57</code></span>

<a id="dt-19fbc5d6c1bc08da1c68"></a>

### <code>multi&#45;led</code> — required here

**Value type (<code>type</code>):** <span id="dt-a601e78f50bde6a92094"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5e4ce5eb9dd359f48d3c">[<code>leds&#45;class&#45;multicolor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/leds-class-multicolor.md#dt-root>)</span>

<a id="dt-850b6df1fd018b5c206d"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-06a616ca378e5b0c5564"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-99f9f80f12ede1d634fa"></a>

**<code>&#35;address&#45;cells</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-7ec149eb865d8bce773b"><code>1</code></span>

<a id="dt-30ffda9af37fb093b31b"></a>

**<code>&#35;size&#45;cells</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-c5a4e289911b8a5feb33"><code>0</code></span>

<a id="dt-b9b1dcb69cb1e6df5489"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-69c55fe1f094bec40456"></a>

**<code>&#94;led&#64;&#91;0&#45;2&#93;&#36;</code> — name matches this regular expression**

**Value type (<code>type</code>):** <span id="dt-7d371f143edd6abcee4c"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-20fec2e9a7350862cb75">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-e56766534b2d5368ac1d"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<a id="dt-f499c49b788625de7601"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-4802719041d89c701262"></a>

**<code>reg</code> — required here**

**Minimum value (<code>minimum</code>):** <span id="dt-63224dc3968f237e6438"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-da44fbd8acdb79a2a782"><code>2</code></span>

**Required in this object (<code>required</code>):** <a id="dt-2ce3a58e3ba39c5433ed"></a> <span id="dt-50567dbe7496285c0714"><code>&#34;reg&#34;</code></span>, <span id="dt-ac87e6d8b2a755ae6ca2"><code>&#34;color&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-0cd344e50b685123b0ff"></a> <span id="dt-b1b20a18d55a6a63576c"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-6539cd2e6d95f9a3b1d3"><code>&#34;&#35;size&#45;cells&#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>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;multi&#45;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/leds/common.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led-controller@38 {
        compatible = "onnn,ncp5623";
        reg = &lt;0x38&gt;;

        multi-led {
            color = &lt;LED_COLOR_ID_RGB&gt;;

            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;

            led@0 {
                reg = &lt;0&gt;;
                color = &lt;LED_COLOR_ID_RED&gt;;
            };

            led@1 {
                reg = &lt;1&gt;;
                color = &lt;LED_COLOR_ID_GREEN&gt;;
            };

            led@2 {
                reg = &lt;2&gt;;
                color = &lt;LED_COLOR_ID_BLUE&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>

---

# Panasonic AN30259A 3-channel LED controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for Panasonic AN30259A 3-channel LED controller.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;panasonic&#44;an30259a&#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;Iskren Chernev &#60;me&#64;iskren&#46;info&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The AN30259A is a LED controller capable of driving three LEDs independently. It supports constant current output and sloping current output modes. The chip is connected over I2C.</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;panasonic&#44;an30259a&#34;</code></span>

<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-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-d47b161fe19696bc8d3a"></a>

### <code>&#94;led&#64;&#91;1&#45;3&#93;&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f242266fe3f7db2ee4c1">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-186d33c8607202067c5a"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-d94ac2c5dfd2b792ade2"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-db636fce6e53fe0cecb2"></a>

**<code>reg</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-bc2d8336da70c39d81ac"></a> <span id="dt-90b0f05f4982aae681b4"><code>1</code></span>, <span id="dt-3f9def5043c65b3d09cb"><code>2</code></span>, <span id="dt-56d4b66beae9e0ed88fa"><code>3</code></span>

**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;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#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/leds/common.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led-controller@30 {
        compatible = "panasonic,an30259a";
        reg = &lt;0x30&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        led@1 {
            reg = &lt;1&gt;;
            linux,default-trigger = "heartbeat";
            function = LED_FUNCTION_INDICATOR;
            color = &lt;LED_COLOR_ID_RED&gt;;
        };

        led@2 {
            reg = &lt;2&gt;;
            function = LED_FUNCTION_INDICATOR;
            color = &lt;LED_COLOR_ID_GREEN&gt;;
        };

        led@3 {
            reg = &lt;3&gt;;
            function = LED_FUNCTION_INDICATOR;
            color = &lt;LED_COLOR_ID_BLUE&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</span></p>

</details>

---

# Qualcomm PM8058 PMIC LED

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for Qualcomm PM8058 PMIC LED.

<!-- 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;qcom&#44;pm8058&#45;led&#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 Qualcomm PM8058 contains an LED block for up to six LEDs:: three normal
LEDs, two "flash" LEDs and one "keypad backlight" LED. The names are quoted
because sometimes these LED drivers are used for wildly different things than
flash or keypad backlight:: their names are more of a suggestion than a
hard-wired usecase.</p>
<p style="white-space: pre-wrap">Hardware-wise the different LEDs support slightly different output currents.
The "flash" LEDs do not need to charge nor do they support external triggers.
They are just powerful LED drivers.</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;qcom&#44;pm8058&#45;led&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;qcom&#44;pm8058&#45;keypad&#45;led&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;qcom&#44;pm8058&#45;flash&#45;led&#34;</code></span>

<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>

**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;reg&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/leds/common.h&gt;

pmic {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led@131 {
        compatible = "qcom,pm8058-led";
        reg = &lt;0x131&gt;;
        label = "pm8058:red";
        color = &lt;LED_COLOR_ID_RED&gt;;
        default-state = "off";
    };
};
</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>

---

# Flash LED device inside Qualcomm Technologies, Inc. PMICs

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for Flash LED device inside Qualcomm Technologies, Inc. PMICs.

<!-- 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;qcom&#44;spmi&#45;flash&#45;led&#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;Fenglin Wu &#60;quic&#95;fenglinw&#64;quicinc&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Flash LED controller is present inside some Qualcomm Technologies, Inc. PMICs.
The flash LED module can have different number of LED channels supported
e.g. 3 or 4. There are some different registers between them but they can
both support maximum current up to 1.5 A per channel and they can also support
ganging 2 channels together to supply maximum current up to 2 A. The current
will be split symmetrically on each channel and they will be enabled and
disabled at the same time.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-cc3709943397035582d2"></a>

#### Array item rules (<code>items</code>)

<a id="dt-fec97e71a4359503ae6e"></a>

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-851ace07a50c83495949"></a> <span id="dt-63b688f2ccd82724cb8f"><code>&#34;qcom&#44;pm6150l&#45;flash&#45;led&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;qcom&#44;pm660l&#45;flash&#45;led&#34;</code></span>, <span id="dt-9802844ed4869452d348"><code>&#34;qcom&#44;pm7550&#45;flash&#45;led&#34;</code></span>, <span id="dt-24a1253e29125294194d"><code>&#34;qcom&#44;pm8150c&#45;flash&#45;led&#34;</code></span>, <span id="dt-6eb9cf2b3f55b257fde4"><code>&#34;qcom&#44;pm8150l&#45;flash&#45;led&#34;</code></span>, <span id="dt-50ce8af78a6d0f3b7b82"><code>&#34;qcom&#44;pm8350c&#45;flash&#45;led&#34;</code></span>, <span id="dt-8be3d578ae616ce6273c"><code>&#34;qcom&#44;pm8550&#45;flash&#45;led&#34;</code></span>, <span id="dt-348801aa97cc32ed4b8e"><code>&#34;qcom&#44;pmh0101&#45;flash&#45;led&#34;</code></span>, <span id="dt-08e250be67bbdba4113e"><code>&#34;qcom&#44;pmi8998&#45;flash&#45;led&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;qcom&#44;spmi&#45;flash&#45;led&#34;</code></span>

<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-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-473251c3906028c600d0"></a>

### <code>&#94;led&#45;&#91;0&#45;3&#93;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-32f96bd3ac3babdbc1e4"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-60d69d492ac2fb8f2fc7">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-19c9f332772ac2072e77"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<div id="dt-1aa663f08543557a63df">
<p style="white-space: pre-wrap">Represents the physical LED components which are connected to the flash LED channels' output.</p>
</div>

<a id="dt-651cb2022af3bfb00368"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-814ed81e0c587a08ecb3"></a>

**<code>led&#45;sources</code> — required here**

<div id="dt-f544ef2fb6441fd549b4">
<p style="white-space: pre-wrap">The HW indices of the flash LED channels that connect to the physical LED</p>
</div>

<a id="dt-63ca1c30a334ec9e0723"></a>

**All of these rules must match (<code>allOf</code>)**

<a id="dt-b9f87d26f17962a89f6a"></a>

**Rule 1**

> **Minimum number of items (<code>minItems</code>):** <span id="dt-0982050e8d77a526b202"><code>1</code></span>
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-4315e0e2886d8672fefd"><code>2</code></span>
>
> <a id="dt-da1b3b73f6edb678a6cb"></a>
>
> **Array item rules (<code>items</code>)**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-117307d5eba7d2880c17"></a> <span id="dt-2a1d3e1d5aac95c7d933"><code>1</code></span>, <span id="dt-271af610e74510c75180"><code>2</code></span>, <span id="dt-f9cb6532cecc79e9abb3"><code>3</code></span>, <span id="dt-b95ee3f7e0e3623c6f4a"><code>4</code></span>

<a id="dt-a1704aa7166284fc590b"></a>

**<code>led&#45;max&#45;microamp</code> — required here**

<a id="dt-8a5b7a24af3797fb5806"></a>

**At least one of these rules must match (<code>anyOf</code>)**

<a id="dt-71453daa1947c8ee1001"></a>

**Rule 1**

> **Minimum value (<code>minimum</code>):** <span id="dt-b318a44fbc7f26acb460"><code>5000</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-d0632bdd8ceeabd41aee"><code>500000</code></span>
>
> **Multiple of (<code>multipleOf</code>):** <span id="dt-df99f65b4258e322861d"><code>5000</code></span>

<a id="dt-d75bdcb6a1304f826e20"></a>

**Rule 2**

> **Minimum value (<code>minimum</code>):** <span id="dt-099759f9ac574ba7a3b1"><code>10000</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-e899f46e25c1ccc9fdd5"><code>1000000</code></span>
>
> **Multiple of (<code>multipleOf</code>):** <span id="dt-90ef25f8fbc3cd669e73"><code>10000</code></span>

<a id="dt-0a28d41a07413e2fefaf"></a>

**<code>flash&#45;max&#45;microamp</code> — not listed as required here**

<a id="dt-d3ef8ecd1fa6526e640c"></a>

**At least one of these rules must match (<code>anyOf</code>)**

<a id="dt-0ab6d86791af8c7e4ee7"></a>

**Rule 1**

> **Minimum value (<code>minimum</code>):** <span id="dt-954d089bac61faf1084e"><code>12500</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-063b0c6da3fbdb2056fd"><code>1500000</code></span>
>
> **Multiple of (<code>multipleOf</code>):** <span id="dt-460a36568c39ed1948a0"><code>12500</code></span>

<a id="dt-e2513e361238f34e284a"></a>

**Rule 2**

> **Minimum value (<code>minimum</code>):** <span id="dt-db43ca3040d9ae791256"><code>25000</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-5da0369f8c1fdabfba91"><code>2000000</code></span>
>
> **Multiple of (<code>multipleOf</code>):** <span id="dt-45cc3401761afc6ec42d"><code>25000</code></span>

<a id="dt-e5a23fec0b8cb6e16229"></a>

**<code>flash&#45;max&#45;timeout&#45;us</code> — not listed as required here**

**Minimum value (<code>minimum</code>):** <span id="dt-389b21f11299eb6421cb"><code>10000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-5403be498048b28843a0"><code>1280000</code></span>

**Multiple of (<code>multipleOf</code>):** <span id="dt-be4abf828d2055bb5006"><code>10000</code></span>

**Required in this object (<code>required</code>):** <a id="dt-c8772514df430e442907"></a> <span id="dt-20cb2082ed6cb5fe8baa"><code>&#34;led&#45;sources&#34;</code></span>, <span id="dt-e53b35dc0458667a5592"><code>&#34;led&#45;max&#45;microamp&#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>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#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/leds/common.h&gt;

pmic {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led-controller@ee00 {
        compatible = "qcom,pm8350c-flash-led", "qcom,spmi-flash-led";
        reg = &lt;0xee00&gt;;

        led-0 {
            function = LED_FUNCTION_FLASH;
            color = &lt;LED_COLOR_ID_WHITE&gt;;
            led-sources = &lt;1&gt;, &lt;4&gt;;
            led-max-microamp = &lt;300000&gt;;
            flash-max-microamp = &lt;2000000&gt;;
            flash-max-timeout-us = &lt;1280000&gt;;
            function-enumerator = &lt;0&gt;;
        };

        led-1 {
            function = LED_FUNCTION_FLASH;
            color = &lt;LED_COLOR_ID_YELLOW&gt;;
            led-sources = &lt;2&gt;, &lt;3&gt;;
            led-max-microamp = &lt;300000&gt;;
            flash-max-microamp = &lt;2000000&gt;;
            flash-max-timeout-us = &lt;1280000&gt;;
            function-enumerator = &lt;1&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>

---

# Register Bit LEDs

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for Register Bit 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;register&#45;bit&#45;led&#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;Linus Walleij &#60;linusw&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Register bit leds are used with syscon multifunctional devices where single
bits in a certain register can turn on/off a single LED. The register bit LEDs
appear as children to the syscon device, with the proper compatible string.
For the syscon bindings see:
Documentation/devicetree/bindings/mfd/syscon.yaml</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>&#47;schemas&#47;leds&#47;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

<div id="dt-a548345486641e38cbb3">
<p style="white-space: pre-wrap">The unit-address is in the form of @&lt;reg addr&gt;,&lt;bit offset&gt;</p>
</div>

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#44;&#91;0&#45;9a&#45;f&#93;&#123;1&#44;2&#125;&#36;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;register&#45;bit&#45;led&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">The register address and size</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-f54fb7a216b31b9c82a3"></a>

### <code>mask</code> — required here

<div id="dt-1bace59029ec06303ea8">
<p style="white-space: pre-wrap">bit mask for the bit controlling this LED in the register</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bea40f23b9b0b8df395c">[<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-5fcead12a486fe336929"></a> <span id="dt-eccfe4cbe30ed887004d"><code>1</code></span>, <span id="dt-edc62f13af0079afac02"><code>2</code></span>, <span id="dt-640c6512cd63796f7a1d"><code>4</code></span>, <span id="dt-0fef68eb6eb5a39ceab2"><code>8</code></span>, <span id="dt-a8377818e8712df79690"><code>16</code></span>, <span id="dt-f0d02fc9e976f27ef69d"><code>32</code></span>, <span id="dt-460e5364c059f43fd695"><code>64</code></span>, <span id="dt-3e6f35fdd74bb599cf46"><code>128</code></span>, <span id="dt-ca353ad5290c5de9d0f6"><code>256</code></span>, <span id="dt-6db92c6d15999aa8db2f"><code>512</code></span>, <span id="dt-1d7b65702345c73b63d4"><code>1024</code></span>, <span id="dt-20c7ba8dd89fac830a36"><code>2048</code></span>, <span id="dt-0ecdb83926a97cb2068d"><code>4096</code></span>, <span id="dt-f13e15e28f5dc8b558a1"><code>8192</code></span>, <span id="dt-b969023dc1682f918e44"><code>16384</code></span>, <span id="dt-e0007900e230c4864f6b"><code>32768</code></span>, <span id="dt-33998329fb08e69f4f2e"><code>65536</code></span>, <span id="dt-284f423cc557859cf4c1"><code>131072</code></span>, <span id="dt-be0c36488d0eeadca4ae"><code>262144</code></span>, <span id="dt-6a0efd7e8140245bbdd2"><code>524288</code></span>, <span id="dt-ae3fad2541342e0bf834"><code>1048576</code></span>, <span id="dt-6df8e23e4c7d7e5dfefb"><code>2097152</code></span>, <span id="dt-7210e4dea6fdc288e33f"><code>4194304</code></span>, <span id="dt-9cbd3119789e77722abb"><code>8388608</code></span>, <span id="dt-b0ab4a0f28e795b6c0de"><code>16777216</code></span>, <span id="dt-2ac7ae95369fc0179993"><code>33554432</code></span>, <span id="dt-8aa6ec78024a2a7f3247"><code>67108864</code></span>, <span id="dt-2b9d992af2edf50d8b4a"><code>134217728</code></span>, <span id="dt-26fcf3f6b16c41a6ad7b"><code>268435456</code></span>, <span id="dt-bd5b8cdd797166da7cde"><code>536870912</code></span>, <span id="dt-38e9bba21fc2c04bf6b4"><code>1073741824</code></span>, <span id="dt-76af36e4474d949dd4c9"><code>2147483648</code></span>

<a id="dt-be452ed29fa1ba9bb951"></a>

### <code>offset</code> — not listed as required here

<div id="dt-dca739480f21ed1e1b3c">
<p style="white-space: pre-wrap">register offset to the register controlling this LED</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-37e0434874d87a55cbed">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Deprecated (<code>deprecated</code>):** <span id="dt-6a062c93ecf66daada59"><code>true</code></span>

**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;mask&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;reg&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">
syscon@10000000 {
    compatible = "arm,realview-pb1176-syscon", "syscon", "simple-mfd";
    reg = &lt;0x10000000 0x1000&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    ranges = &lt;0x0 0x10000000 0x1000&gt;;

    led@8,0 {
        compatible = "register-bit-led";
        reg = &lt;0x08 0x04&gt;;
        offset = &lt;0x08&gt;;
        mask = &lt;0x01&gt;;
        label = "versatile:0";
        linux,default-trigger = "heartbeat";
        default-state = "on";
    };
    led@8,1 {
        compatible = "register-bit-led";
        reg = &lt;0x08 0x04&gt;;
        offset = &lt;0x08&gt;;
        mask = &lt;0x02&gt;;
        label = "versatile:1";
        default-state = "off";
    };
    led@8,2 {
        compatible = "register-bit-led";
        reg = &lt;0x08 0x04&gt;;
        offset = &lt;0x08&gt;;
        mask = &lt;0x04&gt;;
        label = "versatile:2";
        default-state = "off";
    };
};
</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>

---

# Regulator LEDs

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for Regulator 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;regulator&#45;led&#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;Linus Walleij &#60;linusw&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Regulator LEDs are powered by a single regulator such that they can
be turned on or off by enabling or disabling the regulator. The available
brightness settings will be inferred from the available voltages on the
regulator, and any constraints on the voltage or current will need to be
specified on the regulator.</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;led&#46;&#42;&#36;&#34;</code></span>

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;regulator&#45;led&#34;</code></span>

<a id="dt-42409c6466fa99f5dd2b"></a>

### <code>vled&#45;supply</code> — required here

<div id="dt-d27ff73a83c623529667">
<p style="white-space: pre-wrap">The regulator controlling the current to the LED.</p>
</div>

<a id="dt-29b0e62ce7edaaa076c8"></a>

### <code>function</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-5a6e2dc22643708f7f4b"></a>

### <code>color</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-14f72f861beada5b959e"></a>

### <code>linux&#44;default&#45;trigger</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-a3b13ea6d4de92f1f907"></a>

### <code>default&#45;state</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-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;vled&#45;supply&#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/leds/common.h&gt;

led-heartbeat {
    compatible = "regulator-led";
    vled-supply = &lt;&amp;regulator&gt;;
    function = LED_FUNCTION_STATUS;
    color = &lt;LED_COLOR_ID_BLUE&gt;;
    linux,default-trigger = "heartbeat";
};
</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>

---

# Richtek RT8515 1.5A dual channel LED driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for Richtek RT8515 1.5A dual channel LED driver.

<!-- 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;richtek&#44;rt8515&#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;Linus Walleij &#60;linusw&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Richtek RT8515 is a dual channel (two mode) LED driver that
supports driving a white LED in flash or torch mode. The maximum
current for each mode is defined in hardware using two resistors
RFS and RTS.</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;richtek&#44;rt8515&#34;</code></span>

<a id="dt-380e568832c3fcfa8174"></a>

### <code>enf&#45;gpios</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-248ee469b2e6998f41d8"><code>1</code></span>

<div id="dt-9a1d7a6692dc3de27c96">
<p style="white-space: pre-wrap">A connection to the 'ENF' (enable flash) pin.</p>
</div>

<a id="dt-cf12a894cab90c2259ef"></a>

### <code>ent&#45;gpios</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-6c49e74bbca85ff7ca8d"><code>1</code></span>

<div id="dt-df87b094974282ea5c32">
<p style="white-space: pre-wrap">A connection to the 'ENT' (enable torch) pin.</p>
</div>

<a id="dt-4fe4e3fb6ba1802c4a51"></a>

### <code>richtek&#44;rfs&#45;ohms</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-a229286f44a13432fa65"><code>7680</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-f12dd2c85cf0a4904ab8"><code>367000</code></span>

<div id="dt-a4c9c1c19f75afb5a119">
<p style="white-space: pre-wrap">The resistance value of the RFS resistor. This resistors limits the maximum flash current. This must be set for the property flash-max-microamp to work, the RFS resistor defines the range of the dimmer setting (brightness) of the flash LED.</p>
</div>

<a id="dt-f4cdb7a7cc90fef87d48"></a>

### <code>richtek&#44;rts&#45;ohms</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-eaaa7bf66227bf5c880c"><code>7680</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-507bd3bcf59edadc8a78"><code>367000</code></span>

<div id="dt-5e6922759cb6fc990a6a">
<p style="white-space: pre-wrap">The resistance value of the RTS resistor. This resistors limits the maximum torch current. This must be set for the property torch-max-microamp to work, the RTS resistor defines the range of the dimmer setting (brightness) of the torch LED.</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>

<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**

<code>true</code> — No constraints added by this property rule.

<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>700000</code></span>

<div id="dt-f2f2d4145e5e22d557f9">
<p style="white-space: pre-wrap">The maximum current for flash mode is hardwired to the component using the RFS resistor to ground. The maximum hardware current setting is calculated according to the formula Imax = 5500 / RFS. The lowest allowed resistance value is 7.86 kOhm giving an absolute maximum current of 700mA. By setting this attribute in the device tree, you can further restrict the maximum current below the hardware limit. This requires the RFS to be defined as it defines the maximum range.</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>700000</code></span>

<div id="dt-d371e5d614de50479f27">
<p style="white-space: pre-wrap">The maximum current for torch mode is hardwired to the component using the RTS resistor to ground. The maximum hardware current setting is calculated according to the formula Imax = 5500 / RTS. The lowest allowed resistance value is 7.86 kOhm giving an absolute maximum current of 700mA. By setting this attribute in the device tree, you can further restrict the maximum current below the hardware limit. This requires the RTS to be defined as it defines the maximum range.</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;ent&#45;gpios&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;enf&#45;gpios&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><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;

led-controller {
    compatible = "richtek,rt8515";
    enf-gpios = &lt;&amp;gpio4 12 GPIO_ACTIVE_HIGH&gt;;
    ent-gpios = &lt;&amp;gpio4 13 GPIO_ACTIVE_HIGH&gt;;
    richtek,rfs-ohms = &lt;16000&gt;;
    richtek,rts-ohms = &lt;100000&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>

---

# ROHM BD2606MVV LED controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for ROHM BD2606MVV LED controller.

<!-- 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;rohm&#44;bd2606mvv&#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;Andreas Kemnade &#60;andreas&#64;kemnade&#46;info&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The BD2606 MVV is a programmable LED controller connected via I2C that can drive 6 separate lines. Each of them can be individually switched on and off, but the brightness setting is shared between pairs of them.
Datasheet is available at https://fscdn.rohm.com/en/products/databook/datasheet/ic/power/led_driver/bd2606mvv_1-e.pdf</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;rohm&#44;bd2606mvv&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-0d068058a6f4b36b1505"></a>

### <code>enable&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-3ea466d5c9323bd58f62"><code>1</code></span>

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">GPIO pin to enable/disable the device.</p>
</div>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-bc3178a6c674d0160157"></a>

### <code>&#94;led&#64;&#91;0&#45;5&#93;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-c4be1012ff60d8720f85"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e4afd620be3858bab1a4">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-919d29de0c809057d21b"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-61eecda24950cfe44d13"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-663b169946d027b64931"></a>

**<code>reg</code> — required here**

**Minimum value (<code>minimum</code>):** <span id="dt-1a2c1ea9bc22afc387ab"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-16f875da8c8e70a4843d"><code>5</code></span>

**Required in this object (<code>required</code>):** <a id="dt-aecc002b422a47776c77"></a> <span id="dt-c8c11f21ab49e83cb634"><code>&#34;reg&#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/leds/common.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led-controller@66 {
        compatible = "rohm,bd2606mvv";
        reg = &lt;0x66&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        led@0 {
            reg = &lt;0x0&gt;;
            color = &lt;LED_COLOR_ID_RED&gt;;
            function = LED_FUNCTION_POWER;
        };

        led@2 {
            reg = &lt;0x2&gt;;
            color = &lt;LED_COLOR_ID_WHITE&gt;;
            function = LED_FUNCTION_STATUS;
        };
    };
};
</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>

---

# ROHM BD71828 Power Management Integrated Circuit LED driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for ROHM BD71828 Power Management Integrated Circuit LED driver.

<!-- 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;rohm&#44;bd71828&#45;leds&#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;Matti Vaittinen &#60;mazziesaccount&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This module is part of the ROHM BD71828 and BD72720 MFD device. For more
details see Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml
and Documentation/devicetree/bindings/mfd/rohm,bd72720-pmic.yaml</p>
<p style="white-space: pre-wrap">The LED controller is represented as a sub-node of the PMIC node on the device
tree. This should be located under "leds" - node in PMIC node.</p>
<p style="white-space: pre-wrap">The device has two LED outputs referred as GRNLED and AMBLED in data-sheet.</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;rohm&#44;bd71828&#45;leds&#34;</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-9874997d7e9b28a7065a"></a>

### <code>&#94;led&#45;&#91;1&#45;2&#93;&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c1861df8ab8f371424bb">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-0d965c53d6b81f841889"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-e579ff60e817531c610d"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-e44c8ec9f2293be53992"></a>

**<code>rohm&#44;led&#45;compatible</code> — not listed as required here**

<div id="dt-f36c4f7be531200212db">
<p style="white-space: pre-wrap">LED identification string</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-fbe22b7affd22f5bc217">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

**Allowed values (<code>enum</code>):** <a id="dt-e31493fa17b8d07b5555"></a> <span id="dt-6086f9099a1b49e9f5b3"><code>&#34;bd71828&#45;ambled&#34;</code></span>, <span id="dt-9cb923202f0b1d28e7f9"><code>&#34;bd71828&#45;grnled&#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>

---

# Silergy SY7802 1800mA Boost Charge Pump LED Driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for Silergy SY7802 1800mA Boost Charge Pump LED Driver.

<!-- 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;silergy&#44;sy7802&#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é Apitzsch &#60;git&#64;apitzsch&#46;eu&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The SY7802 is a current-regulated charge pump which can regulate two current
levels for Flash and Torch modes.</p>
<p style="white-space: pre-wrap">The SY7802 is a high-current synchronous boost converter with 2-channel
high side current sources. Each channel is able to deliver 900mA current.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;silergy&#44;sy7802&#34;</code></span>

<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-0d068058a6f4b36b1505"></a>

### <code>enable&#45;gpios</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-3ea466d5c9323bd58f62"><code>1</code></span>

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">A connection to the 'EN' pin.</p>
</div>

<a id="dt-28be50e8a4485ff65168"></a>

### <code>flash&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-317cd2d3de24e85f95d6"><code>1</code></span>

<div id="dt-a6641e8d31a8cd631b25">
<p style="white-space: pre-wrap">A connection to the 'FLEN' 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">Regulator providing power to the 'VIN' pin.</p>
</div>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-cb3230c0c81179b190d4"></a>

### <code>&#94;led&#64;&#91;0&#45;1&#93;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-d245327e10cc9589bd5b"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ca5faeee67e8262cfde6">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-4a5993de199df85da86f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-dfd94574c1ad7c729fc1"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-1e6d81a98cb11aaab3e9"></a>

**<code>reg</code> — required here**

<div id="dt-425cabe3885de537ce40">
<p style="white-space: pre-wrap">Index of the LED.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-b012cd9b91911d5e759a"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-802d879583f524a873b6"><code>1</code></span>

<a id="dt-f733824e5f329b9e835c"></a>

**<code>led&#45;sources</code> — required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-e87e7778557063627c55"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-0e79b38ee31795cf0c40"><code>2</code></span>

<a id="dt-78d93983cf5ffa9864d5"></a>

**Array item rules (<code>items</code>)**

> **Minimum value (<code>minimum</code>):** <span id="dt-087bf5b70ee6e290fd82"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-1a0c8f8655621ebaf645"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-eb6ca6905f449fdb2709"></a> <span id="dt-e13bd9dd29e860158e38"><code>&#34;reg&#34;</code></span>, <span id="dt-11ef90465945d95760e1"><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>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;enable&#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-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;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    flash-led-controller@53 {
        compatible = "silergy,sy7802";
        reg = &lt;0x53&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        enable-gpios = &lt;&amp;tlmm 16 GPIO_ACTIVE_HIGH&gt;;

        led@0 {
            reg = &lt;0&gt;;
            function = LED_FUNCTION_FLASH;
            color = &lt;LED_COLOR_ID_WHITE&gt;;
            led-sources = &lt;0&gt;, &lt;1&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>

---

# Skyworks Solutions, Inc. AAT1290 Current Regulator for Flash LEDs

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for Skyworks Solutions, Inc. AAT1290 Current Regulator for Flash 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;skyworks&#44;aat1290&#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;Jacek Anaszewski &#60;jacek&#46;anaszewski&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><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 device is controlled through two pins:: FL_EN and EN_SET. The pins when,
asserted high, enable flash strobe and movie mode (max 1/2 of flash current)
respectively. In order to add a capability of selecting the strobe signal
source (e.g. CPU or camera sensor) there is an additional switch required,
independent of the flash chip. The switch is controlled with pin control.</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;skyworks&#44;aat1290&#34;</code></span>

<a id="dt-c8a4dff1a90700cf0a1e"></a>

### <code>enset&#45;gpios</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-eea79054b9895db3dd6a"><code>1</code></span>

<div id="dt-330a94d94bb581bd89e0">
<p style="white-space: pre-wrap">EN_SET pin</p>
</div>

<a id="dt-be2312a315a392d4a567"></a>

### <code>flen&#45;gpios</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-cbb842625d9e95ebbd8f"><code>1</code></span>

<div id="dt-4e653e39444eff0d8c48">
<p style="white-space: pre-wrap">FL_EN pin</p>
</div>

<a id="dt-9b79c19257f929c2eb86"></a>

### <code>led</code> — required here

**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>

<a id="dt-0464810ac301d76e7629"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a11b6a1ae7ba32ef65e"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-d0b0f8ab41a6391d25f3"></a>

**<code>led&#45;max&#45;microamp</code> — required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-5973299489666f8e26e3"></a>

**<code>flash&#45;max&#45;microamp</code> — required here**

<div id="dt-f2f2d4145e5e22d557f9">
<p style="white-space: pre-wrap">Maximum flash LED supply current can be calculated using following
formula:: I = 1A * 162 kOhm / Rset.</p>
</div>

<a id="dt-05faba5e13e585231331"></a>

**<code>flash&#45;max&#45;timeout&#45;us</code> — required here**

<div id="dt-5fd96a69144f5077837f">
<pre><code>Maximum flash timeout can be calculated using following formula::
  T = 8.82 * 10^9 * Ct.</code></pre>
</div>

**Required in this object (<code>required</code>):** <a id="dt-a96ecf5e1cc8a0ea72eb"></a> <span id="dt-96965b0859b68e45ab36"><code>&#34;flash&#45;max&#45;microamp&#34;</code></span>, <span id="dt-227efe19134403be2e16"><code>&#34;flash&#45;max&#45;timeout&#45;us&#34;</code></span>, <span id="dt-356da1e89f36697d2e64"><code>&#34;led&#45;max&#45;microamp&#34;</code></span>

<a id="dt-abe836d65f0d3b516449"></a>

### <code>pinctrl&#45;names</code> — not listed as required here

<a id="dt-2a4c8347cd450cbb54d1"></a>

#### Array item rules (<code>items</code>)

<a id="dt-81e07bec64c76061809a"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-53a75a2483b213288417"><code>&#34;default&#34;</code></span>

<a id="dt-533e247d3334f36b600b"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-07541635483a597d9829"><code>&#34;host&#34;</code></span>

<a id="dt-9f322d4f262a0ae1d3eb"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-a1566be9ea75ae79663b"><code>&#34;isp&#34;</code></span>

<a id="dt-e5b2d2a306a82ca7f5db"></a>

### <code>pinctrl&#45;0</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-ab9bbcdf7df05eccecbb"></a>

### <code>pinctrl&#45;1</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-c77f9f107de483e23187"></a>

### <code>pinctrl&#45;2</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-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;enset&#45;gpios&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;flen&#45;gpios&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><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;

// Ct = 220 nF, Rset = 160 kOhm
led-controller {
    compatible = "skyworks,aat1290";
    flen-gpios = &lt;&amp;gpj1 1 GPIO_ACTIVE_HIGH&gt;;
    enset-gpios = &lt;&amp;gpj1 2 GPIO_ACTIVE_HIGH&gt;;

    pinctrl-names = "default", "host", "isp";
    pinctrl-0 = &lt;&amp;camera_flash_host&gt;;
    pinctrl-1 = &lt;&amp;camera_flash_host&gt;;
    pinctrl-2 = &lt;&amp;camera_flash_isp&gt;;

    led {
        function = LED_FUNCTION_FLASH;
        color = &lt;LED_COLOR_ID_WHITE&gt;;
        led-max-microamp = &lt;520833&gt;;
        flash-max-microamp = &lt;1012500&gt;;
        flash-max-timeout-us = &lt;1940000&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>

---

# Spreadtrum SC2731 PMIC breathing light controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for Spreadtrum SC2731 PMIC breathing light controller.

<!-- 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;sprd&#44;sc2731&#45;bltc&#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;Orson Zhai &#60;orsonzhai&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Baolin Wang &#60;baolin&#46;wang7&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Chunyan Zhang &#60;zhang&#46;lyra&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The SC2731 breathing light controller supports up to 3 outputs:
red LED, green LED and blue LED. Each LED can work at normal PWM mode
or breath light mode.</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;sprd&#44;sc2731&#45;bltc&#34;</code></span>

<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-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-ca1fa55752b8de825f3d"></a>

### <code>&#94;led&#64;&#91;0&#45;2&#93;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-7a5536480ab459b5eac9"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e18de73f5a27532bfdd2">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-e67a1c86e5fbf8a5dcf9"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-fe2f68bc1a813bc88151"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-fa075d76e8e8063acf75"></a>

**<code>reg</code> — required here**

**Minimum value (<code>minimum</code>):** <span id="dt-0cbbee1af017a73c9cd1"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-2c2a4514e5ba6d12111e"><code>2</code></span>

**Required in this object (<code>required</code>):** <a id="dt-d3bd051675d7cca561a0"></a> <span id="dt-1c0a565d602fcc68e1ef"><code>&#34;reg&#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>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#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>

---

# ST LED1202 LED controllers

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for ST LED1202 LED controllers.

<!-- 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;st&#44;led1202&#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;Vicentiu Galanopulo &#60;vicentiu&#46;galanopulo&#64;remote&#45;tech&#46;co&#46;uk&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The LED1202 is a 12-channel low quiescent current LED controller
programmable via I2C; The output current can be adjusted separately
for each channel by 8-bit analog and 12-bit digital dimming control.
Datasheet available at
https://www.st.com/en/power-management/led1202.html</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;st&#44;led1202&#34;</code></span>

<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-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-f06251130361daeed295"></a>

### <code>&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-d874c9dd98e9a1072a6d"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-460d8ab39ec8c1468f88">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-3c5ebd0405b89160faed"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-362e22883eb0c50c80fe"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-b2555a8bcefd24011a93"></a>

**<code>reg</code> — required here**

**Minimum value (<code>minimum</code>):** <span id="dt-e931afcd8f475b0f4533"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-a786e8bbc972ad23500f"><code>11</code></span>

**Required in this object (<code>required</code>):** <a id="dt-4ec89049e6858ed3fd5b"></a> <span id="dt-3d6548473fa4f29f0151"><code>&#34;reg&#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>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#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/leds/common.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led-controller@58 {
        compatible = "st,led1202";
        reg = &lt;0x58&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        led@0 {
            reg = &lt;0x0&gt;;
            function = LED_FUNCTION_STATUS;
            color = &lt;LED_COLOR_ID_RED&gt;;
            function-enumerator = &lt;1&gt;;
        };

        led@1 {
            reg = &lt;0x1&gt;;
            function = LED_FUNCTION_STATUS;
            color = &lt;LED_COLOR_ID_GREEN&gt;;
            function-enumerator = &lt;2&gt;;
        };

        led@2 {
            reg = &lt;0x2&gt;;
            function = LED_FUNCTION_STATUS;
            color = &lt;LED_COLOR_ID_BLUE&gt;;
            function-enumerator = &lt;3&gt;;
        };

        led@3 {
            reg = &lt;0x3&gt;;
            function = LED_FUNCTION_STATUS;
            color = &lt;LED_COLOR_ID_RED&gt;;
            function-enumerator = &lt;4&gt;;
        };

        led@4 {
            reg = &lt;0x4&gt;;
            function = LED_FUNCTION_STATUS;
            color = &lt;LED_COLOR_ID_GREEN&gt;;
            function-enumerator = &lt;5&gt;;
        };

        led@5 {
            reg = &lt;0x5&gt;;
            function = LED_FUNCTION_STATUS;
            color = &lt;LED_COLOR_ID_BLUE&gt;;
            function-enumerator = &lt;6&gt;;
        };

        led@6 {
            reg = &lt;0x6&gt;;
            function = LED_FUNCTION_STATUS;
            color = &lt;LED_COLOR_ID_RED&gt;;
            function-enumerator = &lt;7&gt;;
        };

        led@7 {
            reg = &lt;0x7&gt;;
            function = LED_FUNCTION_STATUS;
            color = &lt;LED_COLOR_ID_GREEN&gt;;
            function-enumerator = &lt;8&gt;;
        };

        led@8 {
            reg = &lt;0x8&gt;;
            function = LED_FUNCTION_STATUS;
            color = &lt;LED_COLOR_ID_BLUE&gt;;
            function-enumerator = &lt;9&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>

---

# TI LM3697 Highly Efficient White LED Driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for TI LM3697 Highly Efficient White LED Driver.

<!-- 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;ti&#44;lm3697&#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;Dan Murphy &#60;dmurphy&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The LM3697 11-bit LED driver provides high-performance backlight dimming for 1, 2, or 3 series LED strings while delivering up to 90% efficiency.
This device is suitable for display and keypad lighting.</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;ti&#44;lm3697&#34;</code></span>

<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-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-0d068058a6f4b36b1505"></a>

### <code>enable&#45;gpios</code> — not listed as required here

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">GPIO pin to enable or disable the device.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-3ea466d5c9323bd58f62"><code>1</code></span>

<a id="dt-42409c6466fa99f5dd2b"></a>

### <code>vled&#45;supply</code> — not listed as required here

<div id="dt-d27ff73a83c623529667">
<p style="white-space: pre-wrap">LED supply for the device.</p>
</div>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-3149080f56da2050cbdb"></a>

### <code>&#94;led&#64;&#91;01&#93;&#36;</code> — name matches this regular expression

<div id="dt-7d773514d1460fd0c835">
<p style="white-space: pre-wrap">LED control bank nodes.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9d136f9e78263fae5583">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-2028e1d8b8224737f4ed"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-81f78405b1acb5c061bf"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-a2d1d794854b84f081ee"></a>

**<code>reg</code> — required here**

<div id="dt-1550f303c063d63d6927">
<p style="white-space: pre-wrap">Control bank selection (0 = bank A, 1 = bank B).</p>
</div>

**Maximum value (<code>maximum</code>):** <span id="dt-d21f7b3a171266d555df"><code>1</code></span>

<a id="dt-740d10ff49bd74c01e97"></a>

**<code>led&#45;sources</code> — required here**

<div id="dt-fb41ad507fb1aecb39b7">
<p style="white-space: pre-wrap">HVLED strings associated with this control bank:</p>
<pre><code>  0 - HVLED1
  1 - HVLED2
  2 - HVLED3</code></pre>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-a57f29141491225c12be"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-689e068e61e4dd992182"><code>3</code></span>

<a id="dt-13e181a25d1a06047aa6"></a>

**Array item rules (<code>items</code>)**

> **Maximum value (<code>maximum</code>):** <span id="dt-dcfae20e61b03782c383"><code>2</code></span>

<a id="dt-f1cfe82e9eaf638c75e7"></a>

**<code>ti&#44;brightness&#45;resolution</code> — not listed as required here**

<div id="dt-c569b6014ae7df38da7b">
<p style="white-space: pre-wrap">Brightness resolution for the LED string.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9eb6cc33c37c4d03be9e">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Maximum value (<code>maximum</code>):** <span id="dt-181222262a1d53995dfd"><code>2047</code></span>

<a id="dt-ba747d221389c207b2b2"></a>

**<code>ramp&#45;up&#45;us</code> — not listed as required here**

<div id="dt-a9c1f13351346b29262d">
<p style="white-space: pre-wrap">Ramp-up time in microseconds.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-6db16573f65a2d03c14f"><code>117</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-1b60ff2ef3e6a06f323b"><code>2048</code></span>

<a id="dt-10e6bf8ba5c59d8152a1"></a>

**<code>ramp&#45;down&#45;us</code> — not listed as required here**

<div id="dt-5c7c981954d170645ce8">
<p style="white-space: pre-wrap">Ramp-down time in microseconds.</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-6edf1fb25601c40d5e6f"><code>117</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-f2f0134bc8b90fbcc4c8"><code>2048</code></span>

**Required in this object (<code>required</code>):** <a id="dt-3991ad4881fa1d645bb9"></a> <span id="dt-0780209107967c8bd17b"><code>&#34;reg&#34;</code></span>, <span id="dt-7500a3dcbce2c623c4e0"><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>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#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;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led-controller@36 {
        compatible = "ti,lm3697";
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;
        reg = &lt;0x36&gt;;

        enable-gpios = &lt;&amp;gpio1 28 GPIO_ACTIVE_HIGH&gt;;
        vled-supply = &lt;&amp;vbatt&gt;;

        led@0 {
            reg = &lt;0&gt;;
            led-sources = &lt;0 2&gt;;
            ti,brightness-resolution = &lt;2047&gt;;
            ramp-up-us = &lt;500&gt;;
            ramp-down-us = &lt;1000&gt;;
            label = "white:first_backlight_cluster";
            linux,default-trigger = "backlight";
        };

        led@1 {
            reg = &lt;1&gt;;
            led-sources = &lt;1&gt;;
            ti,brightness-resolution = &lt;255&gt;;
            ramp-up-us = &lt;500&gt;;
            ramp-down-us = &lt;1000&gt;;
            label = "white:second_backlight_cluster";
            linux,default-trigger = "backlight";
        };
    };
};
</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>

---

# TI LP5812 4x3 Matrix RGB LED Driver with Autonomous Control

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for TI LP5812 4x3 Matrix RGB LED Driver with Autonomous Control.

<!-- 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;ti&#44;lp5812&#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;Nam Tran &#60;trannamatk&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The LP5812 is a 4x3 matrix RGB LED driver with I2C interface
and autonomous animation engine control.
For more product information please see the link below:
https://www.ti.com/product/LP5812#tech-docs</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;ti&#44;lp5812&#34;</code></span>

<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-0b2b0861de0235b9d179"></a>

### <code>ti&#44;scan&#45;mode</code> — not listed as required here

<div id="dt-279fbefbd71c732eef33">
<pre><code>Selects the LED scan mode of the LP5812. The device supports
three modes:
  - Direct-drive mode (by default if 'ti,scan-mode' is omitted)
  drives up to 4 LEDs directly by internal current sinks (LED0-LED3).
  - TCM-drive mode ("tcm:&lt;n&gt;:&lt;order...&gt;") drives up to 12 LEDs
  (4 RGB) using 1-4 scan multiplexing. The &lt;n&gt; specifies the number
  of scans (1-4), and &lt;order...&gt; defines the scan order of the outputs.
  - Mix-drive mode ("mix:&lt;n&gt;:&lt;direct&gt;:&lt;order...&gt;") combines
  direct-drive and TCM-drive outputs. The &lt;n&gt; specifies the number
  of scans, &lt;direct&gt; selects the direct-drive outputs, and &lt;order...&gt;
  defines the scan order.</code></pre>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-62e965c8947f87aa4b58">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

**String pattern (<code>pattern</code>):** <span id="dt-ac42cdf53828af45b2a5"><code>&#34;&#94;&#40;tcm&#124;mix&#41;&#58;&#91;1&#45;4&#93;&#40;&#58;&#91;0&#45;3&#93;&#41;&#123;1&#44;4&#125;&#36;&#34;</code></span>

<a id="dt-5b20c41001654467bdea"></a>

### <code>vcc&#45;supply</code> — not listed as required here

<div id="dt-304923183fea32e69a40">
<p style="white-space: pre-wrap">Regulator providing power to the 'VCC' pin.</p>
</div>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-27d6c783b4ca9de9aab7"></a>

### <code>&#94;led&#64;&#91;0&#45;3&#93;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-c04d7a8bedd991a9c193"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6470b3f1c0cb069f8653">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-679eb5ada28301673dfb"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-a898a1c0b5e2a7021657"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-a61165d2b26e0226dfce"></a>

**<code>reg</code> — required here**

**Minimum value (<code>minimum</code>):** <span id="dt-7d9fc2f61097ab209afd"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-4548ccf9707194603210"><code>3</code></span>

**Required in this object (<code>required</code>):** <a id="dt-632aea05cfce42a98982"></a> <span id="dt-2a9ce406e0f197b1a49d"><code>&#34;reg&#34;</code></span>

<a id="dt-4cbdfb99e68cbbfa4aa5"></a>

### <code>&#94;multi&#45;led&#64;&#91;4&#45;7&#93;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-89e777952767c5946740"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2b3a197dd04c0d40f4a2">[<code>leds&#45;class&#45;multicolor&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/leds-class-multicolor.md#dt-root>)</span>

<a id="dt-fea95379dc008772fea3"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-9f836a56c2d1021f1f6e"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-c6f4aefdd1d07f0e2feb"></a>

**<code>reg</code> — not listed as required here**

**Minimum value (<code>minimum</code>):** <span id="dt-0321027d294f611dd4fd"><code>4</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-884241e29b8eb00ed7ee"><code>7</code></span>

<a id="dt-ef7a250f0c1375714e5d"></a>

**<code>&#35;address&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-5a55abbf82863f900262"><code>1</code></span>

<a id="dt-c725bc35732725b69a53"></a>

**<code>&#35;size&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-de8eae2b68066e7e5ab2"><code>0</code></span>

<a id="dt-fb182b574845ab989cf4"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-d38163bc5a042b06bebf"></a>

**<code>&#94;led&#64;&#91;4&#45;9a&#45;f&#93;&#36;</code> — name matches this regular expression**

**Value type (<code>type</code>):** <span id="dt-659c20dee0b5703d014d"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-eadfa463b888cd56cb2b">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-5a4a4e9e36ba3f8e2f40"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<a id="dt-8e3358053957e3db9b15"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-be15f3bdc5da2a73d429"></a>

**<code>reg</code> — required here**

**Minimum value (<code>minimum</code>):** <span id="dt-776279fefa2b2b04c484"><code>4</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-23a473725f097f7e7c12"><code>15</code></span>

**Required in this object (<code>required</code>):** <a id="dt-ee83538e47f02c094119"></a> <span id="dt-254e1510a8283ce72936"><code>&#34;reg&#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>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#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/leds/common.h&gt;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led-controller@1b {
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;
        compatible = "ti,lp5812";
        reg = &lt;0x1b&gt;;
        ti,scan-mode = "tcm:4:0:1:2:3";
        vcc-supply = &lt;&amp;vdd_3v3_reg&gt;;

        led@0 {
            reg = &lt;0x0&gt;;
            label = "LED0";
            led-max-microamp = &lt;25500&gt;;
        };

        led@1 {
            reg = &lt;0x1&gt;;
            label = "LED1";
            led-max-microamp = &lt;25500&gt;;
        };

        led@2 {
            reg = &lt;0x2&gt;;
            label = "LED2";
            led-max-microamp = &lt;25500&gt;;
        };

        led@3 {
            reg = &lt;0x3&gt;;
            label = "LED3";
            led-max-microamp = &lt;25500&gt;;
        };

        multi-led@4 {
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;
            reg = &lt;0x4&gt;;
            color = &lt;LED_COLOR_ID_RGB&gt;;
            label = "LED_A";

            led@4 {
                reg = &lt;0x4&gt;;
                color = &lt;LED_COLOR_ID_GREEN&gt;;
                led-max-microamp = &lt;25500&gt;;
            };

            led@5 {
                reg = &lt;0x5&gt;;
                color = &lt;LED_COLOR_ID_RED&gt;;
                led-max-microamp = &lt;25500&gt;;
            };

            led@6 {
                reg = &lt;0x6&gt;;
                color = &lt;LED_COLOR_ID_BLUE&gt;;
                led-max-microamp = &lt;25500&gt;;
            };
        };

        multi-led@5 {
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;
            reg = &lt;0x5&gt;;
            color = &lt;LED_COLOR_ID_RGB&gt;;
            label = "LED_B";

            led@7 {
                reg = &lt;0x7&gt;;
                color = &lt;LED_COLOR_ID_GREEN&gt;;
                led-max-microamp = &lt;25500&gt;;
            };

            led@8 {
                reg = &lt;0x8&gt;;
                color = &lt;LED_COLOR_ID_RED&gt;;
                led-max-microamp = &lt;25500&gt;;
            };

            led@9 {
                reg = &lt;0x9&gt;;
                color = &lt;LED_COLOR_ID_BLUE&gt;;
                led-max-microamp = &lt;25500&gt;;
            };
        };

        multi-led@6 {
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;
            reg = &lt;0x6&gt;;
            color = &lt;LED_COLOR_ID_RGB&gt;;
            label = "LED_C";

            led@a {
                reg = &lt;0xa&gt;;
                color = &lt;LED_COLOR_ID_GREEN&gt;;
                led-max-microamp = &lt;25500&gt;;
            };

            led@b {
                reg = &lt;0xb&gt;;
                color = &lt;LED_COLOR_ID_RED&gt;;
                led-max-microamp = &lt;25500&gt;;
            };

            led@c {
                reg = &lt;0xc&gt;;
                color = &lt;LED_COLOR_ID_BLUE&gt;;
                led-max-microamp = &lt;25500&gt;;
            };
        };

        multi-led@7 {
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;
            reg = &lt;0x7&gt;;
            color = &lt;LED_COLOR_ID_RGB&gt;;
            label = "LED_D";

            led@d {
                reg = &lt;0xd&gt;;
                color = &lt;LED_COLOR_ID_GREEN&gt;;
                led-max-microamp = &lt;25500&gt;;
            };

            led@e {
                reg = &lt;0xe&gt;;
                color = &lt;LED_COLOR_ID_RED&gt;;
                led-max-microamp = &lt;25500&gt;;
            };

            led@f {
                reg = &lt;0xf&gt;;
                color = &lt;LED_COLOR_ID_BLUE&gt;;
                led-max-microamp = &lt;25500&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>

---

# Texas Instruments - lp8860 4-Channel LED Driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for Texas Instruments - lp8860 4-Channel LED Driver.

<!-- SPDX-License-Identifier: (GPL-2.0 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;ti&#44;lp8860&#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;Andrew Davis &#60;afd&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The LP8860-Q1 is an high-efficiency LED driver with boost controller.
It has 4 high-precision current sinks that can be controlled by a PWM input
signal, a SPI/I2C master, or both.</p>
<pre><code>For more product information please see the link below:
  https://www.ti.com/product/lp8860-q1</code></pre>
</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;ti&#44;lp8860&#34;</code></span>

<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>

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C slave address</p>
</div>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-0d068058a6f4b36b1505"></a>

### <code>enable&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-3ea466d5c9323bd58f62"><code>1</code></span>

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">GPIO pin to enable (active high) / disable the device</p>
</div>

<a id="dt-42409c6466fa99f5dd2b"></a>

### <code>vled&#45;supply</code> — not listed as required here

<div id="dt-d27ff73a83c623529667">
<p style="white-space: pre-wrap">LED supply</p>
</div>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-ab6aa3d18ba7ff2e5733"></a>

### <code>&#94;led&#40;&#64;&#91;0&#45;3&#93;&#41;&#63;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-6cad8a355d564e9647f8"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-45f49789263105b90e48">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-d3403300ea8a52feb57d"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-7e940fecf087ba80dcd8"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-e8ee2d453b3c9ae190f7"></a>

**<code>reg</code> — not listed as required here**

<div id="dt-7f84059ad6830960a586">
<p style="white-space: pre-wrap">Index of the LED.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-196d1fefdfabc8d6e230"><code>1</code></span>

<a id="dt-904540dbeb9658b414e6"></a>

**<code>function</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-a77314181c2003361df7"></a>

**<code>color</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-b4759e7e04424c93b345"></a>

**<code>label</code> — not listed as required here**

<code>true</code> — No constraints added by this property rule.

<a id="dt-df8e79a4be07a5580a66"></a>

**<code>linux&#44;default&#45;trigger</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-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#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;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led-controller@2d {
        compatible = "ti,lp8860";
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;
        reg = &lt;0x2d&gt;;
        enable-gpios = &lt;&amp;gpio1 28 GPIO_ACTIVE_HIGH&gt;;
        vled-supply = &lt;&amp;vbatt&gt;;

        led@0 {
            reg = &lt;0&gt;;
            function = LED_FUNCTION_BACKLIGHT;
            color = &lt;LED_COLOR_ID_WHITE&gt;;
            linux,default-trigger = "backlight";
        };
    };
};
</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 OR BSD-2-Clause)</span></p>

</details>

---

# TCA6507 LED and GPIO controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for TCA6507 LED and GPIO controller.

<!-- 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;leds&#47;ti&#44;tca6507&#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;NeilBrown &#60;neilb&#64;suse&#46;de&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The TCA6507 is a programmable LED controller connected via I2C that can drive 7 separate lines either by holding them low, or by pulsing them with modulated width.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;ti&#44;tca6507&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — not listed as required here

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C slave address of the controller.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-b7b17956075a155836a0"></a>

### <code>&#94;led&#64;&#91;0&#45;6&#93;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-423128fd9230652539b4"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a77709c39b4f72b837bf">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-f0be1b254b366913347b"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-0f1dff026eae906d5ce8"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-68317305b10552604846"></a>

**<code>reg</code> — required here**

**Minimum value (<code>minimum</code>):** <span id="dt-31a930d6f42a4ba048a0"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-876e876d6fe480df289f"><code>6</code></span>

**Required in this object (<code>required</code>):** <a id="dt-3cfcf9830b9bd18a98e3"></a> <span id="dt-eabfab8e21ab212334de"><code>&#34;reg&#34;</code></span>

<a id="dt-3d50eacea4f3099dc59a"></a>

### <code>&#94;gpio&#64;&#91;0&#45;6&#93;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-63ad3ea02cac42d31dbe"><code>&#34;object&#34;</code></span>

<a id="dt-de78a184aa88a1a3be07"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-b64139076cd79de5c76d"></a>

**<code>compatible</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-5972cf5ae6d0fc77bc7a"><code>&#34;gpio&#34;</code></span>

<a id="dt-248c9847eddcb00c92b2"></a>

**<code>reg</code> — required here**

**Minimum value (<code>minimum</code>):** <span id="dt-da55f2bedc5ce5ae8339"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-744b1dc5613381e2c875"><code>6</code></span>

<a id="dt-e126b283104f5b100441"></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-28397c04c3be4ebcad20"></a> <span id="dt-72ee72247eab5c543353"><code>&#34;reg&#34;</code></span>, <span id="dt-2d9fddfa3a54655cfa0c"><code>&#34;compatible&#34;</code></span>

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-2f1551355a8fd64fce9e"></a>
>
> ### Properties matching a name pattern (<code>patternProperties</code>)
>
> <a id="dt-c60fce8c3e65b7c136c7"></a>
>
> #### <code>&#94;gpio&#64;&#91;0&#45;6&#93;&#36;</code> — name matches this regular expression
>
> **Value type (<code>type</code>):** <span id="dt-79e0c70d88eff1e725f8"><code>&#34;object&#34;</code></span>
>
> <a id="dt-2bdfe54ab204a4d0cd4e"></a>
>
> **Properties and child nodes (<code>properties</code>)**
>
> <a id="dt-8903027f92c91ca15c37"></a>
>
> **<code>compatible</code> — not listed as required here**
>
> <a id="dt-b2aa74ca3e61634737e3"></a>
>
> **Rule for matching array elements (<code>contains</code>)**
>
> > **Exact value (<code>const</code>):** <span id="dt-0f4406160c6084774e33"><code>&#34;gpio&#34;</code></span>

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> **Required in this object (<code>required</code>):** <a id="dt-824165741bab07e919e7"></a> <span id="dt-0be16f81402541b26aff"><code>&#34;gpio&#45;controller&#34;</code></span>, <span id="dt-dd9db9085e2885964a9c"><code>&#34;&#35;gpio&#45;cells&#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;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led-controller@45 {
        compatible = "ti,tca6507";
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;
        reg = &lt;0x45&gt;;

        gpio-controller;
        #gpio-cells = &lt;2&gt;;

        gpio-line-names = "wifi_reset@6";

        led@0 {
            label = "gta04:red:aux";
            reg = &lt;0x0&gt;;
        };

        led@1 {
            label = "gta04:green:aux";
            reg = &lt;0x1&gt;;
        };

        led@3 {
            reg = &lt;0x3&gt;;
            color = &lt;LED_COLOR_ID_RED&gt;;
            function = LED_FUNCTION_POWER;
            linux,default-trigger = "default-on";
        };

        led@4 {
            color = &lt;LED_COLOR_ID_GREEN&gt;;
            function = LED_FUNCTION_POWER;
            reg = &lt;0x4&gt;;
        };

        gpio@6 {
            compatible = "gpio";
            reg = &lt;0x6&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</span></p>

</details>

---

# LEDs connected to tlc59116 or tlc59108

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for LEDs connected to tlc59116 or tlc59108.

<!-- 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;ti&#44;tlc59116&#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;Andrew Lunn &#60;andrew&#64;lunn&#46;ch&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;ti&#44;tlc59108&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;tlc59116&#34;</code></span>

<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-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-f06251130361daeed295"></a>

### <code>&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-d874c9dd98e9a1072a6d"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-460d8ab39ec8c1468f88">[<code>common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-362e22883eb0c50c80fe"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-b2555a8bcefd24011a93"></a>

**<code>reg</code> — not listed as required here**

<a id="dt-2fb7883220dddcb10783"></a>

**Array item rules (<code>items</code>)**

> **Minimum value (<code>minimum</code>):** <span id="dt-20e4b0b386eff9c83502"><code>0</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-9c88bd641b720b7a8ffb"><code>15</code></span>

<a id="dt-3c5ebd0405b89160faed"></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;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#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-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;ti&#44;tlc59108&#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-87801dfbc566c3d3ad65"></a>
> >
> > **<code>&#94;led&#64;&#91;0&#45;9a&#45;f&#93;&#36;</code> — name matches this regular expression**
> >
> > <a id="dt-50a00471e953c1c65156"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-1219750cf0966190b716"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > <a id="dt-1bd8b3fcb14ef3ff3bba"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > > **Maximum value (<code>maximum</code>):** <span id="dt-dca061e5806f811ac15f"><code>7</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led-controller@68 {
        compatible = "ti,tlc59116";
        reg = &lt;0x68&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        led@0 {
            reg = &lt;0x0&gt;;
            label = "wrt1900ac:amber:wan";
        };

        led@2 {
            reg = &lt;0x2&gt;;
            label = "wrt1900ac:white:2g";
        };

        led@9 {
            reg = &lt;0x9&gt;;
            label = "wrt1900ac:green:alive";
            linux,default-trigger = "heartbeat";
        };
    };
};
</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>

---

# Texas Instruments TPS6131X flash LED driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for Texas Instruments TPS6131X flash LED driver.

<!-- 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;ti&#44;tps61310&#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;Matthias Fend &#60;matthias&#46;fend&#64;emfend&#46;at&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The TPS61310/TPS61311 is a flash LED driver with I2C interface.
Its power stage is capable of supplying a maximum total current of roughly 1500mA.
The TPS6131x provides three constant-current sinks, capable of sinking
up to 2 x 400mA (LED1 and LED3) and 800mA (LED2) in flash mode.
In torch mode, each sink (LED1, LED2, LED3) supports currents up to 175mA.
Since the three current sinks share most of the control components such as
flash timer, control logic, safety timer and the operating mode, they cannot
be used completely independently of each other. Therefore, only one LED is
supported, but the current sinks can be combined accordingly.</p>
<pre><code>The data sheet can be found at:
  https://www.ti.com/lit/ds/symlink/tps61310.pdf</code></pre>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;ti&#44;tps61311&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;ti&#44;tps61310&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;ti&#44;tps61310&#34;</code></span>

<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-fdf18029f1f43a541a62"></a>

### <code>reset&#45;gpios</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-140c9736042c6903f7ff"><code>1</code></span>

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">GPIO connected to NRESET pin</p>
</div>

<a id="dt-3a679fc84f2fdfc5b6af"></a>

### <code>ti&#44;valley&#45;current&#45;limit</code> — not listed as required here

**Value type (<code>type</code>):** <span id="dt-27a84f0b0251d189ff3b"><code>&#34;boolean&#34;</code></span>

<div id="dt-a6771022864f4d64f78f">
<p style="white-space: pre-wrap">Reduce the valley peak current limit from 1750mA to 1250mA (TPS61310) or from 2480mA to 1800mA (TPS61311).</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>

<a id="dt-0464810ac301d76e7629"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a11b6a1ae7ba32ef65e"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-8717b03cc28e77d13202"></a>

**<code>led&#45;sources</code> — required here**

**Minimum number of items (<code>minItems</code>):** <span id="dt-5edc078611fbc1e5bc72"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-308696538690e5664727"><code>3</code></span>

<a id="dt-21b1a3edec260c1a707b"></a>

**Array item rules (<code>items</code>)**

> **Allowed values (<code>enum</code>):** <a id="dt-f921efff0014a02157c3"></a> <span id="dt-92b6aa2bfc5143f6c631"><code>1</code></span>, <span id="dt-00676da87d666f1a457e"><code>2</code></span>, <span id="dt-e4aa750bb96f439b52dd"><code>3</code></span>

<a id="dt-d0b0f8ab41a6391d25f3"></a>

**<code>led&#45;max&#45;microamp</code> — required here**

<a id="dt-93e606a801f0ea92dc4c"></a>

**Exactly one of these rules must match (<code>oneOf</code>)**

<a id="dt-056be7fcd3999f0976b5"></a>

**Rule 1**

> **Minimum value (<code>minimum</code>):** <span id="dt-f25ae0136b29b7e09b5a"><code>50000</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-bc64552f54554d21ce81"><code>350000</code></span>
>
> **Multiple of (<code>multipleOf</code>):** <span id="dt-9f9a6703790e035bda09"><code>50000</code></span>

<a id="dt-717cdfe94051174738ea"></a>

**Rule 2**

> **Minimum value (<code>minimum</code>):** <span id="dt-7fae64eb67a5a32739c7"><code>25000</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-939b45e7e93b3330b65c"><code>525000</code></span>
>
> **Multiple of (<code>multipleOf</code>):** <span id="dt-324bd531e5f5b0f4ceab"><code>25000</code></span>

<a id="dt-5973299489666f8e26e3"></a>

**<code>flash&#45;max&#45;microamp</code> — required here**

<a id="dt-3031890957f51561441e"></a>

**Exactly one of these rules must match (<code>oneOf</code>)**

<a id="dt-ffd0312ac9b32fddc367"></a>

**Rule 1**

> **Minimum value (<code>minimum</code>):** <span id="dt-027a57e0ae984df2f6d9"><code>50000</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-a48d0a6a4da490804d99"><code>800000</code></span>
>
> **Multiple of (<code>multipleOf</code>):** <span id="dt-fff080aa87d0065b5b29"><code>50000</code></span>

<a id="dt-9cc1392f48a30b38413a"></a>

**Rule 2**

> **Minimum value (<code>minimum</code>):** <span id="dt-1275d8dc89c57c3b1fa3"><code>25000</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-e808fd841d03eed97777"><code>1500000</code></span>
>
> **Multiple of (<code>multipleOf</code>):** <span id="dt-3539caca804539131ac7"><code>25000</code></span>

<a id="dt-05faba5e13e585231331"></a>

**<code>flash&#45;max&#45;timeout&#45;us</code> — required here**

**Allowed values (<code>enum</code>):** <a id="dt-231c62285d8fd24b7ed9"></a> <span id="dt-ed565a331bc3b8b4e09d"><code>5300</code></span>, <span id="dt-313eeb8f9ca70b83c903"><code>10700</code></span>, <span id="dt-a96848ea20daa4849210"><code>16000</code></span>, <span id="dt-bdf1e4341c872310b95d"><code>21300</code></span>, <span id="dt-bd7505c646b315b7f464"><code>26600</code></span>, <span id="dt-0dc9a1aad4734dab40fb"><code>32000</code></span>, <span id="dt-37c4b941f0e42a1a0475"><code>37300</code></span>, <span id="dt-1eba00fc09018939a50b"><code>68200</code></span>, <span id="dt-a0b7968ef62c75343721"><code>71500</code></span>, <span id="dt-e8e089aa4a1ad3292011"><code>102200</code></span>, <span id="dt-b87d7dde06e5831b0609"><code>136300</code></span>, <span id="dt-75a2112345abe982b92a"><code>170400</code></span>, <span id="dt-f6d8d0b2aa11a7ff94da"><code>204500</code></span>, <span id="dt-667cb347820b9f2776d8"><code>340800</code></span>, <span id="dt-7d50363d13cd75bc6ee4"><code>579300</code></span>, <span id="dt-822be2985572c3d420ab"><code>852000</code></span>

**Required in this object (<code>required</code>):** <a id="dt-a96ecf5e1cc8a0ea72eb"></a> <span id="dt-96965b0859b68e45ab36"><code>&#34;led&#45;sources&#34;</code></span>, <span id="dt-227efe19134403be2e16"><code>&#34;led&#45;max&#45;microamp&#34;</code></span>, <span id="dt-356da1e89f36697d2e64"><code>&#34;flash&#45;max&#45;microamp&#34;</code></span>, <span id="dt-5276b5d56525355e7d04"><code>&#34;flash&#45;max&#45;timeout&#45;us&#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>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#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/leds/common.h&gt;
#include &lt;dt-bindings/gpio/gpio.h&gt;

i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  led-controller@33 {
    compatible = "ti,tps61311", "ti,tps61310";
    reg = &lt;0x33&gt;;

    reset-gpios = &lt;&amp;gpio1 0 GPIO_ACTIVE_LOW&gt;;

    led {
      function = LED_FUNCTION_FLASH;
      color = &lt;LED_COLOR_ID_WHITE&gt;;
      led-sources = &lt;1&gt;, &lt;2&gt;, &lt;3&gt;;
      led-max-microamp = &lt;525000&gt;;
      flash-max-microamp = &lt;1500000&gt;;
      flash-max-timeout-us = &lt;852000&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>

---

# Texas Instruments - LM3692x Highly Efficient White LED Driver

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for Texas Instruments - LM3692x Highly Efficient White LED Driver.

<!-- 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;ti&#46;lm36922&#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;Dan Murphy &#60;dmurphy&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The LM3692x is an ultra-compact, highly efficient,
white-LED driver designed for LCD display backlighting.</p>
<p style="white-space: pre-wrap">The main difference between the LM36922 and LM36923 is the number of
LED strings it supports. The LM36922 supports two strings while the LM36923
supports three strings.</p>
<p style="white-space: pre-wrap">For more product information please see the link below:
https://www.ti.com/lit/ds/snvsa29/snvsa29.pdf</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;ti&#44;lm36922&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ti&#44;lm36923&#34;</code></span>

<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-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-0d068058a6f4b36b1505"></a>

### <code>enable&#45;gpios</code> — not listed as required here

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">gpio pin to enable/disable the device.</p>
</div>

<a id="dt-42409c6466fa99f5dd2b"></a>

### <code>vled&#45;supply</code> — not listed as required here

<div id="dt-d27ff73a83c623529667">
<p style="white-space: pre-wrap">LED supply</p>
</div>

<a id="dt-d541e86972c1c8d7b88d"></a>

### <code>ti&#44;ovp&#45;microvolt</code> — not listed as required here

<div id="dt-cf776274b7e249048371">
<p style="white-space: pre-wrap">Overvoltage protection.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-e13f51a7fb3ea673f00e"><code>29000000</code></span>

**Allowed values (<code>enum</code>):** <a id="dt-f0a5dc1b90d912305d68"></a> <span id="dt-12e12be97f39d6baac58"><code>17000000</code></span>, <span id="dt-d1f73249668dcc92c2f1"><code>21000000</code></span>, <span id="dt-2bc50cba3f1eb27e9a3a"><code>25000000</code></span>, <span id="dt-a62740c7b820d3f60f26"><code>29000000</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-27d6c783b4ca9de9aab7"></a>

### <code>&#94;led&#64;&#91;0&#45;3&#93;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-c04d7a8bedd991a9c193"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6470b3f1c0cb069f8653">[<code>common&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-a898a1c0b5e2a7021657"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-a61165d2b26e0226dfce"></a>

**<code>reg</code> — not listed as required here**

**Allowed values (<code>enum</code>):** <a id="dt-c975e5431dd3356385b3"></a> <span id="dt-bea637e7d5f204360f84"><code>0</code></span>, <span id="dt-20550ae54e754cf19786"><code>1</code></span>, <span id="dt-b3c1217f808f08c1e25c"><code>2</code></span>, <span id="dt-ec30af981f81e1c40cbc"><code>3</code></span>

<div id="dt-fea4c0d0d39f777f49ef">
<p style="white-space: pre-wrap">0 - Will enable all LED sync paths
1 - Will enable the LED1 sync
2 - Will enable the LED2 sync
3 - Will enable the LED3 sync (LM36923 only)</p>
</div>

<a id="dt-679eb5ada28301673dfb"></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;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#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-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;ti&#44;lm36922&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-d13cb411f799e6f69048"></a>
> >
> > **<code>led&#64;3</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.

<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;

i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    led-controller@36 {
        compatible = "ti,lm36922";
        reg = &lt;0x36&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        enable-gpios = &lt;&amp;gpio1 28 GPIO_ACTIVE_HIGH&gt;;
        vled-supply = &lt;&amp;vbatt&gt;;
        ti,ovp-microvolt = &lt;29000000&gt;;

        led@0 {
            reg = &lt;0&gt;;
            function = LED_FUNCTION_BACKLIGHT;
            color = &lt;LED_COLOR_ID_WHITE&gt;;
            linux,default-trigger = "backlight";
            led-max-microamp = &lt;20000&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>

---

# Trigger source providers

_Peios Kernel / Hardware and drivers / Device-tree binding reference / LED bindings_

> Device-tree binding reference for Trigger source providers.

<!-- 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;leds&#47;trigger&#45;source&#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;Jacek Anaszewski &#60;jacek&#46;anaszewski&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Pavel Machek &#60;pavel&#64;ucw&#46;cz&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Each trigger source provider should be represented by a device tree node. It may be e.g. a USB port or an Ethernet device.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-9a37fa576e1a5095cf90"></a>

### <code>&#35;trigger&#45;source&#45;cells</code> — not listed as required here

<div id="dt-d3e55122941545c59869">
<p style="white-space: pre-wrap">Number of cells in a source trigger. Typically 0 for nodes of simple trigger sources (e.g. a specific USB port).</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-45ab709fcb785569971f"></a> <span id="dt-c1796361e72cd1b7bddb"><code>0</code></span>, <span id="dt-4fdfa8da79d1c30a1486"><code>1</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>true</code>

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</span></p>

</details>
