| <?xml version="1.0" encoding="ISO-8859-1"?> |
| <!-- Copyright (c) 2015-2020, 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 --> |
| <!-- Codec controls --> |
| <!-- WSA controls --> |
| <ctl name="WSA RX0 MUX" value="ZERO" /> |
| <ctl name="WSA RX1 MUX" value="ZERO" /> |
| <ctl name="WSA_RX0 INP0" value="ZERO" /> |
| <ctl name="WSA_RX1 INP0" value="ZERO" /> |
| <ctl name="WSA_AIF_VI Mixer WSA_SPKR_VI_1" value="0" /> |
| <ctl name="WSA_AIF_VI Mixer WSA_SPKR_VI_2" value="0" /> |
| <ctl name="SpkrLeft COMP Switch" value="0" /> |
| <ctl name="SpkrRight COMP Switch" value="0" /> |
| <ctl name="SpkrLeft BOOST Switch" value="0" /> |
| <ctl name="SpkrRight BOOST Switch" value="0" /> |
| <ctl name="SpkrLeft VISENSE Switch" value="0" /> |
| <ctl name="SpkrRight VISENSE Switch" value="0" /> |
| <ctl name="SpkrLeft SWR DAC_Port Switch" value="0" /> |
| <ctl name="SpkrRight SWR DAC_Port Switch" value="0" /> |
| |
| <!-- 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="HPHL_COMP Switch" value="0" /> |
| <ctl name="HPHR_COMP Switch" value="0" /> |
| <ctl name="EAR_RDAC Switch" value="0" /> |
| <ctl name="HPHL_RDAC Switch" value="0" /> |
| <ctl name="HPHR_RDAC Switch" value="0" /> |
| <ctl name="AUX_RDAC Switch" value="0" /> |
| <ctl name="RDAC3_MUX" value="ZERO" /> |
| <ctl name="RX_EAR Mode" value="OFF" /> |
| |
| <!-- TX Controls --> |
| <ctl name="ADC2_MIXER Switch" value="0" /> |
| <ctl name="ADC2 MUX" value="ZERO" /> |
| <ctl name="DEC0_BCS Switch" value="0" /> |
| <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="LPI Enable" value="1" /> |
| <ctl name="VA_AIF1_CAP Mixer DEC0" value="0" /> |
| <ctl name="VA_AIF1_CAP Mixer DEC1" value="0" /> |
| <ctl name="VA_AIF1_CAP Mixer DEC2" value="0" /> |
| <ctl name="VA_AIF1_CAP Mixer DEC3" value="0" /> |
| <ctl name="VA_AIF1_CAP Mixer DEC4" value="0" /> |
| <ctl name="VA_AIF1_CAP Mixer DEC5" value="0" /> |
| <ctl name="VA_AIF1_CAP Mixer DEC6" value="0" /> |
| <ctl name="VA_AIF1_CAP Mixer DEC7" value="0" /> |
| <ctl name="VA DEC0 MUX" value="MSM_DMIC" /> |
| <ctl name="VA DEC1 MUX" value="MSM_DMIC" /> |
| <ctl name="VA DEC2 MUX" value="MSM_DMIC" /> |
| <ctl name="VA DEC3 MUX" value="MSM_DMIC" /> |
| <ctl name="VA DEC4 MUX" value="MSM_DMIC" /> |
| <ctl name="VA DEC5 MUX" value="MSM_DMIC" /> |
| <ctl name="VA DEC6 MUX" value="MSM_DMIC" /> |
| <ctl name="VA DEC7 MUX" value="MSM_DMIC" /> |
| <ctl name="VA DMIC MUX0" value="ZERO" /> |
| <ctl name="VA DMIC MUX1" value="ZERO" /> |
| <ctl name="VA DMIC MUX2" value="ZERO" /> |
| <ctl name="VA DMIC MUX3" value="ZERO" /> |
| <ctl name="VA DMIC MUX4" value="ZERO" /> |
| <ctl name="VA DMIC MUX5" value="ZERO" /> |
| <ctl name="VA DMIC MUX6" value="ZERO" /> |
| <ctl name="VA DMIC MUX7" value="ZERO" /> |
| <ctl name="VA SMIC MUX0" value="ZERO" /> |
| <ctl name="VA SMIC MUX1" value="ZERO" /> |
| <ctl name="VA SMIC MUX2" value="ZERO" /> |
| <ctl name="VA SMIC MUX3" value="ZERO" /> |
| <ctl name="VA SMIC MUX4" value="ZERO" /> |
| <ctl name="VA SMIC MUX5" value="ZERO" /> |
| <ctl name="VA SMIC MUX6" value="ZERO" /> |
| <ctl name="VA SMIC MUX7" value="ZERO" /> |
| |
| <!-- Volume controls --> |
| <ctl name="WSA_RX0 Digital Volume" value="84" /> |
| <ctl name="WSA_RX1 Digital Volume" value="84" /> |
| <ctl name="RX_RX0 Digital Volume" value="84" /> |
| <ctl name="RX_RX1 Digital Volume" value="84" /> |
| <ctl name="RX_RX2 Digital Volume" value="84" /> |
| <ctl name="HPHL Volume" value="20" /> |
| <ctl name="HPHR Volume" value="20" /> |
| <ctl name="EAR SPKR PA Gain" value="G_DEFAULT" /> |
| |
| <ctl name="TX_DEC0 Volume" value="96" /> |
| <ctl name="TX_DEC1 Volume" value="96" /> |
| <ctl name="TX_DEC2 Volume" value="96" /> |
| <ctl name="TX_DEC3 Volume" value="96" /> |
| <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" /> |
| |
| <!-- Compander controls --> |
| <ctl name="WSA_COMP1 Switch" value="0" /> |
| <ctl name="WSA_COMP2 Switch" value="0" /> |
| <ctl name="COMP7 Switch" value="0" /> |
| <ctl name="COMP8 Switch" value="0" /> |
| |
| <!-- Headphone class-H mode --> |
| <ctl name="RX_HPH_PWR_MODE" value="ULP" /> |
| <ctl name="RX HPH Mode" value="CLS_H_ULP" /> |
| |
| <!-- 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="GSM mode Enable" value="OFF" /> |
| <ctl name="WSA_Softclip0 Enable" value="0" /> |
| <ctl name="WSA_Softclip1 Enable" value="0" /> |
| <ctl name="WSA_RX INT0 VBAT WSA RX0 VBAT Enable" value="0" /> |
| <ctl name="WSA_RX INT1 VBAT WSA RX1 VBAT Enable" value="0" /> |
| |
| <!-- Codec controls end --> |
| |
| <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> |
| |
| <path name="spkr-vi-record"> |
| </path> |
| |
| <!-- These are actual sound device specific mixer settings --> |
| <path name="amic1"> |
| <ctl name="TX DEC2 MUX" value="SWR_MIC" /> |
| <ctl name="TX SMIC MUX2" value="ADC0" /> |
| <ctl name="TX_AIF1_CAP Mixer DEC2" value="1" /> |
| <ctl name="ADC1_MIXER Switch" value="1" /> |
| </path> |
| |
| <path name="amic2"> |
| <ctl name="TX DEC0 MUX" value="SWR_MIC" /> |
| <ctl name="TX SMIC MUX0" value="ADC1" /> |
| <ctl name="DEC0_BCS Switch" value="1" /> |
| <ctl name="TX_AIF1_CAP Mixer DEC0" value="1" /> |
| <ctl name="ADC2_MIXER Switch" value="1" /> |
| <ctl name="ADC2 MUX" value="INP2" /> |
| </path> |
| |
| |
| <path name="amic3"> |
| <ctl name="TX DEC2 MUX" value="SWR_MIC" /> |
| <ctl name="TX SMIC MUX2" value="ADC2" /> |
| <ctl name="TX_AIF1_CAP Mixer DEC2" value="1" /> |
| <ctl name="ADC2_MIXER Switch" value="1" /> |
| <ctl name="ADC2 MUX" value="INP3" /> |
| </path> |
| |
| <path name="dmic1"> |
| <ctl name="TX_AIF1_CAP Mixer DEC2" value="1" /> |
| <ctl name="TX DMIC MUX2" value="DMIC0" /> |
| </path> |
| |
| <path name="dmic2"> |
| <ctl name="TX_AIF1_CAP Mixer DEC2" value="1" /> |
| <ctl name="TX DMIC MUX2" value="DMIC1" /> |
| </path> |
| |
| <path name="dmic3"> |
| <ctl name="TX_AIF1_CAP Mixer DEC2" value="1" /> |
| <ctl name="TX DMIC MUX2" value="DMIC2" /> |
| </path> |
| |
| <path name="dmic4"> |
| <ctl name="TX_AIF1_CAP Mixer DEC2" value="1" /> |
| <ctl name="TX DMIC MUX2" value="DMIC3" /> |
| </path> |
| |
| <path name="dmic5"> |
| <ctl name="TX_AIF1_CAP Mixer DEC2" value="1" /> |
| <ctl name="TX DMIC MUX2" value="DMIC4" /> |
| </path> |
| |
| <path name="dmic6"> |
| <ctl name="TX_AIF1_CAP Mixer DEC2" value="1" /> |
| <ctl name="TX DMIC MUX2" value="DMIC5" /> |
| </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-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-tmic"> |
| <ctl name="VA_AIF1_CAP Mixer DEC0" value="1" /> |
| <ctl name="VA_AIF1_CAP Mixer DEC1" value="1" /> |
| <ctl name="VA_AIF1_CAP Mixer DEC2" value="1" /> |
| <ctl name="VA DEC0 MUX" value="MSM_DMIC" /> |
| <ctl name="VA DEC1 MUX" value="MSM_DMIC" /> |
| <ctl name="VA DEC2 MUX" value="MSM_DMIC" /> |
| <ctl name="VA DMIC MUX0" value="DMIC1" /> |
| <ctl name="VA DMIC MUX1" value="DMIC2" /> |
| <ctl name="VA DMIC MUX2" value="DMIC5" /> |
| </path> |
| |
| <path name="va-mic-qmic"> |
| <ctl name="VA_AIF1_CAP Mixer DEC0" value="1" /> |
| <ctl name="VA_AIF1_CAP Mixer DEC1" value="1" /> |
| <ctl name="VA_AIF1_CAP Mixer DEC2" value="1" /> |
| <ctl name="VA_AIF1_CAP Mixer DEC3" value="1" /> |
| <ctl name="VA DEC0 MUX" value="MSM_DMIC" /> |
| <ctl name="VA DEC1 MUX" value="MSM_DMIC" /> |
| <ctl name="VA DEC2 MUX" value="MSM_DMIC" /> |
| <ctl name="VA DEC3 MUX" value="MSM_DMIC" /> |
| <ctl name="VA DMIC MUX0" value="DMIC1" /> |
| <ctl name="VA DMIC MUX1" value="DMIC2" /> |
| <ctl name="VA DMIC MUX2" value="DMIC3" /> |
| <ctl name="VA DMIC MUX3" value="DMIC5" /> |
| </path> |
| |
| <path name="va-mic"> |
| <path name="va-mic-dmic" /> |
| </path> |
| |
| <path name="headset-va-mic"> |
| <ctl name="VA_AIF1_CAP Mixer DEC0" value="1" /> |
| <ctl name="VA DEC0 MUX" value="SWR_MIC" /> |
| <ctl name="VA SMIC MUX0" value="ADC1" /> |
| <ctl name="ADC2 Volume" value="62" /> |
| <ctl name="ADC2_MIXER Switch" value="1" /> |
| <ctl name="ADC2 MUX" value="INP2" /> |
| </path> |
| |
| <path name="speaker"> |
| <ctl name="WSA RX1 MUX" value="AIF1_PB" /> |
| <ctl name="WSA_RX1 INP0" value="RX1" /> |
| <ctl name="WSA_COMP2 Switch" value="1" /> |
| <ctl name="SpkrRight COMP Switch" value="1" /> |
| <ctl name="SpkrRight BOOST Switch" value="1" /> |
| <ctl name="SpkrRight VISENSE Switch" value="1" /> |
| <ctl name="SpkrRight SWR DAC_Port Switch" value="1" /> |
| </path> |
| |
| <path name="speaker-mono"> |
| <ctl name="WSA RX1 MUX" value="AIF1_PB" /> |
| <ctl name="WSA_RX1 INP0" value="RX1" /> |
| <ctl name="WSA_COMP2 Switch" value="1" /> |
| <ctl name="SpkrRight COMP Switch" value="1" /> |
| <ctl name="SpkrRight BOOST Switch" value="1" /> |
| <ctl name="SpkrRight VISENSE Switch" value="1" /> |
| <ctl name="SpkrRight SWR DAC_Port Switch" value="1" /> |
| </path> |
| |
| <path name="speaker-mono-2"> |
| <path name="speaker-mono" /> |
| </path> |
| |
| <path name="speaker-vbat-mono"> |
| <path name="speaker-mono" /> |
| <ctl name="WSA_RX INT0 VBAT WSA RX0 VBAT Enable" value="1" /> |
| </path> |
| |
| <path name="speaker-vbat-mono-2"> |
| <path name="speaker-mono-2" /> |
| <ctl name="WSA_RX INT1 VBAT WSA RX1 VBAT Enable" value="1" /> |
| </path> |
| |
| <path name="speaker-vbat"> |
| <path name="speaker" /> |
| <ctl name="WSA_RX INT0 VBAT WSA RX0 VBAT Enable" value="1" /> |
| <ctl name="WSA_RX INT1 VBAT WSA RX1 VBAT Enable" value="1" /> |
| </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-headphones"> |
| <path name="sidetone-iir" /> |
| <ctl name="IIR0 INP0 Volume" value="40" /> |
| <ctl name="IIR0 INP0 MUX" value="DEC2" /> |
| <ctl name="RX INT0 MIX2 INP" value="SRC0" /> |
| <ctl name="RX INT1 MIX2 INP" value="SRC0" /> |
| </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-protected"> |
| <ctl name="WSA_AIF_VI Mixer WSA_SPKR_VI_2" value="1" /> |
| <path name="speaker" /> |
| </path> |
| |
| <path name="voice-speaker-protected"> |
| <ctl name="WSA_AIF_VI Mixer WSA_SPKR_VI_2" value="1" /> |
| <path name="speaker-mono" /> |
| </path> |
| |
| <path name="voice-speaker-2-protected"> |
| <ctl name="WSA_AIF_VI Mixer WSA_SPKR_VI_2" value="1" /> |
| <ctl name="WSA_CDC_DMA_0 TX Format" value="PACKED_16B" /> |
| <path name="speaker-mono-2" /> |
| <ctl name="VI_FEED_TX Channels" value="One" /> |
| <ctl name="WSA_RX_0_VI_FB_RCH_MUX" value="WSA_CDC_DMA_TX_0" /> |
| </path> |
| |
| <path name="voice-speaker-stereo-protected"> |
| <path name="speaker-protected" /> |
| </path> |
| |
| <path name="speaker-protected-vbat"> |
| <path name="speaker-protected" /> |
| <ctl name="WSA_RX INT0 VBAT WSA RX0 VBAT Enable" value="1" /> |
| <ctl name="WSA_RX INT1 VBAT WSA RX1 VBAT Enable" value="1" /> |
| </path> |
| |
| <path name="voice-speaker-protected-vbat"> |
| <path name="voice-speaker-protected" /> |
| <ctl name="WSA_RX INT0 VBAT WSA RX0 VBAT Enable" value="1" /> |
| </path> |
| |
| <path name="voice-speaker-2-protected-vbat"> |
| <path name="voice-speaker-2-protected" /> |
| <ctl name="WSA_RX INT1 VBAT WSA RX1 VBAT Enable" value="1" /> |
| </path> |
| |
| <path name="vi-feedback"> |
| <ctl name="WSA_AIF_VI Mixer WSA_SPKR_VI_1" value="1" /> |
| <ctl name="WSA_AIF_VI Mixer WSA_SPKR_VI_2" value="1" /> |
| <ctl name="WSA_CDC_DMA_0 TX Format" value="PACKED_16B" /> |
| </path> |
| |
| <path name="vi-feedback-mono-1"> |
| <ctl name="WSA_AIF_VI Mixer WSA_SPKR_VI_1" value="1" /> |
| <ctl name="WSA_CDC_DMA_0 TX Format" value="PACKED_16B" /> |
| </path> |
| |
| <path name="vi-feedback-mono-2"> |
| <ctl name="WSA_AIF_VI Mixer WSA_SPKR_VI_2" value="1" /> |
| <ctl name="WSA_CDC_DMA_0 TX Format" value="PACKED_16B" /> |
| </path> |
| |
| <path name="handset"> |
| <ctl name="RX_MACRO RX0 MUX" value="AIF1_PB" /> |
| <ctl name="RX INT0_1 MIX1 INP0" value="RX0" /> |
| <ctl name="RX INT0 DEM MUX" value="CLSH_DSM_OUT" /> |
| <ctl name="EAR_RDAC Switch" value="1" /> |
| <ctl name="RDAC3_MUX" value="RX1" /> |
| <ctl name="RX_EAR Mode" value="ON" /> |
| </path> |
| |
| <path name="handset-mic"> |
| <path name="dmic2" /> |
| </path> |
| |
| <path name="headphones"> |
| <ctl name="RX_MACRO RX0 MUX" value="AIF1_PB" /> |
| <ctl name="RX_MACRO RX1 MUX" value="AIF1_PB" /> |
| <ctl name="RX INT0_1 MIX1 INP0" value="RX0" /> |
| <ctl name="RX INT1_1 MIX1 INP0" value="RX1" /> |
| <ctl name="RX INT0 DEM MUX" value="CLSH_DSM_OUT" /> |
| <ctl name="RX INT1 DEM MUX" value="CLSH_DSM_OUT" /> |
| <ctl name="RX_COMP1 Switch" value="1" /> |
| <ctl name="RX_COMP2 Switch" value="1" /> |
| <ctl name="HPHL_COMP Switch" value="1" /> |
| <ctl name="HPHR_COMP Switch" value="1" /> |
| <ctl name="HPHL_RDAC Switch" value="1" /> |
| <ctl name="HPHR_RDAC Switch" value="1" /> |
| </path> |
| |
| <path name="headphones-44.1"> |
| <path name="headphones" /> |
| </path> |
| |
| <path name="headphones-hifi-filter"> |
| <path name="headphones" /> |
| </path> |
| |
| <path name="hph-highquality-mode"> |
| <ctl name="RX_HPH_PWR_MODE" value="LOHIFI" /> |
| <ctl name="RX HPH Mode" value="CLS_H_LOHIFI" /> |
| </path> |
| |
| <path name="hph-lowpower-mode"> |
| <ctl name="RX_HPH_PWR_MODE" value="ULP" /> |
| <ctl name="RX HPH Mode" value="CLS_H_ULP" /> |
| </path> |
| |
| <path name="true-native-mode"> |
| </path> |
| |
| <path name="line"> |
| <path name="headphones" /> |
| </path> |
| |
| <path name="headset-mic"> |
| <ctl name="TX_DEC0 Volume" value="84" /> |
| <path name="amic2" /> |
| </path> |
| |
| <path name="voice-handset"> |
| <path name="handset" /> |
| </path> |
| |
| <path name="voice-handset-tmus"> |
| <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-mic"> |
| <path name="speaker-mic" /> |
| </path> |
| |
| <path name="voice-headphones"> |
| <path name="headphones" /> |
| </path> |
| |
| <path name="voice-headset"> |
| <path name="headphones" /> |
| </path> |
| |
| <path name="voice-line"> |
| <path name="voice-headphones" /> |
| </path> |
| |
| <path name="voice-headset-mic"> |
| <path name="headset-mic" /> |
| </path> |
| |
| <path name="speaker-and-headphones"> |
| <path name="headphones" /> |
| <path name="speaker" /> |
| </path> |
| |
| <path name="speaker-and-headphones-hifi-filter"> |
| <path name="headphones" /> |
| <path name="speaker" /> |
| </path> |
| |
| <path name="speaker-safe-and-headphones"> |
| <path name="headphones" /> |
| <path name="speaker-safe" /> |
| </path> |
| |
| <path name="speaker-and-line"> |
| <path name="speaker-and-headphones" /> |
| </path> |
| |
| <path name="usb-headphones"> |
| </path> |
| |
| <path name="usb-headset"> |
| </path> |
| |
| <path name="afe-proxy"> |
| </path> |
| |
| <path name="display-port"> |
| </path> |
| |
| <path name="call-proxy"> |
| </path> |
| |
| <path name="call-proxy-in"> |
| </path> |
| |
| <path name="speaker-and-usb-headphones"> |
| <path name="speaker" /> |
| <path name="usb-headphones" /> |
| </path> |
| |
| <path name="speaker-safe-and-usb-headphones"> |
| <path name="speaker-safe" /> |
| <path name="usb-headphones" /> |
| </path> |
| |
| <path name="speaker-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-headset"> |
| </path> |
| |
| <path name="bt-sco-mic"> |
| </path> |
| |
| <path name="bt-sco-headset-wb"> |
| </path> |
| |
| <path name="bt-sco-mic-wb"> |
| </path> |
| |
| <path name="bt-sco-mic-swb"> |
| </path> |
| |
| <path name="bt-sco-headset-swb"> |
| </path> |
| |
| <path name="usb-headset-mic"> |
| </path> |
| |
| <path name="capture-fm"> |
| </path> |
| |
| <!-- Dual MIC devices --> |
| <path name="handset-dmic-endfire"> |
| <ctl name="TX_AIF1_CAP Mixer DEC1" value="1" /> |
| <ctl name="TX DMIC MUX1" value="DMIC1" /> |
| <ctl name="TX_AIF1_CAP Mixer DEC2" value="1" /> |
| <ctl name="TX DMIC MUX2" value="DMIC3" /> |
| </path> |
| |
| <path name="speaker-dmic-endfire"> |
| <ctl name="TX_AIF1_CAP Mixer DEC1" value="1" /> |
| <ctl name="TX DMIC MUX1" value="DMIC2" /> |
| <ctl name="TX_AIF1_CAP Mixer DEC2" value="1" /> |
| <ctl name="TX DMIC MUX2" value="DMIC1" /> |
| </path> |
| |
| <path name="dmic-endfire"> |
| <path name="handset-dmic-endfire" /> |
| <ctl name="IIR0 INP0 MUX" value="DEC2" /> |
| </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="hearing-aid-mic"> |
| <path name="voice-speaker-mic"/> |
| </path> |
| |
| <path name="speaker-dmic-broadside"> |
| <path name="speaker-dmic-endfire" /> |
| </path> |
| |
| <path name="dmic-broadside"> |
| <path name="speaker-dmic-broadside" /> |
| <ctl name="IIR0 INP0 MUX" value="DEC2" /> |
| </path> |
| |
| <path name="voice-speaker-dmic-broadside"> |
| <path name="dmic-broadside" /> |
| </path> |
| |
| <!-- TTY devices --> |
| |
| <path name="tty-headphones"> |
| <ctl name="RX_MACRO RX0 MUX" value="AIF1_PB" /> |
| <ctl name="RX INT0_1 MIX1 INP0" value="RX0" /> |
| <ctl name="RX INT0 DEM MUX" value="CLSH_DSM_OUT" /> |
| <ctl name="RX_COMP1 Switch" value="1" /> |
| <ctl name="HPHL_COMP Switch" value="1" /> |
| <ctl name="HPHL_RDAC Switch" value="1" /> |
| </path> |
| |
| <path name="voice-tty-full-headphones"> |
| <ctl name="TTY Mode" value="FULL" /> |
| <path name="tty-headphones" /> |
| </path> |
| |
| <path name="voice-tty-full-headset"> |
| <ctl name="TTY Mode" value="FULL" /> |
| <path name="tty-headphones" /> |
| </path> |
| |
| <path name="voice-tty-vco-headphones"> |
| <ctl name="TTY Mode" value="VCO" /> |
| <path name="tty-headphones" /> |
| </path> |
| |
| <path name="voice-tty-vco-headset"> |
| <ctl name="TTY Mode" value="VCO" /> |
| <path name="tty-headphones" /> |
| </path> |
| |
| <path name="voice-tty-full-headset-mic"> |
| <path name="amic2" /> |
| <ctl name="ADC2 Volume" value="0" /> |
| </path> |
| |
| <path name="voice-tty-hco-headset-mic"> |
| <path name="voice-tty-full-headset-mic" /> |
| </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> |
| |
| <path name="unprocessed-three-mic"> |
| <path name="three-mic" /> |
| </path> |
| |
| <path name="three-mic"> |
| <ctl name="TX_AIF1_CAP Mixer DEC1" value="1" /> |
| <ctl name="TX DMIC MUX1" value="DMIC1" /> |
| <ctl name="TX_AIF1_CAP Mixer DEC2" value="1" /> |
| <ctl name="TX DMIC MUX2" value="DMIC3" /> |
| <ctl name="TX_AIF1_CAP Mixer DEC3" value="1" /> |
| <ctl name="TX DMIC MUX3" value="DMIC2" /> |
| </path> |
| |
| <path name="speaker-tmic"> |
| <ctl name="TX_AIF1_CAP Mixer DEC1" value="1" /> |
| <ctl name="TX DMIC MUX1" value="DMIC2" /> |
| <ctl name="TX_AIF1_CAP Mixer DEC2" value="1" /> |
| <ctl name="TX DMIC MUX2" value="DMIC1" /> |
| <ctl name="TX_AIF1_CAP Mixer DEC3" value="1" /> |
| <ctl name="TX DMIC MUX3" value="DMIC3" /> |
| </path> |
| |
| <path name="voice-speaker-tmic"> |
| <path name="speaker-tmic" /> |
| </path> |
| |
| <path name="speaker-qmic"> |
| <ctl name="TX_AIF1_CAP Mixer DEC1" value="1" /> |
| <ctl name="TX DMIC MUX1" value="DMIC2" /> |
| <ctl name="TX_AIF1_CAP Mixer DEC2" value="1" /> |
| <ctl name="TX DMIC MUX2" value="DMIC1" /> |
| <ctl name="TX_AIF1_CAP Mixer DEC3" value="1" /> |
| <ctl name="TX DMIC MUX3" value="DMIC3" /> |
| <ctl name="TX_AIF1_CAP Mixer DEC4" value="1" /> |
| <ctl name="TX DMIC MUX4" value="DMIC5" /> |
| </path> |
| |
| <path name="voice-speaker-qmic"> |
| <path name="speaker-qmic" /> |
| </path> |
| |
| <path name="quad-mic"> |
| <path name="speaker-qmic" /> |
| <ctl name="TX_DEC4 Volume" value="96" /> |
| </path> |
| |
| <path name="unprocessed-quad-mic"> |
| <path name="quad-mic" /> |
| </path> |
| |
| <path name="unprocessed-headset-mic"> |
| <path name="headset-mic" /> |
| </path> |
| |
| <!-- USB TTY start --> |
| |
| <!-- full: both end tty --> |
| <path name="voice-tty-full-usb"> |
| <ctl name="TTY Mode" value="FULL" /> |
| <path name="usb-headphones" /> |
| </path> |
| |
| <path name="voice-tty-full-usb-mic"> |
| <path name="usb-headset-mic" /> |
| </path> |
| |
| <!-- vco, in: handset mic use existing, out: tty --> |
| <path name="voice-tty-vco-usb"> |
| <ctl name="TTY Mode" value="VCO" /> |
| <path name="usb-headphones" /> |
| </path> |
| |
| <!-- hco, in: tty, out: speaker, use existing handset --> |
| <path name="voice-tty-hco-usb-mic"> |
| <path name="voice-tty-full-usb-mic" /> |
| </path> |
| |
| <!-- USB TTY end --> |
| |
| <!-- Added for ADSP testfwk --> |
| <path name="ADSP testfwk"> |
| </path> |
| |
| </mixer> |