1<?xml version="1.0" encoding="ISO-8859-1"?> 2<!-- Copyright (c) 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<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN --> 26<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --> 27<mixer> 28 <!-- Initial default value of ALSA command --> 29 <!-- PCM timeout --> 30 <ctl name="PCM Stream Wait Time in MSec" value="100"/> 31 <ctl name="Voice PCM Stream Wait Time in MSec" value="500"/> 32 33 <!-- Enable it when AOC is ready to trim delay and padding --> 34 <ctl name="Gapless Offload Enable" value="1"/> 35 36 <!-- TDM 0 setting --> 37 <ctl name="TDM_0_RX Chan" value="Four"/> 38 <ctl name="TDM_0_RX Format" value="S32_LE"/> 39 <ctl name="TDM_0_RX Sample Rate" value="SR_48K" /> 40 <ctl name="TDM_0_TX Chan" value="Four"/> 41 <ctl name="TDM_0_TX Format" value="S32_LE"/> 42 <ctl name="TDM_0_TX Sample Rate" value="SR_48K" /> 43 44 <!-- Haptic setting --> 45 <ctl name="Haptics Source" value="PCM"/> 46 <ctl name="HAPTIC_RX Format" value="S32_LE"/> 47 <ctl name="HAPTIC_RX SlotFmt" value="S32_LE"/> 48 <ctl name="HAPTIC_RX Chan" value="Four"/> 49 <ctl name="HAPTIC_RX nSlot" value="Four"/> 50 <ctl name="RX Slots" id="0" value="2"/> 51 <ctl name="RX Slots" id="1" value="3"/> 52 53 <!-- Cirrus default 96K --> 54 <ctl name="Default 96K" value="0"/> 55 <ctl name="R Default 96K" value="0"/> 56 57 <!-- Cirrus Booster Amp TDM slot assignment--> 58 <!-- RX slot --> 59 <ctl name="ASPRX1 Slot Position" value="0"/> 60 <ctl name="ASPRX2 Slot Position" value="1"/> 61 <ctl name="R ASPRX1 Slot Position" value="1"/> 62 <ctl name="R ASPRX2 Slot Position" value="0"/> 63 <!-- TX slot --> 64 <ctl name="ASPTX1 Slot Position" value="0"/> 65 <ctl name="R ASPTX1 Slot Position" value="1"/> 66 <ctl name="ASPTX2 Slot Position" value="2"/> 67 <ctl name="R ASPTX2 Slot Position" value="3"/> 68 <ctl name="ASPTX3 Slot Position" value="4"/> 69 <ctl name="R ASPTX3 Slot Position" value="5"/> 70 <ctl name="ASPTX4 Slot Position" value="6"/> 71 <ctl name="R ASPTX4 Slot Position" value="7"/> 72 73 <!-- Cirrus Booster Amp DRE and VBST config--> 74 <ctl name="VBSTMON Output Switch" value="1"/> 75 <ctl name="R VBSTMON Output Switch" value="1"/> 76 <ctl name="DRE DRE Switch" value="1"/> 77 <ctl name="R DRE DRE Switch" value="1"/> 78 79 <!-- Cirrus Booster Amp Output Gain --> 80 <ctl name="AMP PCM Gain" value="17"/> 81 <ctl name="R AMP PCM Gain" value="17"/> 82 <ctl name="Digital PCM Volume" value="817"/> 83 <ctl name="R Digital PCM Volume" value="817"/> 84 85 <!-- Cirrus Booster Amp Power --> 86 <ctl name="Main AMP Enable Switch" value="0"/> 87 <ctl name="R Main AMP Enable Switch" value="0"/> 88 89 <!-- Cirrus Booster mode --> 90 <ctl name="PCM Source" value="DSP"/> 91 <ctl name="R PCM Source" value="DSP"/> 92 <ctl name="DSP1 Firmware" value="Protection"/> 93 <ctl name="R DSP1 Firmware" value="Protection"/> 94 <ctl name="DSP RX1 Source" value="ASPRX1"/> 95 <ctl name="DSP RX2 Source" value="ASPRX1"/> 96 <ctl name="R DSP RX1 Source" value="ASPRX1"/> 97 <ctl name="R DSP RX2 Source" value="ASPRX1"/> 98 <ctl name="Boost Peak Current Limit" value="3.50A"/> 99 <ctl name="R Boost Peak Current Limit" value="3.50A"/> 100 101 <!-- Cirrus ASP TX source --> 102 <ctl name="ASP TX1 Source" value="VMON" /> 103 <ctl name="R ASP TX1 Source" value="VMON" /> 104 <ctl name="ASP TX2 Source" value="IMON" /> 105 <ctl name="R ASP TX2 Source" value="IMON" /> 106 <ctl name="ASP TX3 Source" value="Zero" /> 107 <ctl name="R ASP TX3 Source" value="Zero" /> 108 <ctl name="ASP TX4 Source" value="Zero" /> 109 <ctl name="R ASP TX4 Source" value="Zero" /> 110 111 <!-- Cirrus fast switch init --> 112 <ctl name="Fast Use Case Switch Enable" value="0" /> 113 <ctl name="Fast Use Case Delta File" value="fast_switch5.txt" /> 114 <ctl name="R Fast Use Case Switch Enable" value="0" /> 115 <ctl name="R Fast Use Case Delta File" value="fast_switch5.txt" /> 116 117 <!-- default EP volume --> 118 <ctl name="PCM Playback Switch" value="1"/> 119 <ctl name="PCM Playback Volume" value="10"/> 120 121 <!-- audio RX route initial/default value --> 122 <ctl name="TDM_0_RX Mixer EP1" value="0"/> 123 <ctl name="TDM_0_RX Mixer EP2" value="0"/> 124 <ctl name="TDM_0_RX Mixer EP3" value="0"/> 125 <ctl name="TDM_0_RX Mixer EP4" value="0"/> 126 <ctl name="TDM_0_RX Mixer EP5" value="0"/> 127 <ctl name="TDM_0_RX Mixer EP6" value="0"/> 128 <ctl name="TDM_0_RX Mixer EP7" value="0"/> 129 <ctl name="TDM_0_RX Mixer EP8" value="0"/> 130 <ctl name="TDM_0_RX Mixer NoHost1" value="0"/> 131 <ctl name="TDM_0_RX Mixer VOIP" value="0"/> 132 <ctl name="TDM_0_RX Mixer RAW" value="0"/> 133 <ctl name="TDM_0_RX Mixer IMSV" value="0"/> 134 135 <ctl name="TDM_1_RX Mixer EP1" value="0"/> 136 <ctl name="TDM_1_RX Mixer EP2" value="0"/> 137 <ctl name="TDM_1_RX Mixer EP3" value="0"/> 138 <ctl name="TDM_1_RX Mixer EP4" value="0"/> 139 <ctl name="TDM_1_RX Mixer EP5" value="0"/> 140 <ctl name="TDM_1_RX Mixer EP6" value="0"/> 141 <ctl name="TDM_1_RX Mixer EP7" value="0"/> 142 <ctl name="TDM_1_RX Mixer EP8" value="0"/> 143 <ctl name="TDM_1_RX Mixer NoHost1" value="0"/> 144 145 <ctl name="USB_RX Mixer EP1" value="0"/> 146 <ctl name="USB_RX Mixer EP2" value="0"/> 147 <ctl name="USB_RX Mixer EP3" value="0"/> 148 <ctl name="USB_RX Mixer EP4" value="0"/> 149 <ctl name="USB_RX Mixer EP5" value="0"/> 150 <ctl name="USB_RX Mixer EP6" value="0"/> 151 <ctl name="USB_RX Mixer EP7" value="0"/> 152 <ctl name="USB_RX Mixer NoHost1" value="0"/> 153 <ctl name="USB_RX Mixer VOIP" value="0"/> 154 <ctl name="USB_RX Mixer HIFI" value="0"/> 155 <ctl name="USB_RX Mixer RAW" value="0"/> 156 <ctl name="USB_RX Mixer IMSV" value="0"/> 157 158 <ctl name="BT_RX Mixer EP1" value="0"/> 159 <ctl name="BT_RX Mixer EP2" value="0"/> 160 <ctl name="BT_RX Mixer EP3" value="0"/> 161 <ctl name="BT_RX Mixer EP4" value="0"/> 162 <ctl name="BT_RX Mixer EP5" value="0"/> 163 <ctl name="BT_RX Mixer EP6" value="0"/> 164 <ctl name="BT_RX Mixer EP7" value="0"/> 165 <ctl name="BT_RX Mixer NoHost1" value="0"/> 166 <ctl name="BT_RX Mixer VOIP" value="0"/> 167 <ctl name="BT_RX Mixer RAW" value="0"/> 168 <ctl name="BT_RX Mixer IMSV" value="0"/> 169 170 <ctl name="INCALL_RX Mixer EP1" value="0"/> 171 <ctl name="INCALL_RX Mixer EP2" value="0"/> 172 <ctl name="INCALL_RX Mixer EP3" value="0"/> 173 <ctl name="INCALL_RX Mixer EP4" value="0"/> 174 <ctl name="INCALL_RX Mixer EP5" value="0"/> 175 <ctl name="INCALL_RX Mixer EP6" value="0"/> 176 <ctl name="INCALL_RX Mixer EP7" value="0"/> 177 <ctl name="INCALL_RX Mixer NoHost1" value="0"/> 178 179 <ctl name="SINK_IDS" id="0" value="-1"/> 180 <ctl name="SINK_IDS" id="1" value="-1"/> 181 182 <!-- audio TX route initial/default value --> 183 <ctl name="EP1 TX Mixer TDM_0_TX" value="0"/> 184 <ctl name="EP2 TX Mixer TDM_0_TX" value="0"/> 185 <ctl name="EP3 TX Mixer TDM_0_TX" value="0"/> 186 <ctl name="EP4 TX Mixer TDM_0_TX" value="0"/> 187 <ctl name="EP5 TX Mixer TDM_0_TX" value="0"/> 188 <ctl name="EP6 TX Mixer TDM_0_TX" value="0"/> 189 <ctl name="NoHost1 TX Mixer TDM_0_TX" value="0"/> 190 191 <ctl name="EP1 TX Mixer TDM_1_TX" value="0"/> 192 <ctl name="EP2 TX Mixer TDM_1_TX" value="0"/> 193 <ctl name="EP3 TX Mixer TDM_1_TX" value="0"/> 194 <ctl name="EP4 TX Mixer TDM_1_TX" value="0"/> 195 <ctl name="EP5 TX Mixer TDM_1_TX" value="0"/> 196 <ctl name="EP6 TX Mixer TDM_1_TX" value="0"/> 197 <ctl name="NoHost1 TX Mixer TDM_1_TX" value="0"/> 198 199 <ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="0"/> 200 <ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="0"/> 201 <ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="0"/> 202 <ctl name="EP4 TX Mixer INTERNAL_MIC_TX" value="0"/> 203 <ctl name="EP5 TX Mixer INTERNAL_MIC_TX" value="0"/> 204 <ctl name="EP6 TX Mixer INTERNAL_MIC_TX" value="0"/> 205 <ctl name="NoHost1 TX Mixer INTERNAL_MIC_TX" value="0"/> 206 <ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="0"/> 207 208 <ctl name="EP1 TX Mixer BT_TX" value="0"/> 209 <ctl name="EP2 TX Mixer BT_TX" value="0"/> 210 <ctl name="EP3 TX Mixer BT_TX" value="0"/> 211 <ctl name="EP4 TX Mixer BT_TX" value="0"/> 212 <ctl name="EP5 TX Mixer BT_TX" value="0"/> 213 <ctl name="EP6 TX Mixer BT_TX" value="0"/> 214 <ctl name="NoHost1 TX Mixer BT_TX" value="0"/> 215 <ctl name="VOIP TX Mixer BT_TX" value="0"/> 216 217 <ctl name="EP1 TX Mixer USB_TX" value="0"/> 218 <ctl name="EP2 TX Mixer USB_TX" value="0"/> 219 <ctl name="EP3 TX Mixer USB_TX" value="0"/> 220 <ctl name="EP4 TX Mixer USB_TX" value="0"/> 221 <ctl name="EP5 TX Mixer USB_TX" value="0"/> 222 <ctl name="EP6 TX Mixer USB_TX" value="0"/> 223 <ctl name="NoHost1 TX Mixer USB_TX" value="0"/> 224 <ctl name="VOIP TX Mixer USB_TX" value="0"/> 225 226 <ctl name="EP1 TX Mixer INCALL_TX" value="0"/> 227 <ctl name="EP2 TX Mixer INCALL_TX" value="0"/> 228 <ctl name="EP3 TX Mixer INCALL_TX" value="0"/> 229 <ctl name="EP4 TX Mixer INCALL_TX" value="0"/> 230 <ctl name="EP5 TX Mixer INCALL_TX" value="0"/> 231 <ctl name="EP6 TX Mixer INCALL_TX" value="0"/> 232 <ctl name="NoHost1 TX Mixer INCALL_TX" value="0"/> 233 234 <ctl name="EP4 TX Mixer I2S_2_TX" value="0"/> 235 236 <!-- AoC Mic setting --> 237 <ctl name="MIC DC Blocker" value="1" /> 238 <ctl name="MIC HW Gain At High Power Mode (cB)" value="0" /> 239 <ctl name="MIC Record Soft Gain (dB)" value="-40"/> 240 241 <!-- USB setting v2 --> 242 <ctl name="USB Bus ID v2" value="2"/> 243 <ctl name="USB Dev ID v2" value="2"/> 244 <ctl name="USB Playback EP ID v2" value="1"/> 245 <ctl name="USB Playback FORMAT v2" value="0"/> 246 <ctl name="USB Playback SR v2" value="48000"/> 247 <ctl name="USB Playback CH v2" value="2"/> 248 <ctl name="USB Playback BW v2" value="24"/> 249 <ctl name="USB Capture EP ID v2" value="1"/> 250 <ctl name="USB Capture FORMAT v2" value="0"/> 251 <ctl name="USB Capture SR v2" value="48000"/> 252 <ctl name="USB Capture CH v2" value="1"/> 253 <ctl name="USB Capture BW v2" value="16"/> 254 255 <ctl name="AoC Modem Downlink ASRC Mode" value="ASP_ON"/> 256 <ctl name="Voice Call Mic Source" value="Builtin_MIC"/> 257 <ctl name="Mic Spatial Module Enable" value="0"/> 258 <ctl name="Audio Capture Eraser Enable" value="0"/> 259 260 <!-- audio PDM mic default state --> 261 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="-1"/> 262 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1"/> 263 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/> 264 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/> 265 <ctl name="Audio Capture Mic Source" value="Builtin_MIC"/> 266 267 <!-- sidetone controls --> 268 <ctl name="Sidetone Enable" value="0"/> 269 <ctl name="Sidetone Volume" value="-96"/> 270 <ctl name="Sidetone Selected Mic" value="0"/> 271 <ctl name="Sidetone EQ Stage Number" value="1"/> 272 <!-- IEEE 754, value is in float --> 273 <ctl name="Sidetone Biquad0" id="0" value="0"/> 274 <ctl name="Sidetone Biquad0" id="1" value="0"/> 275 <ctl name="Sidetone Biquad0" id="2" value="0"/> 276 <ctl name="Sidetone Biquad0" id="3" value="0"/> 277 <ctl name="Sidetone Biquad0" id="4" value="0"/> 278 <ctl name="Sidetone Biquad0" id="5" value="0"/> 279 <ctl name="Sidetone Biquad1" id="0" value="0"/> 280 <ctl name="Sidetone Biquad1" id="1" value="0"/> 281 <ctl name="Sidetone Biquad1" id="2" value="0"/> 282 <ctl name="Sidetone Biquad1" id="3" value="0"/> 283 <ctl name="Sidetone Biquad1" id="4" value="0"/> 284 <ctl name="Sidetone Biquad1" id="5" value="0"/> 285 <ctl name="Sidetone Biquad2" id="0" value="0"/> 286 <ctl name="Sidetone Biquad2" id="1" value="0"/> 287 <ctl name="Sidetone Biquad2" id="2" value="0"/> 288 <ctl name="Sidetone Biquad2" id="3" value="0"/> 289 <ctl name="Sidetone Biquad2" id="4" value="0"/> 290 <ctl name="Sidetone Biquad2" id="5" value="0"/> 291 <ctl name="Sidetone Biquad3" id="0" value="0"/> 292 <ctl name="Sidetone Biquad3" id="1" value="0"/> 293 <ctl name="Sidetone Biquad3" id="2" value="0"/> 294 <ctl name="Sidetone Biquad3" id="3" value="0"/> 295 <ctl name="Sidetone Biquad3" id="4" value="0"/> 296 <ctl name="Sidetone Biquad3" id="5" value="0"/> 297 <ctl name="Sidetone Biquad4" id="0" value="0"/> 298 <ctl name="Sidetone Biquad4" id="1" value="0"/> 299 <ctl name="Sidetone Biquad4" id="2" value="0"/> 300 <ctl name="Sidetone Biquad4" id="3" value="0"/> 301 <ctl name="Sidetone Biquad4" id="4" value="0"/> 302 <ctl name="Sidetone Biquad4" id="5" value="0"/> 303 304 <ctl name="Incall Capture Stream0" value="Off"/> 305 <ctl name="Incall Capture Stream1" value="Off"/> 306 <ctl name="Incall Capture Stream2" value="Off"/> 307 308 <!-- These two controls control the muting function of mics and sinks during the voice call. --> 309 <!-- They would be enabled by HAL. --> 310 <ctl name="Incall Sink Mute" value="0"/> 311 <ctl name="Incall Mic Mute" value="0"/> 312 313 <!-- Decoder Reference Enable is controlled in aoc_control --> 314 <ctl name="Decoder Reference Enable" value="0"/> 315 <ctl name="LVM Enable" value="0"/> 316 317 <!-- sidetone dynamic control --> 318 <path name="sidetone-for handset"> 319 <!-- 1065353216 = 0x3f800000 = 1.0 --> 320 <ctl name="Sidetone Biquad0" id="0" value="1065353216"/> 321 <ctl name="Sidetone Biquad0" id="1" value="1065353216"/> 322 <ctl name="Sidetone Biquad0" id="2" value="0"/> 323 <ctl name="Sidetone Biquad0" id="3" value="0"/> 324 <ctl name="Sidetone Biquad0" id="4" value="0"/> 325 <ctl name="Sidetone Biquad0" id="5" value="0"/> 326 <ctl name="Sidetone Biquad1" id="0" value="1065353216"/> 327 <ctl name="Sidetone Biquad1" id="1" value="1065353216"/> 328 <ctl name="Sidetone Biquad1" id="2" value="0"/> 329 <ctl name="Sidetone Biquad1" id="3" value="0"/> 330 <ctl name="Sidetone Biquad1" id="4" value="0"/> 331 <ctl name="Sidetone Biquad1" id="5" value="0"/> 332 <ctl name="Sidetone Biquad2" id="0" value="1065353216"/> 333 <ctl name="Sidetone Biquad2" id="1" value="1065353216"/> 334 <ctl name="Sidetone Biquad2" id="2" value="0"/> 335 <ctl name="Sidetone Biquad2" id="3" value="0"/> 336 <ctl name="Sidetone Biquad2" id="4" value="0"/> 337 <ctl name="Sidetone Biquad2" id="5" value="0"/> 338 <ctl name="Sidetone Biquad3" id="0" value="1065353216"/> 339 <ctl name="Sidetone Biquad3" id="1" value="1065353216"/> 340 <ctl name="Sidetone Biquad3" id="2" value="0"/> 341 <ctl name="Sidetone Biquad3" id="3" value="0"/> 342 <ctl name="Sidetone Biquad3" id="4" value="0"/> 343 <ctl name="Sidetone Biquad3" id="5" value="0"/> 344 <ctl name="Sidetone Biquad4" id="0" value="1065353216"/> 345 <ctl name="Sidetone Biquad4" id="1" value="1065353216"/> 346 <ctl name="Sidetone Biquad4" id="2" value="0"/> 347 <ctl name="Sidetone Biquad4" id="3" value="0"/> 348 <ctl name="Sidetone Biquad4" id="4" value="0"/> 349 <ctl name="Sidetone Biquad4" id="5" value="0"/> 350 <ctl name="Sidetone EQ Stage Number" value="5"/> 351 <ctl name="Sidetone Volume" value="-90"/> 352 <ctl name="Sidetone Enable" value="1"/> 353 </path> 354 355 <!-- audio playback dynamic route --> 356 <path name="deep-buffer-playbackP"> 357 <ctl name="TDM_0_RX Mixer EP6" value="1"/> 358 </path> 359 360 <path name="deep-buffer-playbackP hac-handset"> 361 </path> 362 363 <path name="deep-buffer-playbackP bt"> 364 <ctl name="BT_RX Mixer EP6" value="1"/> 365 </path> 366 367 <path name="deep-buffer-playbackP usb-headphone"> 368 <ctl name="USB_RX Mixer EP6" value="1"/> 369 </path> 370 371 <path name="deep-buffer-playbackP hearing-aid"> 372 </path> 373 374 <path name="low-latency-playbackP"> 375 <ctl name="TDM_0_RX Mixer EP2" value="1"/> 376 </path> 377 378 <path name="low-latency-playbackP hac-handset"> 379 </path> 380 381 <path name="low-latency-playbackP bt"> 382 <ctl name="BT_RX Mixer EP2" value="1"/> 383 </path> 384 385 <path name="low-latency-playbackP usb-headphone"> 386 <ctl name="USB_RX Mixer EP2" value="1"/> 387 </path> 388 389 <path name="low-latency-playbackP hearing-aid"> 390 </path> 391 392 <path name="raw-playbackP"> 393 <ctl name="TDM_0_RX Mixer RAW" value="1"/> 394 </path> 395 396 <path name="raw-playbackP hac-handset"> 397 </path> 398 399 <path name="raw-playbackP usb-headphone"> 400 <ctl name="USB_RX Mixer RAW" value="1"/> 401 </path> 402 403 <path name="raw-playbackP hearing-aid"> 404 </path> 405 406 <path name="raw-playbackP bt"> 407 <ctl name="BT_RX Mixer RAW" value="1"/> 408 </path> 409 410 <path name="mmap-playbackP"> 411 <ctl name="TDM_0_RX Mixer EP1" value="1"/> 412 </path> 413 414 <path name="mmap-playbackP hac-handset"> 415 </path> 416 417 <path name="mmap-playbackP usb-headphone"> 418 <ctl name="USB_RX Mixer EP1" value="1"/> 419 </path> 420 421 <path name="mmap-playbackP bt"> 422 <ctl name="BT_RX Mixer EP1" value="1"/> 423 </path> 424 425 <path name="mmap-playbackP hearing-aid"> 426 </path> 427 428 <path name="compress-offload-playback"> 429 <ctl name="LVM Enable" value="1" /> 430 </path> 431 432 <path name="compress-offload-playbackP"> 433 <path name="compress-offload-playback" /> 434 <ctl name="TDM_0_RX Mixer EP7" value="1"/> 435 </path> 436 437 <path name="compress-offload-playbackP hac-handset"> 438 <path name="compress-offload-playback" /> 439 </path> 440 441 <path name="compress-offload-playbackP bt"> 442 <path name="compress-offload-playback" /> 443 <ctl name="BT_RX Mixer EP7" value="1"/> 444 </path> 445 446 <path name="compress-offload-playbackP usb-headphone"> 447 <path name="compress-offload-playback" /> 448 <ctl name="USB_RX Mixer EP7" value="1"/> 449 </path> 450 451 <path name="compress-offload-playbackP hearing-aid"> 452 <path name="compress-offload-playback" /> 453 </path> 454 455 <path name="immersive-playbackP"> 456 <ctl name="TDM_0_RX Mixer IMSV" value="1"/> 457 </path> 458 459 <path name="immersive-playbackP bt"> 460 <ctl name="BT_RX Mixer IMSV" value="1"/> 461 </path> 462 463 <path name="immersive-playbackP usb-headphone"> 464 <ctl name="USB_RX Mixer IMSV" value="1"/> 465 </path> 466 467 <path name="voip-playbackP"> 468 <ctl name="TDM_0_RX Mixer VOIP" value="1"/> 469 </path> 470 471 <path name="voip-playbackP hac-handset"> 472 </path> 473 474 <path name="voip-playbackP bt"> 475 <ctl name="BT_RX Mixer VOIP" value="1"/> 476 </path> 477 478 <path name="voip-playbackP usb-headphone"> 479 <ctl name="USB_RX Mixer VOIP" value="1"/> 480 </path> 481 482 <path name="voip-playbackP hearing-aid"> 483 </path> 484 485 <path name="haptic-audioP"> 486 <ctl name="TDM_0_RX Mixer EP3" value="1"/> 487 <ctl name="TDM_0_RX Mixer EP8" value="1"/> 488 </path> 489 490 <path name="haptic-audioP hac-handset"> 491 </path> 492 493 <path name="haptic-audioP bt"> 494 <ctl name="BT_RX Mixer EP3" value="1"/> 495 <ctl name="TDM_0_RX Mixer EP8" value="1"/> 496 </path> 497 498 <path name="haptic-audioP usb-headphone"> 499 <ctl name="USB_RX Mixer EP3" value="1"/> 500 <ctl name="TDM_0_RX Mixer EP8" value="1"/> 501 </path> 502 503 <path name="hifi-playbackP"> 504 </path> 505 506 <path name="hifi-playbackP usb-headphone"> 507 <ctl name="USB_RX Mixer HIFI" value="1"/> 508 </path> 509 510 <path name="hifi-recordC"> 511 </path> 512 513 <path name="hifi-recordC usb-headset-mic"> 514 </path> 515 516 <!-- audio capture dynamic route --> 517 <path name="audio-recordC"> 518 <ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="1"/> 519 </path> 520 521 <path name="audio-recordC usb-headset-mic"> 522 <ctl name="EP1 TX Mixer USB_TX" value="1"/> 523 </path> 524 525 <path name="audio-recordC bt-mic"> 526 <ctl name="EP1 TX Mixer BT_TX" value="1"/> 527 </path> 528 529 <path name="voip-recordC"> 530 <ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1"/> 531 </path> 532 533 <path name="voip-recordC usb-headset-mic"> 534 <ctl name="VOIP TX Mixer USB_TX" value="1"/> 535 </path> 536 537 <path name="voip-recordC bt-mic"> 538 <ctl name="VOIP TX Mixer BT_TX" value="1"/> 539 </path> 540 541 <!-- voice-call dynamic route --> 542 <path name="voice-callP"> 543 <ctl name="TDM_0_RX Mixer EP5" value="1"/> 544 </path> 545 546 <path name="voice-callP bt"> 547 <ctl name="BT_RX Mixer EP5" value="1"/> 548 </path> 549 550 <path name="voice-callP usb-headphone"> 551 <ctl name="USB_RX Mixer EP5" value="1"/> 552 </path> 553 554 <path name="voice-callP hearing-aid"> 555 <ctl name="INCALL_RX Mixer EP5" value="1"/> 556 </path> 557 558 <path name="voice-callP call-screen"> 559 <ctl name="INCALL_RX Mixer EP5" value="1"/> 560 </path> 561 562 <path name="voice-callC"> 563 <ctl name="EP4 TX Mixer INTERNAL_MIC_TX" value="1"/> 564 </path> 565 566 <path name="voice-callC usb-headset-mic"> 567 <ctl name="EP4 TX Mixer USB_TX" value="1"/> 568 </path> 569 570 <path name="voice-callC bt-mic"> 571 <ctl name="EP4 TX Mixer BT_TX" value="1"/> 572 </path> 573 574 <path name="voice-callC hearing-aid"> 575 <ctl name="EP4 TX Mixer INCALL_TX" value="1"/> 576 </path> 577 578 <path name="voice-callC call-screen"> 579 <ctl name="EP4 TX Mixer INCALL_TX" value="1"/> 580 </path> 581 582 <path name="hostless-ulC spk-vi"> 583 <ctl name="NoHost1 TX Mixer TDM_0_TX" value="1"/> 584 </path> 585 586 <path name="telephony-rx-captureC"> 587 <ctl name="Incall Capture Stream0" value="DL"/> 588 </path> 589 590 <path name="incall-capture1C uplink"> 591 <ctl name="Incall Capture Stream1" value="UL"/> 592 </path> 593 594 <path name="incall-capture1C downlink"> 595 <ctl name="Incall Capture Stream1" value="DL"/> 596 </path> 597 598 <path name="incall-capture1C call"> 599 <ctl name="Incall Capture Stream1" value="UL_DL"/> 600 </path> 601 602 <path name="incall-capture2C uplink"> 603 <ctl name="Incall Capture Stream2" value="UL"/> 604 </path> 605 606 <path name="incall-capture2C downlink"> 607 <ctl name="Incall Capture Stream2" value="DL"/> 608 </path> 609 610 <path name="incall-capture2C call"> 611 <ctl name="Incall Capture Stream2" value="UL_DL"/> 612 </path> 613 614 <path name="low-latency-recordC"> 615 <ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="1"/> 616 </path> 617 618 <path name="low-latency-recordC usb-headset-mic"> 619 <ctl name="EP3 TX Mixer USB_TX" value="1"/> 620 </path> 621 622 <path name="low-latency-recordC bt-mic"> 623 <ctl name="EP3 TX Mixer BT_TX" value="1"/> 624 </path> 625 626 <path name="mmap-recordC"> 627 <ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1"/> 628 </path> 629 630 <path name="mmap-recordC usb-headset-mic"> 631 <ctl name="EP2 TX Mixer USB_TX" value="1"/> 632 </path> 633 634 <path name="mmap-recordC bt-mic"> 635 <ctl name="EP2 TX Mixer BT_TX" value="1"/> 636 </path> 637 638 <!-- codec setting -->> 639 <!-- Rx device --> 640 <path name="handset"> 641 <ctl name="PCM Source" value="ASP"/> 642 <ctl name="AMP PCM Gain" value="6"/> 643 <ctl name="Main AMP Enable Switch" value="1"/> 644 </path> 645 646 <path name="voice-handset"> 647 <ctl name="Boost Peak Current Limit" value="3.50A"/> 648 <ctl name="PCM Source" value="ASP"/> 649 <ctl name="AMP PCM Gain" value="7"/> 650 <ctl name="Main AMP Enable Switch" value="1"/> 651 </path> 652 653 <path name="voice-hac"> 654 <path name="voice-handset"/> 655 </path> 656 657 <path name="voice-hac-handset"> 658 </path> 659 660 <path name="speaker"> 661 <ctl name="Boost Peak Current Limit" value="2.50A"/> 662 <ctl name="R Boost Peak Current Limit" value="2.50A"/> 663 <ctl name="Main AMP Enable Switch" value="1"/> 664 <ctl name="R Main AMP Enable Switch" value="1"/> 665 </path> 666 667 <path name="speaker-post"> 668 <!-- load Bypass FIR --> 669 <ctl name="Fast Use Case Delta File" value="fast_switch3.txt" /> 670 <ctl name="Fast Use Case Switch Enable" value="1" /> 671 <ctl name="R Fast Use Case Delta File" value="fast_switch4.txt" /> 672 <ctl name="R Fast Use Case Switch Enable" value="1" /> 673 </path> 674 675 <path name="voice-speaker"> 676 <ctl name="R Boost Peak Current Limit" value="3.50A"/> 677 <ctl name="Boost Peak Current Limit" value="3.50A"/> 678 <ctl name="ASPTX1 Slot Position" value="1"/> 679 <ctl name="R ASPTX1 Slot Position" value="0"/> 680 <!--<ctl name="R DSP RX2 Source" value="ASPRX2"/>--> 681 <ctl name="R Main AMP Enable Switch" value="1"/> 682 <ctl name="Main AMP Enable Switch" value="1"/> 683 </path> 684 685 <path name="voice-speaker-post"> 686 <!-- load Enable FIR --> 687 <ctl name="Fast Use Case Delta File" value="fast_switch1.txt" /> 688 <ctl name="Fast Use Case Switch Enable" value="1" /> 689 <ctl name="R Fast Use Case Delta File" value="fast_switch2.txt" /> 690 <ctl name="R Fast Use Case Switch Enable" value="1" /> 691 <ctl name="Digital PCM Volume" value="800"/> 692 </path> 693 694 <path name="voice-dual-speaker"> 695 <!-- Speaker Separation --> 696 <path name="voice-speaker" /> 697 <path name="voice-speaker-post" /> 698 </path> 699 700 <path name="speaker-safe"> 701 <ctl name="R Boost Peak Current Limit" value="3.50A"/> 702 <ctl name="R Main AMP Enable Switch" value="1"/> 703 </path> 704 705 <path name="speaker-safe-post"> 706 <!-- load Bypass FIR --> 707 <ctl name="R Fast Use Case Delta File" value="fast_switch4.txt" /> 708 <ctl name="R Fast Use Case Switch Enable" value="1" /> 709 </path> 710 711 <path name="usb-tty-full"> 712 </path> 713 714 <path name="usb-tty-hco"> 715 </path> 716 717 <path name="usb-tty-vco"> 718 </path> 719 720 <!-- Tx device --> 721 <path name="handset-mic"> 722 <ctl name="Mic Spatial Module Enable" value="1"/> 723 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/> 724 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3"/> 725 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/> 726 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/> 727 <ctl name="MIC DC Blocker" value="1"/> 728 </path> 729 730 <path name="handset-mic-post"> 731 <ctl name="MIC Record Soft Gain (dB)" value="22"/> 732 </path> 733 734 <path name="voice-handset-mic"> 735 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/> 736 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3"/> 737 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/> 738 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/> 739 <ctl name="MIC DC Blocker" value="1"/> 740 <ctl name="MIC HW Gain At High Power Mode (cB)" value="130"/> 741 </path> 742 743 <path name="voice-handset-mic-post"> 744 <ctl name="MIC Record Soft Gain (dB)" value="0"/> 745 </path> 746 747 <path name="speaker-mic"> 748 <ctl name="Mic Spatial Module Enable" value="1"/> 749 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/> 750 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3"/> 751 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/> 752 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/> 753 <ctl name="MIC DC Blocker" value="1"/> 754 </path> 755 756 <path name="speaker-mic-post"> 757 <ctl name="MIC Record Soft Gain (dB)" value="22"/> 758 </path> 759 760 <path name="voice-speaker-mic"> 761 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/> 762 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3"/> 763 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/> 764 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/> 765 <ctl name="MIC DC Blocker" value="1"/> 766 <ctl name="MIC HW Gain At High Power Mode (cB)" value="130"/> 767 </path> 768 769 <path name="voice-speaker-mic-post"> 770 <ctl name="MIC Record Soft Gain (dB)" value="0"/> 771 </path> 772 773 <path name="camcorder-mic"> 774 <ctl name="Mic Spatial Module Enable" value="1"/> 775 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/> 776 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3"/> 777 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/> 778 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/> 779 <ctl name="MIC DC Blocker" value="1"/> 780 </path> 781 782 <path name="camcorder-mic-post"> 783 <ctl name="MIC Record Soft Gain (dB)" value="0"/> 784 </path> 785 786 <path name="voice-recog-mic"> 787 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/> 788 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3"/> 789 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/> 790 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/> 791 <ctl name="MIC DC Blocker" value="1"/> 792 </path> 793 794 <path name="voice-recog-mic-post"> 795 <ctl name="MIC Record Soft Gain (dB)" value="22"/> 796 </path> 797 798 <path name="voice-recog-aec-mic"> 799 <ctl name="Audio Capture Eraser Enable" value="1"/> 800 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/> 801 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3"/> 802 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/> 803 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/> 804 <ctl name="MIC DC Blocker" value="1"/> 805 <ctl name="Audio Capture Mic Source" value="ERASER"/> 806 </path> 807 808 <path name="voice-recog-aec-mic-post"> 809 <ctl name="MIC Record Soft Gain (dB)" value="0"/> 810 </path> 811 812 <path name="unprocessed-mic"> 813 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/> 814 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3"/> 815 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/> 816 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/> 817 <ctl name="MIC DC Blocker" value="1"/> 818 </path> 819 820 <path name="unprocessed-mic-post"> 821 <ctl name="MIC Record Soft Gain (dB)" value="5"/> 822 </path> 823 824 <path name="unprocessed-dual-mic"> 825 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/> 826 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3"/> 827 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/> 828 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/> 829 <ctl name="MIC DC Blocker" value="1"/> 830 </path> 831 832 <path name="unprocessed-dual-mic-post"> 833 <ctl name="MIC Record Soft Gain (dB)" value="5"/> 834 </path> 835 836 <path name="unprocessed-triple-mic"> 837 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/> 838 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3"/> 839 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/> 840 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/> 841 <ctl name="MIC DC Blocker" value="1"/> 842 </path> 843 844 <path name="unprocessed-triple-mic-post"> 845 <ctl name="MIC Record Soft Gain (dB)" value="5"/> 846 </path> 847 848 <path name="bt-mic"> 849 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/> 850 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3"/> 851 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/> 852 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/> 853 <ctl name="Audio Capture Mic Source" value="BT_MIC"/> 854 <ctl name="Voice Call Mic Source" value="BT_MIC"/> 855 </path> 856 857 <path name="bt-mic-post"> 858 <ctl name="MIC Record Soft Gain (dB)" value="0"/> 859 </path> 860 861 <path name="usb-headset-mic"> 862 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/> 863 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3"/> 864 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/> 865 <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/> 866 <ctl name="Audio Capture Mic Source" value="USB_MIC"/> 867 <ctl name="Voice Call Mic Source" value="USB_MIC"/> 868 </path> 869 870 <path name="usb-headset-mic-post"> 871 <ctl name="MIC Record Soft Gain (dB)" value="0"/> 872 </path> 873 874 <!-- cs35l41 specific path to load firmware in cs35l41.c --> 875 <path name="cs35l41-load-protection-firmware-start"> 876 <!-- Enable it after get the protection firmware --> 877 <ctl name="DSP Booted" value="0" /> 878 <ctl name="R DSP Booted" value="0" /> 879 <ctl name="DSP1 Preload Switch" value="0" /> 880 <ctl name="R DSP1 Preload Switch" value="0" /> 881 </path> 882 883 <path name="cs35l41-load-protection-firmware-end"> 884 <!-- Enable it after get the protection firmware --> 885 <ctl name="DSP1 Preload Switch" value="1" /> 886 <ctl name="R DSP1 Preload Switch" value="1" /> 887 </path> 888 <!-- cs35l41 specific path to load firmware in cs35l41.c end--> 889</mixer> 890