summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/audio_hw.h5
-rw-r--r--configs/tiny_hw.xml14
2 files changed, 17 insertions, 2 deletions
diff --git a/audio/audio_hw.h b/audio/audio_hw.h
index dfeef02..ee52ca9 100644
--- a/audio/audio_hw.h
+++ b/audio/audio_hw.h
@@ -154,12 +154,15 @@ struct route_setting headset_input[] = {
{ .ctl_name = "AIF2DAC2L Mixer AIF2 Switch", .intval = 0, },
{ .ctl_name = "AIF2DAC2R Mixer AIF2 Switch", .intval = 0, },
{ .ctl_name = "Headphone ZC Switch", .intval = 0, },
- { .ctl_name = "AIF1DAC1 Volume", .intval = 60, },
+ { .ctl_name = "AIF1DAC1 Volume", .intval = 110, },
{ .ctl_name = "AIF2DAC Volume", .intval = 96, },
{ .ctl_name = "AIF1 Boost Volume", .intval = 0, },
{ .ctl_name = "AIF2 Boost Volume", .intval = 0, },
{ .ctl_name = "DAC1 Volume", .intval = 96, },
{ .ctl_name = "Headphone Volume", .intval = 54, },
+ { .ctl_name = "MIXINR IN1R Switch", .intval = 1, },
+ { .ctl_name = "MIXINR IN2R Switch", .intval = 1, },
+ { .ctl_name = "IN1R Volume", .intval = 25, },
{ .ctl_name = NULL, },
};
diff --git a/configs/tiny_hw.xml b/configs/tiny_hw.xml
index b520630..9a22e4a 100644
--- a/configs/tiny_hw.xml
+++ b/configs/tiny_hw.xml
@@ -204,6 +204,10 @@ We are able to have most of our routing static so do that
<ctl name="AIF1ADC1 HPF Switch" val="1"/>
<ctl name="AIF2 Mode" val="Master"/>
<ctl name="AIF2DAC Mux" val="AIF3DACDAT"/>
+ <ctl name="AIF2DAC2L Mixer Left Sidetone Switch" val="0"/>
+ <ctl name="AIF2DAC2L Mixer Right Sidetone Switch" val="1"/>
+ <ctl name="AIF2DAC2R Mixer Left Sidetone Switch" val="0"/>
+ <ctl name="AIF2DAC2R Mixer Right Sidetone Switch" val="1"/>
</path>
<path name="off">
<ctl name="Main Mic Switch" val="0"/>
@@ -219,9 +223,13 @@ We are able to have most of our routing static so do that
<ctl name="Headset Mic Switch" val="1"/>
<ctl name="AIF1ADCL Source" val="Right"/>
<ctl name="AIF1ADCR Source" val="Right"/>
- <ctl name="AIF2ADCL Source" val="Right"/>
+ <ctl name="AIF2ADCL Source" val="Left"/>
<ctl name="AIF2ADCR Source" val="Right"/>
<ctl name="MIXINR IN1R Switch" val="1"/>
+ <ctl name="AIF2DAC2L Mixer Left Sidetone Switch" val="0"/>
+ <ctl name="AIF2DAC2L Mixer Right Sidetone Switch" val="1"/>
+ <ctl name="AIF2DAC2R Mixer Left Sidetone Switch" val="0"/>
+ <ctl name="AIF2DAC2R Mixer Right Sidetone Switch" val="1"/>
</path>
<path name="off">
<ctl name="Headset Mic Switch" val="0"/>
@@ -237,6 +245,10 @@ We are able to have most of our routing static so do that
<ctl name="AIF2ADCR Source" val="Left"/>
<ctl name="AIF1ADC1R Mixer AIF2 Switch" val="1"/>
<ctl name="AIF1ADC1L Mixer AIF2 Switch" val="1"/>
+ <ctl name="AIF2DAC2L Mixer Left Sidetone Switch" val="1"/>
+ <ctl name="AIF2DAC2L Mixer Right Sidetone Switch" val="0"/>
+ <ctl name="AIF2DAC2R Mixer Left Sidetone Switch" val="0"/>
+ <ctl name="AIF2DAC2R Mixer Right Sidetone Switch" val="1"/>
</path>
<path name="off">
<ctl name="AIF2ADC Mux" val="0"/>