Skip to content

Commit 582836c

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 ad30497 commit 582836c

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 = 25
59+
count = 26
6060
[[module.entry]]
6161
name = "BRNGUP"
6262
uuid = "2B79E4F3-4675-F649-89DF-3BC194A91AEB"
@@ -585,3 +585,19 @@ count = 25
585585
pin = [0, 0, 0xfeef, 0xf, 0xf, 0x45ff, 1, 0, 0xfeef, 0xf, 0xf, 0x1ff]
586586
# mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
587587
mod_cfg = [0, 0, 0, 0, 4096, 1000000, 128, 128, 0, 0, 0]
588+
589+
# IGO_NR module config
590+
[[module.entry]]
591+
name = "IGO_NR"
592+
uuid = "696AE2BC-2877-11EB-ADC1-0242AC120002"
593+
affinity_mask = "0x1"
594+
instance_count = "40"
595+
domain_types = "0"
596+
load_type = "0"
597+
module_type = "9"
598+
auto_start = "0"
599+
sched_caps = [1, 0x00008000]
600+
# pin = [dir, type, sample rate, size, container, channel-cfg]
601+
pin = [0, 0, 0xfeef, 0xf, 0xf, 0x45ff, 1, 0, 0xfeef, 0xf, 0xf, 0x1ff]
602+
# mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
603+
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
@@ -177,5 +177,9 @@ load_offset = "0x40000"
177177
#include <audio/module_adapter/module/cadence.toml>
178178
#endif
179179

180+
#ifdef CONFIG_COMP_IGO_NR
181+
#include <audio/igo_nr/igo_nr.toml>
182+
#endif
183+
180184
[module]
181185
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 = 22
63+
count = 23
6464
[[module.entry]]
6565
name = "BRNGUP"
6666
uuid = "61EB0CB9-34D8-4F59-A21D-04C54C21D3A4"
@@ -513,3 +513,19 @@ count = 22
513513
pin = [0, 0, 0x8, 0x2, 0x2, 0x1,
514514
0, 0, 0x8, 0x2, 0x2, 0x4,
515515
1, 0, 0x8, 0x2, 0x2, 0x1]
516+
517+
# IGO_NR module config
518+
[[module.entry]]
519+
name = "IGO_NR"
520+
uuid = "696AE2BC-2877-11EB-ADC1-0242AC120002"
521+
affinity_mask = "0x1"
522+
instance_count = "40"
523+
domain_types = "0"
524+
load_type = "0"
525+
module_type = "9"
526+
auto_start = "0"
527+
sched_caps = [1, 0x00008000]
528+
# pin = [dir, type, sample rate, size, container, channel-cfg]
529+
pin = [0, 0, 0xfeef, 0xf, 0xf, 0x45ff, 1, 0, 0xfeef, 0xf, 0xf, 0x1ff]
530+
# mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
531+
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 = 22
63+
count = 23
6464
[[module.entry]]
6565
name = "BRNGUP"
6666
uuid = "61EB0CB9-34D8-4F59-A21D-04C54C21D3A4"
@@ -513,3 +513,19 @@ count = 22
513513
pin = [0, 0, 0x8, 0x2, 0x2, 0x1,
514514
0, 0, 0x8, 0x2, 0x2, 0x4,
515515
1, 0, 0x8, 0x2, 0x2, 0x1]
516+
517+
# IGO_NR module config
518+
[[module.entry]]
519+
name = "IGO_NR"
520+
uuid = "696AE2BC-2877-11EB-ADC1-0242AC120002"
521+
affinity_mask = "0x1"
522+
instance_count = "40"
523+
domain_types = "0"
524+
load_type = "0"
525+
module_type = "9"
526+
auto_start = "0"
527+
sched_caps = [1, 0x00008000]
528+
# pin = [dir, type, sample rate, size, container, channel-cfg]
529+
pin = [0, 0, 0xfeef, 0xf, 0xf, 0x45ff, 1, 0, 0xfeef, 0xf, 0xf, 0x1ff]
530+
# mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
531+
mod_cfg = [0, 0, 0, 0, 4096, 1000000, 128, 128, 0, 0, 0]

0 commit comments

Comments
 (0)