Add ucm conf for ak4953 codec
[platform/adaptation/samsung_exynos/alsa-ucm-conf-ak4953.git] / ak4953 / hifi
1 # Use case Configuration for Mobile device
2 # By Inha Song <ideal.song@samsung.com>
3
4 SectionVerb {
5   EnableSequence [
6   ]
7   DisableSequence [
8   ]
9
10   Value {
11     TQ "Music"
12     PlaybackCTL "hw:0"
13     CaptureCTL "hw:0"
14   }
15 }
16
17 SectionDevice."Headphones" {
18   Comment "3.5mm Headphones"
19
20   EnableSequence [
21     cset "name='Digital Output Volume1 L (Manual Mode)' 145"
22     cset "name='Digital Output Volume1 R (Manual Mode)' 145"
23     cset "name='DACHP' 1"
24     cset "name='Mic Gain Control' 3"
25     cset "name='Mic Bias MUX' 'IN1'"
26     cset "name='IN1 MUX' 'Mic Bias'"
27     cset "name='Input Select MUX' 'LIN1/RIN1'"
28     cset "name='ADC MUX1' 'Mono'"
29     cset "name='MIC MUX' 'AMIC'"
30     cset "name='ADCPF MUX' 'ADC'"
31   ]
32
33   DisableSequence [
34     cset "name='DACHP' 0"
35   ]
36
37   Value {
38     PlaybackPCM "hw:0,0"
39   }
40 }
41
42 SectionDevice."Speaker" {
43   Comment "built-in Speaker"
44
45   EnableSequence [
46     cset "name='Digital Output Volume1 L (Manual Mode)' 145"
47     cset "name='Digital Output Volume1 R (Manual Mode)' 145"
48     cset "name='DACHP' 1"
49     cset "name='Mic Gain Control' 3"
50     cset "name='Mic Bias MUX' 'IN1'"
51     cset "name='IN1 MUX' 'Mic Bias'"
52     cset "name='Input Select MUX' 'LIN1/RIN1'"
53     cset "name='ADC MUX1' 'Mono'"
54     cset "name='MIC MUX' 'AMIC'"
55     cset "name='ADCPF MUX' 'ADC'"
56   ]
57
58   DisableSequence [
59 # Path
60     cset "name='DACHP' 0"
61   ]
62
63   Value {
64     PlaybackPCM "hw:0,0"
65   }
66 }
67
68 SectionDevice."MainMic" {
69   Comment "built-in main mic"
70
71   EnableSequence [
72     cset "name='Digital Output Volume1 L (Manual Mode)' 145"
73     cset "name='Digital Output Volume1 R (Manual Mode)' 145"
74     cset "name='DACHP' 1"
75     cset "name='Mic Gain Control' 3"
76     cset "name='Mic Bias MUX' 'IN1'"
77     cset "name='IN1 MUX' 'Mic Bias'"
78     cset "name='Input Select MUX' 'LIN1/RIN1'"
79     cset "name='ADC MUX1' 'Mono'"
80     cset "name='MIC MUX' 'AMIC'"
81     cset "name='ADCPF MUX' 'ADC'"
82   ]
83
84   DisableSequence [
85 # Path
86     cset "name='DACHP' 0"
87   ]
88
89   Value {
90     CapturePCM "hw:0,0"
91   }
92 }