led-backlight.yaml 891 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. title: led-backlight
  7. maintainers:
  8. - Lee Jones <lee@kernel.org>
  9. - Daniel Thompson <daniel.thompson@linaro.org>
  10. - Jingoo Han <jingoohan1@gmail.com>
  11. description:
  12. This binding is used to describe a basic backlight device made of LEDs. It
  13. can also be used to describe a backlight device controlled by the output of
  14. a LED driver.
  15. allOf:
  16. - $ref: common.yaml#
  17. properties:
  18. compatible:
  19. const: led-backlight
  20. leds: true
  21. required:
  22. - compatible
  23. - leds
  24. unevaluatedProperties: false
  25. examples:
  26. - |
  27. backlight {
  28. compatible = "led-backlight";
  29. leds = <&led1>, <&led2>;
  30. brightness-levels = <0 4 8 16 32 64 128 255>;
  31. default-brightness-level = <6>;
  32. };
  33. ...