blob: e1c720a5ec9cfa9a54c79d74ee9361c5abf61709 [file] [log] [blame]
Mekala Natarajanbbcf9dd2013-03-20 16:37:10 -07001<?xml version="1.0" encoding="ISO-8859-1"?>
2<mixer>
3 <!-- These are the initial mixer settings -->
4 <!-- NOTE: For all the mixer controls added under usecases or sound devices -->
5 <!-- we should have an initial mixer setting (default value) -->
6 <ctl name="Voice Rx Device Mute" value="0" />
7 <ctl name="Voice Tx Mute" value="0" />
8 <ctl name="Voice Rx Volume" value="0" />
9 <ctl name="TTY Mode" value="Off" />
10 <ctl name="LINEOUT1 Volume" value="12" />
11 <ctl name="LINEOUT2 Volume" value="12" />
12 <ctl name="LINEOUT3 Volume" value="12" />
13 <ctl name="LINEOUT4 Volume" value="12" />
14 <ctl name="LINEOUT5 Volume" value="12" />
sam_chen6d867b52013-04-29 16:02:40 -070015 <ctl name="HPHL Volume" value="9" />
16 <ctl name="HPHR Volume" value="9" />
Mekala Natarajanbbcf9dd2013-03-20 16:37:10 -070017 <ctl name="RX1 Digital Volume" value="84" />
18 <ctl name="RX2 Digital Volume" value="84" />
19 <ctl name="RX3 Digital Volume" value="84" />
20 <ctl name="RX4 Digital Volume" value="84" />
21 <ctl name="RX5 Digital Volume" value="84" />
22 <ctl name="RX6 Digital Volume" value="84" />
23 <ctl name="RX7 Digital Volume" value="84" />
sam_chenc3d64912013-04-23 14:19:20 -070024 <ctl name="RX3 HPF Switch" value="1" />
25 <ctl name="RX4 HPF Switch" value="1" />
26 <ctl name="RX3 HPF cut off" value="MIN_3DB_4Hz" />
27 <ctl name="RX4 HPF cut off" value="MIN_3DB_4Hz" />
Mekala Natarajanbbcf9dd2013-03-20 16:37:10 -070028 <ctl name="ADC1 Volume" value="25" />
29 <ctl name="ADC2 Volume" value="25" />
30 <ctl name="ADC3 Volume" value="25" />
31 <ctl name="ADC4 Volume" value="25" />
32 <ctl name="ADC5 Volume" value="25" />
33 <ctl name="ADC6 Volume" value="25" />
34 <ctl name="DEC1 Volume" value="84" />
35 <ctl name="DEC2 Volume" value="84" />
36 <ctl name="DEC3 Volume" value="84" />
37 <ctl name="DEC4 Volume" value="84" />
38 <ctl name="DEC5 Volume" value="84" />
39 <ctl name="DEC6 Volume" value="84" />
40 <ctl name="DEC7 Volume" value="84" />
41 <ctl name="DEC8 Volume" value="84" />
42 <ctl name="DEC9 Volume" value="84" />
43 <ctl name="DEC10 Volume" value="84" />
44 <ctl name="MICBIAS1 CAPLESS Switch" value="1" />
45 <ctl name="MICBIAS2 CAPLESS Switch" value="0" />
46 <ctl name="MICBIAS3 CAPLESS Switch" value="0" />
47 <ctl name="SLIMBUS_3_RX Port Mixer INTERNAL_BT_SCO_RX" value="0" />
48 <ctl name="HDMI_RX Port Mixer SLIM_3_TX" value="0" />
49 <ctl name="INTERNAL_BT_SCO_RX Port Mixer SLIM_1_TX" value="0" />
50 <ctl name="SLIMBUS_1_RX Port Mixer INTERNAL_BT_SCO_TX" value="0" />
51 <ctl name="SLIMBUS_0_RX Port Mixer SLIM_0_TX" value="0" />
52 <ctl name="SLIMBUS_3_RX_Voice Mixer Voice Stub" value="0" />
53 <ctl name="SLIMBUS_1_RX Mixer Voice Stub" value="0" />
54 <ctl name="STUB_RX Mixer Voice Stub" value="0" />
55 <ctl name="Voice Stub Tx Mixer STUB_TX_HL" value="0" />
56 <ctl name="Voice Stub Tx Mixer INTERNAL_BT_SCO_TX" value="0" />
57 <ctl name="Voice Stub Tx Mixer SLIM_1_TX" value="0" />
58 <ctl name="Voice Stub Tx Mixer STUB_1_TX_HL" value="0" />
59 <ctl name="Voice Stub Tx Mixer SLIM_3_TX" value="0" />
60 <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1" value="0" />
61 <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia2" value="0" />
62 <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5" value="0" />
63 <ctl name="HDMI_RX_Voice Mixer Voice Stub" value="0" />
64 <ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voice Stub" value="0" />
65 <ctl name="MultiMedia5 Mixer SLIM_0_TX" value="0" />
66 <ctl name="MultiMedia1 Mixer SLIM_0_TX" value="0" />
67 <ctl name="HDMI Mixer MultiMedia1" value="0" />
68 <ctl name="HDMI Mixer MultiMedia2" value="0" />
69 <ctl name="HDMI Mixer MultiMedia5" value="0" />
70 <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia1" value="0" />
71 <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia2" value="0" />
72 <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia5" value="0" />
73 <ctl name="IIR1 INP1 MUX" value="ZERO" />
74 <ctl name="SLIM TX10 MUX" value="ZERO" />
75 <ctl name="SLIM TX9 MUX" value="ZERO" />
76 <ctl name="SLIM TX8 MUX" value="ZERO" />
77 <ctl name="SLIM TX7 MUX" value="ZERO" />
78 <ctl name="SLIM TX6 MUX" value="ZERO" />
79 <ctl name="SLIM TX5 MUX" value="ZERO" />
80 <ctl name="SLIM TX4 MUX" value="ZERO" />
81 <ctl name="SLIM TX3 MUX" value="ZERO" />
82 <ctl name="SLIM TX2 MUX" value="ZERO" />
83 <ctl name="SLIM TX1 MUX" value="ZERO" />
84 <ctl name="DEC10 MUX" value="ZERO" />
85 <ctl name="DEC9 MUX" value="ZERO" />
86 <ctl name="DEC8 MUX" value="ZERO" />
87 <ctl name="DEC7 MUX" value="ZERO" />
88 <ctl name="DEC6 MUX" value="ZERO" />
89 <ctl name="DEC5 MUX" value="ZERO" />
90 <ctl name="DEC4 MUX" value="ZERO" />
91 <ctl name="DEC3 MUX" value="ZERO" />
92 <ctl name="DEC2 MUX" value="ZERO" />
93 <ctl name="DEC1 MUX" value="ZERO" />
94 <ctl name="RX3 MIX2 INP2" value="ZERO" />
95 <ctl name="RX3 MIX2 INP1" value="ZERO" />
96 <ctl name="RX2 MIX2 INP2" value="ZERO" />
97 <ctl name="RX2 MIX2 INP1" value="ZERO" />
98 <ctl name="RX1 MIX2 INP2" value="ZERO" />
99 <ctl name="RX1 MIX2 INP1" value="ZERO" />
100 <ctl name="RX7 MIX1 INP2" value="ZERO" />
101 <ctl name="RX7 MIX1 INP1" value="ZERO" />
102 <ctl name="RX6 MIX1 INP2" value="ZERO" />
103 <ctl name="RX6 MIX1 INP1" value="ZERO" />
104 <ctl name="RX5 MIX1 INP2" value="ZERO" />
105 <ctl name="RX5 MIX1 INP1" value="ZERO" />
106 <ctl name="RX4 MIX1 INP2" value="ZERO" />
107 <ctl name="RX4 MIX1 INP1" value="ZERO" />
108 <ctl name="RX3 MIX1 INP2" value="ZERO" />
109 <ctl name="RX3 MIX1 INP1" value="ZERO" />
110 <ctl name="RX2 MIX1 INP2" value="ZERO" />
111 <ctl name="RX2 MIX1 INP1" value="ZERO" />
112 <ctl name="RX1 MIX1 INP3" value="ZERO" />
113 <ctl name="RX1 MIX1 INP2" value="ZERO" />
114 <ctl name="RX1 MIX1 INP1" value="ZERO" />
115 <ctl name="RX6 DSM MUX" value="CIC_OUT" />
116 <ctl name="RX4 DSM MUX" value="CIC_OUT" />
117 <ctl name="HPHL DAC Switch" value="0" />
118 <ctl name="DAC1 Switch" value="0" />
119 <ctl name="SLIM_0_RX Channels" value="One" />
120 <ctl name="SLIM_0_TX Channels" value="One" />
121 <ctl name="SLIM_3_RX Channels" value="One" />
122 <ctl name="HDMI_RX Channels" value="Two" />
123
124 <!-- These are audio route (FE to BE) specific mixer settings -->
125 <path name="deep-buffer-playback">
126 <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia1" value="1" />
127 </path>
128
129 <path name="deep-buffer-playback hdmi">
130 <ctl name="HDMI Mixer MultiMedia1" value="1" />
131 </path>
132
133 <path name="deep-buffer-playback speaker-and-hdmi">
134 <path name="deep-buffer-playback hdmi" />
135 <path name="deep-buffer-playback" />
136 </path>
137
138 <path name="deep-buffer-playback bt-sco">
139 <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1" value="1" />
140 </path>
141
142 <path name="low-latency-playback">
143 <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia5" value="1" />
144 </path>
145
146 <path name="low-latency-playback hdmi">
147 <ctl name="HDMI Mixer MultiMedia5" value="1" />
148 </path>
149 <path name="low-latency-playback bt-sco">
150 <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5" value="1" />
151 </path>
152
153 <path name="low-latency-playback speaker-and-hdmi">
154 <ctl name="HDMI Mixer MultiMedia5" value="1" />
155 <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia5" value="1" />
156 </path>
157
158 <path name="multi-channel-playback hdmi">
159 <ctl name="HDMI Mixer MultiMedia2" value="1" />
160 </path>
161
162 <path name="audio-record">
163 <ctl name="MultiMedia1 Mixer SLIM_0_TX" value="1" />
164 </path>
165
166 <path name="audio-record bt-sco">
167 <ctl name="MultiMedia1 Mixer INTERNAL_BT_SCO_TX" value="1" />
168 </path>
169
170 <path name="low-latency-record">
171 <ctl name="MultiMedia5 Mixer SLIM_0_TX" value="1" />
172 </path>
173
174 <path name="low-latency-record bt-sco">
175 <ctl name="MultiMedia5 Mixer INTERNAL_BT_SCO_TX" value="1" />
176 </path>
177
178 <path name="voice-call">
179 <ctl name="STUB_RX Mixer Voice Stub" value="1" />
180 <ctl name="Voice Stub Tx Mixer STUB_TX_HL" value="1" />
181 <ctl name="Voice Stub Tx Mixer STUB_1_TX_HL" value="1" />
182 </path>
183
184 <path name="voice-call hdmi">
185 <ctl name="Voice Stub Tx Mixer SLIM_3_TX" value="1" />
186 <ctl name="HDMI_RX_Voice Mixer Voice Stub" value="1" />
187 <ctl name="HDMI_RX Port Mixer SLIM_3_TX" value="1" />
188 <ctl name="Voice Stub Tx Mixer STUB_TX_HL" value="1" />
189 </path>
190
191 <path name="voice-call bt-sco">
192 <ctl name="Internal BTSCO SampleRate" value="8000" />
193 <ctl name="Voice Stub Tx Mixer INTERNAL_BT_SCO_TX" value="1" />
194 <ctl name="SLIMBUS_1_RX Mixer Voice Stub" value="1" />
195 <ctl name="Voice Stub Tx Mixer SLIM_1_TX" value="1" />
196 <ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voice Stub" value="1" />
197 <ctl name="SLIMBUS_1_RX Port Mixer INTERNAL_BT_SCO_TX" value="1" />
198 <ctl name="INTERNAL_BT_SCO_RX Port Mixer SLIM_1_TX" value="1" />
199 <ctl name="SLIM_3_RX Channels" value="One" />
200 <ctl name="SLIMBUS_3_RX_Voice Mixer Voice Stub" value="1" />
201 <ctl name="SLIMBUS_3_RX Port Mixer INTERNAL_BT_SCO_RX" value="1" />
202 </path>
203
204 <!-- These are actual sound device specific mixer settings -->
205 <path name="dmic1">
206 <ctl name="SLIM_0_TX Channels" value="One" />
207 <ctl name="SLIM TX7 MUX" value="DEC7" />
208 <ctl name="DEC7 MUX" value="DMIC1" />
209 </path>
210
211 <path name="adc1">
212 <ctl name="SLIM_0_TX Channels" value="One" />
213 <ctl name="SLIM TX7 MUX" value="DEC6" />
214 <ctl name="DEC6 MUX" value="ADC1" />
215 </path>
216
217 <path name="adc2">
218 <ctl name="SLIM_0_TX Channels" value="One" />
219 <ctl name="SLIM TX7 MUX" value="DEC8" />
220 <ctl name="DEC8 MUX" value="ADC2" />
221 </path>
222
223 <path name="adc3">
224 <ctl name="SLIM_0_TX Channels" value="One" />
225 <ctl name="SLIM TX7 MUX" value="DEC4" />
226 <ctl name="DEC4 MUX" value="ADC3" />
227 </path>
228
229 <path name="speaker">
Marco Nelissen3ed3ea02013-04-22 14:34:35 -0700230 <ctl name="SLIM_0_RX Channels" value="Two" />
sam_chenc3d64912013-04-23 14:19:20 -0700231 <ctl name="RX3 HPF cut off" value="MIN_3DB_150Hz" />
232 <ctl name="RX4 HPF cut off" value="MIN_3DB_150Hz" />
233 <ctl name="RX3 HPF Switch" value="0" />
234 <ctl name="RX4 HPF Switch" value="0" />
Eric Laurent9c257a12013-04-23 17:57:15 -0700235 <ctl name="RX3 MIX1 INP1" value="RX2" />
236 <ctl name="RX4 MIX1 INP1" value="RX1" />
237 <ctl name="SLIM TX3 MUX" value="RMIX4" />
238 <ctl name="SLIM TX5 MUX" value="RMIX3" />
Mekala Natarajanbbcf9dd2013-03-20 16:37:10 -0700239 </path>
240
241 <path name="speaker-mic">
Eric Laurent1c90ddd2013-05-20 16:49:39 -0700242 <path name="dmic1" />
243 <ctl name="DEC7 Volume" value="101" />
Mekala Natarajanbbcf9dd2013-03-20 16:37:10 -0700244 </path>
245
246 <path name="handset">
Eric Laurent9c257a12013-04-23 17:57:15 -0700247 <path name="speaker" />
Mekala Natarajanbbcf9dd2013-03-20 16:37:10 -0700248 </path>
249
250 <path name="handset-mic">
sam_chenfcad9ec2013-04-08 18:39:45 +0800251 <path name="dmic1" />
252 <ctl name="DEC7 Volume" value="101" />
Mekala Natarajanbbcf9dd2013-03-20 16:37:10 -0700253 </path>
254
255 <path name="headphones">
256 <ctl name="SLIM_0_RX Channels" value="Two" />
257 <ctl name="RX1 MIX1 INP1" value="RX1" />
Mekala Natarajanbbcf9dd2013-03-20 16:37:10 -0700258 <ctl name="RX2 MIX1 INP1" value="RX2" />
Mekala Natarajanbbcf9dd2013-03-20 16:37:10 -0700259 <ctl name="HPHL DAC Switch" value="1" />
Eric Laurent9c257a12013-04-23 17:57:15 -0700260 <ctl name="SLIM TX3 MUX" value="RMIX1" />
261 <ctl name="SLIM TX5 MUX" value="RMIX2" />
Mekala Natarajanbbcf9dd2013-03-20 16:37:10 -0700262 </path>
263
264 <path name="headset-mic">
265 <path name="adc2" />
266 <ctl name="ADC2 Volume" value="16" />
267 </path>
268
269 <path name="voice-handset-tmus">
270 <path name="handset" />
271 </path>
272
273 <path name="voice-speaker">
274 <path name="speaker" />
275 </path>
276
277 <path name="voice-speaker-mic">
Eric Laurent1c90ddd2013-05-20 16:49:39 -0700278 <path name="dmic1" />
279 <ctl name="DEC7 Volume" value="101" />
Mekala Natarajanbbcf9dd2013-03-20 16:37:10 -0700280 </path>
281
282 <path name="voice-headphones">
283 <path name="headphones" />
284 </path>
285
286 <path name="voice-headset-mic">
287 <path name="headset-mic" />
288 </path>
289
290 <path name="speaker-and-headphones">
Eric Laurent9c257a12013-04-23 17:57:15 -0700291 <ctl name="SLIM_0_RX Channels" value="Two" />
292 <ctl name="RX1 MIX1 INP1" value="RX1" />
293 <ctl name="RX2 MIX1 INP1" value="RX2" />
294 <ctl name="HPHL DAC Switch" value="1" />
sam_chenc3d64912013-04-23 14:19:20 -0700295 <ctl name="RX3 HPF cut off" value="MIN_3DB_150Hz" />
296 <ctl name="RX4 HPF cut off" value="MIN_3DB_150Hz" />
297 <ctl name="RX3 HPF Switch" value="0" />
298 <ctl name="RX4 HPF Switch" value="0" />
Eric Laurent9c257a12013-04-23 17:57:15 -0700299 <ctl name="RX3 MIX1 INP1" value="RX2" />
300 <ctl name="RX4 MIX1 INP1" value="RX1" />
301 <ctl name="SLIM TX3 MUX" value="RMIX4" />
302 <ctl name="SLIM TX5 MUX" value="RMIX3" />
Mekala Natarajanbbcf9dd2013-03-20 16:37:10 -0700303 </path>
304
305 <path name="hdmi">
306 </path>
307
308 <path name="speaker-and-hdmi">
309 <path name="speaker" />
310 <path name="hdmi" />
311 </path>
312
313 <path name="voice-rec-mic">
sam_chenfd02cfd2013-04-09 16:29:15 +0800314 <path name="dmic1" />
315 <ctl name="DEC7 Volume" value="101" />
Mekala Natarajanbbcf9dd2013-03-20 16:37:10 -0700316 </path>
317
318 <path name="camcorder-mic">
sam_chenfd02cfd2013-04-09 16:29:15 +0800319 <path name="dmic1" />
320 <ctl name="DEC7 Volume" value="101" />
Mekala Natarajanbbcf9dd2013-03-20 16:37:10 -0700321 </path>
322
323 <path name="hdmi-mic">
324 <path name="dmic1" />
325 </path>
326
327 <path name="bt-sco-headset">
328 </path>
329
330 <path name="bt-sco-mic">
331 </path>
332
333 <!-- Dual MIC devices -->
334 <path name="dmic-endfire">
335 <ctl name="SLIM TX7 MUX" value="DEC7" />
336 <ctl name="DEC7 MUX" value="ADC1" />
337 <ctl name="SLIM TX8 MUX" value="DEC9" />
338 <ctl name="DEC9 MUX" value="ADC3" />
339 <ctl name="SLIM_0_TX Channels" value="Two" />
340 <ctl name="RX1 MIX2 INP1" value="IIR1" />
341 <ctl name="RX2 MIX2 INP1" value="IIR1" />
342 <ctl name="IIR1 INP1 Volume" value="63" />
343 <ctl name="IIR1 INP1 MUX" value="DEC7" />
344 </path>
345
346 <path name="dmic-broadside">
347 <ctl name="SLIM TX7 MUX" value="DEC7" />
348 <ctl name="DEC7 MUX" value="DMIC1" />
349 <ctl name="SLIM TX8 MUX" value="DEC8" />
350 <ctl name="DEC8 MUX" value="DMIC2" />
351 <ctl name="SLIM_0_TX Channels" value="Two" />
352 <ctl name="IIR1 INP1 Volume" value="63" />
353 <ctl name="IIR1 INP1 MUX" value="DEC7" />
354 </path>
355
356 <path name="speaker-dmic-endfire">
357 <ctl name="SLIM TX7 MUX" value="DEC7" />
358 <ctl name="DEC7 MUX" value="ADC1" />
359 <ctl name="SLIM TX8 MUX" value="DEC9" />
360 <ctl name="DEC9 MUX" value="ADC3" />
361 <ctl name="SLIM_0_TX Channels" value="Two" />
362 </path>
363
364 <path name="speaker-dmic-broadside">
365 <ctl name="SLIM TX7 MUX" value="DEC7" />
366 <ctl name="DEC7 MUX" value="DMIC1" />
367 <ctl name="SLIM TX8 MUX" value="DEC8" />
368 <ctl name="DEC8 MUX" value="DMIC2" />
369 <ctl name="SLIM_0_TX Channels" value="Two" />
370 </path>
371
372 <path name="voice-dmic-ef-tmus">
373 <path name="dmic-endfire" />
374 </path>
375
376 <path name="voice-dmic-ef">
377 <path name="dmic-endfire" />
378 </path>
379
380 <path name="voice-dmic-bs">
381 <path name="dmic-broadside" />
382 </path>
383
384 <path name="voice-speaker-dmic-ef">
385 <path name="speaker-dmic-endfire" />
386 </path>
387
388 <path name="voice-speaker-dmic-bs">
389 <path name="speaker-dmic-broadside" />
390 </path>
391
392 <path name="voice-rec-dmic-ef">
393 <path name="dmic-endfire" />
394 </path>
395
396 <path name="voice-rec-dmic-bs">
397 <path name="dmic-broadside" />
398 </path>
399
400 <path name="voice-rec-dmic-ef-fluence">
401 <path name="dmic-endfire" />
402 </path>
403
404 <path name="voice-rec-dmic-bs-fluence">
405 <path name="dmic-broadside" />
406 </path>
407
408 <!-- TTY devices -->
409
410 <path name="tty-headphones">
411 <ctl name="SLIM_0_RX Channels" value="One" />
412 <ctl name="RX1 MIX1 INP1" value="RX6" />
413 <ctl name="RX1 MIX1 INP2" value="RX6" />
414 <ctl name="HPHL DAC Switch" value="1" />
Mekala Natarajanbbcf9dd2013-03-20 16:37:10 -0700415 </path>
416
417 <path name="voice-tty-full-headphones">
418 <ctl name="TTY Mode" value="FULL" />
419 <path name="tty-headphones" />
420 </path>
421
422 <path name="voice-tty-vco-headphones">
423 <ctl name="TTY Mode" value="VCO" />
424 <path name="tty-headphones" />
425 </path>
426
427 <path name="voice-tty-hco-handset">
428 <ctl name="TTY Mode" value="HCO" />
429 <path name="handset" />
430 </path>
431
432 <path name="voice-tty-full-headset-mic">
433 <path name="adc2" />
434 </path>
435
436 <path name="voice-tty-hco-headset-mic">
437 <path name="adc2" />
438 </path>
439
440 <path name="voice-tty-vco-handset-mic">
Eric Laurent1c90ddd2013-05-20 16:49:39 -0700441 <path name="dmic1" />
442 <ctl name="DEC7 Volume" value="101" />
Mekala Natarajanbbcf9dd2013-03-20 16:37:10 -0700443 </path>
444
445</mixer>