blob: 341a9bb89ceb7f31276f58ff7748b0e0b35345be [file] [log] [blame]
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Copyright (c) 2015-2021, 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>
<!-- These are the initial mixer settings -->
<ctl name="Voice Rx Device Mute" id="0" value="0" />
<ctl name="Voice Rx Device Mute" id="1" value="-1" />
<ctl name="Voice Rx Device Mute" id="2" value="20" />
<ctl name="Voice Tx Mute" id="0" value="0" />
<ctl name="Voice Tx Mute" id="1" value="-1" />
<ctl name="Voice Tx Mute" id="2" value="500" />
<ctl name="Voice Rx Gain" id="0" value="0" />
<ctl name="Voice Rx Gain" id="1" value="-1" />
<ctl name="Voice Rx Gain" id="2" value="20" />
<ctl name="Voice Sidetone Enable" value="0" />
<ctl name="Voip Tx Mute" id="0" value="0" />
<ctl name="Voip Tx Mute" id="1" value="500" />
<ctl name="Voip Rx Gain" id="0" value="0" />
<ctl name="Voip Rx Gain" id="1" value="20" />
<ctl name="Voip Mode Config" value="12" />
<ctl name="Voip Rate Config" value="0" />
<ctl name="Voip Evrc Min Max Rate Config" id="0" value="1" />
<ctl name="Voip Evrc Min Max Rate Config" id="1" value="4" />
<ctl name="Voip Dtx Mode" value="0" />
<ctl name="TTY Mode" value="OFF" />
<ctl name="TX_AIF2_CAP Mixer DEC0" value="0" />
<ctl name="TX_CDC_DMA_TX_4 Channels" value="One" />
<ctl name="TX_CDC_DMA_TX_3 Channels" value="One" />
<ctl name="RX_CDC_DMA_RX_0 Channels" value="One" />
<ctl name="RX_CDC_DMA_RX_0 Channels" value="One" />
<ctl name="VI_FEED_TX Channels" value="Two" />
<ctl name="RX_CDC_DMA_RX_0 Format" value="UNPACKED" />
<ctl name="RX_CDC_DMA_RX_0 Format" value="UNPACKED" />
<ctl name="TX_CDC_DMA_TX_3 Format" value="UNPACKED" />
<!-- HFP start -->
<ctl name="HFP_SLIM7_UL_HL Switch" value="0" />
<ctl name="RX_CDC_DMA_RX_0 Port Mixer SLIM_7_TX" value="0" />
<ctl name="RX_CDC_DMA_RX_0 Port Mixer SLIM_7_TX" value="0" />
<!-- HFP end -->
<!-- echo reference -->
<ctl name="AUDIO_REF_EC_UL1 MUX" value="None" />
<ctl name="AUDIO_REF_EC_UL10 MUX" value="None" />
<ctl name="EC Reference Channels" value="Zero"/>
<!-- Voice external ec. reference -->
<ctl name="VOC_EXT_EC MUX" value="NONE" />
<!-- Voice external ec. reference end -->
<!-- RT Proxy Cal -->
<ctl name="RT_PROXY_1_RX SetCalMode" value="CAL_MODE_NONE" />
<ctl name="RT_PROXY_1_TX SetCalMode" value="CAL_MODE_NONE" />
<!-- RT Proxy Cal end -->
<!-- compress-voip-call start -->
<ctl name="RX_CDC_DMA_RX_0_Voice Mixer Voip" value="0" />
<ctl name="RX_CDC_DMA_RX_0_Voice Mixer Voip" value="0" />
<ctl name="Voip_Tx Mixer TX_CDC_DMA_TX_3_Voip" value="0" />
<ctl name="Voip_Tx Mixer TX_CDC_DMA_TX_4_Voip" value="0" />
<ctl name="SLIM_7_RX_Voice Mixer Voip" value="0" />
<ctl name="Voip_Tx Mixer SLIM_7_TX_Voip" value="0" />
<ctl name="AFE_PCM_RX_Voice Mixer Voip" value="0" />
<ctl name="Voip_Tx Mixer AFE_PCM_TX_Voip" value="0" />
<!-- compress-voip-call end-->
<!-- split a2dp -->
<ctl name="BT SampleRate" value="KHZ_8" />
<ctl name="AFE Input Channels" value="Zero" />
<ctl name="SLIM7_RX ADM Channels" value="Zero" />
<!-- split a2dp end-->
<!-- ADSP testfwk -->
<ctl name="RX_CDC_DMA_RX_0_DL_HL Switch" value="0" />
<ctl name="RX_CDC_DMA_RX_0_DL_HL Switch" value="0" />
<!-- ADSP testfwk end-->
<!-- Codec controls -->
<!-- RX Controls -->
<ctl name="RX_MACRO RX0 MUX" value="ZERO" />
<ctl name="RX_MACRO RX1 MUX" value="ZERO" />
<ctl name="RX INT0_1 MIX1 INP0" value="ZERO" />
<ctl name="RX INT0_1 MIX1 INP1" value="ZERO" />
<ctl name="RX INT0_1 MIX1 INP2" value="ZERO" />
<ctl name="RX INT1_1 MIX1 INP0" value="ZERO" />
<ctl name="RX INT1_1 MIX1 INP1" value="ZERO" />
<ctl name="RX INT1_1 MIX1 INP2" value="ZERO" />
<ctl name="RX INT0 DEM MUX" value="NORMAL_DSM_OUT" />
<ctl name="RX INT1 DEM MUX" value="NORMAL_DSM_OUT" />
<ctl name="RX_COMP1 Switch" value="0" />
<ctl name="RX_COMP2 Switch" value="0" />
<ctl name="SWR DAC_Port Switch" value="0" />
<ctl name="VISENSE Switch" value="0" />
<!-- TX Controls -->
<ctl name="ADC2_MIXER Switch" value="0" />
<ctl name="ADC2 MUX" value="ZERO" />
<ctl name="TX_AIF1_CAP Mixer DEC0" value="0" />
<ctl name="TX_AIF1_CAP Mixer DEC1" value="0" />
<ctl name="TX_AIF1_CAP Mixer DEC2" value="0" />
<ctl name="TX_AIF1_CAP Mixer DEC3" value="0" />
<ctl name="TX_AIF1_CAP Mixer DEC4" value="0" />
<ctl name="TX_AIF1_CAP Mixer DEC5" value="0" />
<ctl name="TX_AIF1_CAP Mixer DEC6" value="0" />
<ctl name="TX_AIF1_CAP Mixer DEC7" value="0" />
<ctl name="TX DEC0 MUX" value="MSM_DMIC" />
<ctl name="TX DMIC MUX0" value="ZERO" />
<ctl name="TX SMIC MUX0" value="ZERO" />
<ctl name="TX DEC1 MUX" value="MSM_DMIC" />
<ctl name="TX DMIC MUX1" value="ZERO" />
<ctl name="TX SMIC MUX1" value="ZERO" />
<ctl name="TX DEC2 MUX" value="MSM_DMIC" />
<ctl name="TX DMIC MUX2" value="ZERO" />
<ctl name="TX SMIC MUX2" value="ZERO" />
<ctl name="TX DEC3 MUX" value="MSM_DMIC" />
<ctl name="TX DMIC MUX3" value="ZERO" />
<ctl name="TX SMIC MUX3" value="ZERO" />
<ctl name="TX DEC4 MUX" value="MSM_DMIC" />
<ctl name="TX DMIC MUX4" value="ZERO" />
<ctl name="TX SMIC MUX4" value="ZERO" />
<ctl name="TX DEC5 MUX" value="MSM_DMIC" />
<ctl name="TX DMIC MUX5" value="ZERO" />
<ctl name="TX SMIC MUX5" value="ZERO" />
<ctl name="TX DEC6 MUX" value="MSM_DMIC" />
<ctl name="TX DMIC MUX6" value="ZERO" />
<ctl name="TX SMIC MUX6" value="ZERO" />
<ctl name="TX DEC7 MUX" value="MSM_DMIC" />
<ctl name="TX DMIC MUX7" value="ZERO" />
<ctl name="TX SMIC MUX7" value="ZERO" />
<!-- Voice UI controls -->
<ctl name="VA_AIF1_CAP Mixer DEC0" value="0" />
<ctl name="VA_AIF1_CAP Mixer DEC1" value="0" />
<ctl name="VA DEC0 MUX" value="MSM_DMIC" />
<ctl name="VA DEC1 MUX" value="MSM_DMIC" />
<ctl name="VA DMIC MUX0" value="ZERO" />
<ctl name="VA DMIC MUX1" value="ZERO" />
<ctl name="VA SMIC MUX0" value="ZERO" />
<ctl name="VA SMIC MUX1" value="ZERO" />
<!-- Volume controls -->
<ctl name="RX_RX2 Digital Volume" value="84" />
<ctl name="TX_DEC0 Volume" value="102" />
<ctl name="TX_DEC1 Volume" value="102" />
<ctl name="TX_DEC2 Volume" value="102" />
<ctl name="TX_DEC3 Volume" value="102" />
<ctl name="TX_DEC4 Volume" value="84" />
<ctl name="TX_DEC5 Volume" value="84" />
<ctl name="TX_DEC6 Volume" value="84" />
<ctl name="TX_DEC7 Volume" value="84" />
<ctl name="ADC1 Volume" value="12" />
<ctl name="ADC2 Volume" value="12" />
<ctl name="ADC3 Volume" value="12" />
<!-- IIR/voice anc -->
<ctl name="IIR0 Band1" id ="0" value="268435456" />
<ctl name="IIR0 Band1" id ="1" value="0" />
<ctl name="IIR0 Band1" id ="2" value="0" />
<ctl name="IIR0 Band1" id ="3" value="0" />
<ctl name="IIR0 Band1" id ="4" value="0" />
<ctl name="IIR0 Band2" id ="0" value="268435456" />
<ctl name="IIR0 Band2" id ="1" value="0" />
<ctl name="IIR0 Band2" id ="2" value="0" />
<ctl name="IIR0 Band2" id ="3" value="0" />
<ctl name="IIR0 Band2" id ="4" value="0" />
<ctl name="IIR0 Band3" id ="0" value="268435456" />
<ctl name="IIR0 Band3" id ="1" value="0" />
<ctl name="IIR0 Band3" id ="2" value="0" />
<ctl name="IIR0 Band3" id ="3" value="0" />
<ctl name="IIR0 Band3" id ="4" value="0" />
<ctl name="IIR0 Band4" id ="0" value="268435456" />
<ctl name="IIR0 Band4" id ="1" value="0" />
<ctl name="IIR0 Band4" id ="2" value="0" />
<ctl name="IIR0 Band4" id ="3" value="0" />
<ctl name="IIR0 Band4" id ="4" value="0" />
<ctl name="IIR0 Band5" id ="0" value="268435456" />
<ctl name="IIR0 Band5" id ="1" value="0" />
<ctl name="IIR0 Band5" id ="2" value="0" />
<ctl name="IIR0 Band5" id ="3" value="0" />
<ctl name="IIR0 Band5" id ="4" value="0" />
<ctl name="IIR0 Enable Band1" value="0" />
<ctl name="IIR0 Enable Band2" value="0" />
<ctl name="IIR0 Enable Band3" value="0" />
<ctl name="IIR0 Enable Band4" value="0" />
<ctl name="IIR0 Enable Band5" value="0" />
<ctl name="IIR0 INP0 Volume" value="54" />
<ctl name="IIR0 INP0 MUX" value="ZERO" />
<ctl name="IIR0 INP1 MUX" value="ZERO" />
<ctl name="IIR0 INP2 MUX" value="ZERO" />
<ctl name="IIR0 INP3 MUX" value="ZERO" />
<!-- vbat related data -->
<ctl name="RX_GSM mode Enable" value="OFF" />
<ctl name="RX_Softclip Enable" value="0" />
<ctl name="RX INT2_1 VBAT RX AUX VBAT Enable" value="0" />
<!-- Codec controls end -->
<!-- These are actual sound device specific mixer settings -->
<path name="dmic1">
<ctl name="TX_AIF1_CAP Mixer DEC0" value="1" />
<ctl name="TX DEC0 MUX" value="MSM_DMIC" />
<ctl name="TX DMIC MUX0" value="DMIC0" />
</path>
<path name="dmic2">
<ctl name="TX_AIF1_CAP Mixer DEC1" value="1" />
<ctl name="TX DEC1 MUX" value="MSM_DMIC" />
<ctl name="TX DMIC MUX1" value="DMIC1" />
</path>
<path name="dmic3">
<ctl name="TX_AIF1_CAP Mixer DEC2" value="1" />
<ctl name="TX DEC2 MUX" value="MSM_DMIC" />
<ctl name="TX DMIC MUX2" value="DMIC2" />
</path>
<path name="dmic4">
<ctl name="TX_AIF1_CAP Mixer DEC3" value="1" />
<ctl name="TX DEC3 MUX" value="MSM_DMIC" />
<ctl name="TX DMIC MUX3" value="DMIC3" />
</path>
<path name="speaker">
<ctl name="RX_MACRO RX0 MUX" value="AIF1_PB" />
<ctl name="RX INT2_1 MIX1 INP0" value="RX0" />
<ctl name="SWR DAC_Port Switch" value="1" />
</path>
<path name="speaker-protected">
<ctl name="VISENSE Switch" value="1" />
<ctl name="TX_AIF2_CAP Mixer DEC2" value="1" />
<ctl name="TX_AIF2_CAP Mixer DEC3" value="1" />
<ctl name="TX DEC2 MUX" value="SWR_MIC" />
<ctl name="TX DEC3 MUX" value="SWR_MIC" />
<ctl name="TX SMIC MUX2" value="SWR_MIC10" />
<ctl name="TX SMIC MUX3" value="SWR_MIC11" />
<ctl name="RX SWR TX MUX0" value="RX_SWR_TX_PCM_IN0" />
<ctl name="RX SWR TX MUX1" value="RX_SWR_TX_PCM_IN1" />
<path name="speaker" />
</path>
<path name="speaker-mono">
<path name="speaker" />
</path>
<path name="speaker-mono-2">
<path name="speaker" />
</path>
<path name="speaker-safe">
<path name="speaker-mono" />
</path>
<path name="sidetone-iir">
<ctl name="IIR0 Enable Band1" value="1" />
<ctl name="IIR0 Enable Band2" value="1" />
<ctl name="IIR0 Enable Band3" value="1" />
<ctl name="IIR0 Enable Band4" value="1" />
<ctl name="IIR0 Enable Band5" value="1" />
</path>
<path name="sidetone-handset">
<path name="sidetone-iir" />
<ctl name="IIR0 INP0 Volume" value="54" />
<ctl name="IIR0 INP0 MUX" value="DEC2" />
<ctl name="RX INT0 MIX2 INP" value="SRC0" />
</path>
<path name="afe-sidetone">
<ctl name="Voice Sidetone Enable" value="1" />
</path>
<path name="speaker-mic">
<path name="dmic3" />
</path>
<path name="speaker-mic-liquid">
<path name="dmic1" />
</path>
<path name="speaker-mic-sbc">
</path>
<path name="handset">
<path name="speaker" />
</path>
<path name="handset-mic">
<path name="dmic3" />
</path>
<path name="va-mic-dmic">
<ctl name="VA_AIF1_CAP Mixer DEC0" value="1" />
<ctl name="VA DEC0 MUX" value="MSM_DMIC" />
<ctl name="VA DMIC MUX0" value="DMIC1" />
<ctl name="VA_AIF1_CAP Mixer DEC1" value="1" />
<ctl name="VA DEC1 MUX" value="MSM_DMIC" />
<ctl name="VA DMIC MUX1" value="DMIC2" />
</path>
<path name="va-mic-mono">
<ctl name="VA_AIF1_CAP Mixer DEC0" value="1" />
<ctl name="VA DEC0 MUX" value="MSM_DMIC" />
<ctl name="VA DMIC MUX0" value="DMIC1" />
</path>
<path name="va-mic">
<path name="va-mic-dmic"/>
</path>
<path name="hph-highquality-mode">
</path>
<path name="hph-lowpower-mode">
</path>
<path name="true-native-mode">
</path>
<path name="voice-handset">
<path name="handset" />
</path>
<path name="voice-handset-tmus">
<path name="handset" />
</path>
<path name="voice-handset-hdk">
<path name="handset" />
</path>
<path name="voice-handset-tmus-hdk">
<path name="handset" />
</path>
<path name="voice-speaker">
<path name="speaker-mono" />
</path>
<path name="voice-speaker-stereo">
<path name="speaker" />
</path>
<path name="voice-speaker-2">
<path name="speaker-mono-2" />
</path>
<path name="voice-speaker-hdk">
<path name="speaker-mono" />
</path>
<path name="voice-speaker-fluid">
</path>
<path name="voice-speaker-vbat">
</path>
<path name="voice-speaker-2-vbat">
</path>
<path name="voice-speaker-mic">
<path name="speaker-mic" />
</path>
<path name="afe-proxy">
</path>
<path name="display-port">
</path>
<path name="speaker-and-display-port">
<path name="speaker" />
<path name="display-port" />
</path>
<path name="speaker-safe-and-display-port">
<path name="speaker" />
<path name="display-port" />
</path>
<path name="voice-rec-mic">
<path name="handset-mic" />
</path>
<path name="camcorder-mic">
<path name="handset-mic" />
</path>
<path name="bt-sco-mic">
</path>
<path name="bt-sco-mic-wb">
</path>
<path name="bt-sco-mic-swb">
</path>
<path name="capture-fm">
</path>
<!-- Dual MIC devices -->
<path name="handset-dmic-endfire">
<path name="dmic3" />
<path name="dmic4" />
<ctl name="TX_DEC1 Volume" value="84" />
</path>
<path name="speaker-dmic-endfire">
<path name="dmic3" />
<path name="dmic4" />
<ctl name="TX_DEC1 Volume" value="84" />
</path>
<path name="dmic-endfire">
<path name="handset-dmic-endfire" />
<ctl name="IIR0 INP0 MUX" value="DEC2" />
</path>
<path name="dmic-endfire-liquid">
<path name="handset-dmic-endfire" />
<ctl name="IIR0 INP0 MUX" value="DEC7" />
</path>
<path name="handset-stereo-dmic-ef">
<path name="handset-dmic-endfire" />
</path>
<path name="speaker-stereo-dmic-ef">
<path name="speaker-dmic-endfire" />
</path>
<path name="voice-dmic-ef-tmus">
<path name="dmic-endfire" />
</path>
<path name="voice-dmic-ef">
<path name="dmic-endfire" />
</path>
<path name="voice-speaker-dmic-ef">
<path name="speaker-dmic-endfire" />
</path>
<path name="voice-rec-dmic-ef">
<path name="dmic-endfire" />
</path>
<path name="voice-rec-dmic-ef-fluence">
<path name="dmic-endfire" />
</path>
<path name="handset-stereo-dmic-ef-liquid">
<path name="handset-dmic-endfire" />
</path>
<path name="speaker-stereo-dmic-ef-liquid">
<path name="speaker-dmic-endfire" />
</path>
<path name="voice-dmic-ef-liquid-liquid">
<path name="dmic-endfire-liquid" />
</path>
<path name="voice-speaker-dmic-ef-liquid">
<path name="dmic-endfire-liquid" />
</path>
<path name="voice-rec-dmic-ef-liquid">
<path name="dmic-endfire-liquid" />
</path>
<path name="voice-rec-dmic-ef-fluence-liquid">
<path name="dmic-endfire-liquid" />
</path>
<path name="speaker-dmic-broadside">
<path name="dmic3" />
<path name="dmic4" />
</path>
<path name="dmic-broadside">
<path name="speaker-dmic-broadside" />
<ctl name="IIR0 INP0 MUX" value="DEC1" />
</path>
<path name="voice-speaker-dmic-broadside">
<path name="dmic-broadside" />
</path>
<!-- TTY devices -->
<path name="voice-tty-hco-handset">
<ctl name="TTY Mode" value="HCO" />
<path name="handset" />
</path>
<path name="voice-tty-hco-handset-hdk">
<ctl name="TTY Mode" value="HCO" />
<path name="handset" />
</path>
<path name="voice-tty-vco-handset-mic">
<path name="dmic3" />
</path>
<path name="unprocessed-handset-mic">
<path name="handset-mic" />
</path>
<path name="unprocessed-mic">
<path name="unprocessed-handset-mic" />
</path>
<path name="unprocessed-stereo-mic">
<path name="voice-rec-dmic-ef" />
</path>
<!-- Added for ADSP testfwk -->
<path name="ADSP testfwk">
<ctl name="RX_CDC_DMA_RX_0_DL_HL Switch" value="1" />
</path>
<path name="bt-a2dp">
</path>
<path name="speaker-and-bt-a2dp">
<path name="speaker" />
<path name="bt-a2dp" />
</path>
<path name="speaker-safe-and-bt-a2dp">
<path name="speaker-safe" />
<path name="bt-a2dp" />
</path>
</mixer>