Skip to content

Commit

Permalink
[TEST ONLY] Add RTC_AEC module
Browse files Browse the repository at this point in the history
Signed-off-by: Yong Zhi <[email protected]>
  • Loading branch information
yongzhi1 committed Aug 25, 2023
1 parent 4fb9fe0 commit 026036f
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion config/mtl.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ name = "ADSPFW"
load_offset = "0x40000"

[module]
count = 20
count = 21
[[module.entry]]
name = "BRNGUP"
uuid = "2B79E4F3-4675-F649-89DF-3BC194A91AEB"
Expand Down Expand Up @@ -502,3 +502,23 @@ count = 20
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]

# TODO: update affinity_mask and domain_types when DP is ready
[[module.entry]]
name = "RTC_AEC"
uuid = "B780A0A6-269F-466F-B477-23DFA05AF758"
affinity_mask = "0x1"
instance_count = "1"
domain_types = "0"
# TODO: check load_type
load_type = "1"
module_type = "10"
init_config = "1"
auto_start = "0"
sched_caps = [1, 0x00008000]

# TODO: double check the pin configs
# pin = [dir, type, sample rate, size, container, channel-cfg]
pin = [0, 0, 0x8, 0x2, 0x2, 0x1,
0, 0, 0x8, 0x2, 0x2, 0x4,
1, 0, 0x8, 0x2, 0x2, 0x1]

0 comments on commit 026036f

Please sign in to comment.