Merge remote-tracking branch 'spi/for-5.10' into spi-linus
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / leds / leds-class-multicolor.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/leds/leds-class-multicolor.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Common properties for the multicolor LED class.
8
9 maintainers:
10   - Dan Murphy <dmurphy@ti.com>
11
12 description: |
13   Bindings for multi color LEDs show how to describe current outputs of
14   either integrated multi-color LED elements (like RGB, RGBW, RGBWA-UV
15   etc.) or standalone LEDs, to achieve logically grouped multi-color LED
16   modules. This is achieved by adding multi-led nodes layer to the
17   monochrome LED bindings.
18   The nodes and properties defined in this document are unique to the multicolor
19   LED class.  Common LED nodes and properties are inherited from the common.txt
20   within this documentation directory.
21
22 patternProperties:
23   "^multi-led@([0-9a-f])$":
24     type: object
25     description: Represents the LEDs that are to be grouped.
26     properties:
27       color:
28         const: 8  # LED_COLOR_ID_MULTI
29         description: |
30           For multicolor LED support this property should be defined as
31           LED_COLOR_ID_MULTI which can be found in include/linux/leds/common.h.
32
33     $ref: "common.yaml#"
34
35     required:
36       - color
37
38 additionalProperties: true
39
40 ...