-
Notifications
You must be signed in to change notification settings - Fork 633
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nrf fromlist] 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. Upstream PR #: 82436 Signed-off-by: Sebastian Głąb <[email protected]>
- Loading branch information
1 parent
9761d26
commit 04bd62d
Showing
4 changed files
with
45 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ flash: 324 | |
supported: | ||
- adc | ||
- counter | ||
- dmic | ||
- gpio | ||
- i2c | ||
- pwm | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
tests/drivers/audio/dmic_api/boards/nrf54l15dk_nrf54l15_cpuapp.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* Copyright (c) 2024 Nordic Semiconductor ASA | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
/ { | ||
aliases { | ||
dmic-dev = &pdm20; | ||
}; | ||
}; | ||
|
||
&pinctrl { | ||
pdm20_default_alt: pdm20_default_alt { | ||
group1 { | ||
psels = <NRF_PSEL(PDM_CLK, 1, 12)>, | ||
<NRF_PSEL(PDM_DIN, 1, 13)>; | ||
}; | ||
}; | ||
}; | ||
|
||
dmic_dev: &pdm20 { | ||
status = "okay"; | ||
pinctrl-0 = <&pdm20_default_alt>; | ||
pinctrl-names = "default"; | ||
clock-source = "PCLK32M"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters