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