audio: update fast switch config for speaker amp
fast_swtich1.txt => Enable FIR of top amp fast_swtich2.txt => Enable FIR of bot amp fast_switch3.txt => Disable FIR of top amp fast_switch4.txt => Disable FIR of bot amp Bug: 214487028 Test: Build pass Change-Id: Id7c9eae52d9e59250cbc7e79705d86d0268a7a79 Signed-off-by: Robert Lee <lerobert@google.com>
This commit is contained in:
parent
5e1c689130
commit
80e905ded6
10 changed files with 72 additions and 6 deletions
|
@ -105,6 +105,12 @@
|
||||||
<ctl name="ASP TX4 Source" value="Zero" />
|
<ctl name="ASP TX4 Source" value="Zero" />
|
||||||
<ctl name="R ASP TX4 Source" value="Zero" />
|
<ctl name="R ASP TX4 Source" value="Zero" />
|
||||||
|
|
||||||
|
<!-- Cirrus fast switch init -->
|
||||||
|
<ctl name="Fast Use Case Switch Enable" value="0" />
|
||||||
|
<ctl name="Fast Use Case Delta File" value="fast_switch5.txt" />
|
||||||
|
<ctl name="R Fast Use Case Switch Enable" value="0" />
|
||||||
|
<ctl name="R Fast Use Case Delta File" value="fast_switch5.txt" />
|
||||||
|
|
||||||
<!-- default EP volume -->
|
<!-- default EP volume -->
|
||||||
<ctl name="PCM Playback Switch" value="1"/>
|
<ctl name="PCM Playback Switch" value="1"/>
|
||||||
<ctl name="PCM Playback Volume" value="10"/>
|
<ctl name="PCM Playback Volume" value="10"/>
|
||||||
|
@ -635,6 +641,14 @@
|
||||||
<ctl name="R Main AMP Enable Switch" value="1"/>
|
<ctl name="R Main AMP Enable Switch" value="1"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
<path name="speaker-post">
|
||||||
|
<!-- load Bypass FIR -->
|
||||||
|
<ctl name="Fast Use Case Delta File" value="fast_switch3.txt" />
|
||||||
|
<ctl name="Fast Use Case Switch Enable" value="1" />
|
||||||
|
<ctl name="R Fast Use Case Delta File" value="fast_switch4.txt" />
|
||||||
|
<ctl name="R Fast Use Case Switch Enable" value="1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
<path name="voice-speaker">
|
<path name="voice-speaker">
|
||||||
<ctl name="R Boost Peak Current Limit" value="3.50A"/>
|
<ctl name="R Boost Peak Current Limit" value="3.50A"/>
|
||||||
<ctl name="Boost Peak Current Limit" value="3.50A"/>
|
<ctl name="Boost Peak Current Limit" value="3.50A"/>
|
||||||
|
@ -643,12 +657,21 @@
|
||||||
<!--<ctl name="R DSP RX2 Source" value="ASPRX2"/>-->
|
<!--<ctl name="R DSP RX2 Source" value="ASPRX2"/>-->
|
||||||
<ctl name="R Main AMP Enable Switch" value="1"/>
|
<ctl name="R Main AMP Enable Switch" value="1"/>
|
||||||
<ctl name="Main AMP Enable Switch" value="1"/>
|
<ctl name="Main AMP Enable Switch" value="1"/>
|
||||||
<ctl name="R AMP PCM Gain" value="17"/>
|
</path>
|
||||||
<ctl name="AMP PCM Gain" value="17"/>
|
|
||||||
|
<path name="voice-speaker-post">
|
||||||
|
<!-- load Enable FIR -->
|
||||||
|
<ctl name="Fast Use Case Delta File" value="fast_switch1.txt" />
|
||||||
|
<ctl name="Fast Use Case Switch Enable" value="1" />
|
||||||
|
<ctl name="R Fast Use Case Delta File" value="fast_switch2.txt" />
|
||||||
|
<ctl name="R Fast Use Case Switch Enable" value="1" />
|
||||||
|
<ctl name="Digital PCM Volume" value="800"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<path name="voice-dual-speaker">
|
<path name="voice-dual-speaker">
|
||||||
<path name="speaker" />
|
<!-- Speaker Separation -->
|
||||||
|
<path name="voice-speaker" />
|
||||||
|
<path name="voice-speaker-post" />
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<path name="speaker-safe">
|
<path name="speaker-safe">
|
||||||
|
@ -656,6 +679,12 @@
|
||||||
<ctl name="R Main AMP Enable Switch" value="1"/>
|
<ctl name="R Main AMP Enable Switch" value="1"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
<path name="speaker-safe-post">
|
||||||
|
<!-- load Bypass FIR -->
|
||||||
|
<ctl name="R Fast Use Case Delta File" value="fast_switch4.txt" />
|
||||||
|
<ctl name="R Fast Use Case Switch Enable" value="1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
<path name="usb-tty-full">
|
<path name="usb-tty-full">
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
|
1
audio/cheetah/cs35l41/fw/fast_switch1.txt
Normal file
1
audio/cheetah/cs35l41/fw/fast_switch1.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
11,4,768,1236,222608,131072,2167332,1,7,0,629947780
|
1
audio/cheetah/cs35l41/fw/fast_switch2.txt
Normal file
1
audio/cheetah/cs35l41/fw/fast_switch2.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
11,4,768,1236,222608,135168,2167332,1,7,0,919471758
|
1
audio/cheetah/cs35l41/fw/fast_switch3.txt
Normal file
1
audio/cheetah/cs35l41/fw/fast_switch3.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
11,4,768,1236,222608,131328,2167332,1,7,4194304,35123929
|
1
audio/cheetah/cs35l41/fw/fast_switch4.txt
Normal file
1
audio/cheetah/cs35l41/fw/fast_switch4.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
11,4,768,1236,222608,135424,2167332,1,7,4194304,290834899
|
|
@ -105,6 +105,12 @@
|
||||||
<ctl name="ASP TX4 Source" value="Zero" />
|
<ctl name="ASP TX4 Source" value="Zero" />
|
||||||
<ctl name="R ASP TX4 Source" value="Zero" />
|
<ctl name="R ASP TX4 Source" value="Zero" />
|
||||||
|
|
||||||
|
<!-- Cirrus fast switch init -->
|
||||||
|
<ctl name="Fast Use Case Switch Enable" value="0" />
|
||||||
|
<ctl name="Fast Use Case Delta File" value="fast_switch5.txt" />
|
||||||
|
<ctl name="R Fast Use Case Switch Enable" value="0" />
|
||||||
|
<ctl name="R Fast Use Case Delta File" value="fast_switch5.txt" />
|
||||||
|
|
||||||
<!-- default EP volume -->
|
<!-- default EP volume -->
|
||||||
<ctl name="PCM Playback Switch" value="1"/>
|
<ctl name="PCM Playback Switch" value="1"/>
|
||||||
<ctl name="PCM Playback Volume" value="10"/>
|
<ctl name="PCM Playback Volume" value="10"/>
|
||||||
|
@ -635,6 +641,14 @@
|
||||||
<ctl name="R Main AMP Enable Switch" value="1"/>
|
<ctl name="R Main AMP Enable Switch" value="1"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
<path name="speaker-post">
|
||||||
|
<!-- load Bypass FIR -->
|
||||||
|
<ctl name="Fast Use Case Delta File" value="fast_switch3.txt" />
|
||||||
|
<ctl name="Fast Use Case Switch Enable" value="1" />
|
||||||
|
<ctl name="R Fast Use Case Delta File" value="fast_switch4.txt" />
|
||||||
|
<ctl name="R Fast Use Case Switch Enable" value="1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
<path name="voice-speaker">
|
<path name="voice-speaker">
|
||||||
<ctl name="R Boost Peak Current Limit" value="3.50A"/>
|
<ctl name="R Boost Peak Current Limit" value="3.50A"/>
|
||||||
<ctl name="Boost Peak Current Limit" value="3.50A"/>
|
<ctl name="Boost Peak Current Limit" value="3.50A"/>
|
||||||
|
@ -643,12 +657,21 @@
|
||||||
<!--<ctl name="R DSP RX2 Source" value="ASPRX2"/>-->
|
<!--<ctl name="R DSP RX2 Source" value="ASPRX2"/>-->
|
||||||
<ctl name="R Main AMP Enable Switch" value="1"/>
|
<ctl name="R Main AMP Enable Switch" value="1"/>
|
||||||
<ctl name="Main AMP Enable Switch" value="1"/>
|
<ctl name="Main AMP Enable Switch" value="1"/>
|
||||||
<ctl name="R AMP PCM Gain" value="17"/>
|
</path>
|
||||||
<ctl name="AMP PCM Gain" value="17"/>
|
|
||||||
|
<path name="voice-speaker-post">
|
||||||
|
<!-- load Enable FIR -->
|
||||||
|
<ctl name="Fast Use Case Delta File" value="fast_switch1.txt" />
|
||||||
|
<ctl name="Fast Use Case Switch Enable" value="1" />
|
||||||
|
<ctl name="R Fast Use Case Delta File" value="fast_switch2.txt" />
|
||||||
|
<ctl name="R Fast Use Case Switch Enable" value="1" />
|
||||||
|
<ctl name="Digital PCM Volume" value="800"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<path name="voice-dual-speaker">
|
<path name="voice-dual-speaker">
|
||||||
<path name="speaker" />
|
<!-- Speaker Separation -->
|
||||||
|
<path name="voice-speaker" />
|
||||||
|
<path name="voice-speaker-post" />
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<path name="speaker-safe">
|
<path name="speaker-safe">
|
||||||
|
@ -656,6 +679,12 @@
|
||||||
<ctl name="R Main AMP Enable Switch" value="1"/>
|
<ctl name="R Main AMP Enable Switch" value="1"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
<path name="speaker-safe-post">
|
||||||
|
<!-- load Bypass FIR -->
|
||||||
|
<ctl name="R Fast Use Case Delta File" value="fast_switch4.txt" />
|
||||||
|
<ctl name="R Fast Use Case Switch Enable" value="1" />
|
||||||
|
</path>
|
||||||
|
|
||||||
<path name="usb-tty-full">
|
<path name="usb-tty-full">
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
|
|
1
audio/panther/cs35l41/fw/fast_switch1.txt
Normal file
1
audio/panther/cs35l41/fw/fast_switch1.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
11,4,768,1236,157072,131072,2167332,1,7,0,849631556
|
1
audio/panther/cs35l41/fw/fast_switch2.txt
Normal file
1
audio/panther/cs35l41/fw/fast_switch2.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
11,4,768,1236,157072,135168,2167332,1,7,0,568746574
|
1
audio/panther/cs35l41/fw/fast_switch3.txt
Normal file
1
audio/panther/cs35l41/fw/fast_switch3.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
11,4,768,1236,157072,131328,2167332,1,7,4194304,356488729
|
1
audio/panther/cs35l41/fw/fast_switch4.txt
Normal file
1
audio/panther/cs35l41/fw/fast_switch4.txt
Normal file
|
@ -0,0 +1 @@
|
||||||
|
11,4,768,1236,157072,135424,2167332,1,7,4194304,108899603
|
Loading…
Add table
Add a link
Reference in a new issue