1<?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" />
15    <ctl name="HPHL Volume" value="9" />
16    <ctl name="HPHR Volume" value="9" />
17    <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" />
24    <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" />
28    <ctl name="ADC1 Volume" value="3" />
29    <ctl name="ADC2 Volume" value="3" />
30    <ctl name="ADC3 Volume" value="3" />
31    <ctl name="ADC4 Volume" value="3" />
32    <ctl name="ADC5 Volume" value="3" />
33    <ctl name="ADC6 Volume" value="3" />
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    <ctl name="Internal BTSCO SampleRate" value="8000" />
124
125    <!-- These are audio route (FE to BE) specific mixer settings -->
126    <path name="deep-buffer-playback">
127        <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia1" value="1" />
128    </path>
129
130    <path name="deep-buffer-playback hdmi">
131        <ctl name="HDMI Mixer MultiMedia1" value="1" />
132    </path>
133
134    <path name="deep-buffer-playback speaker-and-hdmi">
135        <path name="deep-buffer-playback hdmi" />
136        <path name="deep-buffer-playback" />
137    </path>
138
139    <path name="deep-buffer-playback bt-sco">
140        <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia1" value="1" />
141    </path>
142
143    <path name="deep-buffer-playback bt-sco-wb">
144        <ctl name="Internal BTSCO SampleRate" value="16000" />
145        <path name="deep-buffer-playback bt-sco" />
146    </path>
147
148    <path name="low-latency-playback">
149        <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia5" value="1" />
150    </path>
151
152    <path name="low-latency-playback hdmi">
153        <ctl name="HDMI Mixer MultiMedia5" value="1" />
154    </path>
155    <path name="low-latency-playback bt-sco">
156        <ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia5" value="1" />
157    </path>
158
159    <path name="low-latency-playback bt-sco-wb">
160        <ctl name="Internal BTSCO SampleRate" value="16000" />
161        <path name="low-latency-playback bt-sco" />
162    </path>
163
164    <path name="low-latency-playback speaker-and-hdmi">
165        <ctl name="HDMI Mixer MultiMedia5" value="1" />
166        <ctl name="SLIMBUS_0_RX Audio Mixer MultiMedia5" value="1" />
167    </path>
168
169    <path name="multi-channel-playback hdmi">
170        <ctl name="HDMI Mixer MultiMedia2" value="1" />
171    </path>
172
173    <path name="audio-record">
174        <ctl name="MultiMedia1 Mixer SLIM_0_TX" value="1" />
175    </path>
176
177    <path name="audio-record bt-sco">
178        <ctl name="MultiMedia1 Mixer INTERNAL_BT_SCO_TX" value="1" />
179    </path>
180
181    <path name="audio-record bt-sco-wb">
182        <ctl name="Internal BTSCO SampleRate" value="16000" />
183        <path name="audio-record bt-sco" />
184    </path>
185
186    <path name="low-latency-record">
187        <ctl name="MultiMedia5 Mixer SLIM_0_TX" value="1" />
188    </path>
189
190    <path name="low-latency-record bt-sco">
191        <ctl name="MultiMedia5 Mixer INTERNAL_BT_SCO_TX" value="1" />
192    </path>
193
194    <path name="low-latency-record bt-sco-wb">
195        <ctl name="Internal BTSCO SampleRate" value="16000" />
196        <path name="low-latency-record bt-sco" />
197    </path>
198
199    <path name="voice-call">
200        <ctl name="STUB_RX Mixer Voice Stub" value="1" />
201        <ctl name="Voice Stub Tx Mixer STUB_TX_HL" value="1" />
202        <ctl name="Voice Stub Tx Mixer STUB_1_TX_HL" value="1" />
203    </path>
204
205    <path name="voice-call hdmi">
206        <ctl name="Voice Stub Tx Mixer SLIM_3_TX" value="1" />
207        <ctl name="HDMI_RX_Voice Mixer Voice Stub" value="1" />
208        <ctl name="HDMI_RX Port Mixer SLIM_3_TX" value="1" />
209        <ctl name="Voice Stub Tx Mixer STUB_TX_HL" value="1" />
210    </path>
211
212    <path name="voice-call bt-sco">
213        <ctl name="Voice Stub Tx Mixer INTERNAL_BT_SCO_TX" value="1" />
214        <ctl name="SLIMBUS_1_RX Mixer Voice Stub" value="1" />
215        <ctl name="Voice Stub Tx Mixer SLIM_1_TX" value="1" />
216        <ctl name="INTERNAL_BT_SCO_RX_Voice Mixer Voice Stub" value="1" />
217        <ctl name="SLIMBUS_1_RX Port Mixer INTERNAL_BT_SCO_TX" value="1" />
218        <ctl name="INTERNAL_BT_SCO_RX Port Mixer SLIM_1_TX" value="1" />
219        <ctl name="SLIM_3_RX Channels" value="One" />
220        <ctl name="SLIMBUS_3_RX_Voice Mixer Voice Stub" value="1" />
221        <ctl name="SLIMBUS_3_RX Port Mixer INTERNAL_BT_SCO_RX" value="1" />
222    </path>
223
224    <path name="voice-call bt-sco-wb">
225        <ctl name="Internal BTSCO SampleRate" value="16000" />
226        <path name="voice-call bt-sco" />
227    </path>
228
229    <!-- These are actual sound device specific mixer settings -->
230    <path name="dmic1">
231        <ctl name="SLIM_0_TX Channels" value="One" />
232        <ctl name="SLIM TX7 MUX" value="DEC7" />
233        <ctl name="DEC7 MUX" value="DMIC1" />
234    </path>
235
236    <path name="adc1">
237        <ctl name="SLIM_0_TX Channels" value="One" />
238        <ctl name="SLIM TX7 MUX" value="DEC6" />
239        <ctl name="DEC6 MUX" value="ADC1" />
240    </path>
241
242    <path name="adc2">
243        <ctl name="SLIM_0_TX Channels" value="One" />
244        <ctl name="SLIM TX7 MUX" value="DEC8" />
245        <ctl name="DEC8 MUX" value="ADC2" />
246    </path>
247
248    <path name="adc3">
249        <ctl name="SLIM_0_TX Channels" value="One" />
250        <ctl name="SLIM TX7 MUX" value="DEC4" />
251        <ctl name="DEC4 MUX" value="ADC3" />
252    </path>
253
254    <path name="speaker">
255        <ctl name="SLIM_0_RX Channels" value="Two" />
256        <ctl name="RX3 HPF cut off" value="MIN_3DB_150Hz" />
257        <ctl name="RX4 HPF cut off" value="MIN_3DB_150Hz" />
258        <ctl name="RX3 HPF Switch" value="0" />
259        <ctl name="RX4 HPF Switch" value="0" />
260        <ctl name="RX3 MIX1 INP1" value="RX2" />
261        <ctl name="RX4 MIX1 INP1" value="RX1" />
262        <ctl name="RX3 MIX1 INP2" value="ZERO" />
263        <ctl name="RX4 MIX1 INP2" value="ZERO" />
264        <ctl name="SLIM TX3 MUX" value="RMIX4" />
265        <ctl name="SLIM TX5 MUX" value="RMIX3" />
266    </path>
267
268    <!-- same as speaker but with left and right swapped -->
269    <path name="speaker-reverse">
270        <ctl name="SLIM_0_RX Channels" value="Two" />
271        <ctl name="RX3 HPF cut off" value="MIN_3DB_150Hz" />
272        <ctl name="RX4 HPF cut off" value="MIN_3DB_150Hz" />
273        <ctl name="RX3 HPF Switch" value="0" />
274        <ctl name="RX4 HPF Switch" value="0" />
275        <ctl name="RX3 MIX1 INP2" value="RX1" />
276        <ctl name="RX4 MIX1 INP2" value="RX2" />
277        <ctl name="RX3 MIX1 INP1" value="ZERO" />
278        <ctl name="RX4 MIX1 INP1" value="ZERO" />
279        <ctl name="SLIM TX3 MUX" value="RMIX3" />
280        <ctl name="SLIM TX5 MUX" value="RMIX4" />
281    </path>
282
283    <path name="speaker-mic">
284        <path name="dmic1" />
285        <ctl name="DEC7 Volume" value="101" />
286    </path>
287
288    <path name="handset">
289        <path name="speaker" />
290    </path>
291
292    <path name="handset-mic">
293        <ctl name="TX7 HPF cut off" value="MIN_3DB_150Hz" />
294        <path name="dmic1" />
295        <ctl name="DEC7 Volume" value="104" />
296    </path>
297
298    <path name="headphones">
299        <ctl name="SLIM_0_RX Channels" value="Two" />
300        <ctl name="RX1 MIX1 INP1" value="RX1" />
301        <ctl name="RX2 MIX1 INP1" value="RX2" />
302        <ctl name="HPHL DAC Switch" value="1" />
303        <ctl name="SLIM TX3 MUX" value="RMIX1" />
304        <ctl name="SLIM TX5 MUX" value="RMIX2" />
305    </path>
306
307    <path name="headset-mic">
308        <ctl name="TX8 HPF cut off" value="MIN_3DB_150Hz" />
309        <path name="adc2" />
310        <ctl name="DEC8 Volume" value="103" />
311        <ctl name="ADC2 Volume" value="2" />
312    </path>
313
314    <path name="voice-handset-tmus">
315        <path name="handset" />
316    </path>
317
318    <path name="voice-speaker">
319        <path name="speaker" />
320    </path>
321
322    <path name="voice-speaker-mic">
323        <path name="dmic1" />
324        <ctl name="DEC7 Volume" value="104" />
325    </path>
326
327    <path name="voice-headphones">
328        <path name="headphones" />
329    </path>
330
331    <path name="voice-headset-mic">
332        <path name="headset-mic" />
333    </path>
334
335    <path name="speaker-and-headphones">
336        <ctl name="SLIM_0_RX Channels" value="Two" />
337        <ctl name="RX1 MIX1 INP1" value="RX1" />
338        <ctl name="RX2 MIX1 INP1" value="RX2" />
339        <ctl name="HPHL DAC Switch" value="1" />
340        <ctl name="RX3 HPF cut off" value="MIN_3DB_150Hz" />
341        <ctl name="RX4 HPF cut off" value="MIN_3DB_150Hz" />
342        <ctl name="RX3 HPF Switch" value="0" />
343        <ctl name="RX4 HPF Switch" value="0" />
344        <ctl name="RX3 MIX1 INP1" value="RX2" />
345        <ctl name="RX4 MIX1 INP1" value="RX1" />
346        <ctl name="SLIM TX3 MUX" value="RMIX4" />
347        <ctl name="SLIM TX5 MUX" value="RMIX3" />
348    </path>
349
350    <path name="hdmi">
351    </path>
352
353    <path name="speaker-and-hdmi">
354        <path name="speaker" />
355        <path name="hdmi" />
356    </path>
357
358    <path name="voice-rec-mic">
359        <ctl name="TX7 HPF cut off" value="MIN_3DB_150Hz" />
360        <path name="dmic1" />
361        <ctl name="DEC7 Volume" value="104" />
362    </path>
363
364    <path name="camcorder-mic">
365        <ctl name="TX7 HPF cut off" value="MIN_3DB_150Hz" />
366        <path name="dmic1" />
367        <ctl name="DEC7 Volume" value="104" />
368    </path>
369
370    <path name="hdmi-mic">
371        <path name="dmic1" />
372    </path>
373
374    <path name="bt-sco-headset">
375    </path>
376
377    <path name="bt-sco-mic">
378    </path>
379
380    <!-- Dual MIC devices -->
381    <path name="dmic-endfire">
382        <ctl name="SLIM TX7 MUX" value="DEC7" />
383        <ctl name="DEC7 MUX" value="ADC1" />
384        <ctl name="SLIM TX8 MUX" value="DEC9" />
385        <ctl name="DEC9 MUX" value="ADC3" />
386        <ctl name="SLIM_0_TX Channels" value="Two" />
387        <ctl name="RX1 MIX2 INP1" value="IIR1" />
388        <ctl name="RX2 MIX2 INP1" value="IIR1" />
389        <ctl name="IIR1 INP1 Volume" value="63" />
390        <ctl name="IIR1 INP1 MUX" value="DEC7" />
391    </path>
392
393    <path name="dmic-broadside">
394        <ctl name="SLIM TX7 MUX" value="DEC7" />
395        <ctl name="DEC7 MUX" value="DMIC1" />
396        <ctl name="SLIM TX8 MUX" value="DEC8" />
397        <ctl name="DEC8 MUX" value="DMIC2" />
398        <ctl name="SLIM_0_TX Channels" value="Two" />
399        <ctl name="IIR1 INP1 Volume" value="63" />
400        <ctl name="IIR1 INP1 MUX" value="DEC7" />
401    </path>
402
403    <path name="speaker-dmic-endfire">
404        <ctl name="SLIM TX7 MUX" value="DEC7" />
405        <ctl name="DEC7 MUX" value="ADC1" />
406        <ctl name="SLIM TX8 MUX" value="DEC9" />
407        <ctl name="DEC9 MUX" value="ADC3" />
408        <ctl name="SLIM_0_TX Channels" value="Two" />
409    </path>
410
411    <path name="speaker-dmic-broadside">
412        <ctl name="SLIM TX7 MUX" value="DEC7" />
413        <ctl name="DEC7 MUX" value="DMIC1" />
414        <ctl name="SLIM TX8 MUX" value="DEC8" />
415        <ctl name="DEC8 MUX" value="DMIC2" />
416        <ctl name="SLIM_0_TX Channels" value="Two" />
417    </path>
418
419    <path name="voice-dmic-ef-tmus">
420        <path name="dmic-endfire" />
421    </path>
422
423    <path name="voice-dmic-ef">
424        <path name="dmic-endfire" />
425    </path>
426
427    <path name="voice-dmic-bs">
428        <path name="dmic-broadside" />
429    </path>
430
431    <path name="voice-speaker-dmic-ef">
432        <path name="speaker-dmic-endfire" />
433    </path>
434
435    <path name="voice-speaker-dmic-bs">
436        <path name="speaker-dmic-broadside" />
437    </path>
438
439    <path name="voice-rec-dmic-ef">
440        <path name="dmic-endfire" />
441    </path>
442
443    <path name="voice-rec-dmic-bs">
444        <path name="dmic-broadside" />
445    </path>
446
447    <path name="voice-rec-dmic-ef-fluence">
448        <path name="dmic-endfire" />
449    </path>
450
451    <path name="voice-rec-dmic-bs-fluence">
452        <path name="dmic-broadside" />
453    </path>
454
455    <!-- TTY devices -->
456
457    <path name="tty-headphones">
458        <ctl name="SLIM_0_RX Channels" value="One" />
459        <ctl name="RX1 MIX1 INP1" value="RX6" />
460        <ctl name="RX1 MIX1 INP2" value="RX6" />
461        <ctl name="HPHL DAC Switch" value="1" />
462    </path>
463
464    <path name="voice-tty-full-headphones">
465        <ctl name="TTY Mode" value="FULL" />
466        <path name="tty-headphones" />
467    </path>
468
469    <path name="voice-tty-vco-headphones">
470        <ctl name="TTY Mode" value="VCO" />
471        <path name="tty-headphones" />
472    </path>
473
474    <path name="voice-tty-hco-handset">
475        <ctl name="TTY Mode" value="HCO" />
476        <path name="handset" />
477    </path>
478
479    <path name="voice-tty-full-headset-mic">
480        <path name="adc2" />
481    </path>
482
483    <path name="voice-tty-hco-headset-mic">
484        <path name="adc2" />
485    </path>
486
487    <path name="voice-tty-vco-handset-mic">
488        <path name="dmic1" />
489        <ctl name="DEC7 Volume" value="104" />
490    </path>
491
492    <path name="bt-sco-headset-wb">
493    </path>
494
495    <path name="bt-sco-mic-wb">
496    </path>
497
498</mixer>
499