summaryrefslogtreecommitdiff
path: root/ak4953/inactive
blob: d9add4a1e258b28da45617b7a34cacb6cb0fcc0f (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
93
94
95
96
97
98
99
100
101
102
# Use case Configuration for Mobile device
# By Inha Song <ideal.song@samsung.com>

SectionVerb {
  EnableSequence [
    cset "name='HP Switch' 0"
    cset "name='HPOUT1L Input 1' 0"
    cset "name='HPOUT1R Input 1' 0"
    cset "name='HPOUT1 Digital Switch' 0,0"
    cset "name='SPK Switch' 0"
    cset "name='HPOUT2L Input 1' 0"
    cset "name='HPOUT2R Input 1' 0"
    cset "name='HPOUT2 Digital Switch' 0,0"
    cset "name='RCV Switch' 0"
    cset "name='HPOUT3L Input 1' 0"
    cset "name='HPOUT3R Input 1' 0"
    cset "name='HPOUT3 Digital Switch' 0,0"
    cset "name='AIF3TX1 Input 1' 0"
    cset "name='AIF2TX1 Input 1' 0"
    cset "name='VPS Switch' 0"
    cset "name='HDMI Switch' 0"
    cset "name='SPKOUTL Input 1' 0"
    cset "name='AIF1TX1 Input 1' 0"
    cset "name='Main Mic Switch' 0"
    cset "name='IN1 OSR' 1"
    cset "name='IN1R HPF Switch' 0"
    cset "name='Sub Mic Switch' 0"
    cset "name='IN3 OSR' 1"
    cset "name='IN3L HPF Switch' 0"
    cset "name='Third Mic Switch' 0"
    cset "name='IN3R HPF Switch' 0"
    cset "name='Headset Mic Switch' 0"
  ]
  DisableSequence [
  ]

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

SectionDevice."All" {
  Comment "reset all"

  EnableSequence [
  ]

  DisableSequence [
  ]
}

SectionDevice."Playback" {
  Comment "reset playback"

  EnableSequence [
    cset "name='HP Switch' 0"
    cset "name='HPOUT1L Input 1' 0"
    cset "name='HPOUT1R Input 1' 0"
    cset "name='HPOUT1 Digital Switch' 0,0"
    cset "name='SPK Switch' 0"
    cset "name='HPOUT2L Input 1' 0"
    cset "name='HPOUT2R Input 1' 0"
    cset "name='HPOUT2 Digital Switch' 0,0"
    cset "name='RCV Switch' 0"
    cset "name='HPOUT3L Input 1' 0"
    cset "name='HPOUT3R Input 1' 0"
    cset "name='HPOUT3 Digital Switch' 0,0"
    cset "name='AIF3TX1 Input 1' 0"
    cset "name='AIF2TX1 Input 1' 0"
    cset "name='VPS Switch' 0"
    cset "name='HDMI Switch' 0"
    cset "name='SPKOUTL Input 1' 0"
    cset "name='AIF1TX1 Input 1' 0"
  ]

  DisableSequence [
  ]
}

SectionDevice."Capture" {
  Comment "reset capture"

  EnableSequence [
    cset "name='Main Mic Switch' 0"
    cset "name='IN1 OSR' 1"
    cset "name='IN1R HPF Switch' 0"
    cset "name='AIF2TX1 Input 1' 0"
    cset "name='Sub Mic Switch' 0"
    cset "name='IN3 OSR' 1"
    cset "name='IN3L HPF Switch' 0"
    cset "name='Third Mic Switch' 0"
    cset "name='IN3R HPF Switch' 0"
    cset "name='Headset Mic Switch' 0"
    cset "name='AIF1TX1 Input 1' 0"
  ]

  DisableSequence [
  ]
}