Skip to content

Commit e1b8489

Browse files
committed
drivers: audio: Add NXP MICFIL driver
Add NXP MICFIL driver base DMIC device driver model. Signed-off-by: Zhaoxiang Jin <[email protected]>
1 parent af1fa22 commit e1b8489

File tree

5 files changed

+741
-0
lines changed

5 files changed

+741
-0
lines changed

drivers/audio/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ zephyr_library_sources_ifdef(CONFIG_AUDIO_CODEC_PCM1681 pcm1681.c)
1717
zephyr_library_sources_ifdef(CONFIG_AUDIO_CODEC_MAX98091 max98091.c)
1818
zephyr_library_sources_ifdef(CONFIG_AUDIO_DMIC_AMBIQ_PDM dmic_ambiq_pdm.c)
1919
zephyr_library_sources_ifdef(CONFIG_AUDIO_CODEC_DA7212 da7212.c)
20+
zephyr_library_sources_ifdef(CONFIG_AUDIO_DMIC_NXP_MICFIL dmic_nxp_micfil.c)

drivers/audio/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ source "drivers/audio/Kconfig.mpxxdtyy"
6868
source "drivers/audio/Kconfig.dmic_pdm_nrfx"
6969
source "drivers/audio/Kconfig.dmic_mcux"
7070
source "drivers/audio/Kconfig.dmic_ambiq_pdm"
71+
source "drivers/audio/Kconfig.dmic_nxp_micfil"
7172

7273
endif # AUDIO_DMIC
7374

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Copyright 2025 NXP
2+
#
3+
# SPDX-License-Identifier: Apache-2.0
4+
5+
config AUDIO_DMIC_NXP_MICFIL
6+
bool "NXP MICFIL driver"
7+
default y
8+
depends on DT_HAS_NXP_MICFIL_ENABLED
9+
select HAS_MCUX
10+
select CLOCK_CONTROL
11+
help
12+
Enable NXP MICFIL driver.
13+
14+
if AUDIO_DMIC_NXP_MICFIL
15+
16+
config DMIC_NXP_MICFIL_QUEUE_SIZE
17+
int "Message queue depth"
18+
default 4
19+
help
20+
Depth of the message queue used to pass filled buffers to the app.
21+
22+
endif # AUDIO_DMIC_NXP_MICFIL

0 commit comments

Comments
 (0)