Skip to content

Commit 3685642

Browse files
committed
Tools: Rimage: Config: Add IGO NR component for TGL, MTL, LNL platforms
This patch enables to load the component in the changed platforms. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent f5e3629 commit 3685642

File tree

5 files changed

+73
-3
lines changed

5 files changed

+73
-3
lines changed

src/audio/igo_nr/igo_nr.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
// IGO_NR module config
3+
[[module.entry]]
4+
name = "IGO_NR"
5+
uuid = "696AE2BC-2877-11EB-ADC1-0242AC120002"
6+
affinity_mask = "0x1"
7+
instance_count = "40"
8+
domain_types = "0"
9+
load_type = "0"
10+
module_type = "9"
11+
auto_start = "0"
12+
sched_caps = [1, 0x00008000]
13+
// pin = [dir, type, sample rate, size, container, channel-cfg]
14+
pin = [0, 0, 0xfeef, 0xf, 0xf, 0x45ff, 1, 0, 0xfeef, 0xf, 0xf, 0x1ff]
15+
// mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
16+
mod_cfg = [0, 0, 0, 0, 4096, 1000000, 128, 128, 0, 0, 0]
17+
18+
index = __COUNTER__

tools/rimage/config/lnl.toml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ name = "ADSPFW"
5656
load_offset = "0x40000"
5757

5858
[module]
59-
count = 26
59+
count = 27
6060
[[module.entry]]
6161
name = "BRNGUP"
6262
uuid = "2B79E4F3-4675-F649-89DF-3BC194A91AEB"
@@ -601,3 +601,19 @@ count = 26
601601
pin = [0, 0, 0xfeef, 0xf, 0xf, 0x45ff, 1, 0, 0xfeef, 0xf, 0xf, 0x1ff]
602602
# mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
603603
mod_cfg = [0, 0, 0, 0, 4096, 1000000, 128, 128, 0, 0, 0]
604+
605+
# IGO_NR module config
606+
[[module.entry]]
607+
name = "IGO_NR"
608+
uuid = "696AE2BC-2877-11EB-ADC1-0242AC120002"
609+
affinity_mask = "0x1"
610+
instance_count = "40"
611+
domain_types = "0"
612+
load_type = "0"
613+
module_type = "9"
614+
auto_start = "0"
615+
sched_caps = [1, 0x00008000]
616+
# pin = [dir, type, sample rate, size, container, channel-cfg]
617+
pin = [0, 0, 0xfeef, 0xf, 0xf, 0x45ff, 1, 0, 0xfeef, 0xf, 0xf, 0x1ff]
618+
# mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
619+
mod_cfg = [0, 0, 0, 0, 4096, 1000000, 128, 128, 0, 0, 0]

tools/rimage/config/mtl.toml.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,5 +181,9 @@ load_offset = "0x40000"
181181
#include <audio/rtnr/rtnr.toml>
182182
#endif
183183

184+
#ifdef CONFIG_COMP_IGO_NR
185+
#include <audio/igo_nr/igo_nr.toml>
186+
#endif
187+
184188
[module]
185189
count = __COUNTER__

tools/rimage/config/tgl-h.toml

Lines changed: 17 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 = 23
63+
count = 24
6464
[[module.entry]]
6565
name = "BRNGUP"
6666
uuid = "61EB0CB9-34D8-4F59-A21D-04C54C21D3A4"
@@ -529,3 +529,19 @@ count = 23
529529
pin = [0, 0, 0xfeef, 0xf, 0xf, 0x45ff, 1, 0, 0xfeef, 0xf, 0xf, 0x1ff]
530530
# mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
531531
mod_cfg = [0, 0, 0, 0, 4096, 1000000, 128, 128, 0, 0, 0]
532+
533+
# IGO_NR module config
534+
[[module.entry]]
535+
name = "IGO_NR"
536+
uuid = "696AE2BC-2877-11EB-ADC1-0242AC120002"
537+
affinity_mask = "0x1"
538+
instance_count = "40"
539+
domain_types = "0"
540+
load_type = "0"
541+
module_type = "9"
542+
auto_start = "0"
543+
sched_caps = [1, 0x00008000]
544+
# pin = [dir, type, sample rate, size, container, channel-cfg]
545+
pin = [0, 0, 0xfeef, 0xf, 0xf, 0x45ff, 1, 0, 0xfeef, 0xf, 0xf, 0x1ff]
546+
# mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
547+
mod_cfg = [0, 0, 0, 0, 4096, 1000000, 128, 128, 0, 0, 0]

tools/rimage/config/tgl.toml

Lines changed: 17 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 = 23
63+
count = 24
6464
[[module.entry]]
6565
name = "BRNGUP"
6666
uuid = "61EB0CB9-34D8-4F59-A21D-04C54C21D3A4"
@@ -529,3 +529,19 @@ count = 23
529529
pin = [0, 0, 0xfeef, 0xf, 0xf, 0x45ff, 1, 0, 0xfeef, 0xf, 0xf, 0x1ff]
530530
# mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
531531
mod_cfg = [0, 0, 0, 0, 4096, 1000000, 128, 128, 0, 0, 0]
532+
533+
# IGO_NR module config
534+
[[module.entry]]
535+
name = "IGO_NR"
536+
uuid = "696AE2BC-2877-11EB-ADC1-0242AC120002"
537+
affinity_mask = "0x1"
538+
instance_count = "40"
539+
domain_types = "0"
540+
load_type = "0"
541+
module_type = "9"
542+
auto_start = "0"
543+
sched_caps = [1, 0x00008000]
544+
# pin = [dir, type, sample rate, size, container, channel-cfg]
545+
pin = [0, 0, 0xfeef, 0xf, 0xf, 0x45ff, 1, 0, 0xfeef, 0xf, 0xf, 0x1ff]
546+
# mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
547+
mod_cfg = [0, 0, 0, 0, 4096, 1000000, 128, 128, 0, 0, 0]

0 commit comments

Comments
 (0)