mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-03 04:35:13 +00:00
This CL contains the drivers of NPCX Host Sub-Modules that serve as an interface between the Host and Core domains. For most of them, the Host can configure these modules via eSPI(Peripheral Channel)/LPC by accessing 'Configuration and Control register Set' which IO base address is 0x4E as default. And the interrupts in core domain help handling any events from host side. In this commit, we introduced six host sub-modules. It includes: 1. Keyboard and Mouse Controller (KBC) interface. 2. Power Management (PM) channels. 3. Shared Memory mechanism (SHM). 4. Core Access to Host Modules (C2H). 5. Mobile System Wake-Up functions (MSWC). 6. Serial Port (Legacy UART) The tasks in application layer such as 8042, ACPI and host command can cooperation with this driver by connecting api or callback functions. Signed-off-by: Mulin Chao <MLChao@nuvoton.com>
9 lines
336 B
CMake
9 lines
336 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_library()
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_ESPI_XEC espi_mchp_xec.c)
|
|
zephyr_library_sources_ifdef(CONFIG_ESPI_NPCX espi_npcx.c)
|
|
zephyr_library_sources_ifdef(CONFIG_ESPI_NPCX host_subs_npcx.c)
|
|
zephyr_library_sources_ifdef(CONFIG_USERSPACE espi_handlers.c)
|