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