1bf7c391b8
Add a shim that allows using the nrfx PDM driver via the Zephyr API. Add also missing devicetree nodes representing the PDM peripherals in the nRF52 Series SoCs. Extend the "nordic,nrf-pdm" binding with a new property that allows specifying the clock source to be used by the PDM peripheral (so that it is possible to use HFXO for better accuracy of the peripheral clock or, in the nRF53 Series SoCs, to use the dedicated audio oscillator). Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
60 lines
1.1 KiB
Plaintext
60 lines
1.1 KiB
Plaintext
# 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 80
|
|
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"
|
|
source "drivers/audio/Kconfig.dmic_pdm_nrfx"
|
|
|
|
endif # AUDIO_DMIC
|
|
|
|
endif # AUDIO
|