mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-10 16:46:08 +00:00
This driver supports ST Microelectronics digital pdm microphones (MPxxDTyy) connected through different peripherals. Currently only I2S is supported. The driver makes use internally of the OpenPDM2PCM library to convert the PDM audio stream to PCM. Currently the oversampling factor is fixed to 64. Signed-off-by: Armando Visconti <armando.visconti@st.com>
62 lines
1.1 KiB
Plaintext
62 lines
1.1 KiB
Plaintext
# Kconfig - Audio Codec configuration options
|
|
|
|
#
|
|
# Copyright (c) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig AUDIO
|
|
bool "Support for Audio"
|
|
help
|
|
Enable support for Audio
|
|
|
|
if AUDIO
|
|
#
|
|
# Audio Codec options
|
|
#
|
|
menuconfig AUDIO_CODEC
|
|
bool "Audio Codec Drivers"
|
|
help
|
|
Enable Audio Codec Driver Configuration
|
|
|
|
if AUDIO_CODEC
|
|
|
|
config AUDIO_CODEC_INIT_PRIORITY
|
|
int "Init priority"
|
|
default 60
|
|
help
|
|
Audio codec device driver initialization priority.
|
|
|
|
module = AUDIO_CODEC
|
|
module-str = audio codec
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
source "drivers/audio/Kconfig.tlv320dac"
|
|
|
|
endif # AUDIO_CODEC
|
|
|
|
menuconfig AUDIO_DMIC
|
|
bool "Digital Microphone (Audio) Drivers"
|
|
help
|
|
Enable Digital Microphone Driver Configuration
|
|
|
|
if AUDIO_DMIC
|
|
|
|
config AUDIO_DMIC_INIT_PRIORITY
|
|
int "Init priority"
|
|
default 60
|
|
help
|
|
Audio Digital Microphone device driver initialization priority.
|
|
|
|
module = AUDIO_DMIC
|
|
module-str = audio_dmic
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
source "drivers/audio/Kconfig.intel_dmic"
|
|
source "drivers/audio/Kconfig.mpxxdtyy"
|
|
|
|
endif # AUDIO_DMIC
|
|
|
|
endif # AUDIO
|