586e26e8fc
Instead of selecting appropriate HAS_HW_NRF_* options for particular nRF SoCs (and simulated nRF52 target), set their values basing on information from devicetree. Correct also semantics of those options so that they are set only when a corresponding DT node is enabled. This allows using them directly in Kconfig dependencies of Zephyr drivers for nRF peripherals. Update appropriately these dependencies. Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
11 lines
259 B
Plaintext
11 lines
259 B
Plaintext
# Copyright (c) 2021 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config AUDIO_DMIC_NRFX_PDM
|
|
bool "nRF PDM nrfx driver"
|
|
depends on HAS_HW_NRF_PDM
|
|
default y
|
|
select NRFX_PDM
|
|
help
|
|
Enable support for nrfx PDM driver for nRF MCU series.
|