forked from thesofproject/sof
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsof-hda-generic.conf
More file actions
184 lines (176 loc) · 3.11 KB
/
sof-hda-generic.conf
File metadata and controls
184 lines (176 loc) · 3.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<searchdir:include>
<searchdir:include/common>
<searchdir:include/components>
<searchdir:include/dais>
<searchdir:include/pipelines>
<searchdir:include/pipelines/cavs>
<searchdir:platform>
<searchdir:platform/intel>
<vendor-token.conf>
<tokens.conf>
<virtual.conf>
<host-gateway-playback.conf>
<host-gateway-capture.conf>
<host-copier-gain-mixin-playback.conf>
<host-copier-gain-src-mixin-playback.conf>
<mixout-dai-copier-playback.conf>
<mixout-gain-dai-copier-playback.conf>
<mixout-aria-gain-mixin-playback.conf>
<mixout-gain-efx-dai-copier-playback.conf>
<mixout-gain-efx-mbdrc-dai-copier-playback.conf>
<mixout-gain-host-copier-capture.conf>
<dai-copier-eqiir-module-copier-capture.conf>
<dai-copier-gain-eqiir-module-copier-capture.conf>
<gain-capture.conf>
<deepbuffer-playback.conf>
<io-gateway.conf>
<io-gateway-capture.conf>
<highpass-capture-be.conf>
<data.conf>
<pcm.conf>
<pcm_caps.conf>
<fe_dai.conf>
<hda.conf>
<dmic.conf>
<pdm_config.conf>
<hw_config_simple.conf>
<manifest.conf>
<route.conf>
<common_definitions.conf>
<dmic-default.conf>
<hdmi-default.conf>
<module-copier.conf>
Define {
HDA_CONFIG "none"
PLATFORM "none"
NUM_DMICS 0
# doesn't it need to define DMIC0_HOST_PIPELINE_SINK and DMIC0_DAI_PIPELINE_SRC?
DMIC0_HOST_PIPELINE_SINK 'host-copier.6.capture'
DMIC0_DAI_PIPELINE_SRC 'module-copier.12.2'
DMIC0_DAI_COPIER 'dai-copier.DMIC.dmic01.capture'
DMIC0_DAI_EQIIR "highpass_40hz_20db"
DMIC0_PCM_CAPS 'Gain Capture 11'
}
# override defaults with platform-specific config
IncludeByKey.PLATFORM {
"mtl" "platform/intel/mtl.conf"
"lnl" "platform/intel/lnl.conf"
"ptl" "platform/intel/ptl.conf"
}
# include HDA config if needed.
IncludeByKey.HDA_CONFIG {
"mix" "cavs-mixin-mixout-hda.conf"
"efx" "cavs-mixin-mixout-efx-hda.conf"
"src" "cavs-src-mixin-mixout-hda.conf"
"benchmark" "cavs-benchmark-hda.conf"
"passthrough" "cavs-passthrough-hda.conf"
}
# include DMIC config if needed.
IncludeByKey.NUM_DMICS {
"[1-4]" "platform/intel/dmic-generic.conf"
}
Define {
NUM_HDMIS 3
HDMI1_ID 1
HDMI2_ID 2
HDMI3_ID 3
HDMI1_PCM_ID 3
HDMI2_PCM_ID 4
HDMI3_PCM_ID 5
DMIC0_PCM_ID 6
}
IncludeByKey.NUM_HDMIS {
"[3-4]" "platform/intel/hdmi-generic.conf"
}
Object.Widget.virtual [
{
name 'codec0_in'
type input
index 1
}
{
name 'codec1_in'
type input
index 2
}
{
name 'codec0_out'
type output
index 3
}
{
name 'codec1_out'
type output
index 4
}
{
name 'codec2_in'
type input
index 5
}
{
name 'codec2_out'
type output
index 6
}
{
name 'iDisp1_out'
type output
index 7
}
{
name 'iDisp2_out'
type output
index 8
}
{
name 'iDisp3_out'
type output
index 9
}
{
name 'iDisp3 Tx'
type out_drv
index 0
}
{
name 'iDisp2 Tx'
type out_drv
index 1
}
{
name 'iDisp1 Tx'
type out_drv
index 2
}
{
name 'Analog CPU Playback'
type out_drv
index 3
}
{
name 'Digital CPU Playback'
type out_drv
index 4
}
{
name 'Alt Analog CPU Playback'
type out_drv
index 5
}
{
name 'Analog CPU Capture'
type input
index 6
}
{
name 'Digital CPU Capture'
type input
index 7
}
{
name 'Alt Analog CPU Capture'
type input
index 8
}
]