| # Copyright (c) 2019, Linaro Limited |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| description: NXP MCUX PWM |
| |
| compatible: "nxp,imx-pwm" |
| |
| include: [pwm-controller.yaml, pinctrl-device.yaml, base.yaml] |
| |
| properties: |
| index: |
| type: int |
| description: flexpwm submodule index |
| required: true |
| |
| interrupts: |
| required: true |
| |
| run-in-wait: |
| type: boolean |
| description: | |
| Enable for PWM to keep running in WAIT mode. |
| |
| run-in-debug: |
| type: boolean |
| description: | |
| Enable for PWM to keep running in debug mode. |
| |
| "#pwm-cells": |
| const: 2 |
| |
| pwm-cells: |
| - channel |
| - period |