Skip to content

Commit 383a0a5

Browse files
dts: bindings: pwm: add binding for the NXP Kinetis Pulse Width Timer
Add devicetree binding for the NXP Kinetis Pulse Width Timer (PWT). Signed-off-by: Henrik Brix Andersen <[email protected]>
1 parent 7aeb3df commit 383a0a5

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Copyright (c) 2021 Vestas Wind Systems A/S
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
description: Kinetis PWT PWM Capture
5+
6+
compatible: "nxp,kinetis-pwt"
7+
8+
include: [pwm-controller.yaml, base.yaml]
9+
10+
properties:
11+
reg:
12+
required: true
13+
14+
interrupts:
15+
required: true
16+
17+
prescaler:
18+
type: int
19+
required: true
20+
enum:
21+
- 1
22+
- 2
23+
- 4
24+
- 8
25+
- 16
26+
- 32
27+
- 64
28+
- 128
29+
description: Input clock prescaler
30+
31+
"#pwm-cells":
32+
const: 3
33+
34+
pwm-cells:
35+
- channel
36+
# period in terms of nanoseconds
37+
- period
38+
- flags

0 commit comments

Comments
 (0)