1# Copyright (c) 2019, Linaro Limited
2# Copyright (c) 2019, Nordic Semiconductor ASA
3# SPDX-License-Identifier: Apache-2.0
4
5# Common fields for LED strips
6
7properties:
8  chain-length:
9    type: int
10    required: true
11    description: |
12      The number of devices in the daisy-chain.
13
14  color-mapping:
15    type: array
16    required: true
17    description: |
18      Channel to color mapping (or pixel order).
19
20      For example a GRB channel to color mapping would be
21
22         color-mapping = <LED_COLOR_ID_GREEN
23                          LED_COLOR_ID_RED
24                          LED_COLOR_ID_BLUE>;
25