From 3b007db4f725ef002a6134b15e3982e992cf7687 Mon Sep 17 00:00:00 2001 From: Seppo Ingalsuo Date: Thu, 19 Oct 2023 17:53:10 +0300 Subject: [PATCH] Tools: Rimage: Config: Add IGO NR component for TGL and TGL-H This patch enables to load the component with TGL and TGL-H platforms. Signed-off-by: Seppo Ingalsuo --- tools/rimage/config/tgl-cavs.toml | 18 +++++++++++++++++- tools/rimage/config/tgl-h-cavs.toml | 18 +++++++++++++++++- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/tools/rimage/config/tgl-cavs.toml b/tools/rimage/config/tgl-cavs.toml index 3811e2e170c7..f94e0d6b03ee 100644 --- a/tools/rimage/config/tgl-cavs.toml +++ b/tools/rimage/config/tgl-cavs.toml @@ -60,7 +60,7 @@ name = "ADSPFW" load_offset = "0x30000" [module] -count = 22 +count = 23 [[module.entry]] name = "BRNGUP" uuid = "61EB0CB9-34D8-4F59-A21D-04C54C21D3A4" @@ -513,3 +513,19 @@ count = 22 pin = [0, 0, 0x8, 0x2, 0x2, 0x1, 0, 0, 0x8, 0x2, 0x2, 0x4, 1, 0, 0x8, 0x2, 0x2, 0x1] + + # IGO_NR module config + [[module.entry]] + name = "IGO_NR" + uuid = "696AE2BC-2877-11EB-ADC1-0242AC120002" + affinity_mask = "0x1" + instance_count = "40" + domain_types = "0" + load_type = "0" + module_type = "9" + auto_start = "0" + sched_caps = [1, 0x00008000] + # pin = [dir, type, sample rate, size, container, channel-cfg] + pin = [0, 0, 0xfeef, 0xf, 0xf, 0x45ff, 1, 0, 0xfeef, 0xf, 0xf, 0x1ff] + # mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS] + mod_cfg = [0, 0, 0, 0, 4096, 1000000, 128, 128, 0, 0, 0] diff --git a/tools/rimage/config/tgl-h-cavs.toml b/tools/rimage/config/tgl-h-cavs.toml index e84736ea1fa0..2fd6e3e9c7e3 100644 --- a/tools/rimage/config/tgl-h-cavs.toml +++ b/tools/rimage/config/tgl-h-cavs.toml @@ -60,7 +60,7 @@ name = "ADSPFW" load_offset = "0x30000" [module] -count = 22 +count = 23 [[module.entry]] name = "BRNGUP" uuid = "61EB0CB9-34D8-4F59-A21D-04C54C21D3A4" @@ -513,3 +513,19 @@ count = 22 pin = [0, 0, 0x8, 0x2, 0x2, 0x1, 0, 0, 0x8, 0x2, 0x2, 0x4, 1, 0, 0x8, 0x2, 0x2, 0x1] + + # IGO_NR module config + [[module.entry]] + name = "IGO_NR" + uuid = "696AE2BC-2877-11EB-ADC1-0242AC120002" + affinity_mask = "0x1" + instance_count = "40" + domain_types = "0" + load_type = "0" + module_type = "9" + auto_start = "0" + sched_caps = [1, 0x00008000] + # pin = [dir, type, sample rate, size, container, channel-cfg] + pin = [0, 0, 0xfeef, 0xf, 0xf, 0x45ff, 1, 0, 0xfeef, 0xf, 0xf, 0x1ff] + # mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS] + mod_cfg = [0, 0, 0, 0, 4096, 1000000, 128, 128, 0, 0, 0]