i3c: add cdns i3c driver
This gives initial support to the cadence i3c controller Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
This commit is contained in:
parent
371470d608
commit
672a401f20
6 changed files with 2508 additions and 0 deletions
|
@ -23,3 +23,8 @@ zephyr_library_sources_ifdef(
|
|||
CONFIG_I3C_MCUX
|
||||
i3c_mcux.c
|
||||
)
|
||||
|
||||
zephyr_library_sources_ifdef(
|
||||
CONFIG_I3C_CADENCE
|
||||
i3c_cdns.c
|
||||
)
|
||||
|
|
|
@ -99,5 +99,6 @@ config I3C_CONTROLLER_INIT_PRIORITY
|
|||
comment "Device Drivers"
|
||||
|
||||
rsource "Kconfig.nxp"
|
||||
rsource "Kconfig.cdns"
|
||||
|
||||
endif # I3C
|
||||
|
|
15
drivers/i3c/Kconfig.cdns
Normal file
15
drivers/i3c/Kconfig.cdns
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Copyright (c) 2022 Meta Platforms, Inc. and its affiliates.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
module = I3C_CADENCE
|
||||
module-str = i3c-cadence
|
||||
source "subsys/logging/Kconfig.template.log_config"
|
||||
|
||||
config I3C_CADENCE
|
||||
bool "Cadence I3C driver"
|
||||
select I3C_IBI_WORKQUEUE if I3C_USE_IBI
|
||||
depends on DT_HAS_CDNS_I3C_ENABLED
|
||||
default y
|
||||
help
|
||||
Enable Cadence I3C driver.
|
2465
drivers/i3c/i3c_cdns.c
Normal file
2465
drivers/i3c/i3c_cdns.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue