zephyr/dts/bindings/tach/ite,it8xxx2-tach.yaml

42 lines
790 B
YAML

# Copyright (c) 2021 ITE Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
description: ITE, it8xxx2 Tachometer node
compatible: "ite,it8xxx2-tach"
include: [tach.yaml, pinctrl-device.yaml]
properties:
reg:
required: true
dvs-bit:
type: int
required: true
description: tachometer data valid bit of tswctlr register
chsel-bit:
type: int
required: true
description: tachometer data valid status bit of tswctlr register
channel:
type: int
required: true
enum:
- 0
- 1
description: 0 = TACH_CHANNEL_A, 1 = TACH_CHANNEL_B
pulses-per-round:
type: int
required: true
description: number of pulses per round of tachometer's input
pinctrl-0:
required: true
pinctrl-names:
required: true