Add ucm conf for wm5110 codec
[platform/adaptation/samsung_exynos/alsa-ucm-conf-wm5110.git] / wm5110 / inactive
1 # Use case Configuration for Mobile device
2 # By Inha Song <ideal.song@samsung.com>
3
4 SectionVerb {
5   EnableSequence [
6     cset "name='HP Switch' 0"
7     cset "name='HPOUT1L Input 1' 0"
8     cset "name='HPOUT1R Input 1' 0"
9     cset "name='HPOUT1 Digital Switch' 0,0"
10     cset "name='SPK Switch' 0"
11     cset "name='HPOUT2L Input 1' 0"
12     cset "name='HPOUT2R Input 1' 0"
13     cset "name='HPOUT2 Digital Switch' 0,0"
14     cset "name='RCV Switch' 0"
15     cset "name='HPOUT3L Input 1' 0"
16     cset "name='HPOUT3R Input 1' 0"
17     cset "name='HPOUT3 Digital Switch' 0,0"
18     cset "name='AIF3TX1 Input 1' 0"
19     cset "name='AIF2TX1 Input 1' 0"
20     cset "name='VPS Switch' 0"
21     cset "name='HDMI Switch' 0"
22     cset "name='SPKOUTL Input 1' 0"
23     cset "name='AIF1TX1 Input 1' 0"
24     cset "name='Main Mic Switch' 0"
25     cset "name='IN1 OSR' 1"
26     cset "name='IN1R HPF Switch' 0"
27     cset "name='Sub Mic Switch' 0"
28     cset "name='IN3 OSR' 1"
29     cset "name='IN3L HPF Switch' 0"
30     cset "name='Third Mic Switch' 0"
31     cset "name='IN3R HPF Switch' 0"
32     cset "name='Headset Mic Switch' 0"
33   ]
34   DisableSequence [
35   ]
36
37   Value {
38     TQ "Music"
39     PlaybackCTL "hw:0"
40     CaptureCTL "hw:0"
41   }
42 }
43
44 SectionDevice."All" {
45   Comment "reset all"
46
47   EnableSequence [
48   ]
49
50   DisableSequence [
51   ]
52 }
53
54 SectionDevice."Playback" {
55   Comment "reset playback"
56
57   EnableSequence [
58     cset "name='HP Switch' 0"
59     cset "name='HPOUT1L Input 1' 0"
60     cset "name='HPOUT1R Input 1' 0"
61     cset "name='HPOUT1 Digital Switch' 0,0"
62     cset "name='SPK Switch' 0"
63     cset "name='HPOUT2L Input 1' 0"
64     cset "name='HPOUT2R Input 1' 0"
65     cset "name='HPOUT2 Digital Switch' 0,0"
66     cset "name='RCV Switch' 0"
67     cset "name='HPOUT3L Input 1' 0"
68     cset "name='HPOUT3R Input 1' 0"
69     cset "name='HPOUT3 Digital Switch' 0,0"
70     cset "name='AIF3TX1 Input 1' 0"
71     cset "name='AIF2TX1 Input 1' 0"
72     cset "name='VPS Switch' 0"
73     cset "name='HDMI Switch' 0"
74     cset "name='SPKOUTL Input 1' 0"
75     cset "name='AIF1TX1 Input 1' 0"
76   ]
77
78   DisableSequence [
79   ]
80 }
81
82 SectionDevice."Capture" {
83   Comment "reset capture"
84
85   EnableSequence [
86     cset "name='Main Mic Switch' 0"
87     cset "name='IN1 OSR' 1"
88     cset "name='IN1R HPF Switch' 0"
89     cset "name='AIF2TX1 Input 1' 0"
90     cset "name='Sub Mic Switch' 0"
91     cset "name='IN3 OSR' 1"
92     cset "name='IN3L HPF Switch' 0"
93     cset "name='Third Mic Switch' 0"
94     cset "name='IN3R HPF Switch' 0"
95     cset "name='Headset Mic Switch' 0"
96     cset "name='AIF1TX1 Input 1' 0"
97   ]
98
99   DisableSequence [
100   ]
101 }
102