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>
14 lines
403 B
Plaintext
14 lines
403 B
Plaintext
# Copyright (c) 2021 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Workaround for not being able to have commas in macro arguments
|
|
DT_COMPAT_NORDIC_NRF_PDM := nordic,nrf-pdm
|
|
|
|
config AUDIO_DMIC_NRFX_PDM
|
|
bool "nRF PDM nrfx driver"
|
|
depends on $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF_PDM))
|
|
default y
|
|
select NRFX_PDM
|
|
help
|
|
Enable support for nrfx PDM driver for nRF MCU series.
|