1# Copyright (c) 2020 Seagate Technology LLC
2# SPDX-License-Identifier: Apache-2.0
3
4include: ["i2c-device.yaml", "led-controller.yaml"]
5
6properties:
7  enable-gpios:
8    type: phandle-array
9    description: |
10      GPIO to use to enable/disable the controller.
11  max_curr_opt:
12    type: boolean
13    description: |
14      If enabled the maximum current output is set to 35 mA (25.5 mA else).
15  log_scale_en:
16    type: boolean
17    description: |
18      If enabled a logarithmic dimming scale curve is used for LED brightness
19      control. A linear dimming scale curve is used else.
20
21child-binding:
22  properties:
23    label:
24      required: true
25    index:
26      required: true
27    color-mapping:
28      required: true
29