Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
fork
Configure Feed
Select the types of activity you want to include in your feed.
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
7title: led-backlight
8
9maintainers:
10 - Lee Jones <lee@kernel.org>
11 - Daniel Thompson <daniel.thompson@linaro.org>
12 - Jingoo Han <jingoohan1@gmail.com>
13
14description:
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
19allOf:
20 - $ref: common.yaml#
21
22properties:
23 compatible:
24 const: led-backlight
25
26 leds: true
27
28required:
29 - compatible
30 - leds
31
32unevaluatedProperties: false
33
34examples:
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...