brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · e850a88 Raw
42 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/leds/leds-class-multicolor.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Common properties for the multicolor LED class.8 9maintainers:10  - Andrew Davis <afd@ti.com>11 12description: |13  Bindings for multi color LEDs show how to describe current outputs of14  either integrated multi-color LED elements (like RGB, RGBW, RGBWA-UV15  etc.) or standalone LEDs, to achieve logically grouped multi-color LED16  modules. This is achieved by adding multi-led nodes layer to the17  monochrome LED bindings.18  The nodes and properties defined in this document are unique to the multicolor19  LED class.  Common LED nodes and properties are inherited from the common.yaml20  within this documentation directory.21 22properties:23  $nodename:24    pattern: "^multi-led(@[0-9a-f])?$"25 26  color:27    description: |28      For multicolor LED support this property should be defined as either29      LED_COLOR_ID_RGB or LED_COLOR_ID_MULTI which can be found in30      include/linux/leds/common.h.31    enum: [ 8, 9 ]32 33required:34  - color35 36allOf:37  - $ref: common.yaml#38 39additionalProperties: true40 41...42