blob: 698abed894c207a1c5b0b8523ff01c13349bfda2 [file] [log] [blame]
<mixer>
<!-- These are the initial mixer settings -->
<ctl name="DAC1R Mixer AIF1.1 Switch" value="0" />
<ctl name="DAC1L Mixer AIF1.1 Switch" value="0" />
<ctl name="DAC1 Switch" value="0" />
<ctl name="Speaker Switch" value="0" />
<ctl name="SPKR DAC1 Switch" value="0" />
<ctl name="SPKL DAC1 Switch" value="0" />
<ctl name="Headphone Switch" value="0" />
<ctl name="Right Headphone Mux" value="Mixer" />
<ctl name="Left Headphone Mux" value="Mixer" />
<ctl name="MIXINL IN1L Switch" value="0" />
<ctl name="IN1L Switch" value="0" />
<ctl name="IN1L PGA IN1LP Switch" value="1" />
<ctl name="IN1L PGA IN1LN Switch" value="1" />
<ctl name="MIXINL IN2L Switch" value="0" />
<ctl name="IN2L Switch" value="0" />
<ctl name="IN2L PGA IN2LP Switch" value="1" />
<ctl name="IN2L PGA IN2LN Switch" value="1" />
<ctl name="MIXINR IN1R Switch" value="0" />
<ctl name="IN1R Switch" value="0" />
<ctl name="IN1R PGA IN1RP Switch" value="1" />
<ctl name="IN1R PGA IN1RN Switch" value="1" />
<ctl name="MIXINR IN2R Switch" value="0" />
<ctl name="IN2R Switch" value="0" />
<ctl name="IN2R PGA IN2RP Switch" value="1" />
<ctl name="IN2R PGA IN2RN Switch" value="1" />
<ctl name="AIF2DACL Mux" value="AIF3" />
<ctl name="AIF2DACR Mux" value="AIF3" />
<ctl name="AIF3ADC Mux" value="Mono PCM" />
<ctl name="Mono PCM Out Mux" value="AIF2ADCL" />
<!-- These are commonly used control sequences -->
<path name="dac1">
<ctl name="DAC1R Mixer AIF1.1 Switch" value="1" />
<ctl name="DAC1L Mixer AIF1.1 Switch" value="1" />
<ctl name="DAC1 Switch" value="1" />
</path>
<path name="speaker-off">
<ctl name="Speaker Switch" value="0" />
<ctl name="SPKR DAC1 Switch" value="0" />
<ctl name="SPKL DAC1 Switch" value="0" />
</path>
<path name="headphone-off">
<ctl name="Headphone Switch" value="0" />
<ctl name="Left Output Mixer DAC Switch" value="0" />
<ctl name="Right Output Mixer DAC Switch" value="0" />
</path>
<path name="eq-speaker">
<ctl name="AIF1DAC1 EQ Switch" value="1" />
<ctl name="AIF1DAC1 EQ1 Volume" value="12" />
<ctl name="AIF1DAC1 EQ2 Volume" value="12" />
<ctl name="AIF1DAC1 EQ3 Volume" value="12" />
<ctl name="AIF1DAC1 EQ4 Volume" value="12" />
<ctl name="AIF1DAC1 EQ5 Volume" value="12" />
</path>
<path name="eq-headphone">
<ctl name="AIF1DAC1 EQ Switch" value="0" />
</path>
<path name="headphones">
<path name="dac1" />
<path name="speaker-off" />
<ctl name="Headphone Switch" value="1" />
<ctl name="Left Output Mixer DAC Switch" value="1" />
<ctl name="Right Output Mixer DAC Switch" value="1" />
<path name="eq-headphone" />
</path>
<path name="speaker">
<path name="dac1" />
<path name="headphone-off" />
<ctl name="Speaker Switch" value="1" />
<ctl name="SPKR DAC1 Switch" value="1" />
<ctl name="SPKL DAC1 Switch" value="1" />
<ctl name="Speaker Mixer Volume" value="3" />
<ctl name="Speaker Boost Volume" value="4" />
<ctl name="AIF1DAC1 DRC Switch" value="1" />
<path name="eq-speaker" />
</path>
<!-- TODO: these values are for lunchbox Mic wiring. Must be changed for Alpha HW -->
<path name="adc-to-aif1adc">
<ctl name="AIF1ADC1L Mixer ADC/DMIC Switch" value="1" />
<ctl name="AIF1ADC1R Mixer ADC/DMIC Switch" value="1" />
<ctl name="AIF1ADC1L Mixer AIF2 Switch" value="0" />
<ctl name="AIF1ADC1R Mixer AIF2 Switch" value="0" />
</path>
<path name="aif2-to-aif1adc">
<ctl name="AIF1ADC1L Mixer ADC/DMIC Switch" value="0" />
<ctl name="AIF1ADC1R Mixer ADC/DMIC Switch" value="0" />
<ctl name="AIF1ADC1L Mixer AIF2 Switch" value="1" />
<ctl name="AIF1ADC1R Mixer AIF2 Switch" value="1" />
</path>
<path name="main-mic-on">
<ctl name="MIXINL IN1L Switch" value="1" />
<ctl name="MIXINL IN1L Volume" value="1" />
<ctl name="IN1L Switch" value="1" />
<ctl name="AIF1ADCR Source" value="Left" />
<path name="adc-to-aif1adc" />
</path>
<path name="main-mic-off">
<ctl name="MIXINL IN1L Switch" value="0" />
<ctl name="MIXINL IN1L Volume" value="0" />
<ctl name="IN1L Switch" value="0" />
</path>
<!-- second mic not connected on lunchbox: use main mic -->
<path name="second-mic-on">
<ctl name="MIXINL IN1L Switch" value="1" />
<ctl name="MIXINL IN1L Volume" value="1" />
<ctl name="IN1L Switch" value="1" />
<ctl name="AIF1ADCR Source" value="Left" />
<path name="adc-to-aif1adc" />
</path>
<path name="second-mic-off">
<ctl name="MIXINL IN1L Switch" value="0" />
<ctl name="MIXINL IN1L Volume" value="0" />
<ctl name="IN1L Switch" value="0" />
</path>
<!-- third mic not connected on lunchbox: use main mic -->
<path name="third-mic-on">
<ctl name="MIXINL IN1L Switch" value="1" />
<ctl name="MIXINL IN1L Volume" value="1" />
<ctl name="IN1L Switch" value="1" />
<ctl name="AIF1ADCR Source" value="Left" />
<path name="adc-to-aif1adc" />
</path>
<path name="third-mic-off">
<ctl name="MIXINL IN1L Switch" value="0" />
<ctl name="MIXINL IN1L Volume" value="0" />
<ctl name="IN1L Switch" value="0" />
</path>
<path name="headset-mic-on">
<ctl name="MIXINL IN2L Switch" value="1" />
<ctl name="MIXINL IN2L Volume" value="1" />
<ctl name="IN2L Switch" value="1" />
<ctl name="AIF1ADCR Source" value="Left" />
<path name="adc-to-aif1adc" />
</path>
<path name="headset-mic-off">
<ctl name="MIXINL IN2L Switch" value="0" />
<ctl name="MIXINL IN2L Volume" value="0" />
<ctl name="IN2L Switch" value="0" />
</path>
<path name="main-mic">
<path name="main-mic-on" />
<path name="second-mic-off" />
<path name="headset-mic-off" />
</path>
<path name="second-mic">
<path name="second-mic-on" />
<path name="main-mic-off" />
<path name="headset-mic-off" />
</path>
<path name="headset-mic">
<path name="headset-mic-on" />
<path name="main-mic-off" />
<path name="second-mic-off" />
</path>
<!-- These are useful named paths -->
<!-- Playback paths -->
<path name="playback-idle">
<ctl name="Speaker Switch" value="0" />
<ctl name="SPKR DAC1 Switch" value="0" />
<ctl name="SPKL DAC1 Switch" value="0" />
<ctl name="Headphone Switch" value="0" />
</path>
<path name="media-speaker">
<path name="speaker" />
<ctl name="Speaker Volume" value="57" />
</path>
<path name="media-headphones">
<path name="headphones" />
<ctl name="Headphone Volume" value="51" />
</path>
<path name="voice-rec-speaker">
<path name="speaker" />
<ctl name="Speaker Volume" value="57" />
</path>
<path name="voice-rec-headphones">
<path name="headphones" />
<ctl name="Headphone Volume" value="51" />
</path>
<path name="communication-speaker">
<path name="speaker" />
<ctl name="Speaker Volume" value="57" />
</path>
<path name="communication-headphones">
<path name="headphones" />
<ctl name="Headphone Volume" value="51" />
</path>
<path name="speaker-and-headphones">
<path name="dac1" />
<ctl name="Headphone Switch" value="1" />
<ctl name="Left Output Mixer DAC Switch" value="1" />
<ctl name="Right Output Mixer DAC Switch" value="1" />
<ctl name="Speaker Switch" value="1" />
<ctl name="SPKR DAC1 Switch" value="1" />
<ctl name="SPKL DAC1 Switch" value="1" />
<ctl name="Speaker Boost Volume" value="4" />
<ctl name="Speaker Volume" value="57" />
<ctl name="AIF1DAC1 DRC Switch" value="1" />
<path name="eq-speaker" />
</path>
<path name="bt-sco-headset">
<ctl name="AIF2DAC2L Mixer AIF1.1 Switch" value="1" />
<ctl name="AIF2DAC2R Mixer AIF1.1 Switch" value="1" />
</path>
<!-- Capture paths -->
<path name="capture-idle">
<path name="main-mic-off" />
<path name="second-mic-off" />
<path name="headset-mic-off" />
</path>
<path name="media-main-mic">
<path name="main-mic" />
<ctl name="IN1L Volume" value="20" />
</path>
<path name="voice-rec-main-mic">
<path name="main-mic" />
<ctl name="IN1L Volume" value="20" />
</path>
<path name="communication-main-mic">
<path name="main-mic" />
<ctl name="IN1L Volume" value="20" />
</path>
<path name="media-second-mic">
<path name="second-mic" />
<ctl name="IN1L Volume" value="20" />
</path>
<path name="media-headset-mic">
<path name="headset-mic" />
<ctl name="IN2L Volume" value="20" />
</path>
<path name="voice-rec-headset-mic">
<path name="headset-mic" />
<ctl name="IN2L Volume" value="20" />
</path>
<path name="communication-headset-mic">
<path name="headset-mic" />
<ctl name="IN2L Volume" value="20" />
</path>
<path name="bt-sco-mic">
<path name="aif2-to-aif1adc" />
</path>
</mixer>