Debian Codegraph @

Documentation/devicetree/bindings/leds/backlight/led-backlight.yaml

raw
1 # SPDX-License-Identifier: GPL-2.0-only
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/led-backlight.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: led-backlight
8
9 maintainers:
10 - Lee Jones <[email protected]>
11 - Daniel Thompson <[email protected]>
12 - Jingoo Han <[email protected]>
13
14 description:
15 This binding is used to describe a basic backlight device made of LEDs. It
16 can also be used to describe a backlight device controlled by the output of
17 a LED driver.
18
19 allOf:
20 - $ref: common.yaml#
21
22 properties:
23 compatible:
24 const: led-backlight
25
26 leds: true
27
28 required:
29 - compatible
30 - leds
31
32 unevaluatedProperties: false
33
34 examples:
35 - |
36 backlight {
37 compatible = "led-backlight";
38
39 leds = <&led1>, <&led2>;
40 brightness-levels = <0 4 8 16 32 64 128 255>;
41 default-brightness-level = <6>;
42 };
43
44 ...