1 # SPDX-License-Identifier: GPL-2.0-only
4 $id: http://devicetree.org/schemas/leds/backlight/led-backlight.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: led-backlight bindings
10 - Lee Jones <lee@kernel.org>
11 - Daniel Thompson <daniel.thompson@linaro.org>
12 - Jingoo Han <jingoohan1@gmail.com>
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
24 description: A list of LED nodes
25 $ref: /schemas/types.yaml#/definitions/phandle-array
31 Array of distinct brightness levels. The levels must be in the range
32 accepted by the underlying LED devices. This is used to translate a
33 backlight brightness level into a LED brightness level. If it is not
34 provided, the identity mapping is used.
35 $ref: /schemas/types.yaml#/definitions/uint32-array
37 default-brightness-level:
39 The default brightness level (index into the array defined by the
40 "brightness-levels" property).
41 $ref: /schemas/types.yaml#/definitions/uint32
47 additionalProperties: false
52 compatible = "led-backlight";
54 leds = <&led1>, <&led2>;
55 brightness-levels = <0 4 8 16 32 64 128 255>;
56 default-brightness-level = <6>;