zephyr/drivers/i3c/CMakeLists.txt
Alvis Sun c6763bd2ca drivers: i3c: npcx: introduce NPCX I3C driver
This implements basic driver to utilize the I3C IP block
on NPCX.

1. I3C mode: Main controller mode only.
2. Transfer: Support SDR only.
3. IBI: Support Hot-Join, IBI(MDB).
   Controller request is not supported.
4. Support 3 I3C modules:
   I3C1(3.3V), I3C2(1.8V, espi mode), (I3C3 1.8V or 3.3V)

Signed-off-by: Alvis Sun <yfsun@nuvoton.com>
2024-04-24 19:40:28 +00:00

48 lines
691 B
CMake

# Copyright (c) 2022 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
zephyr_syscall_header(${ZEPHYR_BASE}/include/zephyr/drivers/i3c.h)
zephyr_library()
zephyr_library_sources(
i3c_ccc.c
i3c_common.c
)
zephyr_library_sources_ifdef(
CONFIG_USERSPACE
i3c_handlers.c
)
zephyr_library_sources_ifdef(
CONFIG_I3C_SHELL
i3c_shell.c
)
zephyr_library_sources_ifdef(
CONFIG_I3C_IBI_WORKQUEUE
i3c_ibi_workq.c
)
zephyr_library_sources_ifdef(
CONFIG_I3C_MCUX
i3c_mcux.c
)
zephyr_library_sources_ifdef(
CONFIG_I3C_CADENCE
i3c_cdns.c
)
zephyr_library_sources_ifdef(
CONFIG_I3C_NPCX
i3c_npcx.c
)
zephyr_library_sources_ifdef(
CONFIG_I3C_TEST
i3c_test.c
)