drivers/sensor/ite/tach/it51xxx: implement tachometer driver

Implement tachometer driver for ITE it51xxx series chip.

Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
This commit is contained in:
Ruibin Chang 2025-04-24 15:18:39 +08:00 committed by Benjamin Cabé
commit eb99158a80
10 changed files with 329 additions and 0 deletions

View file

@ -9,6 +9,8 @@
#include <zephyr/sys/util.h>
#define IT51XXX_EC_FREQ KHZ(9200)
#ifdef _ASMLANGUAGE
#define ECREG(x) x
#else