1# Copyright (c) 2018, Linaro Limited 2# SPDX-License-Identifier: Apache-2.0 3 4description: PWM LEDs parent node 5 6compatible: "pwm-leds" 7 8child-binding: 9 description: PWM LED child node 10 properties: 11 pwms: 12 required: true 13 type: phandle-array 14 description: | 15 Reference to a PWM instance. 16 17 The period field is used by the set_brightness function of the LED API. 18 Its value should at least be greater that 100 nanoseconds (for a full 19 brigtness granularity) and lesser than 50 milliseconds (average visual 20 persistence time of the human eye). Typical values for the PWM period 21 are 10 or 20 milliseconds. 22 23 label: 24 type: string 25 description: | 26 Human readable string describing the LED. It can be used by an 27 application to identify this LED or to retrieve its number/index 28 (i.e. child node number) on the parent device. 29