tests: drivers: build_all: audio: Add config for st,mpxxdtyy
Add configuration to add `st,mpxxdtyy` to build test. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
This commit is contained in:
parent
0bc0dd7767
commit
b7badee6aa
3 changed files with 33 additions and 0 deletions
24
tests/drivers/build_all/audio/i2s_devices.overlay
Normal file
24
tests/drivers/build_all/audio/i2s_devices.overlay
Normal file
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright (c) 2024 TOKITA Hiroshi
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/ {
|
||||
test {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
test_i2s: i2s@11112222 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "vnd,i2s";
|
||||
reg = <0x11112222 0x1000>;
|
||||
status = "okay";
|
||||
|
||||
test_i2s_mpxxdtyy: mpxxdtyy@0 {
|
||||
compatible = "st,mpxxdtyy";
|
||||
reg = <0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
|
@ -2,3 +2,4 @@ CONFIG_TEST=y
|
|||
CONFIG_GPIO=y
|
||||
CONFIG_AUDIO=y
|
||||
CONFIG_AUDIO_CODEC=y
|
||||
CONFIG_AUDIO_DMIC=y
|
||||
|
|
|
@ -11,3 +11,11 @@ tests:
|
|||
platform_allow:
|
||||
- native_sim
|
||||
- native_sim/native/64
|
||||
|
||||
drivers.audio.build.i2s:
|
||||
extra_args: DTC_OVERLAY_FILE="i2s_devices.overlay"
|
||||
extra_configs:
|
||||
- CONFIG_I2S=y
|
||||
platform_allow:
|
||||
- native_sim
|
||||
- native_sim/native/64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue