Commit 7ac7b2c
committed
topology2: cavs: fix WoV pipeline routing
The SoundWire topology cannot instantiate the existing WoV pipeline.
It does not import the KPB or detector classes, and its DAI route
names a widget that cannot exist because copier names use their stream
name.
Import the required classes and move the DAI-to-KPB route to dmic-wov.
Fix the KPB output pin target, describe the host copier input formats,
and set the 16 kHz PCM constraints so hw_params can select the mono
detector path.
Parameterize the KPB UUID, keeping the IPC3 default while allowing
IPC4 targets to select kpb4.
Signed-off-by: Gaggery Tsai <gaggery.tsai@intel.com>1 parent 331b378 commit 7ac7b2c
5 files changed
Lines changed: 62 additions & 26 deletions
File tree
- tools/topology/topology2
- include
- components
- pipelines/cavs
- platform/intel
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
15 | 21 | | |
16 | 22 | | |
17 | 23 | | |
| |||
67 | 73 | | |
68 | 74 | | |
69 | 75 | | |
70 | | - | |
71 | | - | |
| 76 | + | |
72 | 77 | | |
73 | 78 | | |
74 | 79 | | |
| |||
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
| 128 | + | |
| 129 | + | |
134 | 130 | | |
135 | 131 | | |
136 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 28 | | |
34 | 29 | | |
35 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 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 | + | |
14 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
15 | 47 | | |
16 | 48 | | |
17 | 49 | | |
| |||
84 | 116 | | |
85 | 117 | | |
86 | 118 | | |
87 | | - | |
| 119 | + | |
88 | 120 | | |
89 | 121 | | |
90 | | - | |
| 122 | + | |
91 | 123 | | |
92 | 124 | | |
93 | 125 | | |
| |||
111 | 143 | | |
112 | 144 | | |
113 | 145 | | |
114 | | - | |
115 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
116 | 152 | | |
117 | 153 | | |
118 | | - | |
119 | | - | |
| 154 | + | |
| 155 | + | |
120 | 156 | | |
121 | 157 | | |
122 | | - | |
123 | | - | |
| 158 | + | |
| 159 | + | |
124 | 160 | | |
125 | 161 | | |
126 | 162 | | |
127 | 163 | | |
128 | 164 | | |
129 | 165 | | |
130 | | - | |
| 166 | + | |
131 | 167 | | |
132 | 168 | | |
133 | 169 | | |
| |||
136 | 172 | | |
137 | 173 | | |
138 | 174 | | |
139 | | - | |
140 | 175 | | |
141 | | - | |
| 176 | + | |
142 | 177 | | |
| 178 | + | |
143 | 179 | | |
144 | 180 | | |
145 | 181 | | |
| |||
0 commit comments