zephyr/dts/bindings/pwm/nxp,qtmr-pwm.yaml

24 lines
411 B
YAML

# Copyright (c) 2024, NXP
# SPDX-License-Identifier: Apache-2.0
description: NXP QTMR PWM
compatible: "nxp,qtmr-pwm"
include: [pwm-controller.yaml, pinctrl-device.yaml, base.yaml]
properties:
prescaler:
type: int
required: true
description: prescale factor from the qtmr clock.
enum: [1, 2, 4, 8, 16, 32, 64, 128]
"#pwm-cells":
const: 3
pwm-cells:
- channel
- period
- flags