Skip to content

Commit 43eb2a4

Browse files
singalsulgirdwood
authored andcommitted
Config: Add crossover component for MTL and LNL platforms
This PR adds the crossover component for MTL and LNL. The parameters are copied from TGL and TGL-H configuration of crossover. Signed-off-by: Seppo Ingalsuo <[email protected]>
1 parent 4fb9fe0 commit 43eb2a4

File tree

2 files changed

+40
-2
lines changed

2 files changed

+40
-2
lines changed

config/lnl.toml

+20-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ name = "ADSPFW"
5757
load_offset = "0x40000"
5858

5959
[module]
60-
count = 20
60+
count = 21
6161
[[module.entry]]
6262
name = "BRNGUP"
6363
uuid = "2B79E4F3-4675-F649-89DF-3BC194A91AEB"
@@ -502,3 +502,22 @@ count = 20
502502
pin = [0, 0, 0xfeef, 0xf, 0xf, 0x45ff, 1, 0, 0xfeef, 0xf, 0xf, 0x1ff]
503503
# mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
504504
mod_cfg = [0, 0, 0, 0, 4096, 1000000, 128, 128, 0, 0, 0]
505+
506+
# Crossover module config
507+
# Note: Crossover has init_config set to 1 to let kernel know that the base_cfg_ext needs to
508+
# be appended to the IPC payload. The Extension is needed to know the output pin indices.
509+
[[module.entry]]
510+
name = "XOVER"
511+
uuid = "948C9AD1-806A-4131-AD6C-B2BDA9E35A9F"
512+
affinity_mask = "0x1"
513+
instance_count = "40"
514+
domain_types = "0"
515+
load_type = "0"
516+
module_type = "9"
517+
init_config = "1"
518+
auto_start = "0"
519+
sched_caps = [1, 0x00008000]
520+
# pin = [dir, type, sample rate, size, container, channel-cfg]
521+
pin = [0, 0, 0xfeef, 0xf, 0xf, 0x45ff, 1, 0, 0xfeef, 0xf, 0xf, 0x1ff]
522+
# mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
523+
mod_cfg = [0, 0, 0, 0, 4096, 1000000, 128, 128, 0, 0, 0]

config/mtl.toml

+20-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ name = "ADSPFW"
5757
load_offset = "0x40000"
5858

5959
[module]
60-
count = 20
60+
count = 21
6161
[[module.entry]]
6262
name = "BRNGUP"
6363
uuid = "2B79E4F3-4675-F649-89DF-3BC194A91AEB"
@@ -502,3 +502,22 @@ count = 20
502502
pin = [0, 0, 0xfeef, 0xf, 0xf, 0x45ff, 1, 0, 0xfeef, 0xf, 0xf, 0x1ff]
503503
# mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
504504
mod_cfg = [0, 0, 0, 0, 4096, 1000000, 128, 128, 0, 0, 0]
505+
506+
# Crossover module config
507+
# Note: Crossover has init_config set to 1 to let kernel know that the base_cfg_ext needs to
508+
# be appended to the IPC payload. The Extension is needed to know the output pin indices.
509+
[[module.entry]]
510+
name = "XOVER"
511+
uuid = "948C9AD1-806A-4131-AD6C-B2BDA9E35A9F"
512+
affinity_mask = "0x1"
513+
instance_count = "40"
514+
domain_types = "0"
515+
load_type = "0"
516+
module_type = "9"
517+
init_config = "1"
518+
auto_start = "0"
519+
sched_caps = [1, 0x00008000]
520+
# pin = [dir, type, sample rate, size, container, channel-cfg]
521+
pin = [0, 0, 0xfeef, 0xf, 0xf, 0x45ff, 1, 0, 0xfeef, 0xf, 0xf, 0x1ff]
522+
# mod_cfg [PAR_0 PAR_1 PAR_2 PAR_3 IS_BYTES CPS IBS OBS MOD_FLAGS CPC OBLS]
523+
mod_cfg = [0, 0, 0, 0, 4096, 1000000, 128, 128, 0, 0, 0]

0 commit comments

Comments
 (0)