mediatek,mt6370-flashlight.yaml 853 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/leds/mediatek,mt6370-flashlight.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Flash LED driver for MT6370 PMIC from MediaTek Integrated.
  7. maintainers:
  8. - Alice Chen <alice_chen@richtek.com>
  9. description: |
  10. This module is part of the MT6370 MFD device.
  11. Add MT6370 flash LED driver include 2-channel flash LED support Torch/Strobe Mode.
  12. properties:
  13. compatible:
  14. const: mediatek,mt6370-flashlight
  15. "#address-cells":
  16. const: 1
  17. "#size-cells":
  18. const: 0
  19. patternProperties:
  20. "^led@[0-1]$":
  21. type: object
  22. $ref: common.yaml#
  23. unevaluatedProperties: false
  24. properties:
  25. reg:
  26. enum: [0, 1]
  27. required:
  28. - compatible
  29. - "#address-cells"
  30. - "#size-cells"
  31. additionalProperties: false