Skip to content

Commit cf89a85

Browse files
committed
tools: topology2: update KPB IPC4 UUID and HDA TFLM 16kHz WoV topology
1 parent ea7449b commit cf89a85

2 files changed

Lines changed: 70 additions & 7 deletions

File tree

tools/topology/topology2/include/components/kpb.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ Class.Widget."kpb" {
6767
num_input_audio_formats 1
6868
num_output_audio_formats 1
6969

70-
#UUID: D8218443-5FF3-4A4C-B388-6CFE07B9562E
71-
uuid "43:84:21:d8:f3:5f:4c:4a:b3:88:6c:fe:07:b9:56:2e"
70+
#UUID: A8A0CB32-4A77-4DB1-85C7-53D7EE07BCE6
71+
uuid "32:cb:a0:a8:77:4a:b1:4d:85:c7:53:d7:ee:07:bc:e6"
7272
no_pm "true"
7373
cpc 720000
7474
num_input_pins 1

tools/topology/topology2/sof-hda-tflm.conf

Lines changed: 68 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ Define {
4444
ANALOG_PLAYBACK_PCM 'Analog Playback'
4545
ANALOG_CAPTURE_PCM 'HDA Mic TFLM WoV Capture'
4646
HDA_ANALOG_DAI_NAME 'Analog'
47-
HDA_ANALOG_CAPTURE_RATE 48000
48-
HDA_ANALOG_PLAYBACK_RATE 48000
47+
HDA_ANALOG_CAPTURE_RATE 16000
48+
HDA_ANALOG_PLAYBACK_RATE 16000
4949
HDA_TFLM_CAPTURE_PCM_ID 0
5050
HDA_TFLM_HOST_PIPELINE_ID 0
5151
HDA_TFLM_DETECT_PIPELINE_ID 1
@@ -200,20 +200,83 @@ Object.Base.route [
200200
}
201201
]
202202

203+
Object.Widget.virtual [
204+
{
205+
name 'codec0_in'
206+
type input
207+
index 1
208+
}
209+
{
210+
name 'codec1_in'
211+
type input
212+
index 2
213+
}
214+
{
215+
name 'codec2_in'
216+
type input
217+
index 3
218+
}
219+
{
220+
name 'codec0_out'
221+
type output
222+
index 4
223+
}
224+
{
225+
name 'codec1_out'
226+
type output
227+
index 5
228+
}
229+
{
230+
name 'codec2_out'
231+
type output
232+
index 6
233+
}
234+
{
235+
name 'Analog CPU Playback'
236+
type out_drv
237+
index 7
238+
}
239+
{
240+
name 'Digital CPU Playback'
241+
type out_drv
242+
index 8
243+
}
244+
{
245+
name 'Alt Analog CPU Playback'
246+
type out_drv
247+
index 9
248+
}
249+
{
250+
name 'Analog CPU Capture'
251+
type input
252+
index 10
253+
}
254+
{
255+
name 'Digital CPU Capture'
256+
type input
257+
index 11
258+
}
259+
{
260+
name 'Alt Analog CPU Capture'
261+
type input
262+
index 12
263+
}
264+
]
265+
203266
Object.PCM.pcm [
204267
{
205-
name "$ANALOG_CAPTURE_PCM"
268+
name 'HDA Analog'
206269
id $HDA_TFLM_CAPTURE_PCM_ID
207270
direction "capture"
208271

209272
Object.Base.fe_dai.1 {
210-
name "$ANALOG_CAPTURE_PCM"
273+
name "HDA Analog"
211274
}
212275

213276
Object.PCM.pcm_caps.1 {
214277
name $ANALOG_CAPTURE_PCM
215278
formats 'S32_LE'
216-
rates '48000'
279+
rates '16000'
217280
channels_min 1
218281
channels_max 1
219282
}

0 commit comments

Comments
 (0)