led-backlight
Schema identifier ($id): "http://devicetree.org/schemas/leds/backlight/led-backlight.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lee Jones <lee@kernel.org>", "Daniel Thompson <daniel.thompson@linaro.org>", "Jingoo Han <jingoohan1@gmail.com>"
This binding is used to describe a basic backlight device made of LEDs. It can also be used to describe a backlight device controlled by the output of a LED driver.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "led-backlight"
leds — required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "leds"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
backlight {
compatible = "led-backlight";
leds = <&led1>, <&led2>;
brightness-levels = <0 4 8 16 32 64 128 255>;
default-brightness-level = <6>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only