Skip to content

Commit 1b49216

Browse files
ene-stevenfabiobaltieri
authored andcommitted
dts: binding: tach: Add kb1200 tach
A new tach controller addition Signed-off-by: Steven Chang <[email protected]>
1 parent 1147c39 commit 1b49216

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Copyright (c) 2024 ENE Technology Inc.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
description: ENE, KB1200-Tachometer node
5+
6+
compatible: "ene,kb1200-tach"
7+
8+
include: [tach.yaml, pinctrl-device.yaml]
9+
10+
properties:
11+
reg:
12+
required: true
13+
14+
pulses-per-round:
15+
required: true
16+
type: int
17+
description: number of pulses (holes) per round of tachometer's input (encoder)
18+
19+
sample-time-us:
20+
required: true
21+
type: int
22+
enum:
23+
- 2
24+
- 8
25+
- 16
26+
- 64
27+
description: |
28+
sampling time of tachometer. Please notice that it must be 2/8/16/64 us.
29+
30+
pinctrl-0:
31+
required: true
32+
33+
pinctrl-names:
34+
required: true

0 commit comments

Comments
 (0)