Skip to content

Commit e15a3a4

Browse files
committed
Tools: rimage: Add ASRC to tgl.toml and tlg-h.toml
This change includes ASRC component into firmware for TGL and TGL-H platforms. The .toml entry for ASRC is copied from asrc.toml data for MTL. This is enough to be able to run and test ASRC in TGL platforms. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent 5b98a5c commit e15a3a4

File tree

2 files changed

+58
-2
lines changed

2 files changed

+58
-2
lines changed

tools/rimage/config/tgl-h.toml

Lines changed: 29 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 = 25
63+
count = 26
6464
[[module.entry]]
6565
name = "BRNGUP"
6666
uuid = "61EB0CB9-34D8-4F59-A21D-04C54C21D3A4"
@@ -562,3 +562,31 @@ count = 25
562562
pin = [0, 0, 0xfeef, 0xf, 0xf, 0x45ff, 1, 0, 0xfeef, 0xf, 0xf, 0x1ff]
563563
# mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
564564
mod_cfg = [0, 0, 0, 0, 4096, 1000000, 128, 128, 0, 0, 0]
565+
566+
# ASRC module config
567+
[[module.entry]]
568+
name = "ASRC"
569+
uuid = "66B4402D-B468-42F2-81A7-B37121863DD4"
570+
affinity_mask = "0x3"
571+
instance_count = "2"
572+
domain_types = "0"
573+
load_type = "0"
574+
module_type = "9"
575+
auto_start = "0"
576+
sched_caps = [1, 0x00008000]
577+
pin = [0, 0, 0xfeef, 0xc, 0x8, 0x45ff, 1, 0, 0xfeef, 0xc, 0x8, 0x45ff]
578+
mod_cfg = [1, 0, 0, 0, 20480, 21808000, 64, 192, 0, 21808, 0,
579+
2, 0, 0, 0, 20480, 45820000, 64, 384, 0, 45820, 0,
580+
3, 0, 0, 0, 20480, 75236000, 512, 1440, 0, 75236, 0,
581+
4, 0, 0, 0, 20480, 79732000, 512, 1536, 0, 79732, 0,
582+
5, 0, 0, 0, 20480, 50411000, 184, 384, 0, 50411, 0,
583+
6, 0, 0, 0, 20480, 24236000, 192, 128, 0, 24236, 0,
584+
7, 0, 0, 0, 20480, 46753000, 192, 384, 0, 46753, 0,
585+
8, 0, 0, 0, 20480, 30032000, 256, 256, 0, 30032, 0,
586+
9, 0, 0, 0, 20480, 48676000, 256, 384, 0, 48676, 0,
587+
10, 0, 0, 0, 20480, 46548000, 360, 360, 0, 46548, 0,
588+
11, 0, 0, 0, 20480, 94372000, 1440, 1536, 0, 94372, 0,
589+
12, 0, 0, 0, 20480, 42912000, 1536, 512, 0, 42912, 0,
590+
13, 0, 0, 0, 20480, 31871000, 384, 192, 0, 31871, 0,
591+
14, 0, 0, 0, 20480, 34216000, 384, 256, 0, 34216, 0,
592+
15, 0, 0, 0, 20480, 83448000, 1536, 1440, 0, 83448, 0]

tools/rimage/config/tgl.toml

Lines changed: 29 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 = 25
63+
count = 26
6464
[[module.entry]]
6565
name = "BRNGUP"
6666
uuid = "61EB0CB9-34D8-4F59-A21D-04C54C21D3A4"
@@ -562,3 +562,31 @@ count = 25
562562
pin = [0, 0, 0xfeef, 0xf, 0xf, 0x45ff, 1, 0, 0xfeef, 0xf, 0xf, 0x1ff]
563563
# mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
564564
mod_cfg = [0, 0, 0, 0, 4096, 1000000, 128, 128, 0, 0, 0]
565+
566+
# ASRC module config
567+
[[module.entry]]
568+
name = "ASRC"
569+
uuid = "66B4402D-B468-42F2-81A7-B37121863DD4"
570+
affinity_mask = "0x3"
571+
instance_count = "2"
572+
domain_types = "0"
573+
load_type = "0"
574+
module_type = "9"
575+
auto_start = "0"
576+
sched_caps = [1, 0x00008000]
577+
pin = [0, 0, 0xfeef, 0xc, 0x8, 0x45ff, 1, 0, 0xfeef, 0xc, 0x8, 0x45ff]
578+
mod_cfg = [1, 0, 0, 0, 20480, 21808000, 64, 192, 0, 21808, 0,
579+
2, 0, 0, 0, 20480, 45820000, 64, 384, 0, 45820, 0,
580+
3, 0, 0, 0, 20480, 75236000, 512, 1440, 0, 75236, 0,
581+
4, 0, 0, 0, 20480, 79732000, 512, 1536, 0, 79732, 0,
582+
5, 0, 0, 0, 20480, 50411000, 184, 384, 0, 50411, 0,
583+
6, 0, 0, 0, 20480, 24236000, 192, 128, 0, 24236, 0,
584+
7, 0, 0, 0, 20480, 46753000, 192, 384, 0, 46753, 0,
585+
8, 0, 0, 0, 20480, 30032000, 256, 256, 0, 30032, 0,
586+
9, 0, 0, 0, 20480, 48676000, 256, 384, 0, 48676, 0,
587+
10, 0, 0, 0, 20480, 46548000, 360, 360, 0, 46548, 0,
588+
11, 0, 0, 0, 20480, 94372000, 1440, 1536, 0, 94372, 0,
589+
12, 0, 0, 0, 20480, 42912000, 1536, 512, 0, 42912, 0,
590+
13, 0, 0, 0, 20480, 31871000, 384, 192, 0, 31871, 0,
591+
14, 0, 0, 0, 20480, 34216000, 384, 256, 0, 34216, 0,
592+
15, 0, 0, 0, 20480, 83448000, 1536, 1440, 0, 83448, 0]

0 commit comments

Comments
 (0)