drivers/clock: Add clock drivers of it51xxx

Add clock drivers for ITE it51xxx series.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
This commit is contained in:
Tim Lin 2024-11-21 17:19:10 +08:00 committed by Benjamin Cabé
commit df56c85e94
8 changed files with 291 additions and 0 deletions

View file

@ -16,6 +16,11 @@
#ifndef _ASMLANGUAGE
struct ite_clk_cfg {
uint8_t ctrl;
uint8_t bits;
};
#ifdef CONFIG_HAS_ITE_INTC
/*
* Save current interrupt state of soc-level into ier_setting[] with