zephyr/soc/ite/ec/common
Dino Li c3a4a1a0f6 drivers: intc_ite_it8xxx2: disable debug mode then reset for tests
After flashed EC image, we needed to manually press the reset button
on it8xxx2_evb. Now, without pressing the button, we can disable
debug mode and trigger a watchdog hard reset for running tests.

After flash EC, running below tests can pass (without pressing the button):
west build -p always -b it8xxx2_evb tests/drivers/watchdog/wdt_basic_api
west build -p always -b it8xxx2_evb tests/kernel/timer/timer_api
west build -p always -b it8xxx2_evb tests/kernel/fatal/exception

Signed-off-by: Dino Li <Dino.Li@ite.com.tw>
Signed-off-by: Ruibin Chang <Ruibin.Chang@ite.com.tw>
2024-08-08 06:07:35 -04:00
..
CMakeLists.txt
check_regs.c
chip_chipregs.h drivers: intc_ite_it8xxx2: disable debug mode then reset for tests 2024-08-08 06:07:35 -04:00
pinctrl_soc.h
policy.c
power.c
soc_common.h
soc_common_irq.c
soc_dt.h
soc_espi.h
soc_irq.S
vector.S