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