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