Skip to content

Commit d1d983d

Browse files
ttmutcfriedt
authored andcommitted
drivers: i3c: Introduce MAX32 I3C driver
Add I3C driver for ADI MAX32 microcontrollers. Signed-off-by: Tahsin Mutlugun <[email protected]>
1 parent 4b15936 commit d1d983d

File tree

5 files changed

+1959
-0
lines changed

5 files changed

+1959
-0
lines changed

drivers/i3c/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ zephyr_library_sources_ifdef(
7171
i3cs_it51xxx.c
7272
)
7373

74+
zephyr_library_sources_ifdef(
75+
CONFIG_I3C_MAX32
76+
i3c_max32.c
77+
)
78+
7479
zephyr_library_sources_ifdef(
7580
CONFIG_I3C_TEST
7681
i3c_test.c

drivers/i3c/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ rsource "Kconfig.nxp"
211211
rsource "Kconfig.cdns"
212212
rsource "Kconfig.npcx"
213213
rsource "Kconfig.dw"
214+
rsource "Kconfig.max32"
214215
rsource "Kconfig.test"
215216
rsource "Kconfig.stm32"
216217
rsource "Kconfig.it51xxx"

drivers/i3c/Kconfig.max32

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Copyright (c) 2024 Analog Devices, Inc.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
module = I3C_MAX32
6+
module-str = i3c-max32
7+
source "subsys/logging/Kconfig.template.log_config"
8+
9+
config I3C_MAX32
10+
bool "Analog Devices MAX32 I3C driver"
11+
depends on DT_HAS_ADI_MAX32_I3C_ENABLED
12+
select PINCTRL
13+
select I3C_IBI_WORKQUEUE if I3C_USE_IBI
14+
default y
15+
help
16+
I3C driver for MAX32 SoC family.

0 commit comments

Comments
 (0)