aboutsummaryrefslogtreecommitdiff
path: root/ucm2/sof-soundwire/RT715.conf
blob: 2b8d89d3e0b5a675b3e42de2ff45269b4c3ae8a4 (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
# Use case Configuration for sof-soundwire card

If.RT715 {
	Condition {
		Type String
		Haystack "${CardComponents}"
        	Needle "mic:rt715"
	}
	True {

		SectionDevice."Mic" {
			Comment	"SoundWire microphones"

			EnableSequence [
				cset "name='PGA5.0 5 Master Capture Switch' 1"
			]

			DisableSequence [
				cset "name='PGA5.0 5 Master Capture Switch' 0"
			]

			Value {
			      CapturePriority 100
			      CapturePCM "hw:${CardId},4"
			      CaptureChannels "2"
			      CaptureSwitch "PGA5.0 5 Master Capture Switch"
			      CaptureVolume "PGA5.0 5 Master Capture Volume"
			}
		}
	}
}