Skip to content

Commit

Permalink
dts: binding: tach: Add kb1200 tach
Browse files Browse the repository at this point in the history
A new tach controller addition

Signed-off-by: Steven Chang <[email protected]>
  • Loading branch information
ene-steven authored and fabiobaltieri committed Mar 15, 2024
1 parent 1147c39 commit 1b49216
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions dts/bindings/tach/ene,kb1200-tach.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright (c) 2024 ENE Technology Inc.
# SPDX-License-Identifier: Apache-2.0

description: ENE, KB1200-Tachometer node

compatible: "ene,kb1200-tach"

include: [tach.yaml, pinctrl-device.yaml]

properties:
reg:
required: true

pulses-per-round:
required: true
type: int
description: number of pulses (holes) per round of tachometer's input (encoder)

sample-time-us:
required: true
type: int
enum:
- 2
- 8
- 16
- 64
description: |
sampling time of tachometer. Please notice that it must be 2/8/16/64 us.
pinctrl-0:
required: true

pinctrl-names:
required: true

0 comments on commit 1b49216

Please sign in to comment.