davinci: audio: Apply cleaned xiaomi mixer_paths changes
Change-Id: I05b46a8274b91ac0fc9c7d7ff86e0e16a54a6dab
This commit is contained in:
parent
bc93432e65
commit
588c8b5040
@ -95,6 +95,19 @@
|
||||
<ctl name="WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia13" value="0" />
|
||||
<ctl name="WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia14" value="0" />
|
||||
<ctl name="WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia15" value="0" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia1" value="0" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia2" value="0" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia3" value="0" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia4" value="0" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia5" value="0" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia7" value="0" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia8" value="0" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia10" value="0" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia11" value="0" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia12" value="0" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia13" value="0" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia14" value="0" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia15" value="0" />
|
||||
<ctl name="RX_CDC_DMA_RX_0 Audio Mixer MultiMedia16" value="0" />
|
||||
<ctl name="RX_CDC_DMA_RX_0 Audio Mixer MultiMedia1" value="0" />
|
||||
<ctl name="RX_CDC_DMA_RX_0 Audio Mixer MultiMedia2" value="0" />
|
||||
@ -310,12 +323,13 @@
|
||||
<ctl name="HPHL_RDAC Switch" value="0" />
|
||||
<ctl name="HPHR_RDAC Switch" value="0" />
|
||||
<ctl name="RDAC3_MUX" value="ZERO" />
|
||||
<ctl name="RX_EAR Mode" value="OFF" />
|
||||
|
||||
<!-- TX Controls -->
|
||||
<ctl name="TX_CDC_DMA_TX_3 Channels" value="One" />
|
||||
<ctl name="MultiMedia1 Mixer TX_CDC_DMA_TX_3" value="0" />
|
||||
<ctl name="ADC2_MIXER Switch" value="0" />
|
||||
<ctl name="ADC2 MUX" value="ZERO" />
|
||||
<ctl name="ADC2_MIXER Switch" value="1" />
|
||||
<ctl name="ADC2 MUX" value="INP3" />
|
||||
<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" />
|
||||
@ -368,9 +382,9 @@
|
||||
<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" />
|
||||
<ctl name="ADC1 Volume" value="8" />
|
||||
<ctl name="ADC2 Volume" value="8" />
|
||||
<ctl name="ADC3 Volume" value="8" />
|
||||
|
||||
<!-- Compander controls -->
|
||||
<ctl name="WSA_COMP1 Switch" value="0" />
|
||||
@ -378,8 +392,9 @@
|
||||
<ctl name="COMP7 Switch" value="0" />
|
||||
<ctl name="COMP8 Switch" value="0" />
|
||||
|
||||
<!-- Headphone Default mode - AB -->
|
||||
<ctl name="RX HPH Mode" value="CLS_AB" />
|
||||
<!-- Headphone class-H mode -->
|
||||
<ctl name="RX_HPH_PWR_MODE" value="ULP" />
|
||||
<ctl name="RX HPH Mode" value="CLS_H_LOHIFI" />
|
||||
|
||||
<!-- IIR/voice anc -->
|
||||
<ctl name="IIR0 Band1" id ="0" value="268435456" />
|
||||
@ -425,6 +440,22 @@
|
||||
<ctl name="WSA_RX INT0 VBAT WSA RX0 VBAT Enable" value="0" />
|
||||
<ctl name="WSA_RX INT1 VBAT WSA RX1 VBAT Enable" value="0" />
|
||||
|
||||
<!-- Add the new path begin -->
|
||||
<ctl name="PRI_MI2S_RX_DL_HL Switch" value="0" />
|
||||
<ctl name="PRI_MI2S_RX Port Mixer SLIM_8_TX" value="0" />
|
||||
<ctl name="PRI_MI2S_RX_Voice Mixer VoiceMMode1" value="0" />
|
||||
<ctl name="PRI_MI2S_RX_Voice Mixer VoiceMMode2" value="0" />
|
||||
<ctl name="PRI_MI2S_RX_Voice Mixer Voip" value="0" />
|
||||
|
||||
<ctl name="PRIM_MI2S_RX SampleRate" value="KHZ_48" />
|
||||
<ctl name="PRIM_MI2S_RX Channels" value="Two" />
|
||||
<ctl name="PRIM_MI2S_RX Format" value="S24_LE" />
|
||||
<ctl name="PRIM_MI2S_TX SampleRate" value="KHZ_48" />
|
||||
<ctl name="PRIM_MI2S_TX Channels" value="Two" />
|
||||
<ctl name="PRIM_MI2S_TX Format" value="S24_LE" />
|
||||
<ctl name="PRIM_MI2S_RX_VI_FB_MUX" value="ZERO" />
|
||||
|
||||
<!-- Add the new path end -->
|
||||
<!-- Codec controls end -->
|
||||
|
||||
<!-- defaults for mmap record -->
|
||||
@ -439,18 +470,19 @@
|
||||
</path>
|
||||
|
||||
<path name="echo-reference">
|
||||
<ctl name="AUDIO_REF_EC_UL1 MUX" value="WSA_CDC_DMA_RX_0" />
|
||||
<ctl name="EC Reference Channels" value="Two"/>
|
||||
<ctl name="AUDIO_REF_EC_UL1 MUX" value="I2S_RX" />
|
||||
<ctl name="EC Reference Channels" value="One"/>
|
||||
<ctl name="EC Reference Bit Format" value="S24_LE"/>
|
||||
</path>
|
||||
|
||||
<path name="echo-reference handset">
|
||||
<ctl name="AUDIO_REF_EC_UL1 MUX" value="WSA_CDC_DMA_RX_0" />
|
||||
<ctl name="AUDIO_REF_EC_UL1 MUX" value="RX_CDC_DMA_RX_0" />
|
||||
<ctl name="EC Reference Channels" value="One"/>
|
||||
</path>
|
||||
|
||||
<path name="echo-reference headphones">
|
||||
<ctl name="AUDIO_REF_EC_UL1 MUX" value="RX_CDC_DMA_RX_0" />
|
||||
<ctl name="EC Reference Channels" value="Two"/>
|
||||
<ctl name="EC Reference Channels" value="One"/>
|
||||
</path>
|
||||
|
||||
<path name="echo-reference headset">
|
||||
@ -467,24 +499,38 @@
|
||||
<ctl name="EC Reference Channels" value="Two"/>
|
||||
</path>
|
||||
|
||||
<path name="echo-reference bt-sco-headset">
|
||||
<ctl name="AUDIO_REF_EC_UL1 MUX" value="SLIM_7_RX" />
|
||||
<ctl name="EC Reference Channels" value="One"/>
|
||||
</path>
|
||||
|
||||
<path name="echo-reference usb-headphones">
|
||||
<ctl name="AUDIO_REF_EC_UL1 MUX" value="USB_AUDIO_RX" />
|
||||
<ctl name="EC Reference Channels" value="One"/>
|
||||
</path>
|
||||
|
||||
<path name="echo-reference-voip">
|
||||
<ctl name="AUDIO_REF_EC_UL10 MUX" value="WSA_CDC_DMA_RX_0" />
|
||||
<ctl name="EC Reference Channels" value="Two"/>
|
||||
<ctl name="AUDIO_REF_EC_UL10 MUX" value="I2S_RX" />
|
||||
<ctl name="EC Reference Channels" value="One"/>
|
||||
</path>
|
||||
|
||||
<path name="echo-reference-voip handset">
|
||||
<ctl name="AUDIO_REF_EC_UL10 MUX" value="WSA_CDC_DMA_RX_0" />
|
||||
<ctl name="AUDIO_REF_EC_UL10 MUX" value="RX_CDC_DMA_RX_0" />
|
||||
<ctl name="EC Reference Channels" value="One"/>
|
||||
</path>
|
||||
|
||||
<path name="echo-reference-voip headphones">
|
||||
<ctl name="AUDIO_REF_EC_UL10 MUX" value="RX_CDC_DMA_RX_0" />
|
||||
<ctl name="EC Reference Channels" value="Two"/>
|
||||
<ctl name="EC Reference Channels" value="One"/>
|
||||
</path>
|
||||
|
||||
<path name="echo-reference-voip headset">
|
||||
<path name="echo-reference-voip headphones" />
|
||||
</path>
|
||||
|
||||
<path name="echo-reference-voip display-port">
|
||||
<ctl name="AUDIO_REF_EC_UL10 MUX" value="DISPLAY_PORT" />
|
||||
<ctl name="EC Reference Channels" value="Two"/>
|
||||
<ctl name="EC Reference Channels" value="One"/>
|
||||
</path>
|
||||
|
||||
<path name="echo-reference-voip headphones-44.1">
|
||||
@ -492,8 +538,18 @@
|
||||
<ctl name="EC Reference Channels" value="Two"/>
|
||||
</path>
|
||||
|
||||
<path name="echo-reference-voip bt-sco-headset">
|
||||
<ctl name="AUDIO_REF_EC_UL10 MUX" value="SLIM_7_RX" />
|
||||
<ctl name="EC Reference Channels" value="One"/>
|
||||
</path>
|
||||
|
||||
<path name="echo-reference-voip usb-headphones">
|
||||
<ctl name="AUDIO_REF_EC_UL10 MUX" value="USB_AUDIO_RX" />
|
||||
<ctl name="EC Reference Channels" value="One"/>
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playback">
|
||||
<ctl name="WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia1" value="1" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia1" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playback speaker-protected">
|
||||
@ -582,8 +638,9 @@
|
||||
<path name="deep-buffer-playback bt-sco-wb" />
|
||||
<path name="deep-buffer-playback" />
|
||||
</path>
|
||||
|
||||
<path name="low-latency-playback">
|
||||
<ctl name="WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia5" value="1" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia5" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="low-latency-playback speaker-protected">
|
||||
@ -671,8 +728,9 @@
|
||||
<path name="low-latency-playback bt-sco-wb" />
|
||||
<path name="low-latency-playback" />
|
||||
</path>
|
||||
|
||||
<path name="audio-ull-playback">
|
||||
<ctl name="WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia8" value="1" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia8" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="audio-ull-playback speaker-protected">
|
||||
@ -761,7 +819,7 @@
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback">
|
||||
<ctl name="WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia4" value="1" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia4" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback speaker-protected">
|
||||
@ -858,8 +916,9 @@
|
||||
<path name="compress-offload-playback bt-sco-wb" />
|
||||
<path name="compress-offload-playback" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback2">
|
||||
<ctl name="WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia7" value="1" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia7" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback2 display-port">
|
||||
@ -944,8 +1003,9 @@
|
||||
<path name="compress-offload-playback2 bt-sco-wb" />
|
||||
<path name="compress-offload-playback2" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback3">
|
||||
<ctl name="WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia10" value="1" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia10" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback3 display-port">
|
||||
@ -1030,8 +1090,9 @@
|
||||
<path name="compress-offload-playback3 bt-sco-wb" />
|
||||
<path name="compress-offload-playback3" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback4">
|
||||
<ctl name="WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia11" value="1" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia11" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback4 display-port">
|
||||
@ -1116,8 +1177,9 @@
|
||||
<path name="compress-offload-playback4 bt-sco-wb" />
|
||||
<path name="compress-offload-playback4" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback5">
|
||||
<ctl name="WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia12" value="1" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia12" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback5 display-port">
|
||||
@ -1202,8 +1264,9 @@
|
||||
<path name="compress-offload-playback5 bt-sco-wb" />
|
||||
<path name="compress-offload-playback5" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback6">
|
||||
<ctl name="WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia13" value="1" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia13" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback6 display-port">
|
||||
@ -1288,8 +1351,9 @@
|
||||
<path name="compress-offload-playback6 bt-sco-wb" />
|
||||
<path name="compress-offload-playback6" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback7">
|
||||
<ctl name="WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia14" value="1" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia14" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback7 display-port">
|
||||
@ -1374,8 +1438,9 @@
|
||||
<path name="compress-offload-playback7 bt-sco-wb" />
|
||||
<path name="compress-offload-playback7" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback8">
|
||||
<ctl name="WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia15" value="1" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia15" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback8 display-port">
|
||||
@ -1460,8 +1525,9 @@
|
||||
<path name="compress-offload-playback8 bt-sco-wb" />
|
||||
<path name="compress-offload-playback8" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback9">
|
||||
<ctl name="WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia16" value="1" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia16" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback9 display-port">
|
||||
@ -1612,8 +1678,8 @@
|
||||
|
||||
<path name="play-fm">
|
||||
<ctl name="SLIMBUS_8 LOOPBACK Volume" value="1" />
|
||||
<ctl name="WSA_CDC_DMA_RX_0 Port Mixer SLIM_8_TX" value="1" />
|
||||
<ctl name="WSA_CDC_DMA_RX_0_DL_HL Switch" value="1" />
|
||||
<ctl name="PRI_MI2S_RX Port Mixer SLIM_8_TX" value="1" />
|
||||
<ctl name="PRI_MI2S_RX_DL_HL Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="play-fm headphones">
|
||||
@ -1771,7 +1837,8 @@
|
||||
</path>
|
||||
|
||||
<path name="compress-voip-call">
|
||||
<ctl name="WSA_CDC_DMA_RX_0_Voice Mixer Voip" value="1" />
|
||||
<ctl name="VOIP_EXT_EC MUX" value="PRI_MI2S_RX" />
|
||||
<ctl name="PRI_MI2S_RX_Voice Mixer Voip" value="1" />
|
||||
<ctl name="Voip_Tx Mixer TX_CDC_DMA_TX_3_Voip" value="1" />
|
||||
</path>
|
||||
|
||||
@ -1812,7 +1879,8 @@
|
||||
</path>
|
||||
|
||||
<path name="voicemmode1-call">
|
||||
<ctl name="WSA_CDC_DMA_RX_0_Voice Mixer VoiceMMode1" value="1" />
|
||||
<ctl name="VOC_EXT_EC MUX" value="PRI_MI2S_RX" />
|
||||
<ctl name="PRI_MI2S_RX_Voice Mixer VoiceMMode1" value="1" />
|
||||
<ctl name="VoiceMMode1_Tx Mixer TX_CDC_DMA_TX_3_MMode1" value="1" />
|
||||
</path>
|
||||
|
||||
@ -1862,7 +1930,8 @@
|
||||
</path>
|
||||
|
||||
<path name="voicemmode2-call">
|
||||
<ctl name="WSA_CDC_DMA_RX_0_Voice Mixer VoiceMMode2" value="1" />
|
||||
<ctl name="VOC_EXT_EC MUX" value="PRI_MI2S_RX" />
|
||||
<ctl name="PRI_MI2S_RX_Voice Mixer VoiceMMode2" value="1" />
|
||||
<ctl name="VoiceMMode2_Tx Mixer TX_CDC_DMA_TX_3_MMode2" value="1" />
|
||||
</path>
|
||||
|
||||
@ -1913,7 +1982,7 @@
|
||||
|
||||
<!-- VoIP Rx settings -->
|
||||
<path name="audio-playback-voip">
|
||||
<ctl name="WSA_CDC_DMA_RX_0 Audio Mixer MultiMedia10" value="1" />
|
||||
<ctl name="PRI_MI2S_RX Audio Mixer MultiMedia10" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="audio-playback-voip headphones">
|
||||
@ -1929,6 +1998,10 @@
|
||||
<path name="audio-playback-voip bt-sco" />
|
||||
</path>
|
||||
|
||||
<path name="audio-playback-voip bt-a2dp">
|
||||
<ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia10" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="audio-playback-voip afe-proxy">
|
||||
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia10" value="1" />
|
||||
</path>
|
||||
@ -2364,6 +2437,7 @@
|
||||
<path name="incall_music_uplink bt-a2dp">
|
||||
<path name="incall_music_uplink" />
|
||||
</path>
|
||||
|
||||
<path name="incall_music_uplink afe-proxy">
|
||||
<path name="incall_music_uplink" />
|
||||
</path>
|
||||
@ -2373,13 +2447,22 @@
|
||||
</path>
|
||||
|
||||
<path name="spkr-rx-calib">
|
||||
<ctl name="WSA_CDC_DMA_RX_0_DL_HL Switch" value="1" />
|
||||
<ctl name="PRI_MI2S_RX_DL_HL Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="spkr-vi-record">
|
||||
<ctl name="PRI_MI2S_RX_VI_FB_MUX" value="PRI_MI2S_TX" />
|
||||
</path>
|
||||
|
||||
<!-- These are actual sound device specific mixer settings -->
|
||||
<path name="amic1">
|
||||
<ctl name="TX DEC0 MUX" value="SWR_MIC" />
|
||||
<ctl name="TX SMIC MUX0" value="ADC0" />
|
||||
<ctl name="TX_CDC_DMA_TX_3 Channels" value="One" />
|
||||
<ctl name="TX_AIF1_CAP Mixer DEC0" 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="ADC2" />
|
||||
@ -2389,6 +2472,23 @@
|
||||
<ctl name="ADC2 MUX" value="INP2" />
|
||||
</path>
|
||||
|
||||
<path name="amic3">
|
||||
<ctl name="TX DEC0 MUX" value="SWR_MIC" />
|
||||
<ctl name="TX SMIC MUX0" value="ADC2" />
|
||||
<ctl name="TX_CDC_DMA_TX_3 Channels" value="One" />
|
||||
<ctl name="TX_AIF1_CAP Mixer DEC0" value="1" />
|
||||
<ctl name="ADC2_MIXER Switch" value="1" />
|
||||
<ctl name="ADC2 MUX" value="INP3" />
|
||||
</path>
|
||||
|
||||
<path name="amic4">
|
||||
<ctl name="TX DEC0 MUX" value="SWR_MIC" />
|
||||
<ctl name="TX SMIC MUX0" value="ADC3" />
|
||||
<ctl name="TX_CDC_DMA_TX_3 Channels" value="One" />
|
||||
<ctl name="TX_AIF1_CAP Mixer DEC0" value="1" />
|
||||
<ctl name="ADC3_MIXER Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="dmic1">
|
||||
<ctl name="TX_CDC_DMA_TX_3 Channels" value="One" />
|
||||
<ctl name="TX_AIF1_CAP Mixer DEC0" value="1" />
|
||||
@ -2414,43 +2514,12 @@
|
||||
</path>
|
||||
|
||||
<path name="speaker">
|
||||
<ctl name="WSA_CDC_DMA_RX_0 Channels" value="Two" />
|
||||
<ctl name="WSA RX0 MUX" value="AIF1_PB" />
|
||||
<ctl name="WSA RX1 MUX" value="AIF1_PB" />
|
||||
<ctl name="WSA_RX0 INP0" value="RX0" />
|
||||
<ctl name="WSA_RX1 INP0" value="RX1" />
|
||||
<ctl name="WSA_COMP1 Switch" value="1" />
|
||||
<ctl name="WSA_COMP2 Switch" value="1" />
|
||||
<ctl name="SpkrLeft COMP Switch" value="1" />
|
||||
<ctl name="SpkrLeft BOOST Switch" value="1" />
|
||||
<ctl name="SpkrLeft VISENSE Switch" value="1" />
|
||||
<ctl name="SpkrLeft SWR DAC_Port 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_CDC_DMA_RX_0 Channels" value="One" />
|
||||
<ctl name="WSA RX0 MUX" value="AIF1_PB" />
|
||||
<ctl name="WSA_RX0 INP0" value="RX0" />
|
||||
<ctl name="WSA_COMP1 Switch" value="1" />
|
||||
<ctl name="SpkrLeft COMP Switch" value="1" />
|
||||
<ctl name="SpkrLeft BOOST Switch" value="1" />
|
||||
<ctl name="SpkrLeft VISENSE Switch" value="1" />
|
||||
<ctl name="SpkrLeft SWR DAC_Port Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="speaker-mono-2">
|
||||
<ctl name="WSA_CDC_DMA_RX_0 Channels" value="One" />
|
||||
<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-vbat-mono">
|
||||
@ -2482,11 +2551,6 @@
|
||||
</path>
|
||||
|
||||
<path name="sidetone-headphones">
|
||||
<path name="sidetone-iir" />
|
||||
<ctl name="IIR0 INP0 Volume" value="54" />
|
||||
<ctl name="IIR0 INP0 MUX" value="DEC0" />
|
||||
<ctl name="RX INT0 MIX2 INP" value="SRC0" />
|
||||
<ctl name="RX INT1 MIX2 INP" value="SRC0" />
|
||||
</path>
|
||||
|
||||
<path name="sidetone-handset">
|
||||
@ -2502,25 +2566,15 @@
|
||||
</path>
|
||||
|
||||
<path name="speaker-mic">
|
||||
<path name="dmic1" />
|
||||
<path name="amic1" />
|
||||
</path>
|
||||
|
||||
<path name="speaker-protected">
|
||||
<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 name="speaker" />
|
||||
<ctl name="VI_FEED_TX Channels" value="Two" />
|
||||
<ctl name="WSA_RX_0_VI_FB_LCH_MUX" value="WSA_CDC_DMA_TX_0" />
|
||||
<ctl name="WSA_RX_0_VI_FB_RCH_MUX" value="WSA_CDC_DMA_TX_0" />
|
||||
</path>
|
||||
|
||||
<path name="voice-speaker-protected">
|
||||
<ctl name="WSA_AIF_VI Mixer WSA_SPKR_VI_1" value="1" />
|
||||
<ctl name="WSA_CDC_DMA_0 TX Format" value="PACKED_16B" />
|
||||
<path name="speaker-mono" />
|
||||
<ctl name="VI_FEED_TX Channels" value="One" />
|
||||
<ctl name="WSA_RX_0_VI_FB_LCH_MUX" value="WSA_CDC_DMA_TX_0" />
|
||||
</path>
|
||||
|
||||
<path name="voice-speaker-2-protected">
|
||||
@ -2561,19 +2615,31 @@
|
||||
</path>
|
||||
|
||||
<path name="handset">
|
||||
<ctl name="WSA_CDC_DMA_RX_0 Channels" value="One" />
|
||||
<ctl name="WSA RX0 MUX" value="AIF1_PB" />
|
||||
<ctl name="WSA_RX0 INP0" value="RX0" />
|
||||
<ctl name="WSA_COMP1 Switch" value="1" />
|
||||
<ctl name="SpkrLeft COMP Switch" value="1" />
|
||||
<ctl name="SpkrLeft BOOST Switch" value="1" />
|
||||
<ctl name="SpkrLeft VISENSE Switch" value="1" />
|
||||
<ctl name="SpkrLeft SWR DAC_Port Switch" value="1" />
|
||||
<ctl name="EAR SPKR PA Gain" value="G_6_DB" />
|
||||
<ctl name="RX_MACRO RX0 MUX" value="AIF1_PB" />
|
||||
<ctl name="RX_CDC_DMA_RX_0 Channels" value="One" />
|
||||
<ctl name="RX INT0_1 MIX1 INP0" value="RX0" />
|
||||
<ctl name="RX_COMP1 Switch" value="0" />
|
||||
<ctl name="RX_COMP2 Switch" value="0" />
|
||||
<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" />
|
||||
<ctl name="EAR PA GAIN" value="G_6_DB" />
|
||||
</path>
|
||||
|
||||
<path name="handset-mic">
|
||||
<path name="dmic3" />
|
||||
<ctl name="TX_CDC_DMA_TX_3 Channels" value="Two" />
|
||||
<ctl name="TX DEC0 MUX" value="SWR_MIC" />
|
||||
<ctl name="TX SMIC MUX0" value="ADC0" />
|
||||
<ctl name="TX_AIF1_CAP Mixer DEC0" value="1" />
|
||||
<ctl name="ADC1_MIXER Switch" value="1" />
|
||||
<ctl name="TX DEC1 MUX" value="SWR_MIC" />
|
||||
<ctl name="TX SMIC MUX1" value="ADC2" />
|
||||
<ctl name="TX_AIF1_CAP Mixer DEC1" value="1" />
|
||||
<ctl name="ADC2_MIXER Switch" value="1" />
|
||||
<ctl name="ADC2 MUX" value="INP3" />
|
||||
<ctl name="ADC2 Volume" value="6" />
|
||||
<ctl name="ADC1 Volume" value="6" />
|
||||
</path>
|
||||
|
||||
<path name="headphones">
|
||||
@ -2584,10 +2650,8 @@
|
||||
<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="RX_COMP1 Switch" value="0" />
|
||||
<ctl name="RX_COMP2 Switch" value="0" />
|
||||
<ctl name="HPHL_RDAC Switch" value="1" />
|
||||
<ctl name="HPHR_RDAC Switch" value="1" />
|
||||
</path>
|
||||
@ -2602,9 +2666,13 @@
|
||||
</path>
|
||||
|
||||
<path name="hph-highquality-mode">
|
||||
<ctl name="RX_HPH_PWR_MODE" value="LOHIFI" />
|
||||
<ctl name="RX HPH Mode" value="CLS_H_HIFI" />
|
||||
</path>
|
||||
|
||||
<path name="hph-lowpower-mode">
|
||||
<ctl name="RX_HPH_PWR_MODE" value="ULP" />
|
||||
<ctl name="RX HPH Mode" value="CLS_H_LOHIFI" />
|
||||
</path>
|
||||
|
||||
<path name="true-native-mode">
|
||||
@ -2749,18 +2817,32 @@
|
||||
<!-- Dual MIC devices -->
|
||||
<path name="handset-dmic-endfire">
|
||||
<ctl name="TX_CDC_DMA_TX_3 Channels" value="Two" />
|
||||
<ctl name="TX DEC0 MUX" value="SWR_MIC" />
|
||||
<ctl name="TX SMIC MUX0" value="ADC0" />
|
||||
<ctl name="TX_AIF1_CAP Mixer DEC0" value="1" />
|
||||
<ctl name="TX DMIC MUX0" value="DMIC2" />
|
||||
<ctl name="ADC1_MIXER Switch" value="1" />
|
||||
<ctl name="TX DEC1 MUX" value="SWR_MIC" />
|
||||
<ctl name="TX SMIC MUX1" value="ADC2" />
|
||||
<ctl name="TX_AIF1_CAP Mixer DEC1" value="1" />
|
||||
<ctl name="TX DMIC MUX1" value="DMIC3" />
|
||||
<ctl name="ADC2_MIXER Switch" value="1" />
|
||||
<ctl name="ADC2 MUX" value="INP3" />
|
||||
<ctl name="ADC2 Volume" value="12" />
|
||||
<ctl name="ADC1 Volume" value="12" />
|
||||
</path>
|
||||
|
||||
<path name="speaker-dmic-endfire">
|
||||
<ctl name="TX_CDC_DMA_TX_3 Channels" value="Two" />
|
||||
<ctl name="TX DEC0 MUX" value="SWR_MIC" />
|
||||
<ctl name="TX SMIC MUX0" value="ADC0" />
|
||||
<ctl name="TX_AIF1_CAP Mixer DEC0" value="1" />
|
||||
<ctl name="TX DMIC MUX0" value="DMIC2" />
|
||||
<ctl name="ADC1_MIXER Switch" value="1" />
|
||||
<ctl name="TX DEC1 MUX" value="SWR_MIC" />
|
||||
<ctl name="TX SMIC MUX1" value="ADC2" />
|
||||
<ctl name="TX_AIF1_CAP Mixer DEC1" value="1" />
|
||||
<ctl name="TX DMIC MUX1" value="DMIC3" />
|
||||
<ctl name="ADC2_MIXER Switch" value="1" />
|
||||
<ctl name="ADC2 MUX" value="INP3" />
|
||||
<ctl name="ADC2 Volume" value="10" />
|
||||
<ctl name="ADC1 Volume" value="10" />
|
||||
</path>
|
||||
|
||||
<path name="dmic-endfire">
|
||||
@ -2769,7 +2851,18 @@
|
||||
</path>
|
||||
|
||||
<path name="handset-stereo-dmic-ef">
|
||||
<path name="handset-dmic-endfire" />
|
||||
<ctl name="TX_CDC_DMA_TX_3 Channels" value="Two" />
|
||||
<ctl name="TX DEC0 MUX" value="SWR_MIC" />
|
||||
<ctl name="TX SMIC MUX0" value="ADC0" />
|
||||
<ctl name="TX_AIF1_CAP Mixer DEC0" value="1" />
|
||||
<ctl name="ADC1_MIXER Switch" value="1" />
|
||||
<ctl name="TX DEC1 MUX" value="SWR_MIC" />
|
||||
<ctl name="TX SMIC MUX1" value="ADC2" />
|
||||
<ctl name="TX_AIF1_CAP Mixer DEC1" value="1" />
|
||||
<ctl name="ADC2_MIXER Switch" value="1" />
|
||||
<ctl name="ADC2 MUX" value="INP3" />
|
||||
<ctl name="ADC2 Volume" value="6" />
|
||||
<ctl name="ADC1 Volume" value="6" />
|
||||
</path>
|
||||
|
||||
<path name="speaker-stereo-dmic-ef">
|
||||
|
Loading…
Reference in New Issue
Block a user