[Sound-open-firmware] [PATCH] topology: test: add more topologies for test

Keqiao.Zhang keqiao.zhang at linux.intel.com
Thu Mar 22 08:01:57 CET 2018


Signed-off-by: Keqiao.Zhang <keqiao.zhang at linux.intel.com>
---
 topology/test/tplg-build.sh | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/topology/test/tplg-build.sh b/topology/test/tplg-build.sh
index b042909..5a6a8f5 100755
--- a/topology/test/tplg-build.sh
+++ b/topology/test/tplg-build.sh
@@ -90,16 +90,35 @@ simple_test nocodec volume "NoCodec" s16le 2 s24le 25 24 2400000 19200000
 simple_test nocodec src "NoCodec" s24le 2 s24le 25 24 2400000 19200000
 
 simple_test codec passthrough "SSP2-Codec" s16le 2 s16le 20 16 1920000 19200000
+simple_test codec passthrough "SSP2-Codec" s24le 2 s16le 20 16 1920000 19200000
+simple_test codec passthrough "SSP2-Codec" s16le 2 s24le 25 24 2400000 19200000
 simple_test codec passthrough "SSP2-Codec" s24le 2 s24le 25 24 2400000 19200000
 simple_test codec volume "SSP2-Codec" s16le 2 s16le 20 16 1920000 19200000
 simple_test codec volume "SSP2-Codec" s24le 2 s24le 25 24 2400000 19200000
+simple_test codec volume "SSP2-Codec" s24le 2 s16le 20 16 1920000 19200000
 simple_test codec volume "SSP2-Codec" s16le 2 s24le 25 24 2400000 19200000
 simple_test codec src "SSP2-Codec" s24le 2 s24le 25 24 2400000 19200000
 
 # for APL
 simple_test nocodec volume "NoCodec" s16le 4 s16le 16 16 1536000 24576000
+simple_test nocodec volume "NoCodec" s24le 4 s16le 16 16 1536000 24576000
+simple_test nocodec volume "NoCodec" s32le 4 s16le 16 16 1536000 24576000
+simple_test nocodec volume "NoCodec" s16le 4 s24le 32 24 3072000 24576000
+simple_test nocodec volume "NoCodec" s24le 4 s24le 32 24 3072000 24576000
+simple_test nocodec volume "NoCodec" s32le 4 s24le 32 24 3072000 24576000
+simple_test nocodec volume "NoCodec" s16le 4 s32le 32 32 3072000 24576000
+simple_test nocodec volume "NoCodec" s24le 4 s32le 32 32 3072000 24576000
+simple_test nocodec volume "NoCodec" s32le 4 s32le 32 32 3072000 24576000
 simple_test codec volume "SSP4-Codec" s16le 4 s16le 16 16 1536000 24576000
 simple_test nocodec volume "NoCodec" s16le 5 s16le 16 16 1536000 24576000
+simple_test nocodec src "NoCodec" s24le 4 s24le 32 24 3072000 24576000
+
+# for CNL
+simple_test nocodec volume "NoCodec" s16le 2 s16le 25 16 2400000 24000000
+simple_test nocodec volume "NoCodec" s16le 2 s24le 25 24 2400000 24000000
+simple_test nocodec volume "NoCodec" s24le 2 s24le 25 24 2400000 24000000
+simple_test nocodec volume "NoCodec" s24le 2 s16le 25 16 2400000 24000000
+simple_test nocodec src "NoCodec" s24le 4 s24le 25 24 2400000 24000000
 
 # Tone test: Tone component only supports s32le currently
 tone_test codec tone "SSP2-Codec" s32le 2 s16le 20 16 1920000 19200000
-- 
2.11.0



More information about the Sound-open-firmware mailing list