| # Copyright (c) 2018, Linaro Limited |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| description: | |
| Group of PWM-controlled LEDs. |
| |
| Each LED is defined in a child node of the pwm-leds node. |
| |
| compatible: "pwm-leds" |
| |
| child-binding: |
| description: PWM LED child node |
| |
| include: |
| - name: led-node.yaml |
| property-allowlist: |
| - label |
| |
| properties: |
| pwms: |
| required: true |
| type: phandle-array |
| description: | |
| Reference to a PWM instance. |
| |
| The period field is used by the set_brightness function of the LED API. |
| Its value should at least be greater that 100 nanoseconds (for a full |
| brigtness granularity) and lesser than 50 milliseconds (average visual |
| persistence time of the human eye). Typical values for the PWM period |
| are 10 or 20 milliseconds. |