1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!--- Copyright (c) 2014-2016, 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 SLIMBUS_5_TX" value="0" />
32    <ctl name="LSM2 Mixer SLIMBUS_5_TX" value="0" />
33    <ctl name="LSM3 Mixer SLIMBUS_5_TX" value="0" />
34    <ctl name="LSM4 Mixer SLIMBUS_5_TX" value="0" />
35    <ctl name="LSM5 Mixer SLIMBUS_5_TX" value="0" />
36    <ctl name="LSM6 Mixer SLIMBUS_5_TX" value="0" />
37    <ctl name="LSM7 Mixer SLIMBUS_5_TX" value="0" />
38    <ctl name="LSM8 Mixer SLIMBUS_5_TX" value="0" />
39    <ctl name="LSM1 Mixer SLIMBUS_0_TX" value="0" />
40    <ctl name="LSM2 Mixer SLIMBUS_0_TX" value="0" />
41    <ctl name="LSM3 Mixer SLIMBUS_0_TX" value="0" />
42    <ctl name="LSM4 Mixer SLIMBUS_0_TX" value="0" />
43    <ctl name="LSM5 Mixer SLIMBUS_0_TX" value="0" />
44    <ctl name="LSM6 Mixer SLIMBUS_0_TX" value="0" />
45    <ctl name="LSM7 Mixer SLIMBUS_0_TX" value="0" />
46    <ctl name="LSM8 Mixer SLIMBUS_0_TX" value="0" />
47    <ctl name="LSM1 Mixer SLIMBUS_3_TX" value="0" />
48    <ctl name="LSM2 Mixer SLIMBUS_3_TX" value="0" />
49    <ctl name="LSM3 Mixer SLIMBUS_3_TX" value="0" />
50    <ctl name="LSM4 Mixer SLIMBUS_3_TX" value="0" />
51    <ctl name="LSM5 Mixer SLIMBUS_3_TX" value="0" />
52    <ctl name="LSM6 Mixer SLIMBUS_3_TX" value="0" />
53    <ctl name="LSM7 Mixer SLIMBUS_3_TX" value="0" />
54    <ctl name="LSM8 Mixer SLIMBUS_3_TX" value="0" />
55    <ctl name="LSM1 Port" value="ADM_LSM_TX" />
56    <ctl name="LSM2 Port" value="ADM_LSM_TX" />
57    <ctl name="LSM3 Port" value="ADM_LSM_TX" />
58    <ctl name="LSM4 Port" value="ADM_LSM_TX" />
59    <ctl name="LSM5 Port" value="ADM_LSM_TX" />
60    <ctl name="LSM6 Port" value="ADM_LSM_TX" />
61    <ctl name="LSM7 Port" value="ADM_LSM_TX" />
62    <ctl name="LSM8 Port" value="ADM_LSM_TX" />
63    <ctl name="SLIMBUS_5_TX LSM Function" value="None" />
64    <ctl name="SLIMBUS_0_TX LSM Function" value="None" />
65    <ctl name="SLIMBUS_1_TX LSM Function" value="None" />
66    <ctl name="SLIMBUS_3_TX LSM Function" value="None" />
67    <ctl name="MADONOFF Switch" value="0" />
68    <ctl name="MAD Input" value="DMIC1" />
69    <ctl name="MAD_SEL MUX" value="SPE" />
70    <ctl name="MAD_INP MUX" value="DEC1" />
71    <ctl name="MAD_CPE1 Switch" value="0" />
72    <ctl name="CDC_IF TX13 MUX" value="ZERO" />
73    <ctl name="MAD_BROADCAST Switch" value="0" />
74    <ctl name="TX13 INP MUX" value="CDC_DEC_5" />
75    <ctl name="AIF4_MAD Mixer SLIM TX12" value="0" />
76    <ctl name="AIF4_MAD Mixer SLIM TX13" value="0" />
77    <ctl name="CPE AFE MAD Enable" value="0"/>
78    <ctl name="CLK MODE" value="EXTERNAL" />
79    <ctl name="EC BUF MUX INP" value="ZERO" />
80    <ctl name="ADC MUX1" value="DMIC" />
81    <ctl name="DMIC MUX1" value="ZERO" />
82    <ctl name="AIF1_CAP Mixer SLIM TX8" value="0"/>
83    <ctl name="AIF1_CAP Mixer SLIM TX7" value="0" />
84    <ctl name="CDC_IF TX7 MUX" value="ZERO" />
85    <ctl name="CDC_IF TX8 MUX" value="ZERO" />
86    <ctl name="ADC MUX7" value="AMIC" />
87    <ctl name="ADC MUX8" value="AMIC" />
88    <ctl name="DMIC MUX7" value="ZERO" />
89    <ctl name="DMIC MUX8" value="ZERO" />
90    <ctl name="IIR0 INP0 MUX" value="ZERO" />
91    <ctl name="ADC MUX0" value="AMIC" />
92    <ctl name="ADC MUX1" value="AMIC" />
93    <ctl name="DMIC MUX0" value="ZERO" />
94    <ctl name="WDMA3 PORT0 MUX" value="RX_MIX_TX0" />
95    <ctl name="WDMA3 PORT1 MUX" value="RX_MIX_TX1" />
96    <ctl name="WDMA3 CH0 MUX" value="PORT_0" />
97    <ctl name="WDMA3 CH1 MUX" value="PORT_0" />
98    <ctl name="WDMA3_ON_OFF Switch" value="0" />
99    <ctl name="SLIM_0_TX Channels" value="One" />
100    <ctl name="SLIM_3_TX Channels" value="One" />
101    <ctl name="AIF2_CAP Mixer SLIM TX3" value="0" />
102    <ctl name="AIF2_CAP Mixer SLIM TX4" value="0" />
103    <ctl name="CDC_IF TX3 MUX" value="ZERO" />
104    <ctl name="ADC MUX3" value="AMIC" />
105    <ctl name="DMIC MUX3" value="ZERO" />
106    <ctl name="ADC MUX4" value="AMIC" />
107    <ctl name="DMIC MUX4" value="ZERO" />
108    <ctl name="EC Reference Channels" value="Zero"/>
109
110    <path name="listen-voice-wakeup-1">
111        <ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
112        <ctl name="LSM1 Port" value="SLIMBUS_5_TX" />
113        <ctl name="LSM1 Mixer SLIMBUS_5_TX" value="1" />
114    </path>
115
116    <path name="listen-voice-wakeup-2">
117        <ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
118        <ctl name="LSM2 Port" value="SLIMBUS_5_TX" />
119        <ctl name="LSM2 Mixer SLIMBUS_5_TX" value="1" />
120    </path>
121
122    <path name="listen-voice-wakeup-3">
123        <ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
124        <ctl name="LSM3 Port" value="SLIMBUS_5_TX" />
125        <ctl name="LSM3 Mixer SLIMBUS_5_TX" value="1" />
126    </path>
127
128    <path name="listen-voice-wakeup-4">
129        <ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
130        <ctl name="LSM4 Port" value="SLIMBUS_5_TX" />
131        <ctl name="LSM4 Mixer SLIMBUS_5_TX" value="1" />
132    </path>
133
134    <path name="listen-voice-wakeup-5">
135        <ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
136        <ctl name="LSM5 Port" value="SLIMBUS_5_TX" />
137        <ctl name="LSM5 Mixer SLIMBUS_5_TX" value="1" />
138    </path>
139
140    <path name="listen-voice-wakeup-6">
141        <ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
142        <ctl name="LSM6 Port" value="SLIMBUS_5_TX" />
143        <ctl name="LSM6 Mixer SLIMBUS_5_TX" value="1" />
144    </path>
145
146    <path name="listen-voice-wakeup-7">
147        <ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
148        <ctl name="LSM7 Port" value="SLIMBUS_5_TX" />
149        <ctl name="LSM7 Mixer SLIMBUS_5_TX" value="1" />
150    </path>
151
152    <path name="listen-voice-wakeup-8">
153        <ctl name="SLIMBUS_5_TX LSM Function" value="AUDIO" />
154        <ctl name="LSM8 Port" value="SLIMBUS_5_TX" />
155        <ctl name="LSM8 Mixer SLIMBUS_5_TX" value="1" />
156    </path>
157
158    <path name="listen-voice-wakeup-1 preproc">
159        <ctl name="SLIMBUS_3_TX LSM Function" value="SWAUDIO" />
160        <ctl name="LSM1 Mixer SLIMBUS_3_TX" value="1" />
161    </path>
162
163    <path name="listen-voice-wakeup-2 preproc">
164        <ctl name="SLIMBUS_3_TX LSM Function" value="SWAUDIO" />
165        <ctl name="LSM2 Mixer SLIMBUS_3_TX" value="1" />
166    </path>
167
168    <path name="listen-voice-wakeup-3 preproc">
169        <ctl name="SLIMBUS_3_TX LSM Function" value="SWAUDIO" />
170        <ctl name="LSM3 Mixer SLIMBUS_3_TX" value="1" />
171    </path>
172
173    <path name="listen-voice-wakeup-4 preproc">
174        <ctl name="SLIMBUS_3_TX LSM Function" value="SWAUDIO" />
175        <ctl name="LSM4 Mixer SLIMBUS_3_TX" value="1" />
176    </path>
177
178    <path name="listen-voice-wakeup-5 preproc">
179        <ctl name="SLIMBUS_3_TX LSM Function" value="SWAUDIO" />
180        <ctl name="LSM5 Mixer SLIMBUS_3_TX" value="1" />
181    </path>
182
183    <path name="listen-voice-wakeup-6 preproc">
184        <ctl name="SLIMBUS_3_TX LSM Function" value="SWAUDIO" />
185        <ctl name="LSM6 Mixer SLIMBUS_3_TX" value="1" />
186    </path>
187
188    <path name="listen-voice-wakeup-7 preproc">
189        <ctl name="SLIMBUS_3_TX LSM Function" value="SWAUDIO" />
190        <ctl name="LSM7 Mixer SLIMBUS_3_TX" value="1" />
191    </path>
192
193    <path name="listen-voice-wakeup-8 preproc">
194        <ctl name="SLIMBUS_3_TX LSM Function" value="SWAUDIO" />
195        <ctl name="LSM8 Mixer SLIMBUS_3_TX" value="1" />
196    </path>
197
198    <path name="listen-cpe-handset-mic">
199        <ctl name="MAD Input" value="DMIC4" />
200        <ctl name="MAD_SEL MUX" value="SPE" />
201        <ctl name="MAD_INP MUX" value="MAD" />
202        <ctl name="MAD_CPE1 Switch" value="1" />
203    </path>
204
205    <path name="listen-cpe-handset-dmic">
206        <ctl name="CLK MODE" value="INTERNAL" />
207        <ctl name="ADC MUX0" value="DMIC" />
208        <ctl name="DMIC MUX0" value="DMIC4" />
209        <ctl name="DEC0 Volume" value="84" />
210        <ctl name="ADC MUX1" value="DMIC" />
211        <ctl name="DMIC MUX1" value="DMIC0" /> <!-- fix if needed -->
212        <ctl name="DEC1 Volume" value="84" />
213        <ctl name="WDMA3 PORT0 MUX" value="DEC0" />
214        <ctl name="WDMA3 PORT1 MUX" value="DEC1" />
215        <ctl name="WDMA3 CH0 MUX" value="PORT_0" />
216        <ctl name="WDMA3 CH1 MUX" value="PORT_1" />
217        <ctl name="WDMA3_ON_OFF Switch" value="1" />
218    </path>
219
220    <path name="listen-cpe-headset-mic">
221        <ctl name="MAD Input" value="ADC2" />
222        <ctl name="MAD_SEL MUX" value="SPE" />
223        <ctl name="MAD_INP MUX" value="MAD" />
224        <ctl name="MAD_CPE1 Switch" value="1" />
225    </path>
226
227    <path name="listen-ape-handset-mic">
228        <ctl name="MAD Input" value="DMIC4" />
229        <ctl name="MAD_SEL MUX" value="MSM" />
230        <ctl name="MAD_INP MUX" value="MAD" />
231        <ctl name="MAD_BROADCAST Switch" value="1" />
232        <ctl name="CDC_IF TX13 MUX" value="MAD_BRDCST" />
233        <ctl name="AIF4_MAD Mixer SLIM TX13" value="1" />
234    </path>
235
236    <path name="listen-ape-handset-dmic">
237        <ctl name="AIF2_CAP Mixer SLIM TX3" value="1" />
238        <ctl name="AIF2_CAP Mixer SLIM TX4" value="1" />
239        <ctl name="CDC_IF TX3 MUX" value="DEC3" />
240        <ctl name="ADC MUX3" value="DMIC" />
241        <ctl name="DMIC MUX3" value="DMIC4" />
242        <ctl name="CDC_IF TX4 MUX" value="DEC4" />
243        <ctl name="ADC MUX4" value="DMIC" />
244        <ctl name="DMIC MUX4" value="DMIC3" /> <!-- DMIC3 is based off path dmic-endifre in audio-mixer paths -->
245        <ctl name="SLIM_3_TX Channels" value="Two" />
246        <ctl name="DEC3 Volume" value="84" />
247        <ctl name="DEC4 Volume" value="84" />
248    </path>
249
250    <path name="echo-reference">
251        <ctl name="AUDIO_REF_EC_UL1 MUX" value="QUAT_TDM_RX_0"/>
252        <ctl name="EC Reference Channels" value="Two"/>
253        <ctl name="EC Reference Bit Format" value="S16_LE"/>
254        <ctl name="EC Reference SampleRate" value="48000"/>
255    </path>
256
257</mixer>
258