sm8450-common: audio: Decommonize static mixer paths overlay and resourcemanager
Change-Id: I33878856f56c633a0d558ab15f2c10363ad97614
This commit is contained in:
		@@ -1,225 +0,0 @@
 | 
			
		||||
<?xml version="1.0" encoding="ISO-8859-1"?>
 | 
			
		||||
<!-- Be careful to write the static overlay xml                             -->
 | 
			
		||||
<!-- 1. do not create the new path name here, the new path name should      -->
 | 
			
		||||
<!--    be created in common mixer path xml                                 -->
 | 
			
		||||
<!-- 2. the new path name should not contain the nested path, and should be -->
 | 
			
		||||
<!--    defined follow after default ctrl                                   -->
 | 
			
		||||
<!-- 3. the default ctl here will override that in common mixer path xml    -->
 | 
			
		||||
<!-- 4. the first level path will replace the path in common mixer path xml -->
 | 
			
		||||
<!-- 5. the max nested path can't exceed 10                                 -->
 | 
			
		||||
 | 
			
		||||
<mixer>
 | 
			
		||||
    <ctl name="HPHL Volume" value="18" />
 | 
			
		||||
    <ctl name="HPHR Volume" value="18" />
 | 
			
		||||
    <ctl name="TX_DEC0 Volume" value="84" />
 | 
			
		||||
    <ctl name="TX_DEC1 Volume" value="84" />
 | 
			
		||||
    <ctl name="TX_DEC2 Volume" value="84" />
 | 
			
		||||
    <ctl name="TX_DEC3 Volume" value="84" />
 | 
			
		||||
    <ctl name="TX_DEC4 Volume" value="84" />
 | 
			
		||||
    <ctl name="ADC1 Volume" value="6" />
 | 
			
		||||
    <ctl name="ADC2 Volume" value="6" />
 | 
			
		||||
    <ctl name="ADC3 Volume" value="6" />
 | 
			
		||||
    <ctl name="ADC4 Volume" value="6" />
 | 
			
		||||
 | 
			
		||||
    <!-- add new cirrus CS35L41 controls  -->
 | 
			
		||||
    <ctl name="T DSP1 Firmware" value="Protection" />
 | 
			
		||||
    <ctl name="T DSP1 Preload Switch" value="1" />
 | 
			
		||||
    <ctl name="T DRE DRE Switch" value="0" />
 | 
			
		||||
    <ctl name="T PCM Source" value="None" />
 | 
			
		||||
    <ctl name="T ASPTX Ref" value="None" />
 | 
			
		||||
    <ctl name="T PCM Soft Ramp" value="4ms" />
 | 
			
		||||
    <ctl name="T AMP PCM Gain" value="18" />
 | 
			
		||||
    <ctl name="T ASP TX1 Source" value="DSPTX1" />
 | 
			
		||||
    <ctl name="T ASP TX2 Source" value="Zero" />
 | 
			
		||||
    <ctl name="T ASP TX3 Source" value="Zero" />
 | 
			
		||||
    <ctl name="T ASP TX4 Source" value="Zero" />
 | 
			
		||||
    <ctl name="T ASPRX1 Slot Position" value="0" />
 | 
			
		||||
    <ctl name="T ASPRX2 Slot Position" value="2" />
 | 
			
		||||
    <ctl name="T ASPTX1 Slot Position" value="0" />
 | 
			
		||||
    <ctl name="T DSP RX1 Source" value="ASPRX1" />
 | 
			
		||||
    <ctl name="T DSP RX2 Source" value="ASPRX2" />
 | 
			
		||||
    <ctl name="T Noise Gate" value="51" />
 | 
			
		||||
    <ctl name="T Fast Use Case Delta File" value="T-music.txt" />
 | 
			
		||||
    <ctl name="T AMP Enable Switch" value="0" />
 | 
			
		||||
    <ctl name="T Boost Class-H Tracking Enable" value="1" />
 | 
			
		||||
    <ctl name="T Boost Target Voltage" value="0" />
 | 
			
		||||
    <ctl name="T Fast Use Case Switch Enable" value="1"/>
 | 
			
		||||
    <ctl name="T Digital PCM Volume"  value="817"/>
 | 
			
		||||
 | 
			
		||||
    <ctl name="B DSP1 Firmware" value="Protection" />
 | 
			
		||||
    <ctl name="B DSP1 Preload Switch" value="1" />
 | 
			
		||||
    <ctl name="B DRE DRE Switch" value="0" />
 | 
			
		||||
    <ctl name="B PCM Source" value="None" />
 | 
			
		||||
    <ctl name="B ASPTX Ref" value="None" />
 | 
			
		||||
    <ctl name="B PCM Soft Ramp" value="4ms" />
 | 
			
		||||
    <ctl name="B AMP PCM Gain" value="18" />
 | 
			
		||||
    <ctl name="B ASP TX1 Source" value="DSPTX1" />
 | 
			
		||||
    <ctl name="B ASP TX2 Source" value="Zero" />
 | 
			
		||||
    <ctl name="B ASP TX3 Source" value="Zero" />
 | 
			
		||||
    <ctl name="B ASP TX4 Source" value="Zero" />
 | 
			
		||||
    <ctl name="B ASPRX1 Slot Position" value="1" />
 | 
			
		||||
    <ctl name="B ASPRX2 Slot Position" value="4" />
 | 
			
		||||
    <ctl name="B ASPTX1 Slot Position" value="1" />
 | 
			
		||||
    <ctl name="B DSP RX1 Source" value="ASPRX1" />
 | 
			
		||||
    <ctl name="B DSP RX2 Source" value="ASPRX1" />
 | 
			
		||||
    <ctl name="B Noise Gate" value="51" />
 | 
			
		||||
    <ctl name="B Fast Use Case Delta File" value="B-music.txt" />
 | 
			
		||||
    <ctl name="B AMP Enable Switch" value="0" />
 | 
			
		||||
    <ctl name="B Boost Class-H Tracking Enable" value="1" />
 | 
			
		||||
    <ctl name="B Boost Target Voltage" value="0" />
 | 
			
		||||
    <ctl name="B Fast Use Case Switch Enable" value="1"/>
 | 
			
		||||
    <ctl name="B Digital PCM Volume"  value="817"/>
 | 
			
		||||
 | 
			
		||||
    <ctl name="T Spksw Gpio Swtich"  value="0"/>
 | 
			
		||||
    <!-- cirrus CS35L41 controls end -->>
 | 
			
		||||
 | 
			
		||||
    <path name="speaker">
 | 
			
		||||
        <ctl name="T PCM Source" value="DSP" />
 | 
			
		||||
        <ctl name="T ASPTX Ref" value="Ref" />
 | 
			
		||||
        <ctl name="T AMP Enable Switch" value="1" />
 | 
			
		||||
        <ctl name="B PCM Source" value="DSP" />
 | 
			
		||||
        <ctl name="B ASPTX Ref" value="Ref" />
 | 
			
		||||
        <ctl name="B AMP Enable Switch" value="1" />
 | 
			
		||||
        <ctl name="T Noise Gate" value="16245" />
 | 
			
		||||
        <ctl name="B Noise Gate" value="16245" />
 | 
			
		||||
    </path>
 | 
			
		||||
 | 
			
		||||
    <path name="speaker-mono">
 | 
			
		||||
        <ctl name="T PCM Source" value="DSP" />
 | 
			
		||||
        <ctl name="T ASPTX Ref" value="Ref" />
 | 
			
		||||
        <ctl name="T AMP Enable Switch" value="1" />
 | 
			
		||||
    </path>
 | 
			
		||||
 | 
			
		||||
    <path name="speaker-mono-2">
 | 
			
		||||
        <ctl name="T PCM Source" value="DSP" />
 | 
			
		||||
        <ctl name="T ASPTX Ref" value="Ref" />
 | 
			
		||||
        <ctl name="T AMP Enable Switch" value="1" />
 | 
			
		||||
        <ctl name="B PCM Source" value="DSP" />
 | 
			
		||||
        <ctl name="B ASPTX Ref" value="Ref" />
 | 
			
		||||
        <ctl name="B AMP Enable Switch" value="1" />
 | 
			
		||||
        <ctl name="T Fast Use Case Delta File" value="T-handfree.txt" />
 | 
			
		||||
        <ctl name="B Fast Use Case Delta File" value="B-handfree.txt" />
 | 
			
		||||
    </path>
 | 
			
		||||
 | 
			
		||||
   <path name="speaker-mono-vbat">
 | 
			
		||||
       <path name="speaker-mono" />
 | 
			
		||||
   </path>
 | 
			
		||||
 | 
			
		||||
   <path name="speaker-mono-2-vbat">
 | 
			
		||||
       <path name="speaker-mono-2" />
 | 
			
		||||
   </path>
 | 
			
		||||
 | 
			
		||||
   <path name="speaker-vbat">
 | 
			
		||||
       <path name="speaker" />
 | 
			
		||||
   </path>
 | 
			
		||||
 | 
			
		||||
    <path name="speaker-mic">
 | 
			
		||||
        <path name="amic5" />
 | 
			
		||||
    </path>
 | 
			
		||||
 | 
			
		||||
    <path name="speaker-mic-liquid">
 | 
			
		||||
        <path name="amic5" />
 | 
			
		||||
    </path>
 | 
			
		||||
 | 
			
		||||
    <path name="speaker-protected">
 | 
			
		||||
        <path name="speaker" />
 | 
			
		||||
    </path>
 | 
			
		||||
 | 
			
		||||
    <path name="voice-speaker-protected">
 | 
			
		||||
        <path name="speaker-mono" />
 | 
			
		||||
    </path>
 | 
			
		||||
 | 
			
		||||
    <path name="voice-speaker-2-protected">
 | 
			
		||||
        <path name="speaker-mono-2" />
 | 
			
		||||
    </path>
 | 
			
		||||
 | 
			
		||||
    <path name="speaker-protected-vbat">
 | 
			
		||||
        <path name="speaker-protected" />
 | 
			
		||||
    </path>
 | 
			
		||||
 | 
			
		||||
    <path name="voice-speaker-protected-vbat">
 | 
			
		||||
        <path name="voice-speaker-protected" />
 | 
			
		||||
    </path>
 | 
			
		||||
 | 
			
		||||
    <path name="voice-speaker-2-protected-vbat">
 | 
			
		||||
        <path name="voice-speaker-2-protected" />
 | 
			
		||||
    </path>
 | 
			
		||||
 | 
			
		||||
    <path name="handset">
 | 
			
		||||
        <ctl name="T PCM Source" value="DSP" />
 | 
			
		||||
        <ctl name="T ASPTX Ref" value="Ref" />
 | 
			
		||||
        <ctl name="T AMP Enable Switch" value="1" />
 | 
			
		||||
        <ctl name="T AMP PCM Gain" value="5" />
 | 
			
		||||
        <ctl name="T Fast Use Case Delta File" value="T-handset.txt" />
 | 
			
		||||
    </path>
 | 
			
		||||
 | 
			
		||||
    <path name="handset-mic">
 | 
			
		||||
        <path name="amic1" />
 | 
			
		||||
    </path>
 | 
			
		||||
 | 
			
		||||
    <path name="handset-dmic-endfire">
 | 
			
		||||
        <ctl name="TX DEC1 MUX" value="SWR_MIC" />
 | 
			
		||||
        <ctl name="TX SMIC MUX1" value="SWR_MIC4" />
 | 
			
		||||
        <ctl name="TX_AIF1_CAP Mixer DEC1" value="1" />
 | 
			
		||||
        <ctl name="ADC1 ChMap" value="SWRM_TX2_CH1" />
 | 
			
		||||
        <ctl name="TX0 MODE" value="ADC_LP" />
 | 
			
		||||
        <ctl name="ADC1_MIXER Switch" value="1" />
 | 
			
		||||
        <ctl name="AMIC1_MIXER Switch" value="1" />
 | 
			
		||||
        <ctl name="TX DEC3 MUX" value="SWR_MIC" />
 | 
			
		||||
        <ctl name="TX SMIC MUX3" value="SWR_MIC9" />
 | 
			
		||||
        <ctl name="TX_AIF1_CAP Mixer DEC3" value="1" />
 | 
			
		||||
        <ctl name="ADC4 MUX" value="INP5" />
 | 
			
		||||
        <ctl name="ADC4 ChMap" value="SWRM_TX3_CH2" />
 | 
			
		||||
        <ctl name="TX3 MODE" value="ADC_LP" />
 | 
			
		||||
        <ctl name="ADC4_MIXER Switch" value="1" />
 | 
			
		||||
        <ctl name="AMIC5_MIXER Switch" value="1" />
 | 
			
		||||
        <ctl name="ADC1 Volume" value="8" />
 | 
			
		||||
        <ctl name="ADC4 Volume" value="8" />
 | 
			
		||||
    </path>
 | 
			
		||||
 | 
			
		||||
    <path name="speaker-dmic-endfire">
 | 
			
		||||
        <ctl name="TX DEC1 MUX" value="SWR_MIC" />
 | 
			
		||||
        <ctl name="TX SMIC MUX1" value="SWR_MIC4" />
 | 
			
		||||
        <ctl name="TX_AIF1_CAP Mixer DEC1" value="1" />
 | 
			
		||||
        <ctl name="ADC1 ChMap" value="SWRM_TX2_CH1" />
 | 
			
		||||
        <ctl name="TX0 MODE" value="ADC_LP" />
 | 
			
		||||
        <ctl name="ADC1_MIXER Switch" value="1" />
 | 
			
		||||
        <ctl name="AMIC1_MIXER Switch" value="1" />
 | 
			
		||||
        <ctl name="TX DEC3 MUX" value="SWR_MIC" />
 | 
			
		||||
        <ctl name="TX SMIC MUX3" value="SWR_MIC9" />
 | 
			
		||||
        <ctl name="TX_AIF1_CAP Mixer DEC3" value="1" />
 | 
			
		||||
        <ctl name="ADC4 MUX" value="INP5" />
 | 
			
		||||
        <ctl name="ADC4 ChMap" value="SWRM_TX3_CH2" />
 | 
			
		||||
        <ctl name="TX3 MODE" value="ADC_LP" />
 | 
			
		||||
        <ctl name="ADC4_MIXER Switch" value="1" />
 | 
			
		||||
        <ctl name="AMIC5_MIXER Switch" value="1" />
 | 
			
		||||
        <ctl name="ADC1 Volume" value="6" />
 | 
			
		||||
        <ctl name="ADC4 Volume" value="6" />
 | 
			
		||||
    </path>
 | 
			
		||||
 | 
			
		||||
    <path name="handset-stereo-dmic-ef">
 | 
			
		||||
        <path name="handset-dmic-dual-adc" />
 | 
			
		||||
    </path>
 | 
			
		||||
 | 
			
		||||
    <!--ultrasound begin-->
 | 
			
		||||
    <path name="ultrasound-handset">
 | 
			
		||||
        <ctl name="T PCM Source" value="DSP" />
 | 
			
		||||
        <ctl name="T ASPTX Ref" value="Ref" />
 | 
			
		||||
        <ctl name="T AMP Enable Switch" value="1" />
 | 
			
		||||
        <ctl name="T AMP PCM Gain" value="5" />
 | 
			
		||||
    </path>
 | 
			
		||||
 | 
			
		||||
    <path name="ultrasound-mic">
 | 
			
		||||
        <ctl name="TX DEC4 MUX" value="SWR_MIC" />
 | 
			
		||||
        <ctl name="TX_DEC4 Volume" value="84" />
 | 
			
		||||
        <ctl name="TX SMIC MUX4" value="SWR_MIC8" />
 | 
			
		||||
        <ctl name="TX_AIF2_CAP Mixer DEC4" value="1" />
 | 
			
		||||
        <ctl name="ADC3 Volume" value="12" />
 | 
			
		||||
        <ctl name="ADC3 ChMap" value="SWRM_TX3_CH1" />
 | 
			
		||||
        <ctl name="TX2 MODE" value="ADC_LP" />
 | 
			
		||||
        <ctl name="HDR34 MUX" value="HDR34" />
 | 
			
		||||
        <ctl name="ADC3_MIXER Switch" value="1" />
 | 
			
		||||
        <ctl name="AMIC5_MIXER Switch" value="1" />
 | 
			
		||||
    </path>
 | 
			
		||||
    <!--ultrasound end-->
 | 
			
		||||
</mixer>
 | 
			
		||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user