Manisha Agarwal | 0173f7e | 2019-02-11 12:57:59 +0530 | [diff] [blame] | 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 VA_CDC_DMA_TX_0" value="0" /> |
| 32 | <ctl name="LSM2 Mixer VA_CDC_DMA_TX_0" value="0" /> |
| 33 | <ctl name="LSM3 Mixer VA_CDC_DMA_TX_0" value="0" /> |
| 34 | <ctl name="LSM4 Mixer VA_CDC_DMA_TX_0" value="0" /> |
| 35 | <ctl name="LSM5 Mixer VA_CDC_DMA_TX_0" value="0" /> |
| 36 | <ctl name="LSM6 Mixer VA_CDC_DMA_TX_0" value="0" /> |
| 37 | <ctl name="LSM7 Mixer VA_CDC_DMA_TX_0" value="0" /> |
| 38 | <ctl name="LSM8 Mixer VA_CDC_DMA_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="VA_CDC_DMA_TX_0 Channels" value="One" /> |
| 48 | <ctl name="VA_AIF1_CAP Mixer DEC0" value="0" /> |
| 49 | <ctl name="VA_AIF1_CAP Mixer DEC1" value="0" /> |
| 50 | <ctl name="VA_AIF1_CAP Mixer DEC2" value="0" /> |
| 51 | <ctl name="VA_AIF1_CAP Mixer DEC3" value="0" /> |
| 52 | <ctl name="VA_AIF1_CAP Mixer DEC4" value="0" /> |
| 53 | <ctl name="VA_AIF1_CAP Mixer DEC5" value="0" /> |
| 54 | <ctl name="VA_AIF1_CAP Mixer DEC6" value="0" /> |
| 55 | <ctl name="VA_AIF1_CAP Mixer DEC7" value="0" /> |
| 56 | <ctl name="VA DEC0 MUX" value="MSM_DMIC" /> |
| 57 | <ctl name="VA DEC1 MUX" value="MSM_DMIC" /> |
| 58 | <ctl name="VA DEC2 MUX" value="MSM_DMIC" /> |
| 59 | <ctl name="VA DEC3 MUX" value="MSM_DMIC" /> |
| 60 | <ctl name="VA DEC4 MUX" value="MSM_DMIC" /> |
| 61 | <ctl name="VA DEC5 MUX" value="MSM_DMIC" /> |
| 62 | <ctl name="VA DEC6 MUX" value="MSM_DMIC" /> |
| 63 | <ctl name="VA DEC7 MUX" value="MSM_DMIC" /> |
| 64 | <ctl name="VA DMIC MUX0" value="ZERO" /> |
| 65 | <ctl name="VA DMIC MUX1" value="ZERO" /> |
| 66 | <ctl name="VA DMIC MUX2" value="ZERO" /> |
| 67 | <ctl name="VA DMIC MUX3" value="ZERO" /> |
| 68 | <ctl name="VA DMIC MUX4" value="ZERO" /> |
| 69 | <ctl name="VA DMIC MUX5" value="ZERO" /> |
| 70 | <ctl name="VA DMIC MUX6" value="ZERO" /> |
| 71 | <ctl name="VA DMIC MUX7" value="ZERO" /> |
| 72 | <ctl name="VA SMIC MUX0" value="ZERO" /> |
| 73 | <ctl name="VA SMIC MUX1" value="ZERO" /> |
| 74 | <ctl name="VA SMIC MUX2" value="ZERO" /> |
| 75 | <ctl name="VA SMIC MUX3" value="ZERO" /> |
| 76 | <ctl name="VA SMIC MUX4" value="ZERO" /> |
| 77 | <ctl name="VA SMIC MUX5" value="ZERO" /> |
| 78 | <ctl name="VA SMIC MUX6" value="ZERO" /> |
| 79 | <ctl name="VA SMIC MUX7" value="ZERO" /> |
| 80 | <ctl name="AUDIO_REF_EC_UL1 MUX" value="None"/> |
| 81 | <ctl name="EC Reference Channels" value="Zero"/> |
| 82 | <ctl name="EC Reference Bit Format" value="0"/> |
| 83 | <ctl name="EC Reference SampleRate" value="0"/> |
| 84 | |
| 85 | <path name="listen-voice-wakeup-1"> |
| 86 | <ctl name="LSM1 Mixer VA_CDC_DMA_TX_0" value="1" /> |
| 87 | </path> |
| 88 | |
| 89 | <path name="listen-voice-wakeup-2"> |
| 90 | <ctl name="LSM2 Mixer VA_CDC_DMA_TX_0" value="1" /> |
| 91 | </path> |
| 92 | |
| 93 | <path name="listen-voice-wakeup-3"> |
| 94 | <ctl name="LSM3 Mixer VA_CDC_DMA_TX_0" value="1" /> |
| 95 | </path> |
| 96 | |
| 97 | <path name="listen-voice-wakeup-4"> |
| 98 | <ctl name="LSM4 Mixer VA_CDC_DMA_TX_0" value="1" /> |
| 99 | </path> |
| 100 | |
| 101 | <path name="listen-voice-wakeup-5"> |
| 102 | <ctl name="LSM5 Mixer VA_CDC_DMA_TX_0" value="1" /> |
| 103 | </path> |
| 104 | |
| 105 | <path name="listen-voice-wakeup-6"> |
| 106 | <ctl name="LSM6 Mixer VA_CDC_DMA_TX_0" value="1" /> |
| 107 | </path> |
| 108 | |
| 109 | <path name="listen-voice-wakeup-7"> |
| 110 | <ctl name="LSM7 Mixer VA_CDC_DMA_TX_0" value="1" /> |
| 111 | </path> |
| 112 | |
| 113 | <path name="listen-voice-wakeup-8"> |
| 114 | <ctl name="LSM8 Mixer VA_CDC_DMA_TX_0" value="1" /> |
| 115 | </path> |
| 116 | |
| 117 | <path name="listen-voice-wakeup-1 preproc"> |
| 118 | <path name="listen-voice-wakeup-1" /> |
| 119 | </path> |
| 120 | |
| 121 | <path name="listen-voice-wakeup-2 preproc"> |
| 122 | <path name="listen-voice-wakeup-2" /> |
| 123 | </path> |
| 124 | |
| 125 | <path name="listen-voice-wakeup-3 preproc"> |
| 126 | <path name="listen-voice-wakeup-3" /> |
| 127 | </path> |
| 128 | |
| 129 | <path name="listen-voice-wakeup-4 preproc"> |
| 130 | <path name="listen-voice-wakeup-4" /> |
| 131 | </path> |
| 132 | |
| 133 | <path name="listen-voice-wakeup-5 preproc"> |
| 134 | <path name="listen-voice-wakeup-5" /> |
| 135 | </path> |
| 136 | |
| 137 | <path name="listen-voice-wakeup-6 preproc"> |
| 138 | <path name="listen-voice-wakeup-6" /> |
| 139 | </path> |
| 140 | |
| 141 | <path name="listen-voice-wakeup-7 preproc"> |
| 142 | <path name="listen-voice-wakeup-7" /> |
| 143 | </path> |
| 144 | |
| 145 | <path name="listen-voice-wakeup-8 preproc"> |
| 146 | <path name="listen-voice-wakeup-8" /> |
| 147 | </path> |
| 148 | |
| 149 | <path name="listen-voice-wakeup-1 port"> |
| 150 | <ctl name="LSM1 Port" value="VA_CDC_DMA_TX_0" /> |
| 151 | </path> |
| 152 | |
| 153 | <path name="listen-voice-wakeup-2 port"> |
| 154 | <ctl name="LSM2 Port" value="VA_CDC_DMA_TX_0" /> |
| 155 | </path> |
| 156 | |
| 157 | <path name="listen-voice-wakeup-3 port"> |
| 158 | <ctl name="LSM3 Port" value="VA_CDC_DMA_TX_0" /> |
| 159 | </path> |
| 160 | |
| 161 | <path name="listen-voice-wakeup-4 port"> |
| 162 | <ctl name="LSM4 Port" value="VA_CDC_DMA_TX_0" /> |
| 163 | </path> |
| 164 | |
| 165 | <path name="listen-voice-wakeup-5 port"> |
| 166 | <ctl name="LSM5 Port" value="VA_CDC_DMA_TX_0" /> |
| 167 | </path> |
| 168 | |
| 169 | <path name="listen-voice-wakeup-6 port"> |
| 170 | <ctl name="LSM6 Port" value="VA_CDC_DMA_TX_0" /> |
| 171 | </path> |
| 172 | |
| 173 | <path name="listen-voice-wakeup-7 port"> |
| 174 | <ctl name="LSM7 Port" value="VA_CDC_DMA_TX_0" /> |
| 175 | </path> |
| 176 | |
| 177 | <path name="listen-voice-wakeup-8 port"> |
| 178 | <ctl name="LSM8 Port" value="VA_CDC_DMA_TX_0" /> |
| 179 | </path> |
| 180 | |
| 181 | <path name="listen-voice-wakeup-1 preproc port"> |
| 182 | <ctl name="LSM1 Port" value="ADM_LSM_TX" /> |
| 183 | </path> |
| 184 | |
| 185 | <path name="listen-voice-wakeup-2 preproc port"> |
| 186 | <ctl name="LSM2 Port" value="ADM_LSM_TX" /> |
| 187 | </path> |
| 188 | |
| 189 | <path name="listen-voice-wakeup-3 preproc port"> |
| 190 | <ctl name="LSM3 Port" value="ADM_LSM_TX" /> |
| 191 | </path> |
| 192 | |
| 193 | <path name="listen-voice-wakeup-4 preproc port"> |
| 194 | <ctl name="LSM4 Port" value="ADM_LSM_TX" /> |
| 195 | </path> |
| 196 | |
| 197 | <path name="listen-voice-wakeup-5 preproc port"> |
| 198 | <ctl name="LSM5 Port" value="ADM_LSM_TX" /> |
| 199 | </path> |
| 200 | |
| 201 | <path name="listen-voice-wakeup-6 preproc port"> |
| 202 | <ctl name="LSM6 Port" value="ADM_LSM_TX" /> |
| 203 | </path> |
| 204 | |
| 205 | <path name="listen-voice-wakeup-7 preproc port"> |
| 206 | <ctl name="LSM7 Port" value="ADM_LSM_TX" /> |
| 207 | </path> |
| 208 | |
| 209 | <path name="listen-voice-wakeup-8 preproc port"> |
| 210 | <ctl name="LSM8 Port" value="ADM_LSM_TX" /> |
| 211 | </path> |
| 212 | |
| 213 | <path name="listen-ape-handset-mic"> |
| 214 | <ctl name="VA_AIF1_CAP Mixer DEC0" value="1" /> |
| 215 | <ctl name="VA DEC0 MUX" value="MSM_DMIC" /> |
Vatsal Bucha | 331b909 | 2019-04-24 14:41:19 +0530 | [diff] [blame] | 216 | <ctl name="VA DMIC MUX0" value="DMIC4" /> |
Manisha Agarwal | 0173f7e | 2019-02-11 12:57:59 +0530 | [diff] [blame] | 217 | </path> |
| 218 | |
| 219 | <path name="listen-ape-handset-mic-preproc"> |
| 220 | <path name="listen-ape-handset-mic" /> |
| 221 | </path> |
| 222 | |
| 223 | <path name="listen-ape-handset-dmic"> |
| 224 | <ctl name="VA_CDC_DMA_TX_0 Channels" value="Two" /> |
| 225 | <ctl name="VA_AIF1_CAP Mixer DEC0" value="1" /> |
| 226 | <ctl name="VA_AIF1_CAP Mixer DEC1" value="1" /> |
| 227 | <ctl name="VA DEC0 MUX" value="MSM_DMIC" /> |
| 228 | <ctl name="VA DEC1 MUX" value="MSM_DMIC" /> |
Vatsal Bucha | 331b909 | 2019-04-24 14:41:19 +0530 | [diff] [blame] | 229 | <ctl name="VA DMIC MUX0" value="DMIC4" /> |
| 230 | <ctl name="VA DMIC MUX1" value="DMIC0" /> |
Manisha Agarwal | 0173f7e | 2019-02-11 12:57:59 +0530 | [diff] [blame] | 231 | </path> |
| 232 | |
| 233 | <path name="listen-ape-handset-tmic"> |
| 234 | <ctl name="VA_CDC_DMA_TX_0 Channels" value="Three" /> |
| 235 | <ctl name="VA_AIF1_CAP Mixer DEC0" value="1" /> |
| 236 | <ctl name="VA_AIF1_CAP Mixer DEC1" value="1" /> |
Vatsal Bucha | 5418eae | 2019-04-23 15:09:01 +0530 | [diff] [blame] | 237 | <ctl name="VA_AIF1_CAP Mixer DEC2" value="1" /> |
Manisha Agarwal | 0173f7e | 2019-02-11 12:57:59 +0530 | [diff] [blame] | 238 | <ctl name="VA DEC0 MUX" value="MSM_DMIC" /> |
| 239 | <ctl name="VA DEC1 MUX" value="MSM_DMIC" /> |
Vatsal Bucha | 5418eae | 2019-04-23 15:09:01 +0530 | [diff] [blame] | 240 | <ctl name="VA DEC2 MUX" value="MSM_DMIC" /> |
Vatsal Bucha | 331b909 | 2019-04-24 14:41:19 +0530 | [diff] [blame] | 241 | <ctl name="VA DMIC MUX0" value="DMIC4" /> |
| 242 | <ctl name="VA DMIC MUX1" value="DMIC0" /> |
| 243 | <ctl name="VA DMIC MUX2" value="DMIC1" /> |
Manisha Agarwal | 0173f7e | 2019-02-11 12:57:59 +0530 | [diff] [blame] | 244 | </path> |
| 245 | |
| 246 | <path name="listen-ape-handset-qmic"> |
| 247 | <ctl name="VA_CDC_DMA_TX_0 Channels" value="Four" /> |
| 248 | <ctl name="VA_AIF1_CAP Mixer DEC0" value="1" /> |
| 249 | <ctl name="VA_AIF1_CAP Mixer DEC1" value="1" /> |
| 250 | <ctl name="VA_AIF1_CAP Mixer DEC2" value="1" /> |
Vatsal Bucha | 5418eae | 2019-04-23 15:09:01 +0530 | [diff] [blame] | 251 | <ctl name="VA_AIF1_CAP Mixer DEC3" value="1" /> |
Manisha Agarwal | 0173f7e | 2019-02-11 12:57:59 +0530 | [diff] [blame] | 252 | <ctl name="VA DEC0 MUX" value="MSM_DMIC" /> |
| 253 | <ctl name="VA DEC1 MUX" value="MSM_DMIC" /> |
| 254 | <ctl name="VA DEC2 MUX" value="MSM_DMIC" /> |
Vatsal Bucha | 5418eae | 2019-04-23 15:09:01 +0530 | [diff] [blame] | 255 | <ctl name="VA DEC3 MUX" value="MSM_DMIC" /> |
Vatsal Bucha | 331b909 | 2019-04-24 14:41:19 +0530 | [diff] [blame] | 256 | <ctl name="VA DMIC MUX0" value="DMIC4" /> |
| 257 | <ctl name="VA DMIC MUX1" value="DMIC0" /> |
| 258 | <ctl name="VA DMIC MUX2" value="DMIC1" /> |
| 259 | <ctl name="VA DMIC MUX3" value="DMIC2" /> |
Manisha Agarwal | 0173f7e | 2019-02-11 12:57:59 +0530 | [diff] [blame] | 260 | </path> |
| 261 | |
| 262 | <path name="listen-ape-headset-mic"> |
| 263 | <ctl name="VA_AIF1_CAP Mixer DEC0" value="1" /> |
| 264 | <ctl name="VA DEC0 MUX" value="SWR_MIC" /> |
Vatsal Bucha | 55fad7e | 2019-05-09 18:22:42 +0530 | [diff] [blame] | 265 | <ctl name="VA SMIC MUX0" value="ADC1" /> |
| 266 | <ctl name="ADC2 Volume" value="62" /> |
| 267 | <ctl name="ADC2_MIXER Switch" value="1" /> |
| 268 | <ctl name="ADC2 MUX" value="INP2" /> |
Manisha Agarwal | 0173f7e | 2019-02-11 12:57:59 +0530 | [diff] [blame] | 269 | </path> |
| 270 | |
| 271 | <path name="echo-reference"> |
| 272 | <ctl name="AUDIO_REF_EC_UL1 MUX" value="WSA_CDC_DMA_RX_0"/> |
| 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 | <path name="echo-reference headset"> |
| 279 | <ctl name="AUDIO_REF_EC_UL1 MUX" value="WSA_CDC_DMA_RX_0"/> |
| 280 | <ctl name="EC Reference Channels" value="One"/> |
| 281 | <ctl name="EC Reference Bit Format" value="S16_LE"/> |
| 282 | <ctl name="EC Reference SampleRate" value="48000"/> |
| 283 | </path> |
| 284 | |
| 285 | <path name="echo-reference a2dp"> |
| 286 | <ctl name="AUDIO_REF_EC_UL1 MUX" value="SLIM_7_RX"/> |
| 287 | <ctl name="EC Reference Channels" value="Two"/> |
| 288 | <ctl name="EC Reference Bit Format" value="S16_LE"/> |
| 289 | <ctl name="EC Reference SampleRate" value="48000"/> |
| 290 | </path> |
| 291 | |
| 292 | </mixer> |