011b730b4c
Nuvoton NPCX chips have reset registers which allow to reset the peripheral hardware modules. This commit adds the support by implementing the reset driver. Note that only the reset_line_toggle API is supported because of the nature of the reset controller's design. Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
13 lines
593 B
CMake
13 lines
593 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/reset.h)
|
|
|
|
zephyr_library()
|
|
zephyr_library_sources_ifdef(CONFIG_RESET_GD32 reset_gd32.c)
|
|
zephyr_library_sources_ifdef(CONFIG_RESET_RPI_PICO reset_rpi_pico.c)
|
|
zephyr_library_sources_ifdef(CONFIG_RESET_AST10X0 reset_ast10x0.c)
|
|
zephyr_library_sources_ifdef(CONFIG_RESET_STM32 reset_stm32.c)
|
|
zephyr_library_sources_ifdef(CONFIG_RESET_NUMAKER reset_numaker.c)
|
|
zephyr_library_sources_ifdef(CONFIG_RESET_INTEL_SOCFPGA reset_intel_socfpga.c)
|
|
zephyr_library_sources_ifdef(CONFIG_RESET_NPCX reset_npcx.c)
|