2021-01-07 18:10:34 +08:00
|
|
|
# Copyright (c) 2021 Vestas Wind Systems A/S
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
description: Kinetis PWT PWM Capture
|
|
|
|
|
|
|
|
compatible: "nxp,kinetis-pwt"
|
|
|
|
|
2022-03-09 03:05:51 +08:00
|
|
|
include: [pwm-controller.yaml, base.yaml, pinctrl-device.yaml]
|
2021-01-07 18:10:34 +08:00
|
|
|
|
|
|
|
properties:
|
2023-01-04 03:21:25 +08:00
|
|
|
reg:
|
|
|
|
required: true
|
|
|
|
|
|
|
|
interrupts:
|
|
|
|
required: true
|
|
|
|
|
|
|
|
prescaler:
|
|
|
|
type: int
|
|
|
|
required: true
|
|
|
|
enum:
|
|
|
|
- 1
|
|
|
|
- 2
|
|
|
|
- 4
|
|
|
|
- 8
|
|
|
|
- 16
|
|
|
|
- 32
|
|
|
|
- 64
|
|
|
|
- 128
|
|
|
|
description: Input clock prescaler
|
|
|
|
|
|
|
|
"#pwm-cells":
|
|
|
|
const: 3
|
2021-01-07 18:10:34 +08:00
|
|
|
|
|
|
|
pwm-cells:
|
|
|
|
- channel
|
2023-01-03 20:38:35 +08:00
|
|
|
# period in terms of nanoseconds
|
2021-01-07 18:10:34 +08:00
|
|
|
- period
|
|
|
|
- flags
|