File tree Expand file tree Collapse file tree 4 files changed +2
-37
lines changed Expand file tree Collapse file tree 4 files changed +2
-37
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,7 @@ config AUDIO_DMIC_NRFX_PDM
55 bool "nRF PDM nrfx driver"
66 default y
77 depends on DT_HAS_NORDIC_NRF_PDM_ENABLED
8- select NRFX_PDM0 if HAS_HW_NRF_PDM0
9- select NRFX_PDM20 if HAS_HW_NRF_PDM20
10- select NRFX_PDM21 if HAS_HW_NRF_PDM21
8+ select NRFX_PDM
119 select PINCTRL
1210 help
1311 Enable support for nrfx PDM driver for nRF MCU series.
Original file line number Diff line number Diff line change @@ -287,22 +287,7 @@ config NRFX_NVMC
287287 depends on $(dt_nodelabel_exists,flash_controller)
288288
289289config NRFX_PDM
290- bool
291-
292- config NRFX_PDM0
293- bool "PDM0 driver instance"
294- depends on $(dt_nodelabel_exists,pdm0)
295- select NRFX_PDM
296-
297- config NRFX_PDM20
298- bool "PDM20 driver instance"
299- depends on $(dt_nodelabel_exists,pdm20)
300- select NRFX_PDM
301-
302- config NRFX_PDM21
303- bool "PDM21 driver instance"
304- depends on $(dt_nodelabel_exists,pdm21)
305- select NRFX_PDM
290+ bool "PDM driver"
306291
307292config NRFX_POWER
308293 bool "POWER driver"
Original file line number Diff line number Diff line change 272272#ifdef CONFIG_NRFX_PDM_LOG
273273#define NRFX_PDM_CONFIG_LOG_ENABLED 1
274274#endif
275- #ifdef CONFIG_NRFX_PDM0
276- #define NRFX_PDM0_ENABLED 1
277- #endif
278- #ifdef CONFIG_NRFX_PDM20
279- #define NRFX_PDM20_ENABLED 1
280- #endif
281- #ifdef CONFIG_NRFX_PDM21
282- #define NRFX_PDM21_ENABLED 1
283- #endif
284275
285276#ifdef CONFIG_NRFX_POWER
286277#define NRFX_POWER_ENABLED 1
Original file line number Diff line number Diff line change @@ -127,15 +127,6 @@ config HAS_HW_NRF_NVMC_PE
127127config HAS_HW_NRF_OSCILLATORS
128128 def_bool $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF_OSCILLATORS))
129129
130- config HAS_HW_NRF_PDM0
131- def_bool $(dt_nodelabel_enabled_with_compat,pdm0,$(DT_COMPAT_NORDIC_NRF_PDM))
132-
133- config HAS_HW_NRF_PDM20
134- def_bool $(dt_nodelabel_enabled_with_compat,pdm20,$(DT_COMPAT_NORDIC_NRF_PDM))
135-
136- config HAS_HW_NRF_PDM21
137- def_bool $(dt_nodelabel_enabled_with_compat,pdm21,$(DT_COMPAT_NORDIC_NRF_PDM))
138-
139130config HAS_HW_NRF_POWER
140131 def_bool $(dt_compat_enabled,$(DT_COMPAT_NORDIC_NRF_POWER))
141132
You can’t perform that action at this time.
0 commit comments