forked from thesofproject/sof
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuaol.conf
More file actions
95 lines (84 loc) · 1.63 KB
/
Copy pathuaol.conf
File metadata and controls
95 lines (84 loc) · 1.63 KB
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
#
# UAOL DAI
#
# All attributes defined herein are namespaced by alsatplg to
# "Object.Dai.UAOL.attribute_name"
#
# UAOL (USB Audio Offload Link) is an ACE2+ alt link. It belongs to the ALH
# class family in the firmware gateway enumeration, but it is described by its
# own DAI class because the ALH class carries SoundWire specific attributes.
#
# Usage: this component can be used by declaring as follows:
#
# For Playback
#Object.Dai.UAOL."N" {
# direction "playback"
# name "UAOL0"
# id 0
# Object.Base.hw_config."0" {}
# }
# For Capture
#Object.Dai.UAOL."N" {
# direction "capture"
# name "UAOL0"
# id 0
# Object.Base.hw_config."1" {}
# }
#
# Where N is the dai index of the UAOL DAI in the firmware
Class.Dai."UAOL" {
#
# instance ID of UAOL DAI object
#
DefineAttribute."instance" {}
#
# UAOL link index in the firmware
#
DefineAttribute."dai_index" {
token_ref "dai.word"
}
DefineAttribute."direction" {
type "string"
constraints {
!valid_values [
"playback"
"capture"
"duplex"
]
}
}
# type of DAI
DefineAttribute.dai_type {
type "string"
token_ref "dai.string"
}
# Backend DAI Link ID matching with the machine driver
DefineAttribute.id {}
DefineAttribute."default_hw_config_id" {}
DefineAttribute.name {
type "string"
}
DefineAttribute.rate {}
DefineAttribute.ch {}
attributes {
!constructor [
"name"
]
!mandatory [
"id"
"dai_index"
]
!immutable [
"type"
]
#
# UAOL DAI objects instantiated within the same alsaconf node must
# have unique instance attribute
#
unique "instance"
}
dai_type "UAOL"
default_hw_config_id 0
rate 48000
ch 2
}