Skip to content

Commit

Permalink
mtl: add dts-codec support
Browse files Browse the repository at this point in the history
Signed-off-by: Mac Chiang <[email protected]>
  • Loading branch information
macchian committed Oct 3, 2023
1 parent ac487e0 commit 2309edf
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 = 25
count = 26
[[module.entry]]
name = "BRNGUP"
uuid = "2B79E4F3-4675-F649-89DF-3BC194A91AEB"
Expand Down Expand Up @@ -630,3 +630,23 @@ count = 25
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]

# dts codec module config
[[module.entry]]
name = "DTS"
uuid = "D95FC34F-370F-4AC7-BC86-BFDC5BE241E6"
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, 1000, 0,
0, 0, 0, 0, 4096, 20663000, 768, 768, 0, 20663, 0]

0 comments on commit 2309edf

Please sign in to comment.