summaryrefslogtreecommitdiff
path: root/ak4953/hifi
blob: 1e3ea55eed270b9f70a2e8332148c02ef12306a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# Use case Configuration for Mobile device
# By Inha Song <ideal.song@samsung.com>

SectionVerb {
  EnableSequence [
  ]
  DisableSequence [
  ]

  Value {
    TQ "Music"
    PlaybackCTL "hw:0"
    CaptureCTL "hw:0"
  }
}

SectionDevice."Headphones" {
  Comment "3.5mm Headphones"

  EnableSequence [
    cset "name='Digital Output Volume1 L (Manual Mode)' 145"
    cset "name='Digital Output Volume1 R (Manual Mode)' 145"
    cset "name='DACHP' 1"
    cset "name='Mic Gain Control' 3"
    cset "name='Mic Bias MUX' 'IN1'"
    cset "name='IN1 MUX' 'Mic Bias'"
    cset "name='Input Select MUX' 'LIN1/RIN1'"
    cset "name='ADC MUX1' 'Mono'"
    cset "name='MIC MUX' 'AMIC'"
    cset "name='ADCPF MUX' 'ADC'"
  ]

  DisableSequence [
    cset "name='DACHP' 0"
  ]

  Value {
    PlaybackPCM "hw:0,0"
  }
}

SectionDevice."Speaker" {
  Comment "built-in Speaker"

  EnableSequence [
    cset "name='Digital Output Volume1 L (Manual Mode)' 145"
    cset "name='Digital Output Volume1 R (Manual Mode)' 145"
    cset "name='DACHP' 1"
    cset "name='Mic Gain Control' 3"
    cset "name='Mic Bias MUX' 'IN1'"
    cset "name='IN1 MUX' 'Mic Bias'"
    cset "name='Input Select MUX' 'LIN1/RIN1'"
    cset "name='ADC MUX1' 'Mono'"
    cset "name='MIC MUX' 'AMIC'"
    cset "name='ADCPF MUX' 'ADC'"
  ]

  DisableSequence [
# Path
    cset "name='DACHP' 0"
  ]

  Value {
    PlaybackPCM "hw:0,0"
  }
}

SectionDevice."MainMic" {
  Comment "built-in main mic"

  EnableSequence [
    cset "name='Digital Output Volume1 L (Manual Mode)' 145"
    cset "name='Digital Output Volume1 R (Manual Mode)' 145"
    cset "name='DACHP' 1"
    cset "name='Mic Gain Control' 3"
    cset "name='Mic Bias MUX' 'IN1'"
    cset "name='IN1 MUX' 'Mic Bias'"
    cset "name='Input Select MUX' 'LIN1/RIN1'"
    cset "name='ADC MUX1' 'Mono'"
    cset "name='MIC MUX' 'AMIC'"
    cset "name='ADCPF MUX' 'ADC'"
  ]

  DisableSequence [
# Path
    cset "name='DACHP' 0"
  ]

  Value {
    CapturePCM "hw:0,0"
  }
}