rohm,bd71828-leds.yaml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/leds/rohm,bd71828-leds.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: ROHM BD71828 Power Management Integrated Circuit LED driver
  7. maintainers:
  8. - Matti Vaittinen <mazziesaccount@gmail.com>
  9. description: |
  10. This module is part of the ROHM BD71828 MFD device. For more details
  11. see Documentation/devicetree/bindings/mfd/rohm,bd71828-pmic.yaml.
  12. The LED controller is represented as a sub-node of the PMIC node on the device
  13. tree.
  14. The device has two LED outputs referred as GRNLED and AMBLED in data-sheet.
  15. properties:
  16. compatible:
  17. const: rohm,bd71828-leds
  18. patternProperties:
  19. "^led-[1-2]$":
  20. $ref: common.yaml#
  21. unevaluatedProperties: false
  22. properties:
  23. rohm,led-compatible:
  24. description: LED identification string
  25. $ref: /schemas/types.yaml#/definitions/string
  26. enum:
  27. - bd71828-ambled
  28. - bd71828-grnled
  29. required:
  30. - compatible
  31. additionalProperties: false
  32. ...