<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2022, The Linux Foundation. All rights reserved.         -->
<!--                                                                        -->
<!-- Redistribution and use in source and binary forms, with or without     -->
<!-- modification, are permitted provided that the following conditions are -->
<!-- met:                                                                   -->
<!--     * Redistributions of source code must retain the above copyright   -->
<!--       notice, this list of conditions and the following disclaimer.    -->
<!--     * Redistributions in binary form must reproduce the above          -->
<!--       copyright notice, this list of conditions and the following      -->
<!--       disclaimer in the documentation and/or other materials provided  -->
<!--       with the distribution.                                           -->
<!--     * Neither the name of The Linux Foundation nor the names of its    -->
<!--       contributors may be used to endorse or promote products derived  -->
<!--       from this software without specific prior written permission.    -->
<!--                                                                        -->
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED           -->
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF   -->
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
<!-- ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF   -->
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR        -->
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,  -->
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.                          -->
<mixer>
  <!-- Initial default value of ALSA command -->
  <!-- PCM timeout -->
  <ctl name="PCM Stream Wait Time in MSec" value="100" />
  <ctl name="Voice PCM Stream Wait Time in MSec" value="500" />

  <!-- Enable it when AOC is ready to trim delay and padding -->
  <ctl name="Gapless Offload Enable" value="1" />

  <!-- TDM 0 setting -->
  <ctl name="TDM_0_RX Chan" value="Four" />
  <ctl name="TDM_0_RX Format" value="S32_LE" />
  <ctl name="TDM_0_RX Sample Rate" value="SR_48K" />
  <ctl name="TDM_0_TX Chan" value="Four" />
  <ctl name="TDM_0_TX Format" value="S32_LE" />
  <ctl name="TDM_0_TX Sample Rate" value="SR_48K" />

  <!-- Haptic setting -->
  <ctl name="Haptics Source" value="PCM" />
  <ctl name="HAPTIC_RX Format" value="S32_LE" />
  <ctl name="HAPTIC_RX SlotFmt" value="S32_LE" />
  <ctl name="HAPTIC_RX Chan" value="Four" />
  <ctl name="HAPTIC_RX nSlot" value="Four" />
  <ctl name="RX Slots" id="0" value="2" />
  <ctl name="RX Slots" id="1" value="3" />

  <!-- Cirrus default 96K -->
  <ctl name="Default 96K" value="0" />
  <ctl name="R Default 96K" value="0" />

  <!-- Cirrus Booster Amp TDM slot assignment-->
  <!-- RX slot -->
  <ctl name="ASPRX1 Slot Position" value="0" />
  <ctl name="ASPRX2 Slot Position" value="1" />
  <ctl name="R ASPRX1 Slot Position" value="1" />
  <ctl name="R ASPRX2 Slot Position" value="0" />
  <!-- TX slot -->
  <ctl name="ASPTX1 Slot Position" value="0" />
  <ctl name="R ASPTX1 Slot Position" value="1" />
  <ctl name="ASPTX2 Slot Position" value="2" />
  <ctl name="R ASPTX2 Slot Position" value="3" />
  <ctl name="ASPTX3 Slot Position" value="4" />
  <ctl name="R ASPTX3 Slot Position" value="5" />
  <ctl name="ASPTX4 Slot Position" value="6" />
  <ctl name="R ASPTX4 Slot Position" value="7" />

  <!-- Cirrus Booster Amp DRE and VBST config-->
  <ctl name="VBSTMON Output Switch" value="1" />
  <ctl name="R VBSTMON Output Switch" value="1" />
  <ctl name="DRE DRE Switch" value="1" />
  <ctl name="R DRE DRE Switch" value="1" />

  <!-- Cirrus Booster Amp Output Gain -->
  <ctl name="AMP PCM Gain" value="17" />
  <ctl name="R AMP PCM Gain" value="17" />
  <ctl name="Digital PCM Volume" value="0" />
  <ctl name="R Digital PCM Volume" value="0" />

  <!-- Cirrus Booster Amp Power -->
  <ctl name="Main AMP Enable Switch" value="0" />
  <ctl name="R Main AMP Enable Switch" value="0" />

  <!-- Cirrus Booster mode -->
  <ctl name="PCM Source" value="DSP" />
  <ctl name="R PCM Source" value="DSP" />
  <ctl name="DSP1 Firmware" value="Protection" />
  <ctl name="R DSP1 Firmware" value="Protection" />
  <ctl name="DSP RX1 Source" value="ASPRX1" />
  <ctl name="DSP RX2 Source" value="ASPRX1" />
  <ctl name="R DSP RX1 Source" value="ASPRX1" />
  <ctl name="R DSP RX2 Source" value="ASPRX1" />
  <ctl name="Boost Peak Current Limit" value="3.50A" />
  <ctl name="R Boost Peak Current Limit" value="3.50A" />
  <ctl name="PCM Soft Ramp" value=".5ms" />
  <ctl name="R PCM Soft Ramp" value=".5ms" />

  <!-- Cirrus ASP TX source -->
  <ctl name="ASP TX1 Source" value="VMON" />
  <ctl name="R ASP TX1 Source" value="VMON" />
  <ctl name="ASP TX2 Source" value="IMON" />
  <ctl name="R ASP TX2 Source" value="IMON" />
  <ctl name="ASP TX3 Source" value="Zero" />
  <ctl name="R ASP TX3 Source" value="Zero" />
  <ctl name="ASP TX4 Source" value="Zero" />
  <ctl name="R ASP TX4 Source" value="Zero" />

  <!-- Cirrus fast switch init -->
  <ctl name="Fast Use Case Switch Enable" value="0" />
  <ctl name="Fast Use Case Delta File" value="fast_switch5.txt" />
  <ctl name="R Fast Use Case Switch Enable" value="0" />
  <ctl name="R Fast Use Case Delta File" value="fast_switch5.txt" />

  <!-- default EP volume -->
  <ctl name="PCM Playback Switch" value="1" />
  <ctl name="PCM Playback Volume" value="10" />

  <!-- audio RX route initial/default value -->
  <ctl name="TDM_0_RX Mixer EP1" value="0" />
  <ctl name="TDM_0_RX Mixer EP2" value="0" />
  <ctl name="TDM_0_RX Mixer EP3" value="0" />
  <ctl name="TDM_0_RX Mixer EP4" value="0" />
  <ctl name="TDM_0_RX Mixer EP5" value="0" />
  <ctl name="TDM_0_RX Mixer EP6" value="0" />
  <ctl name="TDM_0_RX Mixer EP7" value="0" />
  <ctl name="TDM_0_RX Mixer EP8" value="0" />
  <ctl name="TDM_0_RX Mixer NoHost1" value="0" />
  <ctl name="TDM_0_RX Mixer VOIP" value="0" />
  <ctl name="TDM_0_RX Mixer RAW" value="0" />
  <ctl name="TDM_0_RX Mixer IMSV" value="0" />

  <ctl name="TDM_1_RX Mixer EP1" value="0" />
  <ctl name="TDM_1_RX Mixer EP2" value="0" />
  <ctl name="TDM_1_RX Mixer EP3" value="0" />
  <ctl name="TDM_1_RX Mixer EP4" value="0" />
  <ctl name="TDM_1_RX Mixer EP5" value="0" />
  <ctl name="TDM_1_RX Mixer EP6" value="0" />
  <ctl name="TDM_1_RX Mixer EP7" value="0" />
  <ctl name="TDM_1_RX Mixer EP8" value="0" />
  <ctl name="TDM_1_RX Mixer NoHost1" value="0" />

  <ctl name="USB_RX Mixer EP1" value="0" />
  <ctl name="USB_RX Mixer EP2" value="0" />
  <ctl name="USB_RX Mixer EP3" value="0" />
  <ctl name="USB_RX Mixer EP4" value="0" />
  <ctl name="USB_RX Mixer EP5" value="0" />
  <ctl name="USB_RX Mixer EP6" value="0" />
  <ctl name="USB_RX Mixer EP7" value="0" />
  <ctl name="USB_RX Mixer NoHost1" value="0" />
  <ctl name="USB_RX Mixer VOIP" value="0" />
  <ctl name="USB_RX Mixer HIFI" value="0" />
  <ctl name="USB_RX Mixer RAW" value="0" />
  <ctl name="USB_RX Mixer IMSV" value="0" />

  <ctl name="BT_RX Mixer EP1" value="0" />
  <ctl name="BT_RX Mixer EP2" value="0" />
  <ctl name="BT_RX Mixer EP3" value="0" />
  <ctl name="BT_RX Mixer EP4" value="0" />
  <ctl name="BT_RX Mixer EP5" value="0" />
  <ctl name="BT_RX Mixer EP6" value="0" />
  <ctl name="BT_RX Mixer EP7" value="0" />
  <ctl name="BT_RX Mixer NoHost1" value="0" />
  <ctl name="BT_RX Mixer VOIP" value="0" />
  <ctl name="BT_RX Mixer RAW" value="0" />
  <ctl name="BT_RX Mixer IMSV" value="0" />

  <ctl name="INCALL_RX Mixer EP1" value="0" />
  <ctl name="INCALL_RX Mixer EP2" value="0" />
  <ctl name="INCALL_RX Mixer EP3" value="0" />
  <ctl name="INCALL_RX Mixer EP4" value="0" />
  <ctl name="INCALL_RX Mixer EP5" value="0" />
  <ctl name="INCALL_RX Mixer EP6" value="0" />
  <ctl name="INCALL_RX Mixer EP7" value="0" />
  <ctl name="INCALL_RX Mixer NoHost1" value="0" />

  <ctl name="SINK_IDS" id="0" value="-1" />
  <ctl name="SINK_IDS" id="1" value="-1" />

  <!-- audio TX route initial/default value -->
  <ctl name="EP1 TX Mixer TDM_0_TX" value="0" />
  <ctl name="EP2 TX Mixer TDM_0_TX" value="0" />
  <ctl name="EP3 TX Mixer TDM_0_TX" value="0" />
  <ctl name="EP4 TX Mixer TDM_0_TX" value="0" />
  <ctl name="EP5 TX Mixer TDM_0_TX" value="0" />
  <ctl name="EP6 TX Mixer TDM_0_TX" value="0" />
  <ctl name="NoHost1 TX Mixer TDM_0_TX" value="0" />

  <ctl name="EP1 TX Mixer TDM_1_TX" value="0" />
  <ctl name="EP2 TX Mixer TDM_1_TX" value="0" />
  <ctl name="EP3 TX Mixer TDM_1_TX" value="0" />
  <ctl name="EP4 TX Mixer TDM_1_TX" value="0" />
  <ctl name="EP5 TX Mixer TDM_1_TX" value="0" />
  <ctl name="EP6 TX Mixer TDM_1_TX" value="0" />
  <ctl name="NoHost1 TX Mixer TDM_1_TX" value="0" />

  <ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="0" />
  <ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="0" />
  <ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="0" />
  <ctl name="EP4 TX Mixer INTERNAL_MIC_TX" value="0" />
  <ctl name="EP5 TX Mixer INTERNAL_MIC_TX" value="0" />
  <ctl name="EP6 TX Mixer INTERNAL_MIC_TX" value="0" />
  <ctl name="NoHost1 TX Mixer INTERNAL_MIC_TX" value="0" />
  <ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="0" />

  <ctl name="EP1 TX Mixer BT_TX" value="0" />
  <ctl name="EP2 TX Mixer BT_TX" value="0" />
  <ctl name="EP3 TX Mixer BT_TX" value="0" />
  <ctl name="EP4 TX Mixer BT_TX" value="0" />
  <ctl name="EP5 TX Mixer BT_TX" value="0" />
  <ctl name="EP6 TX Mixer BT_TX" value="0" />
  <ctl name="NoHost1 TX Mixer BT_TX" value="0" />
  <ctl name="VOIP TX Mixer BT_TX" value="0" />

  <ctl name="EP1 TX Mixer USB_TX" value="0" />
  <ctl name="EP2 TX Mixer USB_TX" value="0" />
  <ctl name="EP3 TX Mixer USB_TX" value="0" />
  <ctl name="EP4 TX Mixer USB_TX" value="0" />
  <ctl name="EP5 TX Mixer USB_TX" value="0" />
  <ctl name="EP6 TX Mixer USB_TX" value="0" />
  <ctl name="NoHost1 TX Mixer USB_TX" value="0" />
  <ctl name="VOIP TX Mixer USB_TX" value="0" />

  <ctl name="EP1 TX Mixer INCALL_TX" value="0" />
  <ctl name="EP2 TX Mixer INCALL_TX" value="0" />
  <ctl name="EP3 TX Mixer INCALL_TX" value="0" />
  <ctl name="EP4 TX Mixer INCALL_TX" value="0" />
  <ctl name="EP5 TX Mixer INCALL_TX" value="0" />
  <ctl name="EP6 TX Mixer INCALL_TX" value="0" />
  <ctl name="NoHost1 TX Mixer INCALL_TX" value="0" />

  <ctl name="EP4 TX Mixer I2S_2_TX" value="0" />

  <!-- AoC Mic setting -->
  <ctl name="MIC DC Blocker" value="1" />
  <ctl name="MIC HW Gain At High Power Mode (cB)" value="0" />
  <ctl name="MIC Record Soft Gain (dB)" value="-40" />

  <!-- USB setting v2 -->
  <ctl name="USB Bus ID v2" value="2" />
  <ctl name="USB Dev ID v2" value="2" />
  <ctl name="USB Playback EP ID v2" value="1" />
  <ctl name="USB Playback FORMAT v2" value="0" />
  <ctl name="USB Playback SR v2" value="48000" />
  <ctl name="USB Playback CH v2" value="2" />
  <ctl name="USB Playback BW v2" value="24" />
  <ctl name="USB Capture EP ID v2" value="1" />
  <ctl name="USB Capture FORMAT v2" value="0" />
  <ctl name="USB Capture SR v2" value="48000" />
  <ctl name="USB Capture CH v2" value="1" />
  <ctl name="USB Capture BW v2" value="16" />

  <ctl name="AoC Modem Downlink ASRC Mode" value="ASP_ON" />
  <ctl name="Voice Call Mic Source" value="Builtin_MIC" />
  <ctl name="Mic Spatial Module Enable" value="0" />
  <ctl name="Audio Capture Eraser Enable" value="0" />
  <ctl name="Hotword Tap Enable" value="0" />

  <!-- audio PDM mic default state -->
  <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="-1" />
  <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
  <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1" />
  <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
  <ctl name="Audio Capture Mic Source" value="Builtin_MIC" />

  <!-- sidetone controls -->
  <ctl name="Sidetone Enable" value="0" />
  <ctl name="Sidetone Volume" value="-96" />
  <ctl name="Sidetone Selected Mic" value="0" />
  <ctl name="Sidetone EQ Stage Number" value="1" />
  <!-- IEEE 754, value is in float -->
  <ctl name="Sidetone Biquad0" id="0" value="0" />
  <ctl name="Sidetone Biquad0" id="1" value="0" />
  <ctl name="Sidetone Biquad0" id="2" value="0" />
  <ctl name="Sidetone Biquad0" id="3" value="0" />
  <ctl name="Sidetone Biquad0" id="4" value="0" />
  <ctl name="Sidetone Biquad0" id="5" value="0" />
  <ctl name="Sidetone Biquad1" id="0" value="0" />
  <ctl name="Sidetone Biquad1" id="1" value="0" />
  <ctl name="Sidetone Biquad1" id="2" value="0" />
  <ctl name="Sidetone Biquad1" id="3" value="0" />
  <ctl name="Sidetone Biquad1" id="4" value="0" />
  <ctl name="Sidetone Biquad1" id="5" value="0" />
  <ctl name="Sidetone Biquad2" id="0" value="0" />
  <ctl name="Sidetone Biquad2" id="1" value="0" />
  <ctl name="Sidetone Biquad2" id="2" value="0" />
  <ctl name="Sidetone Biquad2" id="3" value="0" />
  <ctl name="Sidetone Biquad2" id="4" value="0" />
  <ctl name="Sidetone Biquad2" id="5" value="0" />
  <ctl name="Sidetone Biquad3" id="0" value="0" />
  <ctl name="Sidetone Biquad3" id="1" value="0" />
  <ctl name="Sidetone Biquad3" id="2" value="0" />
  <ctl name="Sidetone Biquad3" id="3" value="0" />
  <ctl name="Sidetone Biquad3" id="4" value="0" />
  <ctl name="Sidetone Biquad3" id="5" value="0" />
  <ctl name="Sidetone Biquad4" id="0" value="0" />
  <ctl name="Sidetone Biquad4" id="1" value="0" />
  <ctl name="Sidetone Biquad4" id="2" value="0" />
  <ctl name="Sidetone Biquad4" id="3" value="0" />
  <ctl name="Sidetone Biquad4" id="4" value="0" />
  <ctl name="Sidetone Biquad4" id="5" value="0" />

  <ctl name="Incall Capture Stream0" value="Off" />
  <ctl name="Incall Capture Stream1" value="Off" />
  <ctl name="Incall Capture Stream2" value="Off" />

  <!-- These two controls control the muting function of mics and sinks during the voice call. -->
  <!-- They would be enabled by HAL. -->
  <ctl name="Incall Sink Mute" value="0" />
  <ctl name="Incall Mic Mute" value="0" />

  <ctl name="Compress Offload Volume" value="1000" />
  <ctl name="Decoder Reference Enable" value="0" />
  <ctl name="LVM Enable" value="0" />

  <!-- sidetone dynamic control -->
  <path name="sidetone-for handset">
    <!-- 1065353216 = 0x3f800000 = 1.0 -->
    <ctl name="Sidetone Biquad0" id="0" value="1065353216" />
    <ctl name="Sidetone Biquad0" id="1" value="1065353216" />
    <ctl name="Sidetone Biquad0" id="2" value="0" />
    <ctl name="Sidetone Biquad0" id="3" value="0" />
    <ctl name="Sidetone Biquad0" id="4" value="0" />
    <ctl name="Sidetone Biquad0" id="5" value="0" />
    <ctl name="Sidetone Biquad1" id="0" value="1065353216" />
    <ctl name="Sidetone Biquad1" id="1" value="1065353216" />
    <ctl name="Sidetone Biquad1" id="2" value="0" />
    <ctl name="Sidetone Biquad1" id="3" value="0" />
    <ctl name="Sidetone Biquad1" id="4" value="0" />
    <ctl name="Sidetone Biquad1" id="5" value="0" />
    <ctl name="Sidetone Biquad2" id="0" value="1065353216" />
    <ctl name="Sidetone Biquad2" id="1" value="1065353216" />
    <ctl name="Sidetone Biquad2" id="2" value="0" />
    <ctl name="Sidetone Biquad2" id="3" value="0" />
    <ctl name="Sidetone Biquad2" id="4" value="0" />
    <ctl name="Sidetone Biquad2" id="5" value="0" />
    <ctl name="Sidetone Biquad3" id="0" value="1065353216" />
    <ctl name="Sidetone Biquad3" id="1" value="1065353216" />
    <ctl name="Sidetone Biquad3" id="2" value="0" />
    <ctl name="Sidetone Biquad3" id="3" value="0" />
    <ctl name="Sidetone Biquad3" id="4" value="0" />
    <ctl name="Sidetone Biquad3" id="5" value="0" />
    <ctl name="Sidetone Biquad4" id="0" value="1065353216" />
    <ctl name="Sidetone Biquad4" id="1" value="1065353216" />
    <ctl name="Sidetone Biquad4" id="2" value="0" />
    <ctl name="Sidetone Biquad4" id="3" value="0" />
    <ctl name="Sidetone Biquad4" id="4" value="0" />
    <ctl name="Sidetone Biquad4" id="5" value="0" />
    <ctl name="Sidetone EQ Stage Number" value="5" />
    <ctl name="Sidetone Volume" value="-90" />
    <ctl name="Sidetone Enable" value="1" />
  </path>

  <!-- audio playback dynamic route -->
  <path name="primary-playback -> speaker">
    <ctl name="TDM_0_RX Mixer EP2" value="1" />
  </path>

  <path name="primary-playback-0 -> speaker">
    <path name="primary-playback -> speaker" />
  </path>

  <path name="primary-playback-0 -> speaker-earpiece">
    <path name="primary-playback -> speaker" />
  </path>

  <path name="primary-playback-0 -> speaker-safe">
    <path name="primary-playback -> speaker" />
  </path>

  <path name="primary-playback -> bt">
    <ctl name="BT_RX Mixer EP2" value="1" />
  </path>

  <path name="primary-playback-0 -> bt">
    <path name="primary-playback -> bt" />
  </path>

  <path name="primary-playback-0 -> bluetooth-a2dp-device">
    <path name="primary-playback -> bt" />
  </path>

  <path name="primary-playback-0 -> bluetooth-a2dp-headphone">
    <path name="primary-playback -> bt" />
  </path>

  <path name="primary-playback-0 -> bluetooth-a2dp-speaker">
    <path name="primary-playback -> bt" />
  </path>

  <path name="primary-playback-0 -> bluetooth-sco-default">
    <path name="primary-playback -> bt" />
  </path>

  <path name="primary-playback-0 -> bluetooth-sco-headset">
    <path name="primary-playback -> bt" />
  </path>

  <path name="primary-playback-0 -> bluetooth-sco-car-kit">
    <path name="primary-playback -> bt" />
  </path>

  <path name="primary-playback-0 -> usb">
    <ctl name="USB_RX Mixer EP2" value="1" />
  </path>

  <path name="primary-playback-0 -> usb-headset">
    <path name="primary-playback-0 -> usb" />
  </path>

  <path name="primary-playback-0 -> usb-device">
    <path name="primary-playback-0 -> usb" />
  </path>

  <path name="raw-playback -> speaker">
    <ctl name="TDM_0_RX Mixer RAW" value="1" />
  </path>

  <path name="raw-playback-0 -> speaker">
    <path name="raw-playback -> speaker" />
  </path>

  <path name="raw-playback-0 -> speaker-earpiece">
    <path name="raw-playback -> speaker" />
  </path>

  <path name="raw-playback-0 -> speaker-safe">
    <path name="raw-playback -> speaker" />
  </path>

  <path name="raw-playback -> bt">
    <ctl name="BT_RX Mixer RAW" value="1" />
  </path>

  <path name="raw-playback-0 -> bt">
    <path name="raw-playback -> bt" />
  </path>

  <path name="raw-playback-0 -> bluetooth-a2dp-device">
    <path name="raw-playback -> bt" />
  </path>

  <path name="raw-playback-0 -> bluetooth-a2dp-headphone">
    <path name="raw-playback -> bt" />
  </path>

  <path name="raw-playback-0 -> bluetooth-a2dp-speaker">
    <path name="raw-playback -> bt" />
  </path>

  <path name="raw-playback-0 -> bluetooth-sco-default">
    <path name="raw-playback -> bt" />
  </path>

  <path name="raw-playback-0 -> bluetooth-sco-headset">
    <path name="raw-playback -> bt" />
  </path>

  <path name="raw-playback-0 -> bluetooth-sco-car-kit">
    <path name="raw-playback -> bt" />
  </path>

  <path name="raw-playback-0 -> usb">
    <ctl name="USB_RX Mixer RAW" value="1" />
  </path>

  <path name="raw-playback-0 -> usb-headset">
    <path name="raw-playback-0 -> usb" />
  </path>

  <path name="raw-playback-0 -> usb-device">
    <path name="raw-playback-0 -> usb" />
  </path>

  <path name="deep-buffer-playback -> speaker">
    <ctl name="TDM_0_RX Mixer EP6" value="1" />
  </path>

  <path name="deep-buffer-playback-0 -> speaker">
    <path name="deep-buffer-playback -> speaker" />
  </path>

  <path name="deep-buffer-playback-0 -> speaker-earpiece">
    <path name="deep-buffer-playback -> speaker" />
  </path>

  <path name="deep-buffer-playback-0 -> speaker-safe">
    <path name="deep-buffer-playback -> speaker" />
  </path>

  <path name="deep-buffer-playback -> bt">
    <ctl name="BT_RX Mixer EP6" value="1" />
  </path>

  <path name="deep-buffer-playback-0 -> bt">
    <path name="deep-buffer-playback -> bt" />
  </path>

  <path name="deep-buffer-playback-0 -> bluetooth-a2dp-device">
    <path name="deep-buffer-playback -> bt" />
  </path>

  <path name="deep-buffer-playback-0 -> bluetooth-a2dp-headphone">
    <path name="deep-buffer-playback -> bt" />
  </path>

  <path name="deep-buffer-playback-0 -> bluetooth-a2dp-speaker">
    <path name="deep-buffer-playback -> bt" />
  </path>

  <path name="deep-buffer-playback-0 -> bluetooth-sco-default">
    <path name="deep-buffer-playback -> bt" />
  </path>

  <path name="deep-buffer-playback-0 -> bluetooth-sco-headset">
    <path name="deep-buffer-playback -> bt" />
  </path>

  <path name="deep-buffer-playback-0 -> bluetooth-sco-car-kit">
    <path name="deep-buffer-playback -> bt" />
  </path>

  <path name="deep-buffer-playback-0 -> usb">
    <ctl name="USB_RX Mixer EP6" value="1" />
  </path>

  <path name="deep-buffer-playback-0 -> usb-headset">
    <path name="deep-buffer-playback-0 -> usb" />
  </path>

  <path name="deep-buffer-playback-0 -> usb-device">
    <path name="deep-buffer-playback-0 -> usb" />
  </path>

  <path name="compress-offload-playback">
    <ctl name="LVM Enable" value="1" />
  </path>

  <path name="compress-offload-playback -> speaker">
    <path name="compress-offload-playback" />
    <ctl name="TDM_0_RX Mixer EP7" value="1" />
  </path>

  <path name="compress-offload-playback-0 -> speaker">
    <path name="compress-offload-playback -> speaker" />
  </path>

  <path name="compress-offload-playback-0 -> speaker-earpiece">
    <path name="compress-offload-playback -> speaker" />
  </path>

  <path name="compress-offload-playback-0 -> speaker-safe">
    <path name="compress-offload-playback -> speaker" />
  </path>

  <path name="compress-offload-playback -> bt">
    <ctl name="BT_RX Mixer EP7" value="1" />
  </path>

  <path name="compress-offload-playback-0 -> bt">
    <path name="compress-offload-playback -> bt" />
  </path>

  <path name="compress-offload-playback-0 -> bluetooth-a2dp-device">
    <path name="compress-offload-playback -> bt" />
  </path>

  <path name="compress-offload-playback-0 -> bluetooth-a2dp-headphone">
    <path name="compress-offload-playback -> bt" />
  </path>

  <path name="compress-offload-playback-0 -> bluetooth-a2dp-speaker">
    <path name="compress-offload-playback -> bt" />
  </path>

  <path name="compress-offload-playback-0 -> bluetooth-sco-default">
    <path name="compress-offload-playback -> bt" />
  </path>

  <path name="compress-offload-playback-0 -> bluetooth-sco-headset">
    <path name="compress-offload-playback -> bt" />
  </path>

  <path name="compress-offload-playback-0 -> bluetooth-sco-car-kit">
    <path name="compress-offload-playback -> bt" />
  </path>

  <path name="compress-offload-playback-0 -> usb">
    <ctl name="USB_RX Mixer EP7" value="1" />
  </path>

  <path name="compress-offload-playback-0 -> usb-headset">
    <path name="compress-offload-playback-0 -> usb" />
  </path>

  <path name="compress-offload-playback-0 -> usb-device">
    <path name="compress-offload-playback-0 -> usb" />
  </path>

  <path name="mmap-playback -> speaker">
    <ctl name="TDM_0_RX Mixer EP1" value="1" />
  </path>

  <path name="mmap-playback-0 -> speaker">
    <path name="mmap-playback -> speaker" />
  </path>

  <path name="mmap-playback-0 -> speaker-earpiece">
    <path name="mmap-playback -> speaker" />
  </path>

  <path name="mmap-playback-0 -> speaker-safe">
    <path name="mmap-playback -> speaker" />
  </path>

  <path name="mmap-playback -> bt">
    <ctl name="BT_RX Mixer EP1" value="1" />
  </path>

  <path name="mmap-playback-0 -> bt">
    <path name="mmap-playback -> bt" />
  </path>

  <path name="mmap-playback-0 -> bluetooth-a2dp-device">
    <path name="mmap-playback -> bt" />
  </path>

  <path name="mmap-playback-0 -> bluetooth-a2dp-headphone">
    <path name="mmap-playback -> bt" />
  </path>

  <path name="mmap-playback-0 -> bluetooth-a2dp-speaker">
    <path name="mmap-playback -> bt" />
  </path>

  <path name="mmap-playback-0 -> bluetooth-sco-default">
    <path name="mmap-playback -> bt" />
  </path>

  <path name="mmap-playback-0 -> bluetooth-sco-headset">
    <path name="mmap-playback -> bt" />
  </path>

  <path name="mmap-playback-0 -> bluetooth-sco-car-kit">
    <path name="mmap-playback -> bt" />
  </path>

  <path name="mmap-playback-0 -> usb">
    <ctl name="USB_RX Mixer EP1" value="1" />
  </path>

  <path name="mmap-playback-0 -> usb-headset">
    <path name="mmap-playback-0 -> usb" />
  </path>

  <path name="mmap-playback-0 -> usb-device">
    <path name="mmap-playback-0 -> usb" />
  </path>

  <path name="hifi-playback-0 -> usb">
    <ctl name="USB_RX Mixer HIFI" value="1" />
  </path>

  <path name="hifi-playback-0 -> usb-headset">
    <path name="hifi-playback-0 -> usb" />
  </path>

  <path name="hifi-playback-0 -> usb-device">
    <path name="hifi-playback-0 -> usb" />
  </path>

  <path name="voip-playback -> speaker">
    <ctl name="TDM_0_RX Mixer VOIP" value="1" />
  </path>

  <path name="voip-playback-0 -> speaker">
    <path name="voip-playback -> speaker" />
  </path>

  <path name="voip-playback-0 -> speaker-earpiece">
    <path name="voip-playback -> speaker" />
  </path>

  <path name="voip-playback-0 -> speaker-safe">
    <path name="voip-playback -> speaker" />
  </path>

  <path name="voip-playback -> bt">
    <ctl name="BT_RX Mixer VOIP" value="1" />
  </path>

  <path name="voip-playback-0 -> bt">
    <path name="voip-playback -> bt" />
  </path>

  <path name="voip-playback-0 -> bluetooth-a2dp-device">
    <path name="voip-playback -> bt" />
  </path>

  <path name="voip-playback-0 -> bluetooth-a2dp-headphone">
    <path name="voip-playback -> bt" />
  </path>

  <path name="voip-playback-0 -> bluetooth-a2dp-speaker">
    <path name="voip-playback -> bt" />
  </path>

  <path name="voip-playback-0 -> bluetooth-sco-default">
    <path name="voip-playback -> bt" />
  </path>

  <path name="voip-playback-0 -> bluetooth-sco-headset">
    <path name="voip-playback -> bt" />
  </path>

  <path name="voip-playback-0 -> bluetooth-sco-car-kit">
    <path name="voip-playback -> bt" />
  </path>

  <path name="voip-playback-0 -> usb">
    <ctl name="USB_RX Mixer VOIP" value="1" />
  </path>

  <path name="voip-playback-0 -> usb-headset">
    <path name="voip-playback-0 -> usb" />
  </path>

  <path name="voip-playback-0 -> usb-device">
    <path name="voip-playback-0 -> usb" />
  </path>

  <path name="immersive-playback -> speaker">
    <ctl name="TDM_0_RX Mixer IMSV" value="1" />
  </path>

  <path name="immersive-playback-0 -> speaker">
    <path name="immersive-playback -> speaker" />
  </path>

  <path name="immersive-playback-0 -> speaker-earpiece">
    <path name="immersive-playback -> speaker" />
  </path>

  <path name="immersive-playback-0 -> speaker-safe">
    <path name="immersive-playback -> speaker" />
  </path>

  <path name="immersive-playback -> bt">
    <ctl name="BT_RX Mixer IMSV" value="1" />
  </path>

  <path name="immersive-playback-0 -> bt">
    <path name="immersive-playback -> bt" />
  </path>

  <path name="immersive-playback-0 -> bluetooth-a2dp-device">
    <path name="immersive-playback -> bt" />
  </path>

  <path name="immersive-playback-0 -> bluetooth-a2dp-headphone">
    <path name="immersive-playback -> bt" />
  </path>

  <path name="immersive-playback-0 -> bluetooth-a2dp-speaker">
    <path name="immersive-playback -> bt" />
  </path>

  <path name="immersive-playback-0 -> usb">
    <ctl name="USB_RX Mixer IMSV" value="1" />
  </path>

  <path name="immersive-playback-0 -> usb-headset">
    <path name="immersive-playback-0 -> usb" />
  </path>

  <path name="immersive-playback-0 -> usb-device">
    <path name="immersive-playback-0 -> usb" />
  </path>

  <path name="haptic-playback -> speaker">
    <ctl name="TDM_0_RX Mixer EP3" value="1" />
    <ctl name="TDM_0_RX Mixer EP8" value="1" />
  </path>

  <path name="haptic-playback-0 -> speaker">
    <path name="haptic-playback -> speaker" />
  </path>

  <path name="haptic-playback-0 -> speaker-earpiece">
    <path name="haptic-playback -> speaker" />
  </path>

  <path name="haptic-playback-0 -> speaker-safe">
    <path name="haptic-playback -> speaker" />
  </path>

  <path name="haptic-playback -> bt">
    <ctl name="BT_RX Mixer EP3" value="1" />
    <ctl name="TDM_0_RX Mixer EP8" value="1" />
  </path>

  <path name="haptic-playback-0 -> bt">
    <path name="haptic-playback -> bt" />
  </path>

  <path name="haptic-playback-0 -> bluetooth-a2dp-device">
    <path name="haptic-playback -> bt" />
  </path>

  <path name="haptic-playback-0 -> bluetooth-a2dp-headphone">
    <path name="haptic-playback -> bt" />
  </path>

  <path name="haptic-playback-0 -> bluetooth-a2dp-speaker">
    <path name="haptic-playback -> bt" />
  </path>

  <path name="haptic-playback-0 -> bluetooth-sco-default">
    <path name="haptic-playback -> bt" />
  </path>

  <path name="haptic-playback-0 -> bluetooth-sco-headset">
    <path name="haptic-playback -> bt" />
  </path>

  <path name="haptic-playback-0 -> bluetooth-sco-car-kit">
    <path name="haptic-playback -> bt" />
  </path>

  <path name="haptic-playback-0 -> usb">
    <ctl name="USB_RX Mixer EP3" value="1" />
    <ctl name="TDM_0_RX Mixer EP8" value="1" />
  </path>

  <path name="haptic-playback-0 -> usb-headset">
    <path name="haptic-playback-0 -> usb" />
  </path>

  <path name="haptic-playback-0 -> usb-device">
    <path name="haptic-playback-0 -> usb" />
  </path>

  <!-- audio capture dynamic route -->
  <path name="microphones -> primary-capture-0">
    <ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="1" />
  </path>

  <path name="back-microphones -> primary-capture-0">
    <ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="1" />
  </path>

  <path name="usb-microphones -> primary-capture-0">
    <ctl name="EP1 TX Mixer USB_TX" value="1" />
  </path>

  <path name="usb-headset-microphones -> primary-capture-0">
    <path name="usb-microphones -> primary-capture-0" />
  </path>

  <path name="usb-device-microphones -> primary-capture-0">
    <path name="usb-microphones -> primary-capture-0" />
  </path>

  <path name="microphones -> voip-capture-0">
    <ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1" />
  </path>

  <path name="back-microphones -> voip-capture-0">
    <ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1" />
  </path>

  <path name="usb-microphones -> voip-capture-0">
    <ctl name="VOIP TX Mixer USB_TX" value="1" />
  </path>

  <path name="usb-headset-microphones -> voip-capture-0">
    <path name="usb-microphones -> voip-capture-0" />
  </path>

  <path name="usb-device-microphones -> voip-capture-0">
    <path name="usb-microphones -> voip-capture-0" />
  </path>

  <path name="bluetooth-sco-headset-microphones -> voip-capture-0">
    <ctl name="VOIP TX Mixer BT_TX" value="1" />
  </path>

  <path name="microphones -> fast-capture-0">
    <ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="1" />
  </path>

  <path name="back-microphones -> fast-capture-0">
    <ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="1" />
  </path>

  <path name="usb-microphones -> fast-capture-0">
    <ctl name="EP3 TX Mixer USB_TX" value="1" />
  </path>

  <path name="usb-headset-microphones -> fast-capture-0">
    <path name="usb-microphones -> fast-capture-0" />
  </path>

  <path name="usb-device-microphones -> fast-capture-0">
    <path name="usb-microphones -> fast-capture-0" />
  </path>

  <path name="bluetooth-sco-headset-microphones -> fast-capture-0">
    <ctl name="EP3 TX Mixer BT_TX" value="1" />
  </path>

  <path name="microphones -> sound-trigger-capture-0">
  </path>

  <path name="microphones -> sound-trigger-tap-capture-0">
  </path>

  <path name="microphones -> hotword-lookback-capture-0">
  </path>

  <!-- voice-call dynamic route -->
  <path name="voice-call-downlink-0 -> speaker">
    <ctl name="TDM_0_RX Mixer EP5" value="1" />
  </path>

  <path name="voice-call-downlink-0 -> speaker-earpiece">
    <ctl name="TDM_0_RX Mixer EP5" value="1" />
  </path>

  <path name="voice-call-downlink-0 -> bt">
    <ctl name="BT_RX Mixer EP5" value="1" />
  </path>

  <path name="voice-call-downlink-0 -> bluetooth-sco-default">
    <path name="voice-call-downlink-0 -> bt" />
  </path>

  <path name="voice-call-downlink-0 -> bluetooth-sco-headset">
    <path name="voice-call-downlink-0 -> bt" />
  </path>

  <path name="voice-call-downlink-0 -> bluetooth-sco-car-kit">
    <path name="voice-call-downlink-0 -> bt" />
  </path>

  <path name="voice-call-downlink-0 -> usb">
    <ctl name="USB_RX Mixer EP5" value="1" />
  </path>

  <path name="voice-call-downlink-0 -> usb-headset">
    <path name="voice-call-downlink-0 -> usb" />
  </path>

  <path name="voice-call-downlink-0 -> usb-device">
    <path name="voice-call-downlink-0 -> usb" />
  </path>

  <path name="voice-call-downlink-0 -> null-sink">
    <ctl name="INCALL_RX Mixer EP5" value="1" />
  </path>

  <path name="microphones -> voice-call-uplink-0">
    <ctl name="EP4 TX Mixer INTERNAL_MIC_TX" value="1" />
  </path>

  <path name="back-microphones -> voice-call-uplink-0">
    <ctl name="EP4 TX Mixer INTERNAL_MIC_TX" value="1" />
  </path>

  <path name="usb-microphones -> voice-call-uplink-0">
    <ctl name="EP4 TX Mixer USB_TX" value="1" />
  </path>

  <path name="usb-headset-microphones -> voice-call-uplink-0">
    <path name="usb-microphones -> voice-call-uplink-0" />
  </path>

  <path name="usb-device-microphones -> voice-call-uplink-0">
    <path name="usb-microphones -> voice-call-uplink-0" />
  </path>

  <path name="bluetooth-sco-headset-microphones -> voice-call-uplink-0">
    <ctl name="EP4 TX Mixer BT_TX" value="1" />
  </path>

  <path name="null-source -> voice-call-uplink-0">
    <ctl name="EP4 TX Mixer INCALL_TX" value="1" />
  </path>

  <path name="hostless-ulC spk-vi">
    <ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
  </path>

  <path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-0">
    <ctl name="Incall Capture Stream0" value="DL" />
  </path>

  <path name="telephony-rx (VOICE_UPLINK) -> in-call-capture-0">
    <ctl name="Incall Capture Stream0" value="UL" />
  </path>

  <path name="telephony-rx (VOICE_CALL) -> in-call-capture-0">
    <ctl name="Incall Capture Stream0" value="UL_DL" />
  </path>

  <path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-1">
    <ctl name="Incall Capture Stream1" value="DL" />
  </path>

  <path name="telephony-rx (VOICE_UPLINK) -> in-call-capture-1">
    <ctl name="Incall Capture Stream1" value="UL" />
  </path>

  <path name="telephony-rx (VOICE_CALL) -> in-call-capture-1">
    <ctl name="Incall Capture Stream1" value="UL_DL" />
  </path>

  <path name="telephony-rx (VOICE_DOWNLINK) -> in-call-capture-2">
    <ctl name="Incall Capture Stream2" value="DL" />
  </path>

  <path name="telephony-rx (VOICE_UPLINK) -> in-call-capture-2">
    <ctl name="Incall Capture Stream2" value="UL" />
  </path>

  <path name="telephony-rx (VOICE_CALL) -> in-call-capture-2">
    <ctl name="Incall Capture Stream2" value="UL_DL" />
  </path>

  <path name="microphones -> mmap-capture-0">
    <ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1" />
  </path>

  <path name="usb-microphones -> mmap-capture-0">
    <ctl name="EP2 TX Mixer USB_TX" value="1" />
  </path>

  <path name="usb-headset-microphones -> mmap-capture-0">
    <path name="usb-microphones -> mmap-capture-0" />
  </path>

  <path name="usb-device-microphones -> mmap-capture-0">
    <path name="usb-microphones -> mmap-capture-0" />
  </path>

  <path name="bluetooth-sco-headset-microphones -> mmap-capture-0">
    <ctl name="EP2 TX Mixer BT_TX" value="1" />
  </path>

  <!-- codec setting -->
  <!-- Rx device -->
  <path name="speaker-earpiece">
    <ctl name="PCM Source" value="ASP" />
    <ctl name="AMP PCM Gain" value="6" />
    <ctl name="Main AMP Enable Switch" value="1" />
  </path>

  <path name="speaker-earpiece (VOICE)">
    <ctl name="PCM Source" value="ASP" />
    <ctl name="AMP PCM Gain" value="7" />
    <ctl name="Main AMP Enable Switch" value="1" />
  </path>

  <path name="speaker">
    <ctl name="Main AMP Enable Switch" value="1" />
    <ctl name="R Main AMP Enable Switch" value="1" />
    <ctl name="Fast Use Case Delta File" value="fast_switch3.txt" />
    <ctl name="Fast Use Case Switch Enable" value="1" />
    <ctl name="R Fast Use Case Delta File" value="fast_switch4.txt" />
    <ctl name="R Fast Use Case Switch Enable" value="1" />
  </path>

  <path name="speaker (VOICE)">
    <ctl name="ASPTX1 Slot Position" value="1" />
    <ctl name="R ASPTX1 Slot Position" value="0" />
    <!--<ctl name="R DSP RX2 Source" value="ASPRX2" />-->
    <ctl name="R Main AMP Enable Switch" value="1" />
    <ctl name="Main AMP Enable Switch" value="1" />
    <!-- load Enable FIR -->
    <ctl name="Fast Use Case Delta File" value="fast_switch1.txt" />
    <ctl name="Fast Use Case Switch Enable" value="1" />
    <ctl name="R Fast Use Case Delta File" value="fast_switch2.txt" />
    <ctl name="R Fast Use Case Switch Enable" value="1" />
  </path>

  <path name="speaker-safe">
    <ctl name="R Main AMP Enable Switch" value="1" />
    <!-- load Bypass FIR -->
    <ctl name="R Fast Use Case Delta File" value="fast_switch4.txt" />
    <ctl name="R Fast Use Case Switch Enable" value="1" />
  </path>

  <!-- Tx device -->
  <path name="microphones">
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
    <ctl name="MIC DC Blocker" value="1" />
    <ctl name="MIC Record Soft Gain (dB)" value="22" />
  </path>

  <path name="microphones (VOICE)">
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
    <ctl name="MIC DC Blocker" value="1" />
    <ctl name="MIC HW Gain At High Power Mode (cB)" value="130" />
    <ctl name="MIC Record Soft Gain (dB)" value="0" />
  </path>

  <path name="microphones (VOICE_RECOGNITION)">
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
    <ctl name="MIC DC Blocker" value="1" />
    <ctl name="MIC Record Soft Gain (dB)" value="22" />
  </path>

  <path name="microphones (VOICE_RECOGNITION,SOUND_TRIGGER_TAP)">
    <ctl name="Audio Capture Eraser Enable" value="1" />
    <ctl name="Hotword Tap Enable" value="1" />
    <ctl name="MIC Record Soft Gain (dB)" value="0" />
  </path>

  <path name="microphones (SOUND_TRIGGER_AEC)">
    <ctl name="Audio Capture Eraser Enable" value="1" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
    <ctl name="MIC DC Blocker" value="1" />
    <ctl name="Audio Capture Mic Source" value="ERASER" />
    <ctl name="MIC Record Soft Gain (dB)" value="0" />
  </path>

  <path name="back-microphones">
    <ctl name="Mic Spatial Module Enable" value="1" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
    <ctl name="MIC DC Blocker" value="1" />
    <ctl name="MIC Record Soft Gain (dB)" value="22" />
  </path>

  <path name="back-microphones (VOICE)">
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
    <ctl name="MIC DC Blocker" value="1" />
    <ctl name="MIC HW Gain At High Power Mode (cB)" value="130" />
    <ctl name="MIC Record Soft Gain (dB)" value="0" />
  </path>

  <path name="microphones (CAMCORDER)">
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
    <ctl name="MIC DC Blocker" value="1" />
    <ctl name="MIC Record Soft Gain (dB)" value="0" />
  </path>

  <path name="back-microphones (CAMCORDER)">
    <path name="microphones (CAMCORDER)" />
  </path>

  <path name="camcorder-mic">
    <ctl name="Mic Spatial Module Enable" value="1" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
    <ctl name="MIC DC Blocker" value="1" />
    <ctl name="MIC Record Soft Gain (dB)" value="0" />
  </path>

  <path name="unprocessed-mic">
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
    <ctl name="MIC DC Blocker" value="1" />
    <ctl name="MIC Record Soft Gain (dB)" value="5" />
  </path>

  <path name="unprocessed-dual-mic">
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
    <ctl name="MIC DC Blocker" value="1" />
    <ctl name="MIC Record Soft Gain (dB)" value="5" />
  </path>

  <path name="unprocessed-triple-mic">
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
    <ctl name="MIC DC Blocker" value="1" />
    <ctl name="MIC Record Soft Gain (dB)" value="5" />
  </path>

  <path name="bluetooth-sco-headset-microphones">
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
    <ctl name="Audio Capture Mic Source" value="BT_MIC" />
    <ctl name="Voice Call Mic Source" value="BT_MIC" />
    <ctl name="MIC Record Soft Gain (dB)" value="0" />
  </path>

  <path name="usb-headset-microphones">
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="3" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
    <ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
    <ctl name="Audio Capture Mic Source" value="USB_MIC" />
    <ctl name="Voice Call Mic Source" value="USB_MIC" />
    <ctl name="MIC Record Soft Gain (dB)" value="0" />
  </path>

  <!-- cs35l41 specific path to load firmware in cs35l41.c -->
  <path name="cs35l41-load-protection-firmware-start">
    <!-- Enable it after get the protection firmware -->
    <ctl name="DSP Booted" value="0" />
    <ctl name="R DSP Booted" value="0" />
    <ctl name="DSP1 Preload Switch" value="0" />
    <ctl name="R DSP1 Preload Switch" value="0" />
  </path>

  <path name="cs35l41-load-protection-firmware-end">
    <!-- Enable it after get the protection firmware -->
    <ctl name="DSP1 Preload Switch" value="1" />
    <ctl name="R DSP1 Preload Switch" value="1" />
  </path>
  <!-- cs35l41 specific path to load firmware in cs35l41.c end-->
  <!-- cs35l41 specific path for adated feature in cs35l41_route_control.cc  -->
  <!-- Which is controlled by speaker module and path name format is fixed.  -->
  <!-- Path name format: adapted-{type}{-battery-throttled}{-acoustic-shock} -->
  <!-- Battery throttle and acoustic shock are disabled: "adapted-speaker"   -->
  <!-- Battery throttle enabled: "adapted-speaker-battery-throttled"         -->
  <!-- Acoustic shock enabled: "adapted-speaker-acoustic-shock"              -->
  <!-- Both are enabled: "adapted-speaker-battery-throttled-acoustic-shock"  -->
  <path name="adapted-speaker">
    <ctl name="Boost Peak Current Limit" value="2.50A" />
    <ctl name="R Boost Peak Current Limit" value="2.50A" />
    <ctl name="Digital PCM Volume" value="817" />
    <ctl name="R Digital PCM Volume" value="817" />
  </path>
  <path name="adapted-speaker-battery-throttled">
    <ctl name="Boost Peak Current Limit" value="1.80A" />
    <ctl name="R Boost Peak Current Limit" value="1.80A" />
    <ctl name="Digital PCM Volume" value="817" />
    <ctl name="R Digital PCM Volume" value="817" />
  </path>

  <path name="adapted-speaker-safe">
    <ctl name="R Boost Peak Current Limit" value="3.50A" />
    <ctl name="R Digital PCM Volume" value="817" />
  </path>
  <path name="adapted-speaker-safe-battery-throttled">
    <path name="adapted-speaker-safe" />
  </path>

  <path name="adapted-earpiece">
    <ctl name="Digital PCM Volume" value="817" />
  </path>
  <path name="adapted-earpiece-battery-throttled">
    <path name="adapted-earpiece" />
  </path>

  <path name="adapted-voice-speaker">
    <ctl name="R Boost Peak Current Limit" value="3.50A" />
    <ctl name="Boost Peak Current Limit" value="3.50A" />
    <ctl name="Digital PCM Volume" value="800" />
    <ctl name="R Digital PCM Volume" value="817" />
  </path>
  <path name="adapted-voice-speaker-battery-throttled">
    <path name="adapted-voice-speaker" />
  </path>
  <path name="adapted-voice-speaker-acoustic-shock">
    <ctl name="R Boost Peak Current Limit" value="3.50A" />
    <ctl name="Boost Peak Current Limit" value="3.50A" />
    <ctl name="PCM Soft Ramp" value="2ms" />
    <ctl name="Digital PCM Volume" value="0" />
    <ctl name="R Digital PCM Volume" value="817" />
  </path>

  <path name="adapted-voice-speaker-battery-throttled-acoustic-shock">
    <path name="adapted-voice-speaker-acoustic-shock" />
  </path>

  <path name="adapted-voice-earpiece">
      <ctl name="Boost Peak Current Limit" value="3.50A" />
      <ctl name="Digital PCM Volume" value="817" />
  </path>
  <path name="adapted-voice-earpiece-battery-throttled">
    <path name="adapted-voice-earpiece" />
  </path>
  <!-- cs35l41 specific path for adated feature in cs35l41_route_control.cc end -->
</mixer>
