]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - Bindings/leds/backlight/led-backlight.txt
DTS: Update the device-tree files to Linux 5.5
[FreeBSD/FreeBSD.git] / Bindings / leds / backlight / led-backlight.txt
1 led-backlight bindings
2
3 This binding is used to describe a basic backlight device made of LEDs.
4 It can also be used to describe a backlight device controlled by the output of
5 a LED driver.
6
7 Required properties:
8   - compatible: "led-backlight"
9   - leds: a list of LEDs
10
11 Optional properties:
12   - brightness-levels: Array of distinct brightness levels. The levels must be
13                        in the range accepted by the underlying LED devices.
14                        This is used to translate a backlight brightness level
15                        into a LED brightness level. If it is not provided, the
16                        identity mapping is used.
17
18   - default-brightness-level: The default brightness level.
19
20 Example:
21
22         backlight {
23                 compatible = "led-backlight";
24
25                 leds = <&led1>, <&led2>;
26                 brightness-levels = <0 4 8 16 32 64 128 255>;
27                 default-brightness-level = <6>;
28         };