Skip to content

Commit 1c48208

Browse files
Chao Songlgirdwood
authored andcommitted
config: tgl-cavs: add smart amp test module config
This patch adds module config for smart amp test module. Signed-off-by: Chao Song <chao.song@linux.intel.com>
1 parent 082b626 commit 1c48208

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

config/tgl-cavs.toml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ name = "ADSPFW"
5252
load_offset = "0x30000"
5353

5454
[module]
55-
count = 9
55+
count = 10
5656
[[module.entry]]
5757
name = "BRNGUP"
5858
uuid = "61EB0CB9-34D8-4F59-A21D-04C54C21D3A4"
@@ -266,3 +266,23 @@ count = 9
266266
20, 0, 0, 0, 12832, 20881000, 0, 0, 0, 20881, 0,
267267
21, 0, 0, 0, 12832, 23431000, 0, 0, 0, 23431, 0,
268268
22, 0, 0, 0, 12832, 30471000, 0, 0, 0, 30471, 0]
269+
270+
# smart amp test module config
271+
[[module.entry]]
272+
name = "SMATEST"
273+
uuid = "167A961E-8AE4-11EA-89F1-000C29CE1635"
274+
affinity_mask = "0x1"
275+
instance_count = "1"
276+
domain_types = "0"
277+
load_type = "0"
278+
module_type = "8"
279+
auto_start = "0"
280+
sched_caps = [1, 0x00008000]
281+
282+
# pin = [dir, type, sample rate, size, container, channel-cfg]
283+
pin = [0, 0, 0xfeef, 0xf, 0xa, 0x45ff,
284+
0, 0, 0xfeef, 0xf, 0xa, 0x45ff,
285+
1, 0, 0xfeef, 0xf, 0xa, 0x45ff]
286+
287+
# mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
288+
mod_cfg = [0, 0, 0, 0, 4096, 1000000, 128, 128, 0, 0, 0]

0 commit comments

Comments
 (0)