Skip to content

Commit 2e23dfd

Browse files
nordic-seglkartben
authored andcommitted
tests: drivers: audio: dmic_api: Enable test execution on nrf54l15
Enable execution of dmic_api test on nrf54l15: - add 'dmic' to the list of supported peripherals; - add overlay for nrf54l15; - align Nordic's implementation of PDM driver to pass the test. Signed-off-by: Sebastian Głąb <[email protected]>
1 parent a1c3131 commit 2e23dfd

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l15_cpuapp.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ flash: 324
1414
supported:
1515
- adc
1616
- counter
17+
- dmic
1718
- gpio
1819
- i2c
1920
- pwm
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/*
2+
* Copyright (c) 2024 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
/ {
8+
aliases {
9+
dmic-dev = &pdm20;
10+
};
11+
};
12+
13+
&pinctrl {
14+
pdm20_default_alt: pdm20_default_alt {
15+
group1 {
16+
psels = <NRF_PSEL(PDM_CLK, 1, 12)>,
17+
<NRF_PSEL(PDM_DIN, 1, 13)>;
18+
};
19+
};
20+
};
21+
22+
dmic_dev: &pdm20 {
23+
status = "okay";
24+
pinctrl-0 = <&pdm20_default_alt>;
25+
pinctrl-names = "default";
26+
clock-source = "PCLK32M";
27+
};

0 commit comments

Comments
 (0)