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:
TOKITA Hiroshi 2024-09-28 15:16:55 +09:00 committed by Benjamin Cabé
commit b7badee6aa
3 changed files with 33 additions and 0 deletions

View 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>;
};
};
};
};

View file

@ -2,3 +2,4 @@ CONFIG_TEST=y
CONFIG_GPIO=y
CONFIG_AUDIO=y
CONFIG_AUDIO_CODEC=y
CONFIG_AUDIO_DMIC=y

View file

@ -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