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="AUDIO_REF_EC_UL1 MUX" value="None"/>
56    <ctl name="EC Reference Channels" value="Zero"/>
57    <ctl name="EC Reference Bit Format" value="0"/>
58    <ctl name="EC Reference SampleRate" value="0"/>
59    <ctl name="PRI_TDM_TX_0 LSM Function" value="None" />
60    <ctl name="PRI_TDM_TX_0 Channels" value="One" />
61    <ctl name="Sto1 ADC MIXL BargeIn DMIC Switch" value="0" />
62    <ctl name="Sto2 ADC MIXL BargeIn DMIC Switch" value="0" />
63    <ctl name="Sto2 ADC MIXR BargeIn DMIC Switch" value="0" />
64    <ctl name="PRI TDM TX Channel Offset" id="0" value="0" />
65    <ctl name="PRI TDM TX Channel Offset" id="1" value="8" />
66    <ctl name="PRI TDM TX Channel Offset" id="2" value="12" />
67
68    <path name="listen-voice-wakeup-1">
69        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
70        <ctl name="LSM1 Port" value="PRI_TDM_TX_0" />
71        <ctl name="LSM1 Mixer PRI_TDM_TX_0" value="1" />
72    </path>
73
74    <path name="listen-voice-wakeup-2">
75        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
76        <ctl name="LSM2 Port" value="PRI_TDM_TX_0" />
77        <ctl name="LSM2 Mixer PRI_TDM_TX_0" value="1" />
78    </path>
79
80    <path name="listen-voice-wakeup-3">
81        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
82        <ctl name="LSM3 Port" value="PRI_TDM_TX_0" />
83        <ctl name="LSM3 Mixer PRI_TDM_TX_0" value="1" />
84    </path>
85
86    <path name="listen-voice-wakeup-4">
87        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
88        <ctl name="LSM4 Port" value="PRI_TDM_TX_0" />
89        <ctl name="LSM4 Mixer PRI_TDM_TX_0" value="1" />
90    </path>
91
92    <path name="listen-voice-wakeup-5">
93        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
94        <ctl name="LSM5 Port" value="PRI_TDM_TX_0" />
95        <ctl name="LSM5 Mixer PRI_TDM_TX_0" value="1" />
96    </path>
97
98    <path name="listen-voice-wakeup-6">
99        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
100        <ctl name="LSM6 Port" value="PRI_TDM_TX_0" />
101        <ctl name="LSM6 Mixer PRI_TDM_TX_0" value="1" />
102    </path>
103
104    <path name="listen-voice-wakeup-7">
105        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
106        <ctl name="LSM7 Port" value="PRI_TDM_TX_0" />
107        <ctl name="LSM7 Mixer PRI_TDM_TX_0" value="1" />
108    </path>
109
110    <path name="listen-voice-wakeup-8">
111        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
112        <ctl name="LSM8 Port" value="PRI_TDM_TX_0" />
113        <ctl name="LSM8 Mixer PRI_TDM_TX_0" value="1" />
114    </path>
115
116    <path name="listen-voice-wakeup-1 preproc">
117        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
118        <ctl name="LSM1 Port" value="ADM_LSM_TX" />
119        <ctl name="LSM1 Mixer PRI_TDM_TX_0" value="1" />
120    </path>
121
122    <path name="listen-voice-wakeup-2 preproc">
123        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
124        <ctl name="LSM2 Port" value="ADM_LSM_TX" />
125        <ctl name="LSM2 Mixer PRI_TDM_TX_0" value="1" />
126    </path>
127
128    <path name="listen-voice-wakeup-3 preproc">
129        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
130        <ctl name="LSM3 Port" value="ADM_LSM_TX" />
131        <ctl name="LSM3 Mixer PRI_TDM_TX_0" value="1" />
132    </path>
133
134    <path name="listen-voice-wakeup-4 preproc">
135        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
136        <ctl name="LSM4 Port" value="ADM_LSM_TX" />
137        <ctl name="LSM4 Mixer PRI_TDM_TX_0" value="1" />
138    </path>
139
140    <path name="listen-voice-wakeup-5 preproc">
141        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
142        <ctl name="LSM5 Port" value="ADM_LSM_TX" />
143        <ctl name="LSM5 Mixer PRI_TDM_TX_0" value="1" />
144    </path>
145
146    <path name="listen-voice-wakeup-6 preproc">
147        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
148        <ctl name="LSM6 Port" value="ADM_LSM_TX" />
149        <ctl name="LSM6 Mixer PRI_TDM_TX_0" value="1" />
150    </path>
151
152    <path name="listen-voice-wakeup-7 preproc">
153        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
154        <ctl name="LSM7 Port" value="ADM_LSM_TX" />
155        <ctl name="LSM7 Mixer PRI_TDM_TX_0" value="1" />
156    </path>
157
158    <path name="listen-voice-wakeup-8 preproc">
159        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
160        <ctl name="LSM8 Port" value="ADM_LSM_TX" />
161        <ctl name="LSM8 Mixer PRI_TDM_TX_0" value="1" />
162    </path>
163
164    <path name="listen-voice-wakeup-1 port">
165        <ctl name="LSM1 Port" value="PRI_TDM_TX_0" />
166    </path>
167
168    <path name="listen-voice-wakeup-2 port">
169        <ctl name="LSM2 Port" value="PRI_TDM_TX_0" />
170    </path>
171
172    <path name="listen-voice-wakeup-3 port">
173        <ctl name="LSM3 Port" value="PRI_TDM_TX_0" />
174    </path>
175
176    <path name="listen-voice-wakeup-4 port">
177        <ctl name="LSM4 Port" value="PRI_TDM_TX_0" />
178    </path>
179
180    <path name="listen-voice-wakeup-5 port">
181        <ctl name="LSM5 Port" value="PRI_TDM_TX_0" />
182    </path>
183
184    <path name="listen-voice-wakeup-6 port">
185        <ctl name="LSM6 Port" value="PRI_TDM_TX_0" />
186    </path>
187
188    <path name="listen-voice-wakeup-7 port">
189        <ctl name="LSM7 Port" value="PRI_TDM_TX_0" />
190    </path>
191
192    <path name="listen-voice-wakeup-8 port">
193        <ctl name="LSM8 Port" value="PRI_TDM_TX_0" />
194    </path>
195
196    <path name="listen-voice-wakeup-1 preproc port">
197        <ctl name="LSM1 Port" value="ADM_LSM_TX" />
198    </path>
199
200    <path name="listen-voice-wakeup-2 preproc port">
201        <ctl name="LSM2 Port" value="ADM_LSM_TX" />
202    </path>
203
204    <path name="listen-voice-wakeup-3 preproc port">
205        <ctl name="LSM3 Port" value="ADM_LSM_TX" />
206    </path>
207
208    <path name="listen-voice-wakeup-4 preproc port">
209        <ctl name="LSM4 Port" value="ADM_LSM_TX" />
210    </path>
211
212    <path name="listen-voice-wakeup-5 preproc port">
213        <ctl name="LSM5 Port" value="ADM_LSM_TX" />
214    </path>
215
216    <path name="listen-voice-wakeup-6 preproc port">
217        <ctl name="LSM6 Port" value="ADM_LSM_TX" />
218    </path>
219
220    <path name="listen-voice-wakeup-7 preproc port">
221        <ctl name="LSM7 Port" value="ADM_LSM_TX" />
222    </path>
223
224    <path name="listen-voice-wakeup-8 preproc port">
225        <ctl name="LSM8 Port" value="ADM_LSM_TX" />
226    </path>
227
228    <path name="listen-ape-handset-mic">
229        <ctl name="ADC1 Capture Volume" id="0" value="23" />
230        <ctl name="PRI_TDM_TX_0 Channels" value="One" />
231        <ctl name="Sto1 ADC MIXL BargeIn DMIC Switch" value="1" />
232    </path>
233
234    <path name="listen-ape-handset-dmic">
235        <ctl name="ADC1 Capture Volume" id="0" value="23"/>
236        <ctl name="ADC2 Capture Volume" id="1" value="23"/>
237        <ctl name="PRI TDM TX Channel Offset" id="0" value="0"/>
238        <ctl name="PRI TDM TX Channel Offset" id="1" value="12"/>
239        <ctl name="PRI_TDM_TX_0 Channels" value="Two"/>
240        <ctl name="Sto1 ADC MIXL BargeIn DMIC Switch" value="1" />
241        <ctl name="Sto2 ADC MIXR BargeIn DMIC Switch" value="1" />
242    </path>
243
244    <path name="listen-ape-handset-tmic">
245        <ctl name="ADC1 Capture Volume" id="0" value="23" />
246        <ctl name="ADC2 Capture Volume" id="0" value="23" />
247        <ctl name="ADC2 Capture Volume" id="1" value="23" />
248        <ctl name="PRI_TDM_TX_0 Channels" value="Three" />
249    </path>
250
251    <path name="listen-ape-handset-qmic">
252    </path>
253
254    <path name="listen-ape-headset-mic">
255    </path>
256
257    <path name="echo-reference">
258        <ctl name="AUDIO_REF_EC_UL1 MUX" value="QUIN_TDM_TX_0"/>
259        <ctl name="EC Reference Channels" value="Two"/>
260        <ctl name="EC Reference Bit Format" value="S16_LE"/>
261        <ctl name="EC Reference SampleRate" value="48000"/>
262    </path>
263
264    <path name="echo-reference headset">
265        <ctl name="AUDIO_REF_EC_UL1 MUX" value="WSA_CDC_DMA_RX_0"/>
266        <ctl name="EC Reference Channels" value="One"/>
267        <ctl name="EC Reference Bit Format" value="S16_LE"/>
268        <ctl name="EC Reference SampleRate" value="48000"/>
269    </path>
270
271    <path name="echo-reference a2dp">
272        <ctl name="AUDIO_REF_EC_UL1 MUX" value="SLIM_7_RX"/>
273        <ctl name="EC Reference Channels" value="Two"/>
274        <ctl name="EC Reference Bit Format" value="S16_LE"/>
275        <ctl name="EC Reference SampleRate" value="48000"/>
276    </path>
277
278</mixer>
279