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  <ctl name="AoC Chirp Enable" value="0" />
321  <!-- sidetone dynamic control -->
322  <path name="sidetone-for handset">
323    <!-- 1065353216 = 0x3f800000 = 1.0 -->
324    <ctl name="Sidetone Biquad0" id="0" value="1065353216" />
325    <ctl name="Sidetone Biquad0" id="1" value="1065353216" />
326    <ctl name="Sidetone Biquad0" id="2" value="0" />
327    <ctl name="Sidetone Biquad0" id="3" value="0" />
328    <ctl name="Sidetone Biquad0" id="4" value="0" />
329    <ctl name="Sidetone Biquad0" id="5" value="0" />
330    <ctl name="Sidetone Biquad1" id="0" value="1065353216" />
331    <ctl name="Sidetone Biquad1" id="1" value="1065353216" />
332    <ctl name="Sidetone Biquad1" id="2" value="0" />
333    <ctl name="Sidetone Biquad1" id="3" value="0" />
334    <ctl name="Sidetone Biquad1" id="4" value="0" />
335    <ctl name="Sidetone Biquad1" id="5" value="0" />
336    <ctl name="Sidetone Biquad2" id="0" value="1065353216" />
337    <ctl name="Sidetone Biquad2" id="1" value="1065353216" />
338    <ctl name="Sidetone Biquad2" id="2" value="0" />
339    <ctl name="Sidetone Biquad2" id="3" value="0" />
340    <ctl name="Sidetone Biquad2" id="4" value="0" />
341    <ctl name="Sidetone Biquad2" id="5" value="0" />
342    <ctl name="Sidetone Biquad3" id="0" value="1065353216" />
343    <ctl name="Sidetone Biquad3" id="1" value="1065353216" />
344    <ctl name="Sidetone Biquad3" id="2" value="0" />
345    <ctl name="Sidetone Biquad3" id="3" value="0" />
346    <ctl name="Sidetone Biquad3" id="4" value="0" />
347    <ctl name="Sidetone Biquad3" id="5" value="0" />
348    <ctl name="Sidetone Biquad4" id="0" value="1065353216" />
349    <ctl name="Sidetone Biquad4" id="1" value="1065353216" />
350    <ctl name="Sidetone Biquad4" id="2" value="0" />
351    <ctl name="Sidetone Biquad4" id="3" value="0" />
352    <ctl name="Sidetone Biquad4" id="4" value="0" />
353    <ctl name="Sidetone Biquad4" id="5" value="0" />
354    <ctl name="Sidetone EQ Stage Number" value="5" />
355    <ctl name="Sidetone Volume" value="-90" />
356    <ctl name="Sidetone Enable" value="1" />
357  </path>
358
359  <!-- audio playback dynamic route -->
360  <path name="primary-playback -> speaker">
361    <ctl name="TDM_0_RX Mixer EP2" value="1" />
362  </path>
363
364  <path name="primary-playback-0 -> speaker">
365    <path name="primary-playback -> speaker" />
366  </path>
367
368  <path name="primary-playback-0 -> speaker-earpiece">
369    <path name="primary-playback -> speaker" />
370  </path>
371
372  <path name="primary-playback-0 -> speaker-safe">
373    <path name="primary-playback -> speaker" />
374  </path>
375
376  <path name="primary-playback -> bt">
377    <ctl name="BT_RX Mixer EP2" value="1" />
378  </path>
379
380  <path name="primary-playback-0 -> bt">
381    <path name="primary-playback -> bt" />
382  </path>
383
384  <path name="primary-playback-0 -> bluetooth-a2dp-device">
385    <path name="primary-playback -> bt" />
386  </path>
387
388  <path name="primary-playback-0 -> bluetooth-a2dp-headphone">
389    <path name="primary-playback -> bt" />
390  </path>
391
392  <path name="primary-playback-0 -> bluetooth-a2dp-speaker">
393    <path name="primary-playback -> bt" />
394  </path>
395
396  <path name="primary-playback-0 -> bluetooth-sco-default">
397    <path name="primary-playback -> bt" />
398  </path>
399
400  <path name="primary-playback-0 -> bluetooth-sco-headset">
401    <path name="primary-playback -> bt" />
402  </path>
403
404  <path name="primary-playback-0 -> bluetooth-sco-car-kit">
405    <path name="primary-playback -> bt" />
406  </path>
407
408  <path name="primary-playback-0 -> bluetooth-low-energy-headset">
409    <path name="primary-playback -> bt" />
410  </path>
411
412  <path name="primary-playback-0 -> bluetooth-low-energy-speaker">
413    <path name="primary-playback -> bt" />
414  </path>
415
416  <path name="primary-playback-0 -> usb">
417    <ctl name="USB_RX Mixer EP2" value="1" />
418  </path>
419
420  <path name="primary-playback-0 -> usb-headset">
421    <path name="primary-playback-0 -> usb" />
422  </path>
423
424  <path name="primary-playback-0 -> usb-device">
425    <path name="primary-playback-0 -> usb" />
426  </path>
427
428  <path name="primary-playback-0 -> hdmi-device">
429    <path name="primary-playback-0 -> usb" />
430  </path>
431
432  <path name="raw-playback -> speaker">
433    <ctl name="TDM_0_RX Mixer RAW" value="1" />
434  </path>
435
436  <path name="raw-playback-0 -> speaker">
437    <path name="raw-playback -> speaker" />
438  </path>
439
440  <path name="raw-playback-0 -> speaker-earpiece">
441    <path name="raw-playback -> speaker" />
442  </path>
443
444  <path name="raw-playback-0 -> speaker-safe">
445    <path name="raw-playback -> speaker" />
446  </path>
447
448  <path name="raw-playback -> bt">
449    <ctl name="BT_RX Mixer RAW" value="1" />
450  </path>
451
452  <path name="raw-playback-0 -> bt">
453    <path name="raw-playback -> bt" />
454  </path>
455
456  <path name="raw-playback-0 -> bluetooth-a2dp-device">
457    <path name="raw-playback -> bt" />
458  </path>
459
460  <path name="raw-playback-0 -> bluetooth-a2dp-headphone">
461    <path name="raw-playback -> bt" />
462  </path>
463
464  <path name="raw-playback-0 -> bluetooth-a2dp-speaker">
465    <path name="raw-playback -> bt" />
466  </path>
467
468  <path name="raw-playback-0 -> bluetooth-sco-default">
469    <path name="raw-playback -> bt" />
470  </path>
471
472  <path name="raw-playback-0 -> bluetooth-sco-headset">
473    <path name="raw-playback -> bt" />
474  </path>
475
476  <path name="raw-playback-0 -> bluetooth-sco-car-kit">
477    <path name="raw-playback -> bt" />
478  </path>
479
480  <path name="raw-playback-0 -> bluetooth-low-energy-headset">
481    <path name="raw-playback -> bt" />
482  </path>
483
484  <path name="raw-playback-0 -> bluetooth-low-energy-speaker">
485    <path name="raw-playback -> bt" />
486  </path>
487
488  <path name="raw-playback-0 -> usb">
489    <ctl name="USB_RX Mixer RAW" value="1" />
490  </path>
491
492  <path name="raw-playback-0 -> usb-headset">
493    <path name="raw-playback-0 -> usb" />
494  </path>
495
496  <path name="raw-playback-0 -> usb-device">
497    <path name="raw-playback-0 -> usb" />
498  </path>
499
500  <path name="raw-playback-0 -> hdmi-device">
501    <path name="raw-playback-0 -> usb" />
502  </path>
503
504  <path name="deep-buffer-playback -> speaker">
505    <ctl name="TDM_0_RX Mixer EP6" value="1" />
506  </path>
507
508  <path name="deep-buffer-playback-0 -> speaker">
509    <path name="deep-buffer-playback -> speaker" />
510  </path>
511
512  <path name="deep-buffer-playback-0 -> speaker-earpiece">
513    <path name="deep-buffer-playback -> speaker" />
514  </path>
515
516  <path name="deep-buffer-playback-0 -> speaker-safe">
517    <path name="deep-buffer-playback -> speaker" />
518  </path>
519
520  <path name="deep-buffer-playback -> bt">
521    <ctl name="BT_RX Mixer EP6" value="1" />
522  </path>
523
524  <path name="deep-buffer-playback-0 -> bt">
525    <path name="deep-buffer-playback -> bt" />
526  </path>
527
528  <path name="deep-buffer-playback-0 -> bluetooth-a2dp-device">
529    <path name="deep-buffer-playback -> bt" />
530  </path>
531
532  <path name="deep-buffer-playback-0 -> bluetooth-a2dp-headphone">
533    <path name="deep-buffer-playback -> bt" />
534  </path>
535
536  <path name="deep-buffer-playback-0 -> bluetooth-a2dp-speaker">
537    <path name="deep-buffer-playback -> bt" />
538  </path>
539
540  <path name="deep-buffer-playback-0 -> bluetooth-sco-default">
541    <path name="deep-buffer-playback -> bt" />
542  </path>
543
544  <path name="deep-buffer-playback-0 -> bluetooth-sco-headset">
545    <path name="deep-buffer-playback -> bt" />
546  </path>
547
548  <path name="deep-buffer-playback-0 -> bluetooth-sco-car-kit">
549    <path name="deep-buffer-playback -> bt" />
550  </path>
551
552  <path name="deep-buffer-playback-0 -> bluetooth-low-energy-headset">
553    <path name="deep-buffer-playback -> bt" />
554  </path>
555
556  <path name="deep-buffer-playback-0 -> bluetooth-low-energy-speaker">
557    <path name="deep-buffer-playback -> bt" />
558  </path>
559
560  <path name="deep-buffer-playback-0 -> usb">
561    <ctl name="USB_RX Mixer EP6" value="1" />
562  </path>
563
564  <path name="deep-buffer-playback-0 -> usb-headset">
565    <path name="deep-buffer-playback-0 -> usb" />
566  </path>
567
568  <path name="deep-buffer-playback-0 -> usb-device">
569    <path name="deep-buffer-playback-0 -> usb" />
570  </path>
571
572  <path name="deep-buffer-playback-0 -> hdmi-device">
573    <path name="deep-buffer-playback-0 -> usb" />
574  </path>
575
576  <path name="compress-offload-playback">
577    <ctl name="LVM Enable" value="1" />
578  </path>
579
580  <path name="compress-offload-playback -> speaker">
581    <path name="compress-offload-playback" />
582    <ctl name="TDM_0_RX Mixer EP7" value="1" />
583  </path>
584
585  <path name="compress-offload-playback-0 -> speaker">
586    <path name="compress-offload-playback -> speaker" />
587  </path>
588
589  <path name="compress-offload-playback-0 -> speaker-earpiece">
590    <path name="compress-offload-playback -> speaker" />
591  </path>
592
593  <path name="compress-offload-playback-0 -> speaker-safe">
594    <path name="compress-offload-playback -> speaker" />
595  </path>
596
597  <path name="compress-offload-playback -> bt">
598    <ctl name="BT_RX Mixer EP7" value="1" />
599  </path>
600
601  <path name="compress-offload-playback-0 -> bt">
602    <path name="compress-offload-playback -> bt" />
603  </path>
604
605  <path name="compress-offload-playback-0 -> bluetooth-a2dp-device">
606    <path name="compress-offload-playback -> bt" />
607  </path>
608
609  <path name="compress-offload-playback-0 -> bluetooth-a2dp-headphone">
610    <path name="compress-offload-playback -> bt" />
611  </path>
612
613  <path name="compress-offload-playback-0 -> bluetooth-a2dp-speaker">
614    <path name="compress-offload-playback -> bt" />
615  </path>
616
617  <path name="compress-offload-playback-0 -> bluetooth-sco-default">
618    <path name="compress-offload-playback -> bt" />
619  </path>
620
621  <path name="compress-offload-playback-0 -> bluetooth-sco-headset">
622    <path name="compress-offload-playback -> bt" />
623  </path>
624
625  <path name="compress-offload-playback-0 -> bluetooth-sco-car-kit">
626    <path name="compress-offload-playback -> bt" />
627  </path>
628
629  <path name="compress-offload-playback-0 -> bluetooth-low-energy-headset">
630    <path name="compress-offload-playback -> bt" />
631  </path>
632
633  <path name="compress-offload-playback-0 -> bluetooth-low-energy-speaker">
634    <path name="compress-offload-playback -> bt" />
635  </path>
636
637  <path name="compress-offload-playback-0 -> usb">
638    <ctl name="USB_RX Mixer EP7" value="1" />
639  </path>
640
641  <path name="compress-offload-playback-0 -> usb-headset">
642    <path name="compress-offload-playback-0 -> usb" />
643  </path>
644
645  <path name="compress-offload-playback-0 -> usb-device">
646    <path name="compress-offload-playback-0 -> usb" />
647  </path>
648
649  <path name="compress-offload-playback-0 -> hdmi-device">
650    <path name="compress-offload-playback-0 -> usb" />
651  </path>
652
653  <path name="mmap-playback -> speaker">
654    <ctl name="TDM_0_RX Mixer EP1" value="1" />
655  </path>
656
657  <path name="mmap-playback-0 -> speaker">
658    <path name="mmap-playback -> speaker" />
659  </path>
660
661  <path name="mmap-playback-0 -> speaker-earpiece">
662    <path name="mmap-playback -> speaker" />
663  </path>
664
665  <path name="mmap-playback-0 -> speaker-safe">
666    <path name="mmap-playback -> speaker" />
667  </path>
668
669  <path name="mmap-playback -> bt">
670    <ctl name="BT_RX Mixer EP1" value="1" />
671  </path>
672
673  <path name="mmap-playback-0 -> bt">
674    <path name="mmap-playback -> bt" />
675  </path>
676
677  <path name="mmap-playback-0 -> bluetooth-a2dp-device">
678    <path name="mmap-playback -> bt" />
679  </path>
680
681  <path name="mmap-playback-0 -> bluetooth-a2dp-headphone">
682    <path name="mmap-playback -> bt" />
683  </path>
684
685  <path name="mmap-playback-0 -> bluetooth-a2dp-speaker">
686    <path name="mmap-playback -> bt" />
687  </path>
688
689  <path name="mmap-playback-0 -> bluetooth-sco-default">
690    <path name="mmap-playback -> bt" />
691  </path>
692
693  <path name="mmap-playback-0 -> bluetooth-sco-headset">
694    <path name="mmap-playback -> bt" />
695  </path>
696
697  <path name="mmap-playback-0 -> bluetooth-sco-car-kit">
698    <path name="mmap-playback -> bt" />
699  </path>
700
701  <path name="mmap-playback-0 -> bluetooth-low-energy-headset">
702    <path name="mmap-playback -> bt" />
703  </path>
704
705  <path name="mmap-playback-0 -> bluetooth-low-energy-speaker">
706    <path name="mmap-playback -> bt" />
707  </path>
708
709  <path name="mmap-playback-0 -> usb">
710    <ctl name="USB_RX Mixer EP1" value="1" />
711  </path>
712
713  <path name="mmap-playback-0 -> usb-headset">
714    <path name="mmap-playback-0 -> usb" />
715  </path>
716
717  <path name="mmap-playback-0 -> usb-device">
718    <path name="mmap-playback-0 -> usb" />
719  </path>
720
721  <path name="mmap-playback-0 -> hdmi-device">
722    <path name="mmap-playback-0 -> usb" />
723  </path>
724
725  <path name="hifi-playback-0 -> usb">
726    <ctl name="USB_RX Mixer HIFI" value="1" />
727  </path>
728
729  <path name="hifi-playback-0 -> usb-headset">
730    <path name="hifi-playback-0 -> usb" />
731  </path>
732
733  <path name="hifi-playback-0 -> usb-device">
734    <path name="hifi-playback-0 -> usb" />
735  </path>
736
737  <path name="voip-playback -> speaker">
738    <ctl name="TDM_0_RX Mixer VOIP" value="1" />
739  </path>
740
741  <path name="voip-playback-0 -> speaker">
742    <path name="voip-playback -> speaker" />
743  </path>
744
745  <path name="voip-playback-0 -> speaker-earpiece">
746    <path name="voip-playback -> speaker" />
747  </path>
748
749  <path name="voip-playback-0 -> speaker-safe">
750    <path name="voip-playback -> speaker" />
751  </path>
752
753  <path name="voip-playback -> bt">
754    <ctl name="BT_RX Mixer VOIP" value="1" />
755  </path>
756
757  <path name="voip-playback-0 -> bt">
758    <path name="voip-playback -> bt" />
759  </path>
760
761  <path name="voip-playback-0 -> bluetooth-a2dp-device">
762    <path name="voip-playback -> bt" />
763  </path>
764
765  <path name="voip-playback-0 -> bluetooth-a2dp-headphone">
766    <path name="voip-playback -> bt" />
767  </path>
768
769  <path name="voip-playback-0 -> bluetooth-a2dp-speaker">
770    <path name="voip-playback -> bt" />
771  </path>
772
773  <path name="voip-playback-0 -> bluetooth-sco-default">
774    <path name="voip-playback -> bt" />
775  </path>
776
777  <path name="voip-playback-0 -> bluetooth-sco-headset">
778    <path name="voip-playback -> bt" />
779  </path>
780
781  <path name="voip-playback-0 -> bluetooth-sco-car-kit">
782    <path name="voip-playback -> bt" />
783  </path>
784
785  <path name="voip-playback-0 -> bluetooth-low-energy-headset">
786    <path name="voip-playback -> bt" />
787  </path>
788
789  <path name="voip-playback-0 -> bluetooth-low-energy-speaker">
790    <path name="voip-playback -> bt" />
791  </path>
792
793  <path name="voip-playback-0 -> usb">
794    <ctl name="USB_RX Mixer VOIP" value="1" />
795  </path>
796
797  <path name="voip-playback-0 -> usb-headset">
798    <path name="voip-playback-0 -> usb" />
799  </path>
800
801  <path name="voip-playback-0 -> usb-device">
802    <path name="voip-playback-0 -> usb" />
803  </path>
804
805  <path name="voip-playback-0 -> hdmi-device">
806    <path name="voip-playback-0 -> usb" />
807  </path>
808
809  <path name="immersive-playback -> speaker">
810    <ctl name="TDM_0_RX Mixer IMSV" value="1" />
811  </path>
812
813  <path name="immersive-playback-0 -> speaker">
814    <path name="immersive-playback -> speaker" />
815  </path>
816
817  <path name="immersive-playback-0 -> speaker-earpiece">
818    <path name="immersive-playback -> speaker" />
819  </path>
820
821  <path name="immersive-playback-0 -> speaker-safe">
822    <path name="immersive-playback -> speaker" />
823  </path>
824
825  <path name="immersive-playback -> bt">
826    <ctl name="BT_RX Mixer IMSV" value="1" />
827  </path>
828
829  <path name="immersive-playback-0 -> bt">
830    <path name="immersive-playback -> bt" />
831  </path>
832
833  <path name="immersive-playback-0 -> bluetooth-a2dp-device">
834    <path name="immersive-playback -> bt" />
835  </path>
836
837  <path name="immersive-playback-0 -> bluetooth-a2dp-headphone">
838    <path name="immersive-playback -> bt" />
839  </path>
840
841  <path name="immersive-playback-0 -> bluetooth-a2dp-speaker">
842    <path name="immersive-playback -> bt" />
843  </path>
844
845  <path name="immersive-playback-0 -> bluetooth-low-energy-headset">
846    <path name="immersive-playback -> bt" />
847  </path>
848
849  <path name="immersive-playback-0 -> bluetooth-low-energy-speaker">
850    <path name="immersive-playback -> bt" />
851  </path>
852
853  <path name="immersive-playback-0 -> usb">
854    <ctl name="USB_RX Mixer IMSV" value="1" />
855  </path>
856
857  <path name="immersive-playback-0 -> usb-headset">
858    <path name="immersive-playback-0 -> usb" />
859  </path>
860
861  <path name="immersive-playback-0 -> usb-device">
862    <path name="immersive-playback-0 -> usb" />
863  </path>
864
865  <path name="spatializer-offload-playback -> speaker">
866    <ctl name="TDM_0_RX Mixer EP4" value="1" />
867  </path>
868
869  <path name="spatializer-offload-playback-0 -> speaker">
870    <path name="spatializer-offload-playback -> speaker" />
871  </path>
872
873  <path name="spatializer-offload-playback-0 -> speaker-earpiece">
874    <path name="spatializer-offload-playback -> speaker" />
875  </path>
876
877  <path name="spatializer-offload-playback-0 -> speaker-safe">
878    <path name="spatializer-offload-playback -> speaker" />
879  </path>
880
881  <path name="spatializer-offload-playback -> bt">
882    <ctl name="BT_RX Mixer EP4" value="1" />
883  </path>
884
885  <path name="spatializer-offload-playback-0 -> bluetooth-a2dp-device">
886    <path name="spatializer-offload-playback -> bt" />
887  </path>
888
889  <path name="spatializer-offload-playback-0 -> bluetooth-a2dp-headphone">
890    <path name="spatializer-offload-playback -> bt" />
891  </path>
892
893  <path name="spatializer-offload-playback-0 -> bluetooth-a2dp-speaker">
894    <path name="spatializer-offload-playback -> bt" />
895  </path>
896
897  <path name="spatializer-offload-playback-0 -> bluetooth-low-energy-headset">
898    <path name="spatializer-offload-playback -> bt" />
899  </path>
900
901  <path name="spatializer-offload-playback-0 -> bluetooth-low-energy-speaker">
902    <path name="spatializer-offload-playback -> bt" />
903  </path>
904
905  <path name="spatializer-offload-playback-0 -> usb">
906    <ctl name="USB_RX Mixer EP4" value="1" />
907  </path>
908
909  <path name="spatializer-offload-playback-0 -> usb-headset">
910    <path name="spatializer-offload-playback-0 -> usb" />
911  </path>
912
913  <path name="spatializer-offload-playback-0 -> usb-device">
914    <path name="spatializer-offload-playback-0 -> usb" />
915  </path>
916
917  <path name="haptic-playback -> speaker">
918    <ctl name="TDM_0_RX Mixer EP3" value="1" />
919    <ctl name="TDM_0_RX Mixer EP8" value="1" />
920  </path>
921
922  <path name="haptic-playback-0 -> speaker">
923    <path name="haptic-playback -> speaker" />
924  </path>
925
926  <path name="haptic-playback-0 -> speaker-earpiece">
927    <path name="haptic-playback -> speaker" />
928  </path>
929
930  <path name="haptic-playback-0 -> speaker-safe">
931    <path name="haptic-playback -> speaker" />
932  </path>
933
934  <path name="haptic-playback -> bt">
935    <ctl name="BT_RX Mixer EP3" value="1" />
936    <ctl name="TDM_0_RX Mixer EP8" value="1" />
937  </path>
938
939  <path name="haptic-playback-0 -> bt">
940    <path name="haptic-playback -> bt" />
941  </path>
942
943  <path name="haptic-playback-0 -> bluetooth-a2dp-device">
944    <path name="haptic-playback -> bt" />
945  </path>
946
947  <path name="haptic-playback-0 -> bluetooth-a2dp-headphone">
948    <path name="haptic-playback -> bt" />
949  </path>
950
951  <path name="haptic-playback-0 -> bluetooth-a2dp-speaker">
952    <path name="haptic-playback -> bt" />
953  </path>
954
955  <path name="haptic-playback-0 -> bluetooth-sco-default">
956    <path name="haptic-playback -> bt" />
957  </path>
958
959  <path name="haptic-playback-0 -> bluetooth-sco-headset">
960    <path name="haptic-playback -> bt" />
961  </path>
962
963  <path name="haptic-playback-0 -> bluetooth-sco-car-kit">
964    <path name="haptic-playback -> bt" />
965  </path>
966
967  <path name="haptic-playback-0 -> bluetooth-low-energy-headset">
968    <path name="haptic-playback -> bt" />
969  </path>
970
971  <path name="haptic-playback-0 -> bluetooth-low-energy-speaker">
972    <path name="haptic-playback -> bt" />
973  </path>
974
975  <path name="haptic-playback-0 -> usb">
976    <ctl name="USB_RX Mixer EP3" value="1" />
977    <ctl name="TDM_0_RX Mixer EP8" value="1" />
978  </path>
979
980  <path name="haptic-playback-0 -> usb-headset">
981    <path name="haptic-playback-0 -> usb" />
982  </path>
983
984  <path name="haptic-playback-0 -> usb-device">
985    <path name="haptic-playback-0 -> usb" />
986  </path>
987
988  <path name="haptic-playback-0 -> hdmi-device">
989    <path name="haptic-playback-0 -> usb" />
990  </path>
991
992  <!-- audio capture dynamic route -->
993  <path name="microphones -> primary-capture-0">
994    <ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="1" />
995  </path>
996
997  <path name="back-microphones -> primary-capture-0">
998    <ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="1" />
999  </path>
1000
1001  <path name="usb-microphones -> primary-capture-0">
1002    <ctl name="EP1 TX Mixer USB_TX" value="1" />
1003  </path>
1004
1005  <path name="usb-headset-microphones -> primary-capture-0">
1006    <path name="usb-microphones -> primary-capture-0" />
1007  </path>
1008
1009  <path name="usb-device-microphones -> primary-capture-0">
1010    <path name="usb-microphones -> primary-capture-0" />
1011  </path>
1012
1013  <path name="bluetooth-sco-headset-microphones -> primary-capture-0">
1014    <ctl name="EP1 TX Mixer BT_TX" value="1" />
1015  </path>
1016
1017  <path name="bluetooth-low-energy-headset-microphones -> primary-capture-0">
1018    <ctl name="EP1 TX Mixer BT_TX" value="1" />
1019  </path>
1020
1021  <path name="microphones -> voip-capture-0">
1022    <ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1" />
1023  </path>
1024
1025  <path name="back-microphones -> voip-capture-0">
1026    <ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1" />
1027  </path>
1028
1029  <path name="usb-microphones -> voip-capture-0">
1030    <ctl name="VOIP TX Mixer USB_TX" value="1" />
1031  </path>
1032
1033  <path name="usb-headset-microphones -> voip-capture-0">
1034    <path name="usb-microphones -> voip-capture-0" />
1035  </path>
1036
1037  <path name="usb-device-microphones -> voip-capture-0">
1038    <path name="usb-microphones -> voip-capture-0" />
1039  </path>
1040
1041  <path name="bluetooth-sco-headset-microphones -> voip-capture-0">
1042    <ctl name="VOIP TX Mixer BT_TX" value="1" />
1043  </path>
1044
1045  <path name="bluetooth-low-energy-headset-microphones -> voip-capture-0">
1046    <ctl name="VOIP TX Mixer BT_TX" value="1" />
1047  </path>
1048
1049  <path name="microphones -> fast-capture-0">
1050    <ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="1" />
1051  </path>
1052
1053  <path name="back-microphones -> fast-capture-0">
1054    <ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="1" />
1055  </path>
1056
1057  <path name="usb-microphones -> fast-capture-0">
1058    <ctl name="EP3 TX Mixer USB_TX" value="1" />
1059  </path>
1060
1061  <path name="usb-headset-microphones -> fast-capture-0">
1062    <path name="usb-microphones -> fast-capture-0" />
1063  </path>
1064
1065  <path name="usb-device-microphones -> fast-capture-0">
1066    <path name="usb-microphones -> fast-capture-0" />
1067  </path>
1068
1069  <path name="bluetooth-sco-headset-microphones -> fast-capture-0">
1070    <ctl name="EP3 TX Mixer BT_TX" value="1" />
1071  </path>
1072
1073  <path name="bluetooth-low-energy-headset-microphones -> fast-capture-0">
1074    <ctl name="EP3 TX Mixer BT_TX" value="1" />
1075  </path>
1076
1077  <path name="microphones -> sound-trigger-capture-0" />
1078
1079  <path name="microphones -> sound-trigger-tap-capture-0" />
1080
1081  <path name="microphones -> hotword-lookback-capture-0" />
1082
1083  <!-- voice-call dynamic route -->
1084  <path name="voice-call-downlink-0 -> speaker">
1085    <ctl name="TDM_0_RX Mixer EP5" value="1" />
1086  </path>
1087
1088  <path name="voice-call-downlink-0 -> speaker-earpiece">
1089    <ctl name="TDM_0_RX Mixer EP5" value="1" />
1090  </path>
1091
1092  <path name="voice-call-downlink-0 -> bt">
1093    <ctl name="BT_RX Mixer EP5" value="1" />
1094  </path>
1095
1096  <path name="voice-call-downlink-0 -> bluetooth-sco-default">
1097    <path name="voice-call-downlink-0 -> bt" />
1098  </path>
1099
1100  <path name="voice-call-downlink-0 -> bluetooth-sco-headset">
1101    <path name="voice-call-downlink-0 -> bt" />
1102  </path>
1103
1104  <path name="voice-call-downlink-0 -> bluetooth-sco-car-kit">
1105    <path name="voice-call-downlink-0 -> bt" />
1106  </path>
1107
1108  <path name="voice-call-downlink-0 -> bluetooth-low-energy-headset">
1109    <path name="voice-call-downlink-0 -> bt" />
1110  </path>
1111
1112  <path name="voice-call-downlink-0 -> bluetooth-low-energy-speaker">
1113    <path name="voice-call-downlink-0 -> bt" />
1114  </path>
1115
1116  <path name="voice-call-downlink-0 -> usb">
1117    <ctl name="USB_RX Mixer EP5" value="1" />
1118  </path>
1119
1120  <path name="voice-call-downlink-0 -> usb-headset">
1121    <path name="voice-call-downlink-0 -> usb" />
1122  </path>
1123
1124  <path name="voice-call-downlink-0 -> usb-device">
1125    <path name="voice-call-downlink-0 -> usb" />
1126  </path>
1127
1128  <path name="voice-call-downlink-0 -> null-sink">
1129    <ctl name="INCALL_RX Mixer EP5" value="1" />
1130  </path>
1131
1132  <path name="microphones -> voice-call-uplink-0">
1133    <ctl name="EP4 TX Mixer INTERNAL_MIC_TX" value="1" />
1134  </path>
1135
1136  <path name="back-microphones -> voice-call-uplink-0">
1137    <ctl name="EP4 TX Mixer INTERNAL_MIC_TX" value="1" />
1138  </path>
1139
1140  <path name="usb-microphones -> voice-call-uplink-0">
1141    <ctl name="EP4 TX Mixer USB_TX" value="1" />
1142  </path>
1143
1144  <path name="usb-headset-microphones -> voice-call-uplink-0">
1145    <path name="usb-microphones -> voice-call-uplink-0" />
1146  </path>
1147
1148  <path name="usb-device-microphones -> voice-call-uplink-0">
1149    <path name="usb-microphones -> voice-call-uplink-0" />
1150  </path>
1151
1152  <path name="bluetooth-sco-headset-microphones -> voice-call-uplink-0">
1153    <ctl name="EP4 TX Mixer BT_TX" value="1" />
1154  </path>
1155
1156  <path name="bluetooth-low-energy-headset-microphones -> voice-call-uplink-0">
1157    <ctl name="EP4 TX Mixer BT_TX" value="1" />
1158  </path>
1159
1160  <path name="null-source -> voice-call-uplink-0">
1161    <ctl name="EP4 TX Mixer INCALL_TX" value="1" />
1162  </path>
1163
1164  <path name="hostless-ulC spk-vi">
1165    <ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
1166  </path>
1167
1168  <path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-0">
1169    <ctl name="Incall Capture Stream0" value="DL" />
1170  </path>
1171
1172  <path name="telephony-rx (VOICE_UPLINK) -> in-call-capture-0">
1173    <ctl name="Incall Capture Stream0" value="UL" />
1174  </path>
1175
1176  <path name="telephony-rx (VOICE_CALL) -> in-call-capture-0">
1177    <ctl name="Incall Capture Stream0" value="UL_DL" />
1178  </path>
1179
1180  <path name="telephony-rx (MIC) -> in-call-capture-0">
1181    <ctl name="Incall Capture Stream0" value="DL" />
1182  </path>
1183
1184  <path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-1">
1185    <ctl name="Incall Capture Stream1" value="DL" />
1186  </path>
1187
1188  <path name="telephony-rx (VOICE_UPLINK) -> in-call-capture-1">
1189    <ctl name="Incall Capture Stream1" value="UL" />
1190  </path>
1191
1192  <path name="telephony-rx (VOICE_CALL) -> in-call-capture-1">
1193    <ctl name="Incall Capture Stream1" value="UL_DL" />
1194  </path>
1195
1196  <path name="telephony-rx (MIC) -> in-call-capture-1">
1197    <ctl name="Incall Capture Stream1" value="DL" />
1198  </path>
1199
1200  <path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-2">
1201    <ctl name="Incall Capture Stream2" value="DL" />
1202  </path>
1203
1204  <path name="telephony-rx (VOICE_UPLINK) -> in-call-capture-2">
1205    <ctl name="Incall Capture Stream2" value="UL" />
1206  </path>
1207
1208  <path name="telephony-rx (VOICE_CALL) -> in-call-capture-2">
1209    <ctl name="Incall Capture Stream2" value="UL_DL" />
1210  </path>
1211
1212  <path name="telephony-rx (MIC) -> in-call-capture-2">
1213    <ctl name="Incall Capture Stream2" value="DL" />
1214  </path>
1215
1216  <path name="microphones -> mmap-capture-0">
1217    <ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1" />
1218  </path>
1219
1220  <path name="usb-microphones -> mmap-capture-0">
1221    <ctl name="EP2 TX Mixer USB_TX" value="1" />
1222  </path>
1223
1224  <path name="usb-headset-microphones -> mmap-capture-0">
1225    <path name="usb-microphones -> mmap-capture-0" />
1226  </path>
1227
1228  <path name="usb-device-microphones -> mmap-capture-0">
1229    <path name="usb-microphones -> mmap-capture-0" />
1230  </path>
1231
1232  <path name="bluetooth-sco-headset-microphones -> mmap-capture-0">
1233    <ctl name="EP2 TX Mixer BT_TX" value="1" />
1234  </path>
1235
1236  <path name="bluetooth-low-energy-headset-microphones -> mmap-capture-0">
1237    <ctl name="EP2 TX Mixer BT_TX" value="1" />
1238  </path>
1239
1240  <!-- codec setting -->
1241  <!-- Rx device -->
1242  <path name="speaker-earpiece">
1243    <ctl name="PCM Source" value="ASP" />
1244    <ctl name="AMP PCM Gain" value="6" />
1245    <ctl name="Main AMP Enable Switch" value="1" />
1246  </path>
1247
1248  <path name="speaker-earpiece (VOICE)">
1249    <ctl name="PCM Source" value="ASP" />
1250    <ctl name="AMP PCM Gain" value="7" />
1251    <ctl name="Main AMP Enable Switch" value="1" />
1252    <ctl name="AoC Chirp Enable" value="1" />
1253  </path>
1254
1255  <path name="speaker">
1256    <ctl name="Main AMP Enable Switch" value="1" />
1257    <ctl name="R Main AMP Enable Switch" value="1" />
1258    <ctl name="Fast Use Case Delta File" value="fast_switch3.txt" />
1259    <ctl name="Fast Use Case Switch Enable" value="1" />
1260    <ctl name="R Fast Use Case Delta File" value="fast_switch4.txt" />
1261    <ctl name="R Fast Use Case Switch Enable" value="1" />
1262  </path>
1263
1264  <path name="speaker (VOICE)">
1265    <ctl name="ASPTX1 Slot Position" value="1" />
1266    <ctl name="R ASPTX1 Slot Position" value="0" />
1267    <ctl name="R Main AMP Enable Switch" value="1" />
1268    <ctl name="Main AMP Enable Switch" value="1" />
1269    <!-- load Enable FIR -->
1270    <ctl name="Fast Use Case Delta File" value="fast_switch1.txt" />
1271    <ctl name="Fast Use Case Switch Enable" value="1" />
1272    <ctl name="R Fast Use Case Delta File" value="fast_switch2.txt" />
1273    <ctl name="R Fast Use Case Switch Enable" value="1" />
1274  </path>
1275
1276  <path name="speaker-safe">
1277    <ctl name="R Main AMP Enable Switch" value="1" />
1278    <!-- load Bypass FIR -->
1279    <ctl name="R Fast Use Case Delta File" value="fast_switch4.txt" />
1280    <ctl name="R Fast Use Case Switch Enable" value="1" />
1281  </path>
1282
1283  <!-- Tx device -->
1284  <path name="microphones">
1285    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1286    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1287    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1288    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1289    <ctl name="MIC DC Blocker" value="1" />
1290    <ctl name="MIC Record Soft Gain (dB)" value="22" />
1291  </path>
1292
1293  <path name="microphones (VOICE)">
1294    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1295    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1296    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1297    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1298    <ctl name="MIC DC Blocker" value="1" />
1299    <ctl name="MIC HW Gain At High Power Mode (cB)" value="130" />
1300    <ctl name="MIC Record Soft Gain (dB)" value="0" />
1301  </path>
1302
1303  <path name="microphones (VOICE_RECOGNITION)">
1304    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1305    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1306    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1307    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1308    <ctl name="MIC DC Blocker" value="1" />
1309    <ctl name="MIC Record Soft Gain (dB)" value="22" />
1310  </path>
1311
1312  <path name="microphones (VOICE_RECOGNITION,SOUND_TRIGGER_TAP)">
1313    <ctl name="Audio Capture Eraser Enable" value="1" />
1314    <ctl name="Hotword Tap Enable" value="1" />
1315    <ctl name="MIC Record Soft Gain (dB)" value="0" />
1316  </path>
1317
1318  <path name="microphones (SOUND_TRIGGER_AEC)">
1319    <ctl name="Audio Capture Eraser Enable" value="1" />
1320    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1321    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1322    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1323    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1324    <ctl name="MIC DC Blocker" value="1" />
1325    <ctl name="Audio Capture Mic Source" value="ERASER" />
1326    <ctl name="MIC Record Soft Gain (dB)" value="0" />
1327  </path>
1328
1329  <path name="back-microphones">
1330    <ctl name="Mic Spatial Module Enable" value="1" />
1331    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1332    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1333    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1334    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1335    <ctl name="MIC DC Blocker" value="1" />
1336    <ctl name="MIC Record Soft Gain (dB)" value="22" />
1337  </path>
1338
1339  <path name="back-microphones (VOICE)">
1340    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1341    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1342    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1343    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1344    <ctl name="MIC DC Blocker" value="1" />
1345    <ctl name="MIC HW Gain At High Power Mode (cB)" value="130" />
1346    <ctl name="MIC Record Soft Gain (dB)" value="0" />
1347  </path>
1348
1349  <path name="microphones (CAMCORDER)">
1350    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1351    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1352    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1353    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1354    <ctl name="MIC DC Blocker" value="1" />
1355    <ctl name="MIC Record Soft Gain (dB)" value="0" />
1356  </path>
1357
1358  <path name="back-microphones (CAMCORDER)">
1359    <path name="microphones (CAMCORDER)" />
1360  </path>
1361
1362  <path name="camcorder-mic">
1363    <ctl name="Mic Spatial Module Enable" value="1" />
1364    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1365    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1366    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1367    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1368    <ctl name="MIC DC Blocker" value="1" />
1369    <ctl name="MIC Record Soft Gain (dB)" value="0" />
1370  </path>
1371
1372  <path name="unprocessed-mic">
1373    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1374    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1375    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1376    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1377    <ctl name="MIC DC Blocker" value="1" />
1378    <ctl name="MIC Record Soft Gain (dB)" value="5" />
1379  </path>
1380
1381  <path name="unprocessed-dual-mic">
1382    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1383    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1384    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1385    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1386    <ctl name="MIC DC Blocker" value="1" />
1387    <ctl name="MIC Record Soft Gain (dB)" value="5" />
1388  </path>
1389
1390  <path name="unprocessed-triple-mic">
1391    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1392    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1393    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1394    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1395    <ctl name="MIC DC Blocker" value="1" />
1396    <ctl name="MIC Record Soft Gain (dB)" value="5" />
1397  </path>
1398
1399  <path name="bluetooth-sco-headset-microphones">
1400    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1401    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1402    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1403    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1404    <ctl name="Audio Capture Mic Source" value="BT_MIC" />
1405    <ctl name="Voice Call Mic Source" value="BT_MIC" />
1406    <ctl name="MIC Record Soft Gain (dB)" value="0" />
1407  </path>
1408
1409  <path name="bluetooth-low-energy-headset-microphones">
1410    <path name="bluetooth-sco-headset-microphones" />
1411  </path>
1412
1413  <path name="usb-microphones">
1414    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
1415    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
1416    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
1417    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
1418    <ctl name="Audio Capture Mic Source" value="USB_MIC" />
1419    <ctl name="Voice Call Mic Source" value="USB_MIC" />
1420    <ctl name="MIC Record Soft Gain (dB)" value="0" />
1421  </path>
1422
1423  <path name="usb-headset-microphones">
1424    <path name="usb-microphones" />
1425  </path>
1426
1427  <path name="usb-device-microphones">
1428    <path name="usb-microphones" />
1429  </path>
1430
1431  <!-- cs35l41 specific path to load firmware in cs35l41.c -->
1432  <path name="cs35l41-load-protection-firmware-start">
1433    <!-- Enable it after get the protection firmware -->
1434    <ctl name="DSP Booted" value="0" />
1435    <ctl name="R DSP Booted" value="0" />
1436    <ctl name="DSP1 Preload Switch" value="0" />
1437    <ctl name="R DSP1 Preload Switch" value="0" />
1438  </path>
1439
1440  <path name="cs35l41-load-protection-firmware-end">
1441    <!-- Enable it after get the protection firmware -->
1442    <ctl name="DSP1 Preload Switch" value="1" />
1443    <ctl name="R DSP1 Preload Switch" value="1" />
1444  </path>
1445  <!-- cs35l41 specific path to load firmware in cs35l41.c end-->
1446  <!-- cs35l41 specific path for adated feature in cs35l41_route_control.cc  -->
1447  <!-- Which is controlled by speaker module and path name format is fixed.  -->
1448  <!-- Path name format: adapted-{type}{-battery-throttled}{-acoustic-shock} -->
1449  <!-- Battery throttle and acoustic shock are disabled: "adapted-speaker"   -->
1450  <!-- Battery throttle enabled: "adapted-speaker-battery-throttled"         -->
1451  <!-- Acoustic shock enabled: "adapted-speaker-acoustic-shock"              -->
1452  <!-- Both are enabled: "adapted-speaker-battery-throttled-acoustic-shock"  -->
1453  <path name="adapted-speaker">
1454    <ctl name="Boost Peak Current Limit" value="2.50A" />
1455    <ctl name="R Boost Peak Current Limit" value="2.50A" />
1456    <ctl name="Digital PCM Volume" value="817" />
1457    <ctl name="R Digital PCM Volume" value="817" />
1458  </path>
1459  <path name="adapted-speaker-battery-throttled">
1460    <ctl name="Boost Peak Current Limit" value="1.80A" />
1461    <ctl name="R Boost Peak Current Limit" value="1.80A" />
1462    <ctl name="Digital PCM Volume" value="817" />
1463    <ctl name="R Digital PCM Volume" value="817" />
1464  </path>
1465
1466  <path name="adapted-speaker-safe">
1467    <ctl name="R Boost Peak Current Limit" value="3.50A" />
1468    <ctl name="R Digital PCM Volume" value="817" />
1469  </path>
1470  <path name="adapted-speaker-safe-battery-throttled">
1471    <path name="adapted-speaker-safe" />
1472  </path>
1473
1474  <path name="adapted-earpiece">
1475    <ctl name="Digital PCM Volume" value="817" />
1476  </path>
1477  <path name="adapted-earpiece-battery-throttled">
1478    <path name="adapted-earpiece" />
1479  </path>
1480
1481  <path name="adapted-voice-speaker">
1482    <ctl name="R Boost Peak Current Limit" value="3.50A" />
1483    <ctl name="Boost Peak Current Limit" value="3.50A" />
1484    <ctl name="Digital PCM Volume" value="800" />
1485    <ctl name="R Digital PCM Volume" value="817" />
1486  </path>
1487  <path name="adapted-voice-speaker-battery-throttled">
1488    <path name="adapted-voice-speaker" />
1489  </path>
1490  <path name="adapted-voice-speaker-acoustic-shock">
1491    <ctl name="R Boost Peak Current Limit" value="3.50A" />
1492    <ctl name="Boost Peak Current Limit" value="3.50A" />
1493    <ctl name="PCM Soft Ramp" value="2ms" />
1494    <ctl name="Digital PCM Volume" value="0" />
1495    <ctl name="R Digital PCM Volume" value="817" />
1496  </path>
1497
1498  <path name="adapted-voice-speaker-battery-throttled-acoustic-shock">
1499    <path name="adapted-voice-speaker-acoustic-shock" />
1500  </path>
1501
1502  <path name="adapted-voice-earpiece">
1503    <ctl name="Boost Peak Current Limit" value="3.50A" />
1504    <ctl name="Digital PCM Volume" value="817" />
1505  </path>
1506  <path name="adapted-voice-earpiece-battery-throttled">
1507    <path name="adapted-voice-earpiece" />
1508  </path>
1509  <!-- cs35l41 specific path for adated feature in cs35l41_route_control.cc end -->
1510</mixer>
1511