49 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only2%YAML 1.23---4$id: http://devicetree.org/schemas/leds/backlight/led-backlight.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: led-backlight8 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. It16 can also be used to describe a backlight device controlled by the output of17 a LED driver.18 19allOf:20 - $ref: common.yaml#21 22properties:23 compatible:24 const: led-backlight25 26 leds:27 description: A list of LED nodes28 $ref: /schemas/types.yaml#/definitions/phandle-array29 items:30 maxItems: 131 32required:33 - compatible34 - leds35 36unevaluatedProperties: false37 38examples:39 - |40 backlight {41 compatible = "led-backlight";42 43 leds = <&led1>, <&led2>;44 brightness-levels = <0 4 8 16 32 64 128 255>;45 default-brightness-level = <6>;46 };47 48...49