| # Copyright (c) 2018, Linaro Limited |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| description: PWM LEDs parent node |
| |
| compatible: "pwm-leds" |
| |
| include: |
| - name: base.yaml |
| property-allowlist: [label] |
| |
| properties: |
| label: |
| description: | |
| Human readable string describing the device and used to set the device |
| name. It can be passed as argument to device_get_binding() to retrieve |
| the device. If this property is omitted, then the device name is set |
| from the node full name. |
| |
| child-binding: |
| description: PWM LED child node |
| properties: |
| pwms: |
| required: true |
| type: phandle-array |
| |
| label: |
| required: false |
| type: string |
| description: | |
| Human readable string describing the LED. It can be used by an |
| application to identify this LED or to retrieve its number/index |
| (i.e. child node number) on the parent device. |