1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!--- Copyright (c) 2014-2019, 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<!--- WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE      -->
26<!--- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN    -->
27<!--- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.                             -->
28
29<mixer>
30    <!-- These are the initial mixer settings -->
31    <ctl name="LSM1 Mixer PRI_TDM_TX_0" value="0" />
32    <ctl name="LSM2 Mixer PRI_TDM_TX_0" value="0" />
33    <ctl name="LSM3 Mixer PRI_TDM_TX_0" value="0" />
34    <ctl name="LSM4 Mixer PRI_TDM_TX_0" value="0" />
35    <ctl name="LSM5 Mixer PRI_TDM_TX_0" value="0" />
36    <ctl name="LSM6 Mixer PRI_TDM_TX_0" value="0" />
37    <ctl name="LSM7 Mixer PRI_TDM_TX_0" value="0" />
38    <ctl name="LSM8 Mixer PRI_TDM_TX_0" value="0" />
39    <ctl name="LSM1 Mixer VA_CDC_DMA_TX_0" value="0" />
40    <ctl name="LSM2 Mixer VA_CDC_DMA_TX_0" value="0" />
41    <ctl name="LSM3 Mixer VA_CDC_DMA_TX_0" value="0" />
42    <ctl name="LSM4 Mixer VA_CDC_DMA_TX_0" value="0" />
43    <ctl name="LSM5 Mixer VA_CDC_DMA_TX_0" value="0" />
44    <ctl name="LSM6 Mixer VA_CDC_DMA_TX_0" value="0" />
45    <ctl name="LSM7 Mixer VA_CDC_DMA_TX_0" value="0" />
46    <ctl name="LSM8 Mixer VA_CDC_DMA_TX_0" value="0" />
47    <ctl name="LSM1 Port" value="None" />
48    <ctl name="LSM2 Port" value="None" />
49    <ctl name="LSM3 Port" value="None" />
50    <ctl name="LSM4 Port" value="None" />
51    <ctl name="LSM5 Port" value="None" />
52    <ctl name="LSM6 Port" value="None" />
53    <ctl name="LSM7 Port" value="None" />
54    <ctl name="LSM8 Port" value="None" />
55    <ctl name="VA_CDC_DMA_TX_0 Channels" value="One" />
56    <ctl name="VA_AIF1_CAP Mixer DEC0" value="0" />
57    <ctl name="VA_AIF1_CAP Mixer DEC1" value="0" />
58    <ctl name="VA_AIF1_CAP Mixer DEC2" value="0" />
59    <ctl name="VA_AIF1_CAP Mixer DEC3" value="0" />
60    <ctl name="VA_AIF1_CAP Mixer DEC4" value="0" />
61    <ctl name="VA_AIF1_CAP Mixer DEC5" value="0" />
62    <ctl name="VA_AIF1_CAP Mixer DEC6" value="0" />
63    <ctl name="VA_AIF1_CAP Mixer DEC7" value="0" />
64    <ctl name="VA DEC0 MUX" value="MSM_DMIC" />
65    <ctl name="VA DEC1 MUX" value="MSM_DMIC" />
66    <ctl name="VA DEC2 MUX" value="MSM_DMIC" />
67    <ctl name="VA DEC3 MUX" value="MSM_DMIC" />
68    <ctl name="VA DEC4 MUX" value="MSM_DMIC" />
69    <ctl name="VA DEC5 MUX" value="MSM_DMIC" />
70    <ctl name="VA DEC6 MUX" value="MSM_DMIC" />
71    <ctl name="VA DEC7 MUX" value="MSM_DMIC" />
72    <ctl name="VA DMIC MUX0" value="ZERO" />
73    <ctl name="VA DMIC MUX1" value="ZERO" />
74    <ctl name="VA DMIC MUX2" value="ZERO" />
75    <ctl name="VA DMIC MUX3" value="ZERO" />
76    <ctl name="VA DMIC MUX4" value="ZERO" />
77    <ctl name="VA DMIC MUX5" value="ZERO" />
78    <ctl name="VA DMIC MUX6" value="ZERO" />
79    <ctl name="VA DMIC MUX7" value="ZERO" />
80    <ctl name="VA SMIC MUX0" value="ZERO" />
81    <ctl name="VA SMIC MUX1" value="ZERO" />
82    <ctl name="VA SMIC MUX2" value="ZERO" />
83    <ctl name="VA SMIC MUX3" value="ZERO" />
84    <ctl name="VA SMIC MUX4" value="ZERO" />
85    <ctl name="VA SMIC MUX5" value="ZERO" />
86    <ctl name="VA SMIC MUX6" value="ZERO" />
87    <ctl name="VA SMIC MUX7" value="ZERO" />
88    <ctl name="AUDIO_REF_EC_UL1 MUX" value="None"/>
89    <ctl name="EC Reference Channels" value="Zero"/>
90    <ctl name="EC Reference Bit Format" value="0"/>
91    <ctl name="EC Reference SampleRate" value="0"/>
92    <ctl name="PRI_TDM_TX_0 LSM Function" value="None" />
93    <ctl name="PRI_TDM_TX_0 Channels" value="One" />
94    <ctl name="Sto1 ADC MIXL BargeIn DMIC Switch" value="0" />
95    <ctl name="Sto2 ADC MIXL BargeIn DMIC Switch" value="0" />
96    <ctl name="Sto2 ADC MIXR BargeIn DMIC Switch" value="0" />
97
98    <path name="listen-voice-wakeup-1">
99        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
100        <ctl name="LSM1 Port" value="PRI_TDM_TX_0" />
101        <ctl name="LSM1 Mixer PRI_TDM_TX_0" value="1" />
102    </path>
103
104    <path name="listen-voice-wakeup-2">
105        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
106        <ctl name="LSM2 Port" value="PRI_TDM_TX_0" />
107        <ctl name="LSM2 Mixer PRI_TDM_TX_0" value="1" />
108    </path>
109
110    <path name="listen-voice-wakeup-3">
111        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
112        <ctl name="LSM3 Port" value="PRI_TDM_TX_0" />
113        <ctl name="LSM3 Mixer PRI_TDM_TX_0" value="1" />
114    </path>
115
116    <path name="listen-voice-wakeup-4">
117        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
118        <ctl name="LSM4 Port" value="PRI_TDM_TX_0" />
119        <ctl name="LSM4 Mixer PRI_TDM_TX_0" value="1" />
120    </path>
121
122    <path name="listen-voice-wakeup-5">
123        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
124        <ctl name="LSM5 Port" value="PRI_TDM_TX_0" />
125        <ctl name="LSM5 Mixer PRI_TDM_TX_0" value="1" />
126    </path>
127
128    <path name="listen-voice-wakeup-6">
129        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
130        <ctl name="LSM6 Port" value="PRI_TDM_TX_0" />
131        <ctl name="LSM6 Mixer PRI_TDM_TX_0" value="1" />
132    </path>
133
134    <path name="listen-voice-wakeup-7">
135        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
136        <ctl name="LSM7 Port" value="PRI_TDM_TX_0" />
137        <ctl name="LSM7 Mixer PRI_TDM_TX_0" value="1" />
138    </path>
139
140    <path name="listen-voice-wakeup-8">
141        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
142        <ctl name="LSM8 Port" value="PRI_TDM_TX_0" />
143        <ctl name="LSM8 Mixer PRI_TDM_TX_0" value="1" />
144    </path>
145
146    <path name="listen-voice-wakeup-1 preproc">
147        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
148        <ctl name="LSM1 Port" value="ADM_LSM_TX" />
149        <ctl name="LSM1 Mixer PRI_TDM_TX_0" value="1" />
150    </path>
151
152    <path name="listen-voice-wakeup-2 preproc">
153        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
154        <ctl name="LSM2 Port" value="ADM_LSM_TX" />
155        <ctl name="LSM2 Mixer PRI_TDM_TX_0" value="1" />
156    </path>
157
158    <path name="listen-voice-wakeup-3 preproc">
159        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
160        <ctl name="LSM3 Port" value="ADM_LSM_TX" />
161        <ctl name="LSM3 Mixer PRI_TDM_TX_0" value="1" />
162    </path>
163
164    <path name="listen-voice-wakeup-4 preproc">
165        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
166        <ctl name="LSM4 Port" value="ADM_LSM_TX" />
167        <ctl name="LSM4 Mixer PRI_TDM_TX_0" value="1" />
168    </path>
169
170    <path name="listen-voice-wakeup-5 preproc">
171        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
172        <ctl name="LSM5 Port" value="ADM_LSM_TX" />
173        <ctl name="LSM5 Mixer PRI_TDM_TX_0" value="1" />
174    </path>
175
176    <path name="listen-voice-wakeup-6 preproc">
177        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
178        <ctl name="LSM6 Port" value="ADM_LSM_TX" />
179        <ctl name="LSM6 Mixer PRI_TDM_TX_0" value="1" />
180    </path>
181
182    <path name="listen-voice-wakeup-7 preproc">
183        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
184        <ctl name="LSM7 Port" value="ADM_LSM_TX" />
185        <ctl name="LSM7 Mixer PRI_TDM_TX_0" value="1" />
186    </path>
187
188    <path name="listen-voice-wakeup-8 preproc">
189        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
190        <ctl name="LSM8 Port" value="ADM_LSM_TX" />
191        <ctl name="LSM8 Mixer PRI_TDM_TX_0" value="1" />
192    </path>
193
194    <path name="listen-voice-wakeup-1 port">
195        <ctl name="LSM1 Port" value="PRI_TDM_TX_0" />
196    </path>
197
198    <path name="listen-voice-wakeup-2 port">
199        <ctl name="LSM2 Port" value="PRI_TDM_TX_0" />
200    </path>
201
202    <path name="listen-voice-wakeup-3 port">
203        <ctl name="LSM3 Port" value="PRI_TDM_TX_0" />
204    </path>
205
206    <path name="listen-voice-wakeup-4 port">
207        <ctl name="LSM4 Port" value="PRI_TDM_TX_0" />
208    </path>
209
210    <path name="listen-voice-wakeup-5 port">
211        <ctl name="LSM5 Port" value="PRI_TDM_TX_0" />
212    </path>
213
214    <path name="listen-voice-wakeup-6 port">
215        <ctl name="LSM6 Port" value="PRI_TDM_TX_0" />
216    </path>
217
218    <path name="listen-voice-wakeup-7 port">
219        <ctl name="LSM7 Port" value="PRI_TDM_TX_0" />
220    </path>
221
222    <path name="listen-voice-wakeup-8 port">
223        <ctl name="LSM8 Port" value="PRI_TDM_TX_0" />
224    </path>
225
226    <path name="listen-voice-wakeup-1 preproc port">
227        <ctl name="LSM1 Port" value="ADM_LSM_TX" />
228    </path>
229
230    <path name="listen-voice-wakeup-2 preproc port">
231        <ctl name="LSM2 Port" value="ADM_LSM_TX" />
232    </path>
233
234    <path name="listen-voice-wakeup-3 preproc port">
235        <ctl name="LSM3 Port" value="ADM_LSM_TX" />
236    </path>
237
238    <path name="listen-voice-wakeup-4 preproc port">
239        <ctl name="LSM4 Port" value="ADM_LSM_TX" />
240    </path>
241
242    <path name="listen-voice-wakeup-5 preproc port">
243        <ctl name="LSM5 Port" value="ADM_LSM_TX" />
244    </path>
245
246    <path name="listen-voice-wakeup-6 preproc port">
247        <ctl name="LSM6 Port" value="ADM_LSM_TX" />
248    </path>
249
250    <path name="listen-voice-wakeup-7 preproc port">
251        <ctl name="LSM7 Port" value="ADM_LSM_TX" />
252    </path>
253
254    <path name="listen-voice-wakeup-8 preproc port">
255        <ctl name="LSM8 Port" value="ADM_LSM_TX" />
256    </path>
257
258    <path name="listen-ape-handset-mic">
259        <ctl name="ADC1 Capture Volume" value="45" />
260        <ctl name="ADC2 Capture Volume" value="45" />
261        <ctl name="PRI_TDM_TX_0 Channels" value="One" />
262        <ctl name="Sto1 ADC MIXL BargeIn DMIC Switch" value="1" />
263    </path>
264
265    <path name="listen-ape-handset-dmic">
266        <ctl name="ADC1 Capture Volume" value="45"/>
267        <ctl name="ADC2 Capture Volume" value="45"/>
268        <ctl name="PRI_TDM_TX_0 Channels" value="Two"/>
269        <ctl name="Sto1 ADC MIXL BargeIn DMIC Switch" value="1" />
270        <ctl name="Sto2 ADC MIXL BargeIn DMIC Switch" value="1" />
271    </path>
272
273    <path name="listen-ape-handset-tmic">
274        <ctl name="ADC1 Capture Volume" value="45" />
275        <ctl name="ADC2 Capture Volume" value="45" />
276        <ctl name="PRI_TDM_TX_0 Channels" value="Three" />
277    </path>
278
279    <path name="listen-ape-handset-qmic">
280        <ctl name="VA_CDC_DMA_TX_0 Channels" value="Four" />
281        <ctl name="VA_AIF1_CAP Mixer DEC0" value="1" />
282        <ctl name="VA_AIF1_CAP Mixer DEC1" value="1" />
283        <ctl name="VA_AIF1_CAP Mixer DEC2" value="1" />
284        <ctl name="VA_AIF1_CAP Mixer DEC3" value="1" />
285        <ctl name="VA DEC0 MUX" value="MSM_DMIC" />
286        <ctl name="VA DEC1 MUX" value="MSM_DMIC" />
287        <ctl name="VA DEC2 MUX" value="MSM_DMIC" />
288        <ctl name="VA DEC3 MUX" value="MSM_DMIC" />
289        <ctl name="VA DMIC MUX0" value="DMIC4" />
290        <ctl name="VA DMIC MUX1" value="DMIC0" />
291        <ctl name="VA DMIC MUX2" value="DMIC1" />
292        <ctl name="VA DMIC MUX3" value="DMIC2" />
293    </path>
294
295    <path name="listen-ape-headset-mic">
296        <ctl name="VA_AIF1_CAP Mixer DEC0" value="1" />
297        <ctl name="VA DEC0 MUX" value="SWR_MIC" />
298        <ctl name="VA SMIC MUX0" value="ADC1" />
299        <ctl name="ADC2 Volume" value="62" />
300        <ctl name="ADC2_MIXER Switch" value="1" />
301        <ctl name="ADC2 MUX" value="INP2" />
302    </path>
303
304    <path name="echo-reference">
305        <ctl name="AUDIO_REF_EC_UL1 MUX" value="QUIN_TDM_RX_0"/>
306        <ctl name="EC Reference Channels" value="Two"/>
307        <ctl name="EC Reference Bit Format" value="S16_LE"/>
308        <ctl name="EC Reference SampleRate" value="48000"/>
309    </path>
310
311    <path name="echo-reference headset">
312        <ctl name="AUDIO_REF_EC_UL1 MUX" value="WSA_CDC_DMA_RX_0"/>
313        <ctl name="EC Reference Channels" value="One"/>
314        <ctl name="EC Reference Bit Format" value="S16_LE"/>
315        <ctl name="EC Reference SampleRate" value="48000"/>
316    </path>
317
318    <path name="echo-reference a2dp">
319        <ctl name="AUDIO_REF_EC_UL1 MUX" value="SLIM_7_RX"/>
320        <ctl name="EC Reference Channels" value="Two"/>
321        <ctl name="EC Reference Bit Format" value="S16_LE"/>
322        <ctl name="EC Reference SampleRate" value="48000"/>
323    </path>
324
325</mixer>
326