zephyr/drivers/sensor/nuvoton_tach_npcx/Kconfig
Mulin Chao 7c9d3f44f0 driver: sensor: npcx: add tachometer sensor support.
In NPCX7 series, it contains two tachometer (TACH) modules that contains
two Independent timers (counter 1 and 2). They are used to capture a
counter value when an event is detected via the external pads (TA or
TB).

The CL also includes:
— Add npcx tachometer device tree declarations.
— Zephyr sensor api implementation for tachometer.
— Enable "tach1" device in npcx7m6fb.dts for testing.

Signed-off-by: Mulin Chao <mlchao@nuvoton.com>
2021-02-22 17:56:19 -05:00

11 lines
277 B
Plaintext

# NPCX tachometer sensor configuration options
# Copyright (c) 2021 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
config TACH_NPCX
bool "Nuvoton NPCX Tachometer sensor"
depends on SOC_FAMILY_NPCX
help
Enable the "Nuvoton NPCX tachometer sensor.