summaryrefslogtreecommitdiff
path: root/data/alsa/ucm/msm8974-taiko-mtp-snd-card/HiFi
diff options
context:
space:
mode:
Diffstat (limited to 'data/alsa/ucm/msm8974-taiko-mtp-snd-card/HiFi')
-rw-r--r--data/alsa/ucm/msm8974-taiko-mtp-snd-card/HiFi249
1 files changed, 249 insertions, 0 deletions
diff --git a/data/alsa/ucm/msm8974-taiko-mtp-snd-card/HiFi b/data/alsa/ucm/msm8974-taiko-mtp-snd-card/HiFi
new file mode 100644
index 0000000..d577502
--- /dev/null
+++ b/data/alsa/ucm/msm8974-taiko-mtp-snd-card/HiFi
@@ -0,0 +1,249 @@
+SectionVerb {
+ EnableSequence [
+ cdev "hw:msm8974taikomtp"
+
+ cset "name='SLIMBUS_0_RX Audio Mixer MultiMedia1' 1"
+ cset "name='MultiMedia1 Mixer SLIM_0_TX' 1"
+ ]
+
+ DisableSequence [
+ cdev "hw:msm8974taikomtp"
+
+ cset "name='SLIMBUS_0_RX Audio Mixer MultiMedia1' 0"
+ cset "name='MultiMedia1 Mixer SLIM_0_TX' 0"
+ ]
+
+ Value {
+ TQ "HiFi"
+ PlaybackPCM "hw:msm8974taikomtp,0"
+ CapturePCM "hw:msm8974taikomtp,0"
+ }
+
+}
+
+SectionDevice."Speaker" {
+ Comment "Speaker"
+
+ ConflictingDevice [
+ ]
+
+ EnableSequence [
+ cdev "hw:msm8974taikomtp"
+
+ cset "name='TFA98XX_PARAM_TYPE' Playback"
+ cset "name='TFA98XX_CHANNEL' Both"
+ cset "name='TFA98XX_SPKR_AMP' 1"
+ cset "name='QUAT_MI2S_RX Audio Mixer MultiMedia1' 1"
+ ]
+
+ DisableSequence [
+ cdev "hw:msm8974taikomtp"
+
+ cset "name='TFA98XX_SPKR_AMP' 0"
+ cset "name='QUAT_MI2S_RX Audio Mixer MultiMedia1' 0"
+ ]
+
+ Value {
+ PlaybackChannels "2"
+ }
+
+}
+
+SectionDevice."Headphones" {
+ Comment "Headset"
+
+ ConflictingDevice [
+ ]
+
+ EnableSequence [
+ cdev "hw:msm8974taikomtp"
+
+ cset "name='SLIM RX1 MUX' AIF1_PB"
+ cset "name='SLIM RX2 MUX' AIF1_PB"
+ cset "name='SLIM_0_RX Channels' Two"
+ cset "name='RX1 MIX1 INP1' RX1"
+ cset "name='RX2 MIX1 INP1' RX2"
+ cset "name='CLASS_H_DSM MUX' DSM_HPHL_RX1"
+ cset "name='HPHL DAC Switch' 1"
+ cset "name='COMP1 Switch' 0"
+ cset "name='HPHL Volume' 19"
+ cset "name='HPHR Volume' 19"
+ cset "name='RX1 Digital Volume' 84"
+ cset "name='RX2 Digital Volume' 84"
+ cset "name='SLIMBUS_0_RX Audio Mixer MultiMedia1' 1"
+ ]
+
+ DisableSequence [
+ cdev "hw:msm8974taikomtp"
+
+ cset "name='SLIM RX1 MUX' AIF1_PB"
+ cset "name='SLIM RX2 MUX' ZERO"
+ cset "name='SLIM_0_RX Channels' One"
+ cset "name='RX1 MIX1 INP1' ZERO"
+ cset "name='RX2 MIX1 INP1' ZERO"
+ cset "name='CLASS_H_DSM MUX' ZERO"
+ cset "name='HPHL DAC Switch' 0"
+ cset "name='COMP1 Switch' 0"
+ cset "name='HPHL Volume' 20"
+ cset "name='HPHR Volume' 20"
+ cset "name='RX1 Digital Volume' 84"
+ cset "name='RX2 Digital Volume' 84"
+ cset "name='SLIMBUS_0_RX Audio Mixer MultiMedia1' 0"
+ ]
+
+ Value {
+ PlaybackChannels "2"
+ }
+
+}
+
+SectionDevice."Handset" {
+ Comment "Handset earpiece"
+
+ ConflictingDevice [
+ "Speaker"
+ "SpeakerMic"
+ "Headphones"
+ ]
+
+ EnableSequence [
+ cdev "hw:msm8974taikomtp"
+
+ cset "name='TFA98XX_PARAM_TYPE' Voicecall"
+ cset "name='TFA98XX_CHANNEL' Top"
+ cset "name='TFA98XX_BYPASS_DSP' Off"
+ cset "name='TFA98XX_SPKR_AMP' 1"
+ cset "name='QUAT_MI2S_RX Audio Mixer MultiMedia1' 1"
+ ]
+
+ DisableSequence [
+ cdev "hw:msm8974taikomtp"
+
+ cset "name='TFA98XX_SPKR_AMP' 0"
+ cset "name='QUAT_MI2S_RX Audio Mixer MultiMedia1' 0"
+ ]
+
+ Value {
+ PlaybackChannels "2"
+ }
+
+}
+
+SectionDevice."HandsetMic" {
+ Comment "Handset microphone"
+
+ ConflictingDevice [
+ "Speaker"
+ "SpeakerMic"
+ "HeadsetMic"
+ ]
+
+ EnableSequence [
+ cdev "hw:msm8974taikomtp"
+
+ cset "name='AIF1_CAP Mixer SLIM TX7' 1"
+ cset "name='SLIM_0_TX Channels' One"
+ cset "name='SLIM TX7 MUX' DEC3"
+ cset "name='DEC3 MUX' ADC4"
+ cset "name='DEC3 Volume' 83"
+ cset "name='ADC4 Volume' 12"
+ cset "name='MultiMedia1 Mixer SLIM_0_TX' 1"
+ ]
+
+ DisableSequence [
+ cdev "hw:msm8974taikomtp"
+
+ cset "name='AIF1_CAP Mixer SLIM TX7' 0"
+ cset "name='SLIM_0_TX Channels' One"
+ cset "name='SLIM TX7 MUX' ZERO"
+ cset "name='DEC3 MUX' ZERO"
+ cset "name='DEC3 Volume' 84"
+ cset "name='ADC4 Volume' 0"
+ cset "name='MultiMedia1 Mixer SLIM_0_TX' 0"
+ ]
+
+ Value {
+ CaptureChannels "2"
+ }
+
+}
+
+SectionDevice."SpeakerMic" {
+ Comment "Handset microphone for speaker-mode"
+
+ ConflictingDevice [
+ "Handset"
+ "HandsetMic"
+ "HeadsetMic"
+ ]
+
+ EnableSequence [
+ cdev "hw:msm8974taikomtp"
+
+ cset "name='AIF1_CAP Mixer SLIM TX7' 1"
+ cset "name='SLIM_0_TX Channels' One"
+ cset "name='SLIM TX7 MUX' DEC6"
+ cset "name='DEC6 MUX' ADC1"
+ cset "name='ADC1 Volume' 12"
+ cset "name='DEC6 Volume' 82"
+ cset "name='MultiMedia1 Mixer SLIM_0_TX' 1"
+ ]
+
+ DisableSequence [
+ cdev "hw:msm8974taikomtp"
+
+ cset "name='AIF1_CAP Mixer SLIM TX7' 0"
+ cset "name='SLIM_0_TX Channels' One"
+ cset "name='SLIM TX7 MUX' ZERO"
+ cset "name='DEC6 MUX' ZERO"
+ cset "name='ADC1 Volume' 0"
+ cset "name='DEC6 Volume' 84"
+ cset "name='MultiMedia1 Mixer SLIM_0_TX' 0"
+ ]
+
+ Value {
+ CaptureChannels "2"
+ }
+
+}
+
+SectionDevice."HeadsetMic" {
+ Comment "Headset microphone"
+
+ ConflictingDevice [
+ "HandsetMic"
+ "SpeakerMic"
+ ]
+
+ EnableSequence [
+ cdev "hw:msm8974taikomtp"
+
+ cset "name='IIR1 INP1 MUX' DEC5"
+ cset "name='AIF1_CAP Mixer SLIM TX7' 1"
+ cset "name='SLIM_0_TX Channels' One"
+ cset "name='SLIM TX7 MUX' DEC5"
+ cset "name='DEC5 MUX' ADC2"
+ cset "name='DEC5 Volume' 99"
+ cset "name='ADC2 Volume' 8"
+ cset "name='MultiMedia1 Mixer SLIM_0_TX' 1"
+ ]
+
+ DisableSequence [
+ cdev "hw:msm8974taikomtp"
+
+ cset "name='IIR1 INP1 MUX' ZERO"
+ cset "name='AIF1_CAP Mixer SLIM TX7' 0"
+ cset "name='SLIM_0_TX Channels' One"
+ cset "name='SLIM TX7 MUX' ZERO"
+ cset "name='DEC5 MUX' ZERO"
+ cset "name='DEC5 Volume' 84"
+ cset "name='ADC2 Volume' 0"
+ cset "name='MultiMedia1 Mixer SLIM_0_TX' 0"
+ ]
+
+ Value {
+ CaptureChannels "2"
+ }
+
+}
+