Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rimage: mtl: add cadence module entry #8488

Merged
merged 1 commit into from
Nov 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion tools/rimage/config/mtl.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ name = "ADSPFW"
load_offset = "0x40000"

[module]
count = 27
count = 28
[[module.entry]]
name = "BRNGUP"
uuid = "2B79E4F3-4675-F649-89DF-3BC194A91AEB"
Expand Down Expand Up @@ -690,3 +690,24 @@ count = 27
20, 0, 0, 0, 12832, 20881000, 0, 0, 0, 20881, 0,
21, 0, 0, 0, 12832, 23431000, 0, 0, 0, 23431, 0,
22, 0, 0, 0, 12832, 30471000, 0, 0, 0, 30471, 0]

# Cadence module config
[[module.entry]]
name = "CADENCE"
uuid = "D8218443-5FF3-4A4C-B388-6CFE07B956AA"
affinity_mask = "0x3"
instance_count = "1"
domain_types = "0"
load_type = "0"
init_config = "1"
module_type = "31"
auto_start = "0"
sched_caps = [1, 0x00008000]

# pin = [dir, type, sample rate, size, container, channel-cfg]
pin = [0, 0, 0xfeef, 0xf, 0xa, 0x45ff,
0, 0, 0xfeef, 0xf, 0xa, 0x45ff,
1, 0, 0xfeef, 0xf, 0xa, 0x45ff]

# 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]