2018-02-10 01:36:21 +08:00
|
|
|
# DAI Capture connector
|
2017-08-09 21:54:03 +08:00
|
|
|
|
|
|
|
# Include topology builder
|
2018-03-06 06:17:12 +08:00
|
|
|
include(`utils.m4')
|
|
|
|
include(`dai.m4')
|
|
|
|
include(`pipeline.m4')
|
2017-08-09 21:54:03 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# DAI definitions
|
|
|
|
#
|
2018-06-13 04:01:56 +08:00
|
|
|
W_DAI_IN(DAI_TYPE, DAI_INDEX, DAI_BE, DAI_FORMAT, 2, 0, 0)
|
2017-08-09 21:54:03 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# DAI pipeline - always use 0 for DAIs
|
|
|
|
#
|
2017-09-11 23:03:57 +08:00
|
|
|
W_PIPELINE(N_DAI_IN, SCHEDULE_DEADLINE, SCHEDULE_PRIORITY, SCHEDULE_FRAMES, SCHEDULE_CORE, 0, pipe_dai_schedule_plat)
|
2017-08-09 21:54:03 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# Graph connections to pipelines
|
|
|
|
|
2018-03-06 05:58:30 +08:00
|
|
|
P_GRAPH(DAI_NAME, PIPELINE_ID,
|
|
|
|
LIST(` ', `dapm(DAI_BUF, N_DAI_IN)'))
|