Skip to content

Commit e6d0540

Browse files
committed
Tools: Rimage: Add Up_down_mixer to TGL and TGL-H .toml
This allows to load the component in TGL IPC4 configured devices. The entries are copied from MTL those seem to work also for TGL for test usage. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent b694161 commit e6d0540

2 files changed

Lines changed: 92 additions & 2 deletions

File tree

tools/rimage/config/tgl-h.toml

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ name = "ADSPFW"
6060
load_offset = "0x30000"
6161

6262
[module]
63-
count = 27
63+
count = 28
6464
[[module.entry]]
6565
name = "BRNGUP"
6666
uuid = "61EB0CB9-34D8-4F59-A21D-04C54C21D3A4"
@@ -606,3 +606,48 @@ count = 27
606606
pin = [0, 0, 0xfeef, 0xf, 0xf, 0x45ff, 1, 0, 0xfeef, 0xf, 0xf, 0x1ff]
607607
# mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
608608
mod_cfg = [0, 0, 0, 0, 4096, 1000000, 128, 128, 0, 0, 0]
609+
610+
[[module.entry]]
611+
name = "UPDWMIX"
612+
uuid = "42f8060c-832f-4dbf-b247-51e961997b34"
613+
affinity_mask = "0x1"
614+
instance_count = "15"
615+
domain_types = "0"
616+
load_type = "0"
617+
module_type = "5"
618+
auto_start = "0"
619+
sched_caps = [1, 0x00008000]
620+
# pin = [dir, type, sample rate, size, container, channel-cfg]
621+
pin = [0, 0, 0xffff, 0xc, 0x8, 0x05ff,
622+
1, 0, 0xffff, 0xc, 0x8, 0x45ff]
623+
# mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
624+
mod_cfg = [1, 0, 0, 0, 216, 5044000, 384, 192, 0, 5044, 0,
625+
2, 0, 0, 0, 216, 2660000, 384, 384, 0, 2660, 0,
626+
3, 0, 0, 0, 216, 3164000, 576, 384, 0, 3164, 0,
627+
4, 0, 0, 0, 216, 3316000, 768, 384, 0, 3316, 0,
628+
5, 0, 0, 0, 216, 5264000, 768, 384, 0, 5264, 0,
629+
6, 0, 0, 0, 216, 5440000, 768, 384, 0, 5440, 0,
630+
7, 0, 0, 0, 216, 2888000, 768, 192, 0, 2888, 0,
631+
8, 0, 0, 0, 216, 2856000, 768, 192, 0, 2856, 0,
632+
9, 0, 0, 0, 216, 2876000, 768, 192, 0, 2876, 0,
633+
10, 0, 0, 0, 216, 2956000, 960, 192, 0, 2956, 0,
634+
11, 0, 0, 0, 216, 2888000, 1152, 192, 0, 2888, 0,
635+
12, 0, 0, 0, 216, 2888000, 1152, 192, 0, 2888, 0,
636+
13, 0, 0, 0, 216, 2816000, 1536, 192, 0, 2816, 0,
637+
14, 0, 0, 0, 216, 2468000, 192, 384, 0, 2468, 0,
638+
15, 0, 0, 0, 216, 3084000, 576, 384, 0, 3084, 0,
639+
16, 0, 0, 0, 216, 3442000, 960, 384, 0, 3442, 0,
640+
17, 0, 0, 0, 216, 3478000, 1152, 384, 0, 3478, 0,
641+
18, 0, 0, 0, 216, 3478000, 1152, 384, 0, 3478, 0,
642+
19, 0, 0, 0, 216, 3736000, 1536, 384, 0, 3736, 0,
643+
20, 0, 0, 0, 216, 3216000, 192, 1152, 0, 3216, 0,
644+
21, 0, 0, 0, 216, 3308000, 384, 1152, 0, 3308, 0,
645+
22, 0, 0, 0, 216, 3616000, 768, 1152, 0, 3616, 0,
646+
23, 0, 0, 0, 216, 3616000, 768, 1152, 0, 3616, 0,
647+
24, 0, 0, 0, 216, 4916000, 1536, 1152, 0, 4916, 0,
648+
25, 0, 0, 0, 216, 3228000, 192, 1152, 0, 3228, 0,
649+
26, 0, 0, 0, 216, 3452000, 384, 1152, 0, 3452, 0,
650+
27, 0, 0, 0, 216, 4016000, 768, 1152, 0, 4016, 0,
651+
28, 0, 0, 0, 216, 5080000, 1536, 1152, 0, 5080, 0,
652+
29, 0, 0, 0, 216, 3552000, 384, 1536, 0, 3552, 0,
653+
30, 0, 0, 0, 216, 3728000, 768, 1152, 0, 3728, 0]

tools/rimage/config/tgl.toml

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ name = "ADSPFW"
6060
load_offset = "0x30000"
6161

6262
[module]
63-
count = 27
63+
count = 28
6464
[[module.entry]]
6565
name = "BRNGUP"
6666
uuid = "61EB0CB9-34D8-4F59-A21D-04C54C21D3A4"
@@ -606,3 +606,48 @@ count = 27
606606
pin = [0, 0, 0xfeef, 0xf, 0xf, 0x45ff, 1, 0, 0xfeef, 0xf, 0xf, 0x1ff]
607607
# mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
608608
mod_cfg = [0, 0, 0, 0, 4096, 1000000, 128, 128, 0, 0, 0]
609+
610+
[[module.entry]]
611+
name = "UPDWMIX"
612+
uuid = "42f8060c-832f-4dbf-b247-51e961997b34"
613+
affinity_mask = "0x1"
614+
instance_count = "15"
615+
domain_types = "0"
616+
load_type = "0"
617+
module_type = "5"
618+
auto_start = "0"
619+
sched_caps = [1, 0x00008000]
620+
# pin = [dir, type, sample rate, size, container, channel-cfg]
621+
pin = [0, 0, 0xffff, 0xc, 0x8, 0x05ff,
622+
1, 0, 0xffff, 0xc, 0x8, 0x45ff]
623+
# mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
624+
mod_cfg = [1, 0, 0, 0, 216, 5044000, 384, 192, 0, 5044, 0,
625+
2, 0, 0, 0, 216, 2660000, 384, 384, 0, 2660, 0,
626+
3, 0, 0, 0, 216, 3164000, 576, 384, 0, 3164, 0,
627+
4, 0, 0, 0, 216, 3316000, 768, 384, 0, 3316, 0,
628+
5, 0, 0, 0, 216, 5264000, 768, 384, 0, 5264, 0,
629+
6, 0, 0, 0, 216, 5440000, 768, 384, 0, 5440, 0,
630+
7, 0, 0, 0, 216, 2888000, 768, 192, 0, 2888, 0,
631+
8, 0, 0, 0, 216, 2856000, 768, 192, 0, 2856, 0,
632+
9, 0, 0, 0, 216, 2876000, 768, 192, 0, 2876, 0,
633+
10, 0, 0, 0, 216, 2956000, 960, 192, 0, 2956, 0,
634+
11, 0, 0, 0, 216, 2888000, 1152, 192, 0, 2888, 0,
635+
12, 0, 0, 0, 216, 2888000, 1152, 192, 0, 2888, 0,
636+
13, 0, 0, 0, 216, 2816000, 1536, 192, 0, 2816, 0,
637+
14, 0, 0, 0, 216, 2468000, 192, 384, 0, 2468, 0,
638+
15, 0, 0, 0, 216, 3084000, 576, 384, 0, 3084, 0,
639+
16, 0, 0, 0, 216, 3442000, 960, 384, 0, 3442, 0,
640+
17, 0, 0, 0, 216, 3478000, 1152, 384, 0, 3478, 0,
641+
18, 0, 0, 0, 216, 3478000, 1152, 384, 0, 3478, 0,
642+
19, 0, 0, 0, 216, 3736000, 1536, 384, 0, 3736, 0,
643+
20, 0, 0, 0, 216, 3216000, 192, 1152, 0, 3216, 0,
644+
21, 0, 0, 0, 216, 3308000, 384, 1152, 0, 3308, 0,
645+
22, 0, 0, 0, 216, 3616000, 768, 1152, 0, 3616, 0,
646+
23, 0, 0, 0, 216, 3616000, 768, 1152, 0, 3616, 0,
647+
24, 0, 0, 0, 216, 4916000, 1536, 1152, 0, 4916, 0,
648+
25, 0, 0, 0, 216, 3228000, 192, 1152, 0, 3228, 0,
649+
26, 0, 0, 0, 216, 3452000, 384, 1152, 0, 3452, 0,
650+
27, 0, 0, 0, 216, 4016000, 768, 1152, 0, 4016, 0,
651+
28, 0, 0, 0, 216, 5080000, 1536, 1152, 0, 5080, 0,
652+
29, 0, 0, 0, 216, 3552000, 384, 1536, 0, 3552, 0,
653+
30, 0, 0, 0, 216, 3728000, 768, 1152, 0, 3728, 0]

0 commit comments

Comments
 (0)