Skip to content

Commit

Permalink
toml: split off the remaining TGL modules
Browse files Browse the repository at this point in the history
Move the remaining TGL modules out to their respective individual
files.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
  • Loading branch information
lyakh committed Nov 20, 2023
1 parent 9eacc99 commit 4af95a6
Show file tree
Hide file tree
Showing 18 changed files with 394 additions and 343 deletions.
25 changes: 25 additions & 0 deletions src/audio/aria/aria.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// # Aria module config
[[module.entry]]
name = "ARIA"
uuid = "99F7166D-372C-43EF-81F6-22007AA15F03"
affinity_mask = "0x1"
instance_count = "8"
domain_types = "0"
load_type = "0"
init_config = "1"
module_type = "30"
auto_start = "0"
sched_caps = [1, 0x00008000]

// # pin = [dir, type, sample rate, size, container, channel-cfg]
pin = [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, 260, 1063000, 16, 21, 0, 0, 0,
1, 0, 0, 0, 260, 1873500, 192, 256, 0, 0, 0,
2, 0, 0, 0, 260, 2680000, 32, 42, 0, 0, 0,
3, 0, 0, 0, 260, 3591000, 64, 85, 0, 0, 0,
4, 0, 0, 0, 260, 4477000, 96, 128, 0, 0, 0,
5, 0, 0, 0, 260, 7195000, 192, 192, 0, 0, 0]
index = __COUNTER__
19 changes: 19 additions & 0 deletions src/audio/crossover/crossover.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// # Crossover module config
// # Note: Crossover has init_config set to 1 to let kernel know that the base_cfg_ext needs to
// # be appended to the IPC payload. The Extension is needed to know the output pin indices.
[[module.entry]]
name = "XOVER"
uuid = "948C9AD1-806A-4131-AD6C-B2BDA9E35A9F"
affinity_mask = "0x1"
instance_count = "40"
domain_types = "0"
load_type = "0"
module_type = "9"
init_config = "1"
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]
index = __COUNTER__
16 changes: 16 additions & 0 deletions src/audio/dcblock/dcblock.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// # DCblock module config
[[module.entry]]
name = "DCBLOCK"
uuid = "B809EFAF-5681-42B1-9ED6-04BB012DD384"
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]
index = __COUNTER__
16 changes: 16 additions & 0 deletions src/audio/drc/drc.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// # DRC module config
[[module.entry]]
name = "DRC"
uuid = "B36EE4DA-006F-47F9-A06D-FECBE2D8B6CE"
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]
index = __COUNTER__
19 changes: 19 additions & 0 deletions src/audio/eq_fir/eq_fir.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// # eq fir module config
[[module.entry]]
name = "EQFIR"
uuid = "43A90CE7-f3A5-41Df-AC06-BA98651AE6A3"
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]
index = __COUNTER__
19 changes: 19 additions & 0 deletions src/audio/eq_iir/eq_iir.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// # eq iir module config
[[module.entry]]
name = "EQIIR"
uuid = "5150C0E6-27F9-4EC8-8351-C705B642D12F"
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]
index = __COUNTER__
17 changes: 17 additions & 0 deletions src/audio/google/google_rtc_audio_processing.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[[module.entry]]
name = "RTC_AEC"
uuid = "B780A0A6-269F-466F-B477-23DFA05AF758"
affinity_mask = "0x3"
instance_count = "1"
domain_types = "0"
load_type = "1"
module_type = "10"
init_config = "1"
auto_start = "0"
sched_caps = [1, 0x00008000]

// # 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]
index = __COUNTER__
18 changes: 18 additions & 0 deletions src/audio/kpb.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[[module.entry]]
name = "KPB"
uuid = "D8218443-5FF3-4A4C-B388-6CFE07B9562E"
affinity_mask = "0x1"
instance_count = "1"
domain_types = "0"
load_type = "1"
module_type = "0xB"
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, 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, 14400, 1114000, 16, 16, 0, 0, 0]
index = __COUNTER__
16 changes: 16 additions & 0 deletions src/audio/multiband_drc/multiband_drc.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// # Multiband-DRC module config
[[module.entry]]
name = "MB_DRC"
uuid = "0D9F2256-8E4F-47B3-8448-239A334F1191"
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]
index = __COUNTER__
19 changes: 19 additions & 0 deletions src/audio/selector/selector.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[[module.entry]]
name = "MICSEL"
uuid = "32FE92C1-1E17-4FC2-9758-C7F3542E980A"
affinity_mask = "0x1"
instance_count = "8"
domain_types = "0"
load_type = "0"
module_type = "0xC"
auto_start = "0"
sched_caps = [1, 0x00008000]

// # pin = [dir, type, sample rate, size, container, channel-cfg]
pin = [0, 0, 0xfeef, 0xe, 0xa, 0x45ff, 1, 0, 0xfeef, 0xe, 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, 960, 488500, 16, 16, 0, 0, 0,
1, 0, 0, 0, 960, 964500, 16, 16, 0, 0, 0,
2, 0, 0, 0, 960, 2003000, 16, 16, 0, 0, 0]
index = __COUNTER__
40 changes: 40 additions & 0 deletions src/audio/src/src.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[[module.entry]]
name = "SRCINTC"
uuid = "e61bb28d-149a-4c1f-b709-46823ef5f5ae"
affinity_mask = "0xF"
instance_count = "10"
domain_types = "0"
load_type = "0"
module_type = "0x7"
auto_start = "0"
sched_caps = [1, 0x00008000]

// # pin = [dir, type, sample rate, size, container, channel-cfg]
pin = [0, 0, 0xffff, 0xc, 0x8, 0x45ff,
1, 0, 0xf6c9, 0xc, 0x8, 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, 12832, 1365500, 0, 0, 0, 1365, 0,
1, 0, 0, 0, 12832, 2302300, 0, 0, 0, 2302, 0,
2, 0, 0, 0, 12832, 3218200, 0, 0, 0, 3218, 0,
3, 0, 0, 0, 12832, 4169700, 0, 0, 0, 4169, 0,
4, 0, 0, 0, 12832, 5095100, 0, 0, 0, 5095, 0,
5, 0, 0, 0, 12832, 6014800, 0, 0, 0, 6014, 0,
6, 0, 0, 0, 12832, 6963500, 0, 0, 0, 6963, 0,
7, 0, 0, 0, 12832, 7791000, 0, 0, 0, 7791, 0,
8, 0, 0, 0, 12832, 8843000, 0, 0, 0, 8843, 0,
9, 0, 0, 0, 12832, 9755100, 0, 0, 0, 9755, 0,
10, 0, 0, 0, 12832, 10726500, 0, 0, 0, 10726, 0,
11, 0, 0, 0, 12832, 11624100, 0, 0, 0, 11624, 0,
12, 0, 0, 0, 12832, 12518700, 0, 0, 0, 12518, 0,
13, 0, 0, 0, 12832, 13555000, 0, 0, 0, 13555, 0,
14, 0, 0, 0, 12832, 14144500, 0, 0, 0, 14144, 0,
15, 0, 0, 0, 12832, 15809800, 0, 0, 0, 15809, 0,
16, 0, 0, 0, 12832, 16749000, 0, 0, 0, 16749, 0,
17, 0, 0, 0, 12832, 18433500, 0, 0, 0, 18433, 0,
18, 0, 0, 0, 12832, 19425900, 0, 0, 0, 19425, 0,
19, 0, 0, 0, 12832, 20396900, 0, 0, 0, 20396, 0,
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]
index = __COUNTER__
16 changes: 16 additions & 0 deletions src/audio/tdfb/tdfb.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// # TDFB module config
[[module.entry]]
name = "TDFB"
uuid = "DD511749-D9FA-455C-B3A7-13585693F1AF"
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]
index = __COUNTER__
24 changes: 24 additions & 0 deletions src/audio/volume/gain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[[module.entry]]
name = "GAIN"
uuid = "61BCA9A8-18D0-4A18-8E7B-2639219804B7"
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, 416, 914000, 48, 64, 0, 0, 0,
1, 0, 0, 0, 416, 1321600, 192, 256, 0, 0, 0,
2, 0, 0, 0, 416, 1786000, 192, 256, 0, 0, 0,
3, 0, 0, 0, 416, 2333000, 48, 64, 0, 0, 0,
4, 0, 0, 0, 416, 2910000, 192, 256, 0, 0, 0,
5, 0, 0, 0, 416, 3441000, 192, 256, 0, 0, 0,
6, 0, 0, 0, 416, 4265000, 192, 256, 0, 0, 0]
index = __COUNTER__
24 changes: 24 additions & 0 deletions src/audio/volume/peakvol.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[[module.entry]]
name = "PEAKVOL"
uuid = "8A171323-94A3-4E1D-AFE9-FE5DBAA4C393"
affinity_mask = "0x1"
instance_count = "10"
domain_types = "0"
load_type = "0"
module_type = "4"
auto_start = "0"
sched_caps = [1, 0x00008000]

// # pin = [dir, type, sample rate, size, container, channel-cfg]
pin = [0, 0, 0xfeef, 0xf, 0xa, 0x45ff,
1, 0, 0xfeef, 0xf, 0xa, 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, 480, 1114000, 48, 64, 0, 0, 0,
1, 0, 0, 0, 480, 3321600, 192, 256, 0, 0, 0,
2, 0, 0, 0, 480, 3786000, 192, 256, 0, 0, 0,
3, 0, 0, 0, 480, 4333000, 48, 64, 0, 0, 0,
4, 0, 0, 0, 480, 4910000, 192, 256, 0, 0, 0,
5, 0, 0, 0, 480, 5441000, 192, 256, 0, 0, 0,
6, 0, 0, 0, 480, 6265000, 192, 256, 0, 0, 0]
index = __COUNTER__
14 changes: 14 additions & 0 deletions src/probe/probe.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[[module.entry]]
name = "PROBE"
uuid = "7CAD0808-AB10-CD23-EF45-12AB34CD56EF"
affinity_mask = "0x1"
instance_count = "1"
domain_types = "0"
load_type = "0"
module_type = "9"
auto_start = "0"
sched_caps = [1, 0x00008000]

// # 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, 100000, 48, 48, 0, 1000, 0]
index = __COUNTER__
18 changes: 18 additions & 0 deletions src/samples/audio/detect_test.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[[module.entry]]
name = "KDTEST"
uuid = "EBA8D51F-7827-47B5-82EE-DE6E7743AF67"
affinity_mask = "0x1"
instance_count = "1"
domain_types = "0"
load_type = "1"
module_type = "8"
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, 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, 480, 1114000, 64, 64, 0, 0, 0]
index = __COUNTER__
21 changes: 21 additions & 0 deletions src/samples/audio/smart_amp_test.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// # smart amp test module config
[[module.entry]]
name = "SMATEST"
uuid = "167A961E-8AE4-11EA-89F1-000C29CE1635"
affinity_mask = "0x1"
instance_count = "1"
domain_types = "0"
load_type = "0"
module_type = "0xD"
init_config = "1"
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]
index = __COUNTER__
Loading

0 comments on commit 4af95a6

Please sign in to comment.