1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!-- Copyright (c) 2022, The Linux Foundation. All rights reserved.         -->
3<!--                                                                        -->
4<!-- Redistribution and use in source and binary forms, with or without     -->
5<!-- modification, are permitted provided that the following conditions are -->
6<!-- met:                                                                   -->
7<!--     * Redistributions of source code must retain the above copyright   -->
8<!--       notice, this list of conditions and the following disclaimer.    -->
9<!--     * Redistributions in binary form must reproduce the above          -->
10<!--       copyright notice, this list of conditions and the following      -->
11<!--       disclaimer in the documentation and/or other materials provided  -->
12<!--       with the distribution.                                           -->
13<!--     * Neither the name of The Linux Foundation nor the names of its    -->
14<!--       contributors may be used to endorse or promote products derived  -->
15<!--       from this software without specific prior written permission.    -->
16<!--                                                                        -->
17<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED           -->
18<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF   -->
19<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
20<!-- ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
21<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
22<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF   -->
23<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR        -->
24<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,  -->
25<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
26<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.                          -->
27<mixer>
28  <!-- Initial default value of ALSA command -->
29  <!-- PCM timeout -->
30  <ctl name="PCM Stream Wait Time in MSec" value="100" />
31  <ctl name="Voice PCM Stream Wait Time in MSec" value="500" />
32
33  <!-- Enable it when AOC is ready to trim delay and padding -->
34  <ctl name="Gapless Offload Enable" value="1" />
35
36  <!-- TDM 0 setting -->
37  <ctl name="TDM_0_RX Chan" value="Four" />
38  <ctl name="TDM_0_RX Format" value="S32_LE" />
39  <ctl name="TDM_0_RX Sample Rate" value="SR_48K" />
40  <ctl name="TDM_0_TX Chan" value="Four" />
41  <ctl name="TDM_0_TX Format" value="S32_LE" />
42  <ctl name="TDM_0_TX Sample Rate" value="SR_48K" />
43
44  <!-- Haptic setting -->
45  <ctl name="Haptics Source" value="PCM" />
46  <ctl name="HAPTIC_RX Format" value="S32_LE" />
47  <ctl name="HAPTIC_RX SlotFmt" value="S32_LE" />
48  <ctl name="HAPTIC_RX Chan" value="Four" />
49  <ctl name="HAPTIC_RX nSlot" value="Four" />
50  <ctl name="RX Slots" id="0" value="2" />
51  <ctl name="RX Slots" id="1" value="3" />
52
53  <!-- Cirrus default 96K -->
54  <ctl name="Default 96K" value="0" />
55  <ctl name="R Default 96K" value="0" />
56
57  <!-- Cirrus Booster Amp TDM slot assignment-->
58  <!-- RX slot -->
59  <ctl name="ASPRX1 Slot Position" value="0" />
60  <ctl name="ASPRX2 Slot Position" value="1" />
61  <ctl name="R ASPRX1 Slot Position" value="1" />
62  <ctl name="R ASPRX2 Slot Position" value="0" />
63  <!-- TX slot -->
64  <ctl name="ASPTX1 Slot Position" value="0" />
65  <ctl name="R ASPTX1 Slot Position" value="1" />
66  <ctl name="ASPTX2 Slot Position" value="2" />
67  <ctl name="R ASPTX2 Slot Position" value="3" />
68  <ctl name="ASPTX3 Slot Position" value="4" />
69  <ctl name="R ASPTX3 Slot Position" value="5" />
70  <ctl name="ASPTX4 Slot Position" value="6" />
71  <ctl name="R ASPTX4 Slot Position" value="7" />
72
73  <!-- Cirrus Booster Amp DRE and VBST config-->
74  <ctl name="VBSTMON Output Switch" value="1" />
75  <ctl name="R VBSTMON Output Switch" value="1" />
76  <ctl name="DRE DRE Switch" value="1" />
77  <ctl name="R DRE DRE Switch" value="1" />
78
79  <!-- Cirrus Booster Amp Output Gain -->
80  <ctl name="AMP PCM Gain" value="17" />
81  <ctl name="R AMP PCM Gain" value="17" />
82  <ctl name="Digital PCM Volume" value="0" />
83  <ctl name="R Digital PCM Volume" value="0" />
84
85  <!-- Cirrus Booster Amp Power -->
86  <ctl name="Main AMP Enable Switch" value="0" />
87  <ctl name="R Main AMP Enable Switch" value="0" />
88
89  <!-- Cirrus Booster mode -->
90  <ctl name="PCM Source" value="DSP" />
91  <ctl name="R PCM Source" value="DSP" />
92  <ctl name="DSP1 Firmware" value="Protection" />
93  <ctl name="R DSP1 Firmware" value="Protection" />
94  <ctl name="DSP RX1 Source" value="ASPRX1" />
95  <ctl name="DSP RX2 Source" value="ASPRX1" />
96  <ctl name="R DSP RX1 Source" value="ASPRX1" />
97  <ctl name="R DSP RX2 Source" value="ASPRX1" />
98  <ctl name="Boost Peak Current Limit" value="3.50A" />
99  <ctl name="R Boost Peak Current Limit" value="3.50A" />
100  <ctl name="PCM Soft Ramp" value=".5ms" />
101  <ctl name="R PCM Soft Ramp" value=".5ms" />
102
103  <!-- Cirrus ASP TX source -->
104  <ctl name="ASP TX1 Source" value="VMON" />
105  <ctl name="R ASP TX1 Source" value="VMON" />
106  <ctl name="ASP TX2 Source" value="IMON" />
107  <ctl name="R ASP TX2 Source" value="IMON" />
108  <ctl name="ASP TX3 Source" value="Zero" />
109  <ctl name="R ASP TX3 Source" value="Zero" />
110  <ctl name="ASP TX4 Source" value="Zero" />
111  <ctl name="R ASP TX4 Source" value="Zero" />
112
113  <!-- Cirrus fast switch init -->
114  <ctl name="Fast Use Case Switch Enable" value="0" />
115  <ctl name="Fast Use Case Delta File" value="fast_switch5.txt" />
116  <ctl name="R Fast Use Case Switch Enable" value="0" />
117  <ctl name="R Fast Use Case Delta File" value="fast_switch5.txt" />
118
119  <!-- default EP volume -->
120  <ctl name="PCM Playback Switch" value="1" />
121  <ctl name="PCM Playback Volume" value="10" />
122
123  <!-- audio RX route initial/default value -->
124  <ctl name="TDM_0_RX Mixer EP1" value="0" />
125  <ctl name="TDM_0_RX Mixer EP2" value="0" />
126  <ctl name="TDM_0_RX Mixer EP3" value="0" />
127  <ctl name="TDM_0_RX Mixer EP4" value="0" />
128  <ctl name="TDM_0_RX Mixer EP5" value="0" />
129  <ctl name="TDM_0_RX Mixer EP6" value="0" />
130  <ctl name="TDM_0_RX Mixer EP7" value="0" />
131  <ctl name="TDM_0_RX Mixer EP8" value="0" />
132  <ctl name="TDM_0_RX Mixer NoHost1" value="0" />
133  <ctl name="TDM_0_RX Mixer VOIP" value="0" />
134  <ctl name="TDM_0_RX Mixer RAW" value="0" />
135  <ctl name="TDM_0_RX Mixer IMSV" value="0" />
136
137  <ctl name="TDM_1_RX Mixer EP1" value="0" />
138  <ctl name="TDM_1_RX Mixer EP2" value="0" />
139  <ctl name="TDM_1_RX Mixer EP3" value="0" />
140  <ctl name="TDM_1_RX Mixer EP4" value="0" />
141  <ctl name="TDM_1_RX Mixer EP5" value="0" />
142  <ctl name="TDM_1_RX Mixer EP6" value="0" />
143  <ctl name="TDM_1_RX Mixer EP7" value="0" />
144  <ctl name="TDM_1_RX Mixer EP8" value="0" />
145  <ctl name="TDM_1_RX Mixer NoHost1" value="0" />
146
147  <ctl name="USB_RX Mixer EP1" value="0" />
148  <ctl name="USB_RX Mixer EP2" value="0" />
149  <ctl name="USB_RX Mixer EP3" value="0" />
150  <ctl name="USB_RX Mixer EP4" value="0" />
151  <ctl name="USB_RX Mixer EP5" value="0" />
152  <ctl name="USB_RX Mixer EP6" value="0" />
153  <ctl name="USB_RX Mixer EP7" value="0" />
154  <ctl name="USB_RX Mixer NoHost1" value="0" />
155  <ctl name="USB_RX Mixer VOIP" value="0" />
156  <ctl name="USB_RX Mixer HIFI" value="0" />
157  <ctl name="USB_RX Mixer RAW" value="0" />
158  <ctl name="USB_RX Mixer IMSV" value="0" />
159
160  <ctl name="BT_RX Mixer EP1" value="0" />
161  <ctl name="BT_RX Mixer EP2" value="0" />
162  <ctl name="BT_RX Mixer EP3" value="0" />
163  <ctl name="BT_RX Mixer EP4" value="0" />
164  <ctl name="BT_RX Mixer EP5" value="0" />
165  <ctl name="BT_RX Mixer EP6" value="0" />
166  <ctl name="BT_RX Mixer EP7" value="0" />
167  <ctl name="BT_RX Mixer NoHost1" value="0" />
168  <ctl name="BT_RX Mixer VOIP" value="0" />
169  <ctl name="BT_RX Mixer RAW" value="0" />
170  <ctl name="BT_RX Mixer IMSV" value="0" />
171
172  <ctl name="INCALL_RX Mixer EP1" value="0" />
173  <ctl name="INCALL_RX Mixer EP2" value="0" />
174  <ctl name="INCALL_RX Mixer EP3" value="0" />
175  <ctl name="INCALL_RX Mixer EP4" value="0" />
176  <ctl name="INCALL_RX Mixer EP5" value="0" />
177  <ctl name="INCALL_RX Mixer EP6" value="0" />
178  <ctl name="INCALL_RX Mixer EP7" value="0" />
179  <ctl name="INCALL_RX Mixer NoHost1" value="0" />
180
181  <ctl name="SINK_IDS" id="0" value="-1" />
182  <ctl name="SINK_IDS" id="1" value="-1" />
183
184  <!-- audio TX route initial/default value -->
185  <ctl name="EP1 TX Mixer TDM_0_TX" value="0" />
186  <ctl name="EP2 TX Mixer TDM_0_TX" value="0" />
187  <ctl name="EP3 TX Mixer TDM_0_TX" value="0" />
188  <ctl name="EP4 TX Mixer TDM_0_TX" value="0" />
189  <ctl name="EP5 TX Mixer TDM_0_TX" value="0" />
190  <ctl name="EP6 TX Mixer TDM_0_TX" value="0" />
191  <ctl name="NoHost1 TX Mixer TDM_0_TX" value="0" />
192
193  <ctl name="EP1 TX Mixer TDM_1_TX" value="0" />
194  <ctl name="EP2 TX Mixer TDM_1_TX" value="0" />
195  <ctl name="EP3 TX Mixer TDM_1_TX" value="0" />
196  <ctl name="EP4 TX Mixer TDM_1_TX" value="0" />
197  <ctl name="EP5 TX Mixer TDM_1_TX" value="0" />
198  <ctl name="EP6 TX Mixer TDM_1_TX" value="0" />
199  <ctl name="NoHost1 TX Mixer TDM_1_TX" value="0" />
200
201  <ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="0" />
202  <ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="0" />
203  <ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="0" />
204  <ctl name="EP4 TX Mixer INTERNAL_MIC_TX" value="0" />
205  <ctl name="EP5 TX Mixer INTERNAL_MIC_TX" value="0" />
206  <ctl name="EP6 TX Mixer INTERNAL_MIC_TX" value="0" />
207  <ctl name="NoHost1 TX Mixer INTERNAL_MIC_TX" value="0" />
208  <ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="0" />
209
210  <ctl name="EP1 TX Mixer BT_TX" value="0" />
211  <ctl name="EP2 TX Mixer BT_TX" value="0" />
212  <ctl name="EP3 TX Mixer BT_TX" value="0" />
213  <ctl name="EP4 TX Mixer BT_TX" value="0" />
214  <ctl name="EP5 TX Mixer BT_TX" value="0" />
215  <ctl name="EP6 TX Mixer BT_TX" value="0" />
216  <ctl name="NoHost1 TX Mixer BT_TX" value="0" />
217  <ctl name="VOIP TX Mixer BT_TX" value="0" />
218
219  <ctl name="EP1 TX Mixer USB_TX" value="0" />
220  <ctl name="EP2 TX Mixer USB_TX" value="0" />
221  <ctl name="EP3 TX Mixer USB_TX" value="0" />
222  <ctl name="EP4 TX Mixer USB_TX" value="0" />
223  <ctl name="EP5 TX Mixer USB_TX" value="0" />
224  <ctl name="EP6 TX Mixer USB_TX" value="0" />
225  <ctl name="NoHost1 TX Mixer USB_TX" value="0" />
226  <ctl name="VOIP TX Mixer USB_TX" value="0" />
227
228  <ctl name="EP1 TX Mixer INCALL_TX" value="0" />
229  <ctl name="EP2 TX Mixer INCALL_TX" value="0" />
230  <ctl name="EP3 TX Mixer INCALL_TX" value="0" />
231  <ctl name="EP4 TX Mixer INCALL_TX" value="0" />
232  <ctl name="EP5 TX Mixer INCALL_TX" value="0" />
233  <ctl name="EP6 TX Mixer INCALL_TX" value="0" />
234  <ctl name="NoHost1 TX Mixer INCALL_TX" value="0" />
235
236  <ctl name="EP4 TX Mixer I2S_2_TX" value="0" />
237
238  <!-- AoC Mic setting -->
239  <ctl name="MIC DC Blocker" value="1" />
240  <ctl name="MIC HW Gain At High Power Mode (cB)" value="0" />
241  <ctl name="MIC Record Soft Gain (dB)" value="-40" />
242
243  <!-- USB setting v2 -->
244  <ctl name="USB Bus ID v2" value="2" />
245  <ctl name="USB Dev ID v2" value="2" />
246  <ctl name="USB Playback EP ID v2" value="1" />
247  <ctl name="USB Playback FORMAT v2" value="0" />
248  <ctl name="USB Playback SR v2" value="48000" />
249  <ctl name="USB Playback CH v2" value="2" />
250  <ctl name="USB Playback BW v2" value="24" />
251  <ctl name="USB Capture EP ID v2" value="1" />
252  <ctl name="USB Capture FORMAT v2" value="0" />
253  <ctl name="USB Capture SR v2" value="48000" />
254  <ctl name="USB Capture CH v2" value="1" />
255  <ctl name="USB Capture BW v2" value="16" />
256
257  <ctl name="AoC Modem Downlink ASRC Mode" value="ASP_ON" />
258  <ctl name="Voice Call Mic Source" value="Builtin_MIC" />
259  <ctl name="Mic Spatial Module Enable" value="0" />
260  <ctl name="Audio Capture Eraser Enable" value="0" />
261  <ctl name="Hotword Tap Enable" value="0" />
262
263  <!-- audio PDM mic default state -->
264  <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="-1" />
265  <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
266  <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1" />
267  <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
268  <ctl name="Audio Capture Mic Source" value="Builtin_MIC" />
269
270  <!-- sidetone controls -->
271  <ctl name="Sidetone Enable" value="0" />
272  <ctl name="Sidetone Volume" value="-96" />
273  <ctl name="Sidetone Selected Mic" value="0" />
274  <ctl name="Sidetone EQ Stage Number" value="1" />
275  <!-- IEEE 754, value is in float -->
276  <ctl name="Sidetone Biquad0" id="0" value="0" />
277  <ctl name="Sidetone Biquad0" id="1" value="0" />
278  <ctl name="Sidetone Biquad0" id="2" value="0" />
279  <ctl name="Sidetone Biquad0" id="3" value="0" />
280  <ctl name="Sidetone Biquad0" id="4" value="0" />
281  <ctl name="Sidetone Biquad0" id="5" value="0" />
282  <ctl name="Sidetone Biquad1" id="0" value="0" />
283  <ctl name="Sidetone Biquad1" id="1" value="0" />
284  <ctl name="Sidetone Biquad1" id="2" value="0" />
285  <ctl name="Sidetone Biquad1" id="3" value="0" />
286  <ctl name="Sidetone Biquad1" id="4" value="0" />
287  <ctl name="Sidetone Biquad1" id="5" value="0" />
288  <ctl name="Sidetone Biquad2" id="0" value="0" />
289  <ctl name="Sidetone Biquad2" id="1" value="0" />
290  <ctl name="Sidetone Biquad2" id="2" value="0" />
291  <ctl name="Sidetone Biquad2" id="3" value="0" />
292  <ctl name="Sidetone Biquad2" id="4" value="0" />
293  <ctl name="Sidetone Biquad2" id="5" value="0" />
294  <ctl name="Sidetone Biquad3" id="0" value="0" />
295  <ctl name="Sidetone Biquad3" id="1" value="0" />
296  <ctl name="Sidetone Biquad3" id="2" value="0" />
297  <ctl name="Sidetone Biquad3" id="3" value="0" />
298  <ctl name="Sidetone Biquad3" id="4" value="0" />
299  <ctl name="Sidetone Biquad3" id="5" value="0" />
300  <ctl name="Sidetone Biquad4" id="0" value="0" />
301  <ctl name="Sidetone Biquad4" id="1" value="0" />
302  <ctl name="Sidetone Biquad4" id="2" value="0" />
303  <ctl name="Sidetone Biquad4" id="3" value="0" />
304  <ctl name="Sidetone Biquad4" id="4" value="0" />
305  <ctl name="Sidetone Biquad4" id="5" value="0" />
306
307  <ctl name="Incall Capture Stream0" value="Off" />
308  <ctl name="Incall Capture Stream1" value="Off" />
309  <ctl name="Incall Capture Stream2" value="Off" />
310
311  <!-- These two controls control the muting function of mics and sinks during the voice call. -->
312  <!-- They would be enabled by HAL. -->
313  <ctl name="Incall Sink Mute" value="0" />
314  <ctl name="Incall Mic Mute" value="0" />
315
316  <ctl name="Compress Offload Volume" value="1000" />
317  <ctl name="Decoder Reference Enable" value="0" />
318  <ctl name="LVM Enable" value="0" />
319
320  <!-- sidetone dynamic control -->
321  <path name="sidetone-for handset">
322    <!-- 1065353216 = 0x3f800000 = 1.0 -->
323    <ctl name="Sidetone Biquad0" id="0" value="1065353216" />
324    <ctl name="Sidetone Biquad0" id="1" value="1065353216" />
325    <ctl name="Sidetone Biquad0" id="2" value="0" />
326    <ctl name="Sidetone Biquad0" id="3" value="0" />
327    <ctl name="Sidetone Biquad0" id="4" value="0" />
328    <ctl name="Sidetone Biquad0" id="5" value="0" />
329    <ctl name="Sidetone Biquad1" id="0" value="1065353216" />
330    <ctl name="Sidetone Biquad1" id="1" value="1065353216" />
331    <ctl name="Sidetone Biquad1" id="2" value="0" />
332    <ctl name="Sidetone Biquad1" id="3" value="0" />
333    <ctl name="Sidetone Biquad1" id="4" value="0" />
334    <ctl name="Sidetone Biquad1" id="5" value="0" />
335    <ctl name="Sidetone Biquad2" id="0" value="1065353216" />
336    <ctl name="Sidetone Biquad2" id="1" value="1065353216" />
337    <ctl name="Sidetone Biquad2" id="2" value="0" />
338    <ctl name="Sidetone Biquad2" id="3" value="0" />
339    <ctl name="Sidetone Biquad2" id="4" value="0" />
340    <ctl name="Sidetone Biquad2" id="5" value="0" />
341    <ctl name="Sidetone Biquad3" id="0" value="1065353216" />
342    <ctl name="Sidetone Biquad3" id="1" value="1065353216" />
343    <ctl name="Sidetone Biquad3" id="2" value="0" />
344    <ctl name="Sidetone Biquad3" id="3" value="0" />
345    <ctl name="Sidetone Biquad3" id="4" value="0" />
346    <ctl name="Sidetone Biquad3" id="5" value="0" />
347    <ctl name="Sidetone Biquad4" id="0" value="1065353216" />
348    <ctl name="Sidetone Biquad4" id="1" value="1065353216" />
349    <ctl name="Sidetone Biquad4" id="2" value="0" />
350    <ctl name="Sidetone Biquad4" id="3" value="0" />
351    <ctl name="Sidetone Biquad4" id="4" value="0" />
352    <ctl name="Sidetone Biquad4" id="5" value="0" />
353    <ctl name="Sidetone EQ Stage Number" value="5" />
354    <ctl name="Sidetone Volume" value="-90" />
355    <ctl name="Sidetone Enable" value="1" />
356  </path>
357
358  <!-- audio playback dynamic route -->
359  <path name="primary-playback -> speaker">
360    <ctl name="TDM_0_RX Mixer EP2" value="1" />
361  </path>
362
363  <path name="primary-playback-0 -> speaker">
364    <path name="primary-playback -> speaker" />
365  </path>
366
367  <path name="primary-playback-0 -> speaker-earpiece">
368    <path name="primary-playback -> speaker" />
369  </path>
370
371  <path name="primary-playback-0 -> speaker-safe">
372    <path name="primary-playback -> speaker" />
373  </path>
374
375  <path name="primary-playback -> bt">
376    <ctl name="BT_RX Mixer EP2" value="1" />
377  </path>
378
379  <path name="primary-playback-0 -> bt">
380    <path name="primary-playback -> bt" />
381  </path>
382
383  <path name="primary-playback-0 -> bluetooth-a2dp-device">
384    <path name="primary-playback -> bt" />
385  </path>
386
387  <path name="primary-playback-0 -> bluetooth-a2dp-headphone">
388    <path name="primary-playback -> bt" />
389  </path>
390
391  <path name="primary-playback-0 -> bluetooth-a2dp-speaker">
392    <path name="primary-playback -> bt" />
393  </path>
394
395  <path name="primary-playback-0 -> bluetooth-sco-default">
396    <path name="primary-playback -> bt" />
397  </path>
398
399  <path name="primary-playback-0 -> bluetooth-sco-headset">
400    <path name="primary-playback -> bt" />
401  </path>
402
403  <path name="primary-playback-0 -> bluetooth-sco-car-kit">
404    <path name="primary-playback -> bt" />
405  </path>
406
407  <path name="primary-playback-0 -> bluetooth-low-energy-headset">
408    <path name="primary-playback -> bt" />
409  </path>
410
411  <path name="primary-playback-0 -> bluetooth-low-energy-speaker">
412    <path name="primary-playback -> bt" />
413  </path>
414
415  <path name="primary-playback-0 -> usb">
416    <ctl name="USB_RX Mixer EP2" value="1" />
417  </path>
418
419  <path name="primary-playback-0 -> usb-headset">
420    <path name="primary-playback-0 -> usb" />
421  </path>
422
423  <path name="primary-playback-0 -> usb-device">
424    <path name="primary-playback-0 -> usb" />
425  </path>
426
427  <path name="raw-playback -> speaker">
428    <ctl name="TDM_0_RX Mixer RAW" value="1" />
429  </path>
430
431  <path name="raw-playback-0 -> speaker">
432    <path name="raw-playback -> speaker" />
433  </path>
434
435  <path name="raw-playback-0 -> speaker-earpiece">
436    <path name="raw-playback -> speaker" />
437  </path>
438
439  <path name="raw-playback-0 -> speaker-safe">
440    <path name="raw-playback -> speaker" />
441  </path>
442
443  <path name="raw-playback -> bt">
444    <ctl name="BT_RX Mixer RAW" value="1" />
445  </path>
446
447  <path name="raw-playback-0 -> bt">
448    <path name="raw-playback -> bt" />
449  </path>
450
451  <path name="raw-playback-0 -> bluetooth-a2dp-device">
452    <path name="raw-playback -> bt" />
453  </path>
454
455  <path name="raw-playback-0 -> bluetooth-a2dp-headphone">
456    <path name="raw-playback -> bt" />
457  </path>
458
459  <path name="raw-playback-0 -> bluetooth-a2dp-speaker">
460    <path name="raw-playback -> bt" />
461  </path>
462
463  <path name="raw-playback-0 -> bluetooth-sco-default">
464    <path name="raw-playback -> bt" />
465  </path>
466
467  <path name="raw-playback-0 -> bluetooth-sco-headset">
468    <path name="raw-playback -> bt" />
469  </path>
470
471  <path name="raw-playback-0 -> bluetooth-sco-car-kit">
472    <path name="raw-playback -> bt" />
473  </path>
474
475  <path name="raw-playback-0 -> bluetooth-low-energy-headset">
476    <path name="raw-playback -> bt" />
477  </path>
478
479  <path name="raw-playback-0 -> bluetooth-low-energy-speaker">
480    <path name="raw-playback -> bt" />
481  </path>
482
483  <path name="raw-playback-0 -> usb">
484    <ctl name="USB_RX Mixer RAW" value="1" />
485  </path>
486
487  <path name="raw-playback-0 -> usb-headset">
488    <path name="raw-playback-0 -> usb" />
489  </path>
490
491  <path name="raw-playback-0 -> usb-device">
492    <path name="raw-playback-0 -> usb" />
493  </path>
494
495  <path name="deep-buffer-playback -> speaker">
496    <ctl name="TDM_0_RX Mixer EP6" value="1" />
497  </path>
498
499  <path name="deep-buffer-playback-0 -> speaker">
500    <path name="deep-buffer-playback -> speaker" />
501  </path>
502
503  <path name="deep-buffer-playback-0 -> speaker-earpiece">
504    <path name="deep-buffer-playback -> speaker" />
505  </path>
506
507  <path name="deep-buffer-playback-0 -> speaker-safe">
508    <path name="deep-buffer-playback -> speaker" />
509  </path>
510
511  <path name="deep-buffer-playback -> bt">
512    <ctl name="BT_RX Mixer EP6" value="1" />
513  </path>
514
515  <path name="deep-buffer-playback-0 -> bt">
516    <path name="deep-buffer-playback -> bt" />
517  </path>
518
519  <path name="deep-buffer-playback-0 -> bluetooth-a2dp-device">
520    <path name="deep-buffer-playback -> bt" />
521  </path>
522
523  <path name="deep-buffer-playback-0 -> bluetooth-a2dp-headphone">
524    <path name="deep-buffer-playback -> bt" />
525  </path>
526
527  <path name="deep-buffer-playback-0 -> bluetooth-a2dp-speaker">
528    <path name="deep-buffer-playback -> bt" />
529  </path>
530
531  <path name="deep-buffer-playback-0 -> bluetooth-sco-default">
532    <path name="deep-buffer-playback -> bt" />
533  </path>
534
535  <path name="deep-buffer-playback-0 -> bluetooth-sco-headset">
536    <path name="deep-buffer-playback -> bt" />
537  </path>
538
539  <path name="deep-buffer-playback-0 -> bluetooth-sco-car-kit">
540    <path name="deep-buffer-playback -> bt" />
541  </path>
542
543  <path name="deep-buffer-playback-0 -> bluetooth-low-energy-headset">
544    <path name="deep-buffer-playback -> bt" />
545  </path>
546
547  <path name="deep-buffer-playback-0 -> bluetooth-low-energy-speaker">
548    <path name="deep-buffer-playback -> bt" />
549  </path>
550
551  <path name="deep-buffer-playback-0 -> usb">
552    <ctl name="USB_RX Mixer EP6" value="1" />
553  </path>
554
555  <path name="deep-buffer-playback-0 -> usb-headset">
556    <path name="deep-buffer-playback-0 -> usb" />
557  </path>
558
559  <path name="deep-buffer-playback-0 -> usb-device">
560    <path name="deep-buffer-playback-0 -> usb" />
561  </path>
562
563  <path name="compress-offload-playback">
564    <ctl name="LVM Enable" value="1" />
565  </path>
566
567  <path name="compress-offload-playback -> speaker">
568    <path name="compress-offload-playback" />
569    <ctl name="TDM_0_RX Mixer EP7" value="1" />
570  </path>
571
572  <path name="compress-offload-playback-0 -> speaker">
573    <path name="compress-offload-playback -> speaker" />
574  </path>
575
576  <path name="compress-offload-playback-0 -> speaker-earpiece">
577    <path name="compress-offload-playback -> speaker" />
578  </path>
579
580  <path name="compress-offload-playback-0 -> speaker-safe">
581    <path name="compress-offload-playback -> speaker" />
582  </path>
583
584  <path name="compress-offload-playback -> bt">
585    <ctl name="BT_RX Mixer EP7" value="1" />
586  </path>
587
588  <path name="compress-offload-playback-0 -> bt">
589    <path name="compress-offload-playback -> bt" />
590  </path>
591
592  <path name="compress-offload-playback-0 -> bluetooth-a2dp-device">
593    <path name="compress-offload-playback -> bt" />
594  </path>
595
596  <path name="compress-offload-playback-0 -> bluetooth-a2dp-headphone">
597    <path name="compress-offload-playback -> bt" />
598  </path>
599
600  <path name="compress-offload-playback-0 -> bluetooth-a2dp-speaker">
601    <path name="compress-offload-playback -> bt" />
602  </path>
603
604  <path name="compress-offload-playback-0 -> bluetooth-sco-default">
605    <path name="compress-offload-playback -> bt" />
606  </path>
607
608  <path name="compress-offload-playback-0 -> bluetooth-sco-headset">
609    <path name="compress-offload-playback -> bt" />
610  </path>
611
612  <path name="compress-offload-playback-0 -> bluetooth-sco-car-kit">
613    <path name="compress-offload-playback -> bt" />
614  </path>
615
616  <path name="compress-offload-playback-0 -> bluetooth-low-energy-headset">
617    <path name="compress-offload-playback -> bt" />
618  </path>
619
620  <path name="compress-offload-playback-0 -> bluetooth-low-energy-speaker">
621    <path name="compress-offload-playback -> bt" />
622  </path>
623
624  <path name="compress-offload-playback-0 -> usb">
625    <ctl name="USB_RX Mixer EP7" value="1" />
626  </path>
627
628  <path name="compress-offload-playback-0 -> usb-headset">
629    <path name="compress-offload-playback-0 -> usb" />
630  </path>
631
632  <path name="compress-offload-playback-0 -> usb-device">
633    <path name="compress-offload-playback-0 -> usb" />
634  </path>
635
636  <path name="mmap-playback -> speaker">
637    <ctl name="TDM_0_RX Mixer EP1" value="1" />
638  </path>
639
640  <path name="mmap-playback-0 -> speaker">
641    <path name="mmap-playback -> speaker" />
642  </path>
643
644  <path name="mmap-playback-0 -> speaker-earpiece">
645    <path name="mmap-playback -> speaker" />
646  </path>
647
648  <path name="mmap-playback-0 -> speaker-safe">
649    <path name="mmap-playback -> speaker" />
650  </path>
651
652  <path name="mmap-playback -> bt">
653    <ctl name="BT_RX Mixer EP1" value="1" />
654  </path>
655
656  <path name="mmap-playback-0 -> bt">
657    <path name="mmap-playback -> bt" />
658  </path>
659
660  <path name="mmap-playback-0 -> bluetooth-a2dp-device">
661    <path name="mmap-playback -> bt" />
662  </path>
663
664  <path name="mmap-playback-0 -> bluetooth-a2dp-headphone">
665    <path name="mmap-playback -> bt" />
666  </path>
667
668  <path name="mmap-playback-0 -> bluetooth-a2dp-speaker">
669    <path name="mmap-playback -> bt" />
670  </path>
671
672  <path name="mmap-playback-0 -> bluetooth-sco-default">
673    <path name="mmap-playback -> bt" />
674  </path>
675
676  <path name="mmap-playback-0 -> bluetooth-sco-headset">
677    <path name="mmap-playback -> bt" />
678  </path>
679
680  <path name="mmap-playback-0 -> bluetooth-sco-car-kit">
681    <path name="mmap-playback -> bt" />
682  </path>
683
684  <path name="mmap-playback-0 -> bluetooth-low-energy-headset">
685    <path name="mmap-playback -> bt" />
686  </path>
687
688  <path name="mmap-playback-0 -> bluetooth-low-energy-speaker">
689    <path name="mmap-playback -> bt" />
690  </path>
691
692  <path name="mmap-playback-0 -> usb">
693    <ctl name="USB_RX Mixer EP1" value="1" />
694  </path>
695
696  <path name="mmap-playback-0 -> usb-headset">
697    <path name="mmap-playback-0 -> usb" />
698  </path>
699
700  <path name="mmap-playback-0 -> usb-device">
701    <path name="mmap-playback-0 -> usb" />
702  </path>
703
704  <path name="hifi-playback-0 -> usb">
705    <ctl name="USB_RX Mixer HIFI" value="1" />
706  </path>
707
708  <path name="hifi-playback-0 -> usb-headset">
709    <path name="hifi-playback-0 -> usb" />
710  </path>
711
712  <path name="hifi-playback-0 -> usb-device">
713    <path name="hifi-playback-0 -> usb" />
714  </path>
715
716  <path name="voip-playback -> speaker">
717    <ctl name="TDM_0_RX Mixer VOIP" value="1" />
718  </path>
719
720  <path name="voip-playback-0 -> speaker">
721    <path name="voip-playback -> speaker" />
722  </path>
723
724  <path name="voip-playback-0 -> speaker-earpiece">
725    <path name="voip-playback -> speaker" />
726  </path>
727
728  <path name="voip-playback-0 -> speaker-safe">
729    <path name="voip-playback -> speaker" />
730  </path>
731
732  <path name="voip-playback -> bt">
733    <ctl name="BT_RX Mixer VOIP" value="1" />
734  </path>
735
736  <path name="voip-playback-0 -> bt">
737    <path name="voip-playback -> bt" />
738  </path>
739
740  <path name="voip-playback-0 -> bluetooth-a2dp-device">
741    <path name="voip-playback -> bt" />
742  </path>
743
744  <path name="voip-playback-0 -> bluetooth-a2dp-headphone">
745    <path name="voip-playback -> bt" />
746  </path>
747
748  <path name="voip-playback-0 -> bluetooth-a2dp-speaker">
749    <path name="voip-playback -> bt" />
750  </path>
751
752  <path name="voip-playback-0 -> bluetooth-sco-default">
753    <path name="voip-playback -> bt" />
754  </path>
755
756  <path name="voip-playback-0 -> bluetooth-sco-headset">
757    <path name="voip-playback -> bt" />
758  </path>
759
760  <path name="voip-playback-0 -> bluetooth-sco-car-kit">
761    <path name="voip-playback -> bt" />
762  </path>
763
764  <path name="voip-playback-0 -> bluetooth-low-energy-headset">
765    <path name="voip-playback -> bt" />
766  </path>
767
768  <path name="voip-playback-0 -> bluetooth-low-energy-speaker">
769    <path name="voip-playback -> bt" />
770  </path>
771
772  <path name="voip-playback-0 -> usb">
773    <ctl name="USB_RX Mixer VOIP" value="1" />
774  </path>
775
776  <path name="voip-playback-0 -> usb-headset">
777    <path name="voip-playback-0 -> usb" />
778  </path>
779
780  <path name="voip-playback-0 -> usb-device">
781    <path name="voip-playback-0 -> usb" />
782  </path>
783
784  <path name="immersive-playback -> speaker">
785    <ctl name="TDM_0_RX Mixer IMSV" value="1" />
786  </path>
787
788  <path name="immersive-playback-0 -> speaker">
789    <path name="immersive-playback -> speaker" />
790  </path>
791
792  <path name="immersive-playback-0 -> speaker-earpiece">
793    <path name="immersive-playback -> speaker" />
794  </path>
795
796  <path name="immersive-playback-0 -> speaker-safe">
797    <path name="immersive-playback -> speaker" />
798  </path>
799
800  <path name="immersive-playback -> bt">
801    <ctl name="BT_RX Mixer IMSV" value="1" />
802  </path>
803
804  <path name="immersive-playback-0 -> bt">
805    <path name="immersive-playback -> bt" />
806  </path>
807
808  <path name="immersive-playback-0 -> bluetooth-a2dp-device">
809    <path name="immersive-playback -> bt" />
810  </path>
811
812  <path name="immersive-playback-0 -> bluetooth-a2dp-headphone">
813    <path name="immersive-playback -> bt" />
814  </path>
815
816  <path name="immersive-playback-0 -> bluetooth-a2dp-speaker">
817    <path name="immersive-playback -> bt" />
818  </path>
819
820  <path name="immersive-playback-0 -> usb">
821    <ctl name="USB_RX Mixer IMSV" value="1" />
822  </path>
823
824  <path name="immersive-playback-0 -> usb-headset">
825    <path name="immersive-playback-0 -> usb" />
826  </path>
827
828  <path name="immersive-playback-0 -> usb-device">
829    <path name="immersive-playback-0 -> usb" />
830  </path>
831
832  <path name="haptic-playback -> speaker">
833    <ctl name="TDM_0_RX Mixer EP3" value="1" />
834    <ctl name="TDM_0_RX Mixer EP8" value="1" />
835  </path>
836
837  <path name="haptic-playback-0 -> speaker">
838    <path name="haptic-playback -> speaker" />
839  </path>
840
841  <path name="haptic-playback-0 -> speaker-earpiece">
842    <path name="haptic-playback -> speaker" />
843  </path>
844
845  <path name="haptic-playback-0 -> speaker-safe">
846    <path name="haptic-playback -> speaker" />
847  </path>
848
849  <path name="haptic-playback -> bt">
850    <ctl name="BT_RX Mixer EP3" value="1" />
851    <ctl name="TDM_0_RX Mixer EP8" value="1" />
852  </path>
853
854  <path name="haptic-playback-0 -> bt">
855    <path name="haptic-playback -> bt" />
856  </path>
857
858  <path name="haptic-playback-0 -> bluetooth-a2dp-device">
859    <path name="haptic-playback -> bt" />
860  </path>
861
862  <path name="haptic-playback-0 -> bluetooth-a2dp-headphone">
863    <path name="haptic-playback -> bt" />
864  </path>
865
866  <path name="haptic-playback-0 -> bluetooth-a2dp-speaker">
867    <path name="haptic-playback -> bt" />
868  </path>
869
870  <path name="haptic-playback-0 -> bluetooth-sco-default">
871    <path name="haptic-playback -> bt" />
872  </path>
873
874  <path name="haptic-playback-0 -> bluetooth-sco-headset">
875    <path name="haptic-playback -> bt" />
876  </path>
877
878  <path name="haptic-playback-0 -> bluetooth-sco-car-kit">
879    <path name="haptic-playback -> bt" />
880  </path>
881
882  <path name="haptic-playback-0 -> bluetooth-low-energy-headset">
883    <path name="haptic-playback -> bt" />
884  </path>
885
886  <path name="haptic-playback-0 -> bluetooth-low-energy-speaker">
887    <path name="haptic-playback -> bt" />
888  </path>
889
890  <path name="haptic-playback-0 -> usb">
891    <ctl name="USB_RX Mixer EP3" value="1" />
892    <ctl name="TDM_0_RX Mixer EP8" value="1" />
893  </path>
894
895  <path name="haptic-playback-0 -> usb-headset">
896    <path name="haptic-playback-0 -> usb" />
897  </path>
898
899  <path name="haptic-playback-0 -> usb-device">
900    <path name="haptic-playback-0 -> usb" />
901  </path>
902
903  <!-- audio capture dynamic route -->
904  <path name="microphones -> primary-capture-0">
905    <ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="1" />
906  </path>
907
908  <path name="back-microphones -> primary-capture-0">
909    <ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="1" />
910  </path>
911
912  <path name="usb-microphones -> primary-capture-0">
913    <ctl name="EP1 TX Mixer USB_TX" value="1" />
914  </path>
915
916  <path name="usb-headset-microphones -> primary-capture-0">
917    <path name="usb-microphones -> primary-capture-0" />
918  </path>
919
920  <path name="usb-device-microphones -> primary-capture-0">
921    <path name="usb-microphones -> primary-capture-0" />
922  </path>
923
924  <path name="bluetooth-sco-headset-microphones -> primary-capture-0">
925    <ctl name="EP1 TX Mixer BT_TX" value="1" />
926  </path>
927
928  <path name="bluetooth-low-energy-headset-microphones -> primary-capture-0">
929    <ctl name="EP1 TX Mixer BT_TX" value="1" />
930  </path>
931
932  <path name="microphones -> voip-capture-0">
933    <ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1" />
934  </path>
935
936  <path name="back-microphones -> voip-capture-0">
937    <ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1" />
938  </path>
939
940  <path name="usb-microphones -> voip-capture-0">
941    <ctl name="VOIP TX Mixer USB_TX" value="1" />
942  </path>
943
944  <path name="usb-headset-microphones -> voip-capture-0">
945    <path name="usb-microphones -> voip-capture-0" />
946  </path>
947
948  <path name="usb-device-microphones -> voip-capture-0">
949    <path name="usb-microphones -> voip-capture-0" />
950  </path>
951
952  <path name="bluetooth-sco-headset-microphones -> voip-capture-0">
953    <ctl name="VOIP TX Mixer BT_TX" value="1" />
954  </path>
955
956  <path name="bluetooth-low-energy-headset-microphones -> voip-capture-0">
957    <ctl name="VOIP TX Mixer BT_TX" value="1" />
958  </path>
959
960  <path name="microphones -> fast-capture-0">
961    <ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="1" />
962  </path>
963
964  <path name="back-microphones -> fast-capture-0">
965    <ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="1" />
966  </path>
967
968  <path name="usb-microphones -> fast-capture-0">
969    <ctl name="EP3 TX Mixer USB_TX" value="1" />
970  </path>
971
972  <path name="usb-headset-microphones -> fast-capture-0">
973    <path name="usb-microphones -> fast-capture-0" />
974  </path>
975
976  <path name="usb-device-microphones -> fast-capture-0">
977    <path name="usb-microphones -> fast-capture-0" />
978  </path>
979
980  <path name="bluetooth-sco-headset-microphones -> fast-capture-0">
981    <ctl name="EP3 TX Mixer BT_TX" value="1" />
982  </path>
983
984  <path name="bluetooth-low-energy-headset-microphones -> fast-capture-0">
985    <ctl name="EP3 TX Mixer BT_TX" value="1" />
986  </path>
987
988  <path name="microphones -> sound-trigger-capture-0">
989  </path>
990
991  <path name="microphones -> sound-trigger-tap-capture-0">
992  </path>
993
994  <path name="microphones -> hotword-lookback-capture-0">
995  </path>
996
997  <!-- voice-call dynamic route -->
998  <path name="voice-call-downlink-0 -> speaker">
999    <ctl name="TDM_0_RX Mixer EP5" value="1" />
1000  </path>
1001
1002  <path name="voice-call-downlink-0 -> speaker-earpiece">
1003    <ctl name="TDM_0_RX Mixer EP5" value="1" />
1004  </path>
1005
1006  <path name="voice-call-downlink-0 -> bt">
1007    <ctl name="BT_RX Mixer EP5" value="1" />
1008  </path>
1009
1010  <path name="voice-call-downlink-0 -> bluetooth-sco-default">
1011    <path name="voice-call-downlink-0 -> bt" />
1012  </path>
1013
1014  <path name="voice-call-downlink-0 -> bluetooth-sco-headset">
1015    <path name="voice-call-downlink-0 -> bt" />
1016  </path>
1017
1018  <path name="voice-call-downlink-0 -> bluetooth-sco-car-kit">
1019    <path name="voice-call-downlink-0 -> bt" />
1020  </path>
1021
1022  <path name="voice-call-downlink-0 -> bluetooth-low-energy-headset">
1023    <path name="voice-call-downlink-0 -> bt" />
1024  </path>
1025
1026  <path name="voice-call-downlink-0 -> bluetooth-low-energy-speaker">
1027    <path name="voice-call-downlink-0 -> bt" />
1028  </path>
1029
1030  <path name="voice-call-downlink-0 -> usb">
1031    <ctl name="USB_RX Mixer EP5" value="1" />
1032  </path>
1033
1034  <path name="voice-call-downlink-0 -> usb-headset">
1035    <path name="voice-call-downlink-0 -> usb" />
1036  </path>
1037
1038  <path name="voice-call-downlink-0 -> usb-device">
1039    <path name="voice-call-downlink-0 -> usb" />
1040  </path>
1041
1042  <path name="voice-call-downlink-0 -> null-sink">
1043    <ctl name="INCALL_RX Mixer EP5" value="1" />
1044  </path>
1045
1046  <path name="microphones -> voice-call-uplink-0">
1047    <ctl name="EP4 TX Mixer INTERNAL_MIC_TX" value="1" />
1048  </path>
1049
1050  <path name="back-microphones -> voice-call-uplink-0">
1051    <ctl name="EP4 TX Mixer INTERNAL_MIC_TX" value="1" />
1052  </path>
1053
1054  <path name="usb-microphones -> voice-call-uplink-0">
1055    <ctl name="EP4 TX Mixer USB_TX" value="1" />
1056  </path>
1057
1058  <path name="usb-headset-microphones -> voice-call-uplink-0">
1059    <path name="usb-microphones -> voice-call-uplink-0" />
1060  </path>
1061
1062  <path name="usb-device-microphones -> voice-call-uplink-0">
1063    <path name="usb-microphones -> voice-call-uplink-0" />
1064  </path>
1065
1066  <path name="bluetooth-sco-headset-microphones -> voice-call-uplink-0">
1067    <ctl name="EP4 TX Mixer BT_TX" value="1" />
1068  </path>
1069
1070  <path name="bluetooth-low-energy-headset-microphones -> voice-call-uplink-0">
1071    <ctl name="EP4 TX Mixer BT_TX" value="1" />
1072  </path>
1073
1074  <path name="null-source -> voice-call-uplink-0">
1075    <ctl name="EP4 TX Mixer INCALL_TX" value="1" />
1076  </path>
1077
1078  <path name="hostless-ulC spk-vi">
1079    <ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
1080  </path>
1081
1082  <path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-0">
1083    <ctl name="Incall Capture Stream0" value="DL" />
1084  </path>
1085
1086  <path name="telephony-rx (VOICE_UPLINK) -> in-call-capture-0">
1087    <ctl name="Incall Capture Stream0" value="UL" />
1088  </path>
1089
1090  <path name="telephony-rx (VOICE_CALL) -> in-call-capture-0">
1091    <ctl name="Incall Capture Stream0" value="UL_DL" />
1092  </path>
1093
1094  <path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-1">
1095    <ctl name="Incall Capture Stream1" value="DL" />
1096  </path>
1097
1098  <path name="telephony-rx (VOICE_UPLINK) -> in-call-capture-1">
1099    <ctl name="Incall Capture Stream1" value="UL" />
1100  </path>
1101
1102  <path name="telephony-rx (VOICE_CALL) -> in-call-capture-1">
1103    <ctl name="Incall Capture Stream1" value="UL_DL" />
1104  </path>
1105
1106  <path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-2">
1107    <ctl name="Incall Capture Stream2" value="DL" />
1108  </path>
1109
1110  <path name="telephony-rx (VOICE_UPLINK) -> in-call-capture-2">
1111    <ctl name="Incall Capture Stream2" value="UL" />
1112  </path>
1113
1114  <path name="telephony-rx (VOICE_CALL) -> in-call-capture-2">
1115    <ctl name="Incall Capture Stream2" value="UL_DL" />
1116  </path>
1117
1118  <path name="microphones -> mmap-capture-0">
1119    <ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1" />
1120  </path>
1121
1122  <path name="usb-microphones -> mmap-capture-0">
1123    <ctl name="EP2 TX Mixer USB_TX" value="1" />
1124  </path>
1125
1126  <path name="usb-headset-microphones -> mmap-capture-0">
1127    <path name="usb-microphones -> mmap-capture-0" />
1128  </path>
1129
1130  <path name="usb-device-microphones -> mmap-capture-0">
1131    <path name="usb-microphones -> mmap-capture-0" />
1132  </path>
1133
1134  <path name="bluetooth-sco-headset-microphones -> mmap-capture-0">
1135    <ctl name="EP2 TX Mixer BT_TX" value="1" />
1136  </path>
1137
1138  <path name="bluetooth-low-energy-headset-microphones -> mmap-capture-0">
1139    <ctl name="EP2 TX Mixer BT_TX" value="1" />
1140  </path>
1141
1142  <!-- codec setting -->
1143  <!-- Rx device -->
1144  <path name="speaker-earpiece">
1145    <ctl name="PCM Source" value="ASP" />
1146    <ctl name="AMP PCM Gain" value="6" />
1147    <ctl name="Main AMP Enable Switch" value="1" />
1148  </path>
1149
1150  <path name="speaker-earpiece (VOICE)">
1151    <ctl name="PCM Source" value="ASP" />
1152    <ctl name="AMP PCM Gain" value="7" />
1153    <ctl name="Main AMP Enable Switch" value="1" />
1154  </path>
1155
1156  <path name="speaker">
1157    <ctl name="Main AMP Enable Switch" value="1" />
1158    <ctl name="R Main AMP Enable Switch" value="1" />
1159    <ctl name="Fast Use Case Delta File" value="fast_switch3.txt" />
1160    <ctl name="Fast Use Case Switch Enable" value="1" />
1161    <ctl name="R Fast Use Case Delta File" value="fast_switch4.txt" />
1162    <ctl name="R Fast Use Case Switch Enable" value="1" />
1163  </path>
1164
1165  <path name="speaker (VOICE)">
1166    <ctl name="ASPTX1 Slot Position" value="1" />
1167    <ctl name="R ASPTX1 Slot Position" value="0" />
1168    <!--<ctl name="R DSP RX2 Source" value="ASPRX2" />-->
1169    <ctl name="R Main AMP Enable Switch" value="1" />
1170    <ctl name="Main AMP Enable Switch" value="1" />
1171    <!-- load Enable FIR -->
1172    <ctl name="Fast Use Case Delta File" value="fast_switch1.txt" />
1173    <ctl name="Fast Use Case Switch Enable" value="1" />
1174    <ctl name="R Fast Use Case Delta File" value="fast_switch2.txt" />
1175    <ctl name="R Fast Use Case Switch Enable" value="1" />
1176  </path>
1177
1178  <path name="speaker-safe">
1179    <ctl name="R Main AMP Enable Switch" value="1" />
1180    <!-- load Bypass FIR -->
1181    <ctl name="R Fast Use Case Delta File" value="fast_switch4.txt" />
1182    <ctl name="R Fast Use Case Switch Enable" value="1" />
1183  </path>
1184
1185  <!-- Tx device -->
1186  <path name="microphones">
1187    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1188    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1189    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1190    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1191    <ctl name="MIC DC Blocker" value="1" />
1192    <ctl name="MIC Record Soft Gain (dB)" value="22" />
1193  </path>
1194
1195  <path name="microphones (VOICE)">
1196    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1197    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1198    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1199    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1200    <ctl name="MIC DC Blocker" value="1" />
1201    <ctl name="MIC HW Gain At High Power Mode (cB)" value="130" />
1202    <ctl name="MIC Record Soft Gain (dB)" value="0" />
1203  </path>
1204
1205  <path name="microphones (VOICE_RECOGNITION)">
1206    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1207    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1208    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1209    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1210    <ctl name="MIC DC Blocker" value="1" />
1211    <ctl name="MIC Record Soft Gain (dB)" value="22" />
1212  </path>
1213
1214  <path name="microphones (VOICE_RECOGNITION,SOUND_TRIGGER_TAP)">
1215    <ctl name="Audio Capture Eraser Enable" value="1" />
1216    <ctl name="Hotword Tap Enable" value="1" />
1217    <ctl name="MIC Record Soft Gain (dB)" value="0" />
1218  </path>
1219
1220  <path name="microphones (SOUND_TRIGGER_AEC)">
1221    <ctl name="Audio Capture Eraser Enable" value="1" />
1222    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1223    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1224    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1225    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1226    <ctl name="MIC DC Blocker" value="1" />
1227    <ctl name="Audio Capture Mic Source" value="ERASER" />
1228    <ctl name="MIC Record Soft Gain (dB)" value="0" />
1229  </path>
1230
1231  <path name="back-microphones">
1232    <ctl name="Mic Spatial Module Enable" value="1" />
1233    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1234    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1235    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1236    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1237    <ctl name="MIC DC Blocker" value="1" />
1238    <ctl name="MIC Record Soft Gain (dB)" value="22" />
1239  </path>
1240
1241  <path name="back-microphones (VOICE)">
1242    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1243    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1244    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1245    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1246    <ctl name="MIC DC Blocker" value="1" />
1247    <ctl name="MIC HW Gain At High Power Mode (cB)" value="130" />
1248    <ctl name="MIC Record Soft Gain (dB)" value="0" />
1249  </path>
1250
1251  <path name="microphones (CAMCORDER)">
1252    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1253    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1254    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1255    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1256    <ctl name="MIC DC Blocker" value="1" />
1257    <ctl name="MIC Record Soft Gain (dB)" value="0" />
1258  </path>
1259
1260  <path name="back-microphones (CAMCORDER)">
1261    <path name="microphones (CAMCORDER)" />
1262  </path>
1263
1264  <path name="camcorder-mic">
1265    <ctl name="Mic Spatial Module Enable" value="1" />
1266    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1267    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1268    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1269    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1270    <ctl name="MIC DC Blocker" value="1" />
1271    <ctl name="MIC Record Soft Gain (dB)" value="0" />
1272  </path>
1273
1274  <path name="unprocessed-mic">
1275    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1276    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1277    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1278    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1279    <ctl name="MIC DC Blocker" value="1" />
1280    <ctl name="MIC Record Soft Gain (dB)" value="5" />
1281  </path>
1282
1283  <path name="unprocessed-dual-mic">
1284    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1285    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1286    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1287    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1288    <ctl name="MIC DC Blocker" value="1" />
1289    <ctl name="MIC Record Soft Gain (dB)" value="5" />
1290  </path>
1291
1292  <path name="unprocessed-triple-mic">
1293    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1294    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1295    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1296    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1297    <ctl name="MIC DC Blocker" value="1" />
1298    <ctl name="MIC Record Soft Gain (dB)" value="5" />
1299  </path>
1300
1301  <path name="bluetooth-sco-headset-microphones">
1302    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1303    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1304    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1305    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1306    <ctl name="Audio Capture Mic Source" value="BT_MIC" />
1307    <ctl name="Voice Call Mic Source" value="BT_MIC" />
1308    <ctl name="MIC Record Soft Gain (dB)" value="0" />
1309  </path>
1310
1311  <path name="bluetooth-low-energy-headset-microphones">
1312    <path name="bluetooth-sco-headset-microphones" />
1313  </path>
1314
1315  <path name="usb-microphones">
1316    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1317    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1318    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1319    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1320    <ctl name="Audio Capture Mic Source" value="USB_MIC" />
1321    <ctl name="Voice Call Mic Source" value="USB_MIC" />
1322    <ctl name="MIC Record Soft Gain (dB)" value="0" />
1323  </path>
1324
1325  <path name="usb-headset-microphones">
1326    <path name="usb-microphones" />
1327  </path>
1328
1329  <path name="usb-device-microphones">
1330    <path name="usb-microphones" />
1331  </path>
1332
1333  <!-- cs35l41 specific path to load firmware in cs35l41.c -->
1334  <path name="cs35l41-load-protection-firmware-start">
1335    <!-- Enable it after get the protection firmware -->
1336    <ctl name="DSP Booted" value="0" />
1337    <ctl name="R DSP Booted" value="0" />
1338    <ctl name="DSP1 Preload Switch" value="0" />
1339    <ctl name="R DSP1 Preload Switch" value="0" />
1340  </path>
1341
1342  <path name="cs35l41-load-protection-firmware-end">
1343    <!-- Enable it after get the protection firmware -->
1344    <ctl name="DSP1 Preload Switch" value="1" />
1345    <ctl name="R DSP1 Preload Switch" value="1" />
1346  </path>
1347  <!-- cs35l41 specific path to load firmware in cs35l41.c end-->
1348  <!-- cs35l41 specific path for adated feature in cs35l41_route_control.cc  -->
1349  <!-- Which is controlled by speaker module and path name format is fixed.  -->
1350  <!-- Path name format: adapted-{type}{-battery-throttled}{-acoustic-shock} -->
1351  <!-- Battery throttle and acoustic shock are disabled: "adapted-speaker"   -->
1352  <!-- Battery throttle enabled: "adapted-speaker-battery-throttled"         -->
1353  <!-- Acoustic shock enabled: "adapted-speaker-acoustic-shock"              -->
1354  <!-- Both are enabled: "adapted-speaker-battery-throttled-acoustic-shock"  -->
1355  <path name="adapted-speaker">
1356    <ctl name="Boost Peak Current Limit" value="2.50A" />
1357    <ctl name="R Boost Peak Current Limit" value="2.50A" />
1358    <ctl name="Digital PCM Volume" value="817" />
1359    <ctl name="R Digital PCM Volume" value="817" />
1360  </path>
1361  <path name="adapted-speaker-battery-throttled">
1362    <ctl name="Boost Peak Current Limit" value="1.80A" />
1363    <ctl name="R Boost Peak Current Limit" value="1.80A" />
1364    <ctl name="Digital PCM Volume" value="817" />
1365    <ctl name="R Digital PCM Volume" value="817" />
1366  </path>
1367
1368  <path name="adapted-speaker-safe">
1369    <ctl name="R Boost Peak Current Limit" value="3.50A" />
1370    <ctl name="R Digital PCM Volume" value="817" />
1371  </path>
1372  <path name="adapted-speaker-safe-battery-throttled">
1373    <path name="adapted-speaker-safe" />
1374  </path>
1375
1376  <path name="adapted-earpiece">
1377    <ctl name="Digital PCM Volume" value="817" />
1378  </path>
1379  <path name="adapted-earpiece-battery-throttled">
1380    <path name="adapted-earpiece" />
1381  </path>
1382
1383  <path name="adapted-voice-speaker">
1384    <ctl name="R Boost Peak Current Limit" value="3.50A" />
1385    <ctl name="Boost Peak Current Limit" value="3.50A" />
1386    <ctl name="Digital PCM Volume" value="800" />
1387    <ctl name="R Digital PCM Volume" value="817" />
1388  </path>
1389  <path name="adapted-voice-speaker-battery-throttled">
1390    <path name="adapted-voice-speaker" />
1391  </path>
1392  <path name="adapted-voice-speaker-acoustic-shock">
1393    <ctl name="R Boost Peak Current Limit" value="3.50A" />
1394    <ctl name="Boost Peak Current Limit" value="3.50A" />
1395    <ctl name="PCM Soft Ramp" value="2ms" />
1396    <ctl name="Digital PCM Volume" value="0" />
1397    <ctl name="R Digital PCM Volume" value="817" />
1398  </path>
1399
1400  <path name="adapted-voice-speaker-battery-throttled-acoustic-shock">
1401    <path name="adapted-voice-speaker-acoustic-shock" />
1402  </path>
1403
1404  <path name="adapted-voice-earpiece">
1405      <ctl name="Boost Peak Current Limit" value="3.50A" />
1406      <ctl name="Digital PCM Volume" value="817" />
1407  </path>
1408  <path name="adapted-voice-earpiece-battery-throttled">
1409    <path name="adapted-voice-earpiece" />
1410  </path>
1411  <!-- cs35l41 specific path for adated feature in cs35l41_route_control.cc end -->
1412</mixer>
1413