Skip to content

Commit 9b77109

Browse files
drivers: i2s: add i2s driver for max32 mcu
add necessary build files and i2s driver with tx/rx support Signed-off-by: Anuj Pathak <anuj@croxel.com>
1 parent f839db8 commit 9b77109

File tree

3 files changed

+751
-0
lines changed

3 files changed

+751
-0
lines changed

drivers/i2s/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ zephyr_library_sources_ifdef(CONFIG_I2S_SAM_SSC i2s_sam_ssc.c)
99
zephyr_library_sources_ifdef(CONFIG_USERSPACE i2s_handlers.c)
1010
zephyr_library_sources_ifdef(CONFIG_I2S_STM32 i2s_ll_stm32.c)
1111
zephyr_library_sources_ifdef(CONFIG_I2S_LITEX i2s_litex.c)
12+
zephyr_library_sources_ifdef(CONFIG_I2S_MAX32 i2s_max32.c)
1213
zephyr_library_sources_ifdef(CONFIG_I2S_MCUX_FLEXCOMM i2s_mcux_flexcomm.c)
1314
zephyr_library_sources_ifdef(CONFIG_I2S_NRFX i2s_nrfx.c)
1415
zephyr_library_sources_ifdef(CONFIG_I2S_NRF_TDM i2s_nrf_tdm.c)

drivers/i2s/Kconfig.max32

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Copyright (c) 2025 Croxel Inc.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
config I2S_MAX32
5+
bool "Analog Devices MAX32 series I2S driver"
6+
default y
7+
depends on DT_HAS_ADI_MAX32_I2S_ENABLED
8+
select DMA
9+
help
10+
Enable support for Analog Devices MAX32 series I2S driver.
11+
12+
if I2S_MAX32
13+
14+
config I2S_MAX32_QUEUE_SIZE
15+
int "Queue size"
16+
default 8
17+
help
18+
Size of the Tx/Rx pending block queue. This is the maximum number of
19+
blocks that can be queued for transmission or reception.
20+
21+
endif # I2S_MAX32

0 commit comments

Comments
 (0)