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 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 Port" value="None" />
40    <ctl name="LSM2 Port" value="None" />
41    <ctl name="LSM3 Port" value="None" />
42    <ctl name="LSM4 Port" value="None" />
43    <ctl name="LSM5 Port" value="None" />
44    <ctl name="LSM6 Port" value="None" />
45    <ctl name="LSM7 Port" value="None" />
46    <ctl name="LSM8 Port" value="None" />
47    <ctl name="PRI_TDM_TX_0 LSM Function" value="None" />
48    <ctl name="PRI_TDM_TX_0 Channels" value="One" />
49    <ctl name="Sto1 ADC MIXL DMIC Switch" value="0" />
50    <ctl name="Sto2 ADC MIXL DMIC Switch" value="0" />
51
52    <path name="listen-voice-wakeup-1">
53        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
54        <ctl name="LSM1 Port" value="PRI_TDM_TX_0" />
55        <ctl name="LSM1 Mixer PRI_TDM_TX_0" value="1" />
56    </path>
57
58    <path name="listen-voice-wakeup-2">
59        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
60        <ctl name="LSM2 Port" value="PRI_TDM_TX_0" />
61        <ctl name="LSM2 Mixer PRI_TDM_TX_0" value="1" />
62    </path>
63
64    <path name="listen-voice-wakeup-3">
65        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
66        <ctl name="LSM3 Port" value="PRI_TDM_TX_0" />
67        <ctl name="LSM3 Mixer PRI_TDM_TX_0" value="1" />
68    </path>
69
70    <path name="listen-voice-wakeup-4">
71        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
72        <ctl name="LSM4 Port" value="PRI_TDM_TX_0" />
73        <ctl name="LSM4 Mixer PRI_TDM_TX_0" value="1" />
74    </path>
75
76    <path name="listen-voice-wakeup-5">
77        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
78        <ctl name="LSM5 Port" value="PRI_TDM_TX_0" />
79        <ctl name="LSM5 Mixer PRI_TDM_TX_0" value="1" />
80    </path>
81
82    <path name="listen-voice-wakeup-6">
83        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
84        <ctl name="LSM6 Port" value="PRI_TDM_TX_0" />
85        <ctl name="LSM6 Mixer PRI_TDM_TX_0" value="1" />
86    </path>
87
88    <path name="listen-voice-wakeup-7">
89        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
90        <ctl name="LSM7 Port" value="PRI_TDM_TX_0" />
91        <ctl name="LSM7 Mixer PRI_TDM_TX_0" value="1" />
92    </path>
93
94    <path name="listen-voice-wakeup-8">
95        <ctl name="PRI_TDM_TX_0 LSM Function" value="AUDIO" />
96        <ctl name="LSM8 Port" value="PRI_TDM_TX_0" />
97        <ctl name="LSM8 Mixer PRI_TDM_TX_0" value="1" />
98    </path>
99
100    <path name="listen-voice-wakeup-1 preproc">
101        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
102        <ctl name="LSM1 Port" value="ADM_LSM_TX" />
103        <ctl name="LSM1 Mixer PRI_TDM_TX_0" value="1" />
104    </path>
105
106    <path name="listen-voice-wakeup-2 preproc">
107        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
108        <ctl name="LSM2 Port" value="ADM_LSM_TX" />
109        <ctl name="LSM2 Mixer PRI_TDM_TX_0" value="1" />
110    </path>
111
112    <path name="listen-voice-wakeup-3 preproc">
113        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
114        <ctl name="LSM3 Port" value="ADM_LSM_TX" />
115        <ctl name="LSM3 Mixer PRI_TDM_TX_0" value="1" />
116    </path>
117
118    <path name="listen-voice-wakeup-4 preproc">
119        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
120        <ctl name="LSM4 Port" value="ADM_LSM_TX" />
121        <ctl name="LSM4 Mixer PRI_TDM_TX_0" value="1" />
122    </path>
123
124    <path name="listen-voice-wakeup-5 preproc">
125        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
126        <ctl name="LSM5 Port" value="ADM_LSM_TX" />
127        <ctl name="LSM5 Mixer PRI_TDM_TX_0" value="1" />
128    </path>
129
130    <path name="listen-voice-wakeup-6 preproc">
131        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
132        <ctl name="LSM6 Port" value="ADM_LSM_TX" />
133        <ctl name="LSM6 Mixer PRI_TDM_TX_0" value="1" />
134    </path>
135
136    <path name="listen-voice-wakeup-7 preproc">
137        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
138        <ctl name="LSM7 Port" value="ADM_LSM_TX" />
139        <ctl name="LSM7 Mixer PRI_TDM_TX_0" value="1" />
140    </path>
141
142    <path name="listen-voice-wakeup-8 preproc">
143        <ctl name="PRI_TDM_TX_0 LSM Function" value="SWAUDIO" />
144        <ctl name="LSM8 Port" value="ADM_LSM_TX" />
145        <ctl name="LSM8 Mixer PRI_TDM_TX_0" value="1" />
146    </path>
147
148    <path name="listen-ape-handset-mic">
149        <ctl name="ADC1 Capture Volume" value="45" />
150        <ctl name="ADC2 Capture Volume" value="45" />
151        <ctl name="PRI_TDM_TX_0 Channels" value="Two" />
152        <ctl name="Sto1 ADC MIXL DMIC Switch" value="1" />
153        <ctl name="Sto2 ADC MIXL DMIC Switch" value="1" />
154    </path>
155
156    <path name="listen-ape-handset-dmic">
157        <ctl name="ADC1 Capture Volume" value="45"/>
158        <ctl name="ADC2 Capture Volume" value="45"/>
159        <ctl name="PRI_TDM_TX_0 Channels" value="Two"/>
160        <ctl name="Sto1 ADC MIXL DMIC Switch" value="1"/>
161        <ctl name="Sto2 ADC MIXL DMIC Switch" value="1"/>
162    </path>
163
164    <path name="echo-reference">
165        <ctl name="AUDIO_REF_EC_UL1 MUX" value="SEC_TDM_RX_0"/>
166        <ctl name="EC Reference Channels" value="Two"/>
167        <ctl name="EC Reference Bit Format" value="S16_LE"/>
168        <ctl name="EC Reference SampleRate" value="48000"/>
169    </path>
170
171</mixer>
172