topology: Add stream name to DAI widgets for binding to DAI links
DAI Widgets need bound to a DAI link to complete the DAPM graph. This is only working atm as we are only using one DAI. Add stream name to DAI widgets to be used by topology binder. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
This commit is contained in:
parent
5b5bbe31e6
commit
8d9b8d51f9
|
@ -7,14 +7,14 @@ define(`N_DAI', DAI_NAME)
|
|||
define(`N_DAI_OUT', DAI_NAME`.OUT')
|
||||
define(`N_DAI_IN', DAI_NAME`.IN')
|
||||
|
||||
dnl W_DAI_OUT(type, index, format, periods_sink, periods_source, preload, data)
|
||||
dnl W_DAI_OUT(type, index, dai_link, format, periods_sink, periods_source, preload, data)
|
||||
define(`W_DAI_OUT',
|
||||
`SectionVendorTuples."'N_DAI_OUT($2)`_tuples_w_comp" {'
|
||||
` tokens "sof_comp_tokens"'
|
||||
` tuples."word" {'
|
||||
` SOF_TKN_COMP_PERIOD_SINK_COUNT' STR($4)
|
||||
` SOF_TKN_COMP_PERIOD_SOURCE_COUNT' STR($5)
|
||||
` SOF_TKN_COMP_PRELOAD_COUNT' STR($6)
|
||||
` SOF_TKN_COMP_PERIOD_SINK_COUNT' STR($5)
|
||||
` SOF_TKN_COMP_PERIOD_SOURCE_COUNT' STR($6)
|
||||
` SOF_TKN_COMP_PRELOAD_COUNT' STR($7)
|
||||
` }'
|
||||
`}'
|
||||
`SectionData."'N_DAI_OUT($2)`_data_w_comp" {'
|
||||
|
@ -41,7 +41,7 @@ define(`W_DAI_OUT',
|
|||
`SectionVendorTuples."'N_DAI_OUT($2)`_tuples_comp_str" {'
|
||||
` tokens "sof_comp_tokens"'
|
||||
` tuples."string" {'
|
||||
` SOF_TKN_COMP_FORMAT' STR($3)
|
||||
` SOF_TKN_COMP_FORMAT' STR($4)
|
||||
` }'
|
||||
`}'
|
||||
`SectionData."'N_DAI_OUT($2)`_data_comp_str" {'
|
||||
|
@ -50,24 +50,25 @@ define(`W_DAI_OUT',
|
|||
`SectionWidget."'N_DAI_OUT`" {'
|
||||
` index "'PIPELINE_ID`"'
|
||||
` type "dai_in"'
|
||||
` stream_name' STR($3)
|
||||
` no_pm "true"'
|
||||
` data ['
|
||||
` "'N_DAI_OUT($2)`_data_w"'
|
||||
` "'N_DAI_OUT($2)`_data_w_comp"'
|
||||
` "'N_DAI_OUT($2)`_data_str"'
|
||||
` "'N_DAI_OUT($2)`_data_comp_str"'
|
||||
` "'$7`"'
|
||||
` "'$8`"'
|
||||
` ]'
|
||||
`}')
|
||||
|
||||
dnl W_DAI_IN(type, index, format, periods_sink, periods_source, preload, data)
|
||||
dnl W_DAI_IN(type, index, dai_link, format, periods_sink, periods_source, preload, data)
|
||||
define(`W_DAI_IN',
|
||||
`SectionVendorTuples."'N_DAI_IN($2)`_tuples_w_comp" {'
|
||||
` tokens "sof_comp_tokens"'
|
||||
` tuples."word" {'
|
||||
` SOF_TKN_COMP_PERIOD_SINK_COUNT' STR($4)
|
||||
` SOF_TKN_COMP_PERIOD_SOURCE_COUNT' STR($5)
|
||||
` SOF_TKN_COMP_PRELOAD_COUNT' STR($6)
|
||||
` SOF_TKN_COMP_PERIOD_SINK_COUNT' STR($5)
|
||||
` SOF_TKN_COMP_PERIOD_SOURCE_COUNT' STR($6)
|
||||
` SOF_TKN_COMP_PRELOAD_COUNT' STR($7)
|
||||
` }'
|
||||
`}'
|
||||
`SectionData."'N_DAI_IN($2)`_data_w_comp" {'
|
||||
|
@ -94,7 +95,7 @@ define(`W_DAI_IN',
|
|||
`SectionVendorTuples."'N_DAI_IN($2)`_tuples_comp_str" {'
|
||||
` tokens "sof_comp_tokens"'
|
||||
` tuples."string" {'
|
||||
` SOF_TKN_COMP_FORMAT' STR($3)
|
||||
` SOF_TKN_COMP_FORMAT' STR($4)
|
||||
` }'
|
||||
`}'
|
||||
`SectionData."'N_DAI_IN($2)`_data_comp_str" {'
|
||||
|
@ -103,13 +104,14 @@ define(`W_DAI_IN',
|
|||
`SectionWidget."'N_DAI_IN`" {'
|
||||
` index "'PIPELINE_ID`"'
|
||||
` type "dai_out"'
|
||||
` stream_name' STR($3)
|
||||
` no_pm "true"'
|
||||
` data ['
|
||||
` "'N_DAI_IN($2)`_data_w"'
|
||||
` "'N_DAI_IN($2)`_data_w_comp"'
|
||||
` "'N_DAI_IN($2)`_data_str"'
|
||||
` "'N_DAI_IN($2)`_data_comp_str"'
|
||||
` "'$7`"'
|
||||
` "'$8`"'
|
||||
` ]'
|
||||
`}')
|
||||
|
||||
|
@ -183,13 +185,14 @@ define(`DAI_CONFIG',
|
|||
`}')
|
||||
|
||||
dnl DAI_ADD(pipeline,
|
||||
dnl pipe id, dai type, dai_index,
|
||||
dnl pipe id, dai type, dai_index, dai_be,
|
||||
dnl buffer, periods, format,
|
||||
dnl frames, deadline, priority, core)
|
||||
define(`DAI_ADD',
|
||||
`undefine(`PIPELINE_ID')'
|
||||
`undefine(`DAI_TYPE')'
|
||||
`undefine(`DAI_INDEX')'
|
||||
`undefine(`DAI_BE')'
|
||||
`undefine(`DAI_BUF')'
|
||||
`undefine(`DAI_PERIODS')'
|
||||
`undefine(`DAI_FORMAT')'
|
||||
|
@ -200,14 +203,15 @@ define(`DAI_ADD',
|
|||
`define(`PIPELINE_ID', $2)'
|
||||
`define(`DAI_TYPE', STR($3))'
|
||||
`define(`DAI_INDEX', STR($4))'
|
||||
`define(`DAI_BUF', $5)'
|
||||
`define(`DAI_BE', $5)'
|
||||
`define(`DAI_BUF', $6)'
|
||||
`define(`DAI_NAME', $3$4)'
|
||||
`define(`DAI_PERIODS', $6)'
|
||||
`define(`DAI_FORMAT', $7)'
|
||||
`define(`SCHEDULE_FRAMES', $8)'
|
||||
`define(`SCHEDULE_DEADLINE', $9)'
|
||||
`define(`SCHEDULE_PRIORITY', $10)'
|
||||
`define(`SCHEDULE_CORE', $11)'
|
||||
`define(`DAI_PERIODS', $7)'
|
||||
`define(`DAI_FORMAT', $8)'
|
||||
`define(`SCHEDULE_FRAMES', $9)'
|
||||
`define(`SCHEDULE_DEADLINE', $10)'
|
||||
`define(`SCHEDULE_PRIORITY', $11)'
|
||||
`define(`SCHEDULE_CORE', $12)'
|
||||
`include($1)'
|
||||
)
|
||||
|
||||
|
|
|
@ -76,14 +76,14 @@ SectionGraph."pipe-apl-nocodec" {
|
|||
# playback DAI is SSP2 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-playback.m4,
|
||||
1, SSP, 2,
|
||||
1, SSP, 2, NoCodec,
|
||||
PIPELINE_SOURCE_1, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
# capture DAI is SSP2 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-capture.m4,
|
||||
2, SSP, 2,
|
||||
2, SSP, 2, NoCodec,
|
||||
PIPELINE_SINK_2, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
|
|
|
@ -76,14 +76,14 @@ SectionGraph."pipe-bdw-rt286" {
|
|||
# playback DAI is SSP0 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-playback.m4,
|
||||
1, SSP, 0,
|
||||
1, SSP, 0, Codec,
|
||||
PIPELINE_SOURCE_1, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
# capture DAI is SSP0 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-capture.m4,
|
||||
2, SSP, 0,
|
||||
2, SSP, 0, Codec,
|
||||
PIPELINE_SINK_2, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
|
|
|
@ -76,14 +76,14 @@ SectionGraph."pipe-bdw-rt5640" {
|
|||
# playback DAI is SSP0 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-playback.m4,
|
||||
1, SSP, 0,
|
||||
1, SSP, 0, Audio,
|
||||
PIPELINE_SOURCE_1, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
# capture DAI is SSP0 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-capture.m4,
|
||||
2, SSP, 0,
|
||||
2, SSP, 0, Audio,
|
||||
PIPELINE_SINK_2, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
|
|
|
@ -76,14 +76,14 @@ SectionGraph."pipe-bxt-nocodec" {
|
|||
# playback DAI is SSP2 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-playback.m4,
|
||||
1, SSP, 2,
|
||||
1, SSP, 2, NoCodec,
|
||||
PIPELINE_SOURCE_1, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
# capture DAI is SSP2 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-capture.m4,
|
||||
2, SSP, 2,
|
||||
2, SSP, 2, NoCodec,
|
||||
PIPELINE_SINK_2, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
|
|
|
@ -76,14 +76,14 @@ SectionGraph."pipe-byt-da7212" {
|
|||
# playback DAI is SSP2 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-playback.m4,
|
||||
1, SSP, 2,
|
||||
1, SSP, 2, SSP2-Codec,
|
||||
PIPELINE_SOURCE_1, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
# capture DAI is SSP2 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-capture.m4,
|
||||
2, SSP, 2,
|
||||
2, SSP, 2, SSP2-Codec,
|
||||
PIPELINE_SINK_2, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
|
|
|
@ -76,14 +76,14 @@ SectionGraph."pipe-byt-nocodec" {
|
|||
# playback DAI is SSP2 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-playback.m4,
|
||||
1, SSP, 2,
|
||||
1, SSP, 2, NoCodec,
|
||||
PIPELINE_SOURCE_1, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
# capture DAI is SSP2 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-capture.m4,
|
||||
2, SSP, 2,
|
||||
2, SSP, 2, NoCodec,
|
||||
PIPELINE_SINK_2, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
|
|
|
@ -76,14 +76,14 @@ SectionGraph."pipe-byt-rt5640" {
|
|||
# playback DAI is SSP2 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-playback.m4,
|
||||
1, SSP, 2,
|
||||
1, SSP, 2, Audio
|
||||
PIPELINE_SOURCE_1, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
# capture DAI is SSP2 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-capture.m4,
|
||||
2, SSP, 2,
|
||||
2, SSP, 2, Audio,
|
||||
PIPELINE_SINK_2, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
|
|
|
@ -76,14 +76,14 @@ SectionGraph."pipe-byt-rt5645" {
|
|||
# playback DAI is SSP2 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-playback.m4,
|
||||
1, SSP, 2,
|
||||
1, SSP, 2, SSP2-Codec,
|
||||
PIPELINE_SOURCE_1, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
# capture DAI is SSP2 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-capture.m4,
|
||||
2, SSP, 2,
|
||||
2, SSP, 2, SSP2-Codec,
|
||||
PIPELINE_SINK_2, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
|
|
|
@ -76,14 +76,14 @@ SectionGraph."pipe-byt-rt5651" {
|
|||
# playback DAI is SSP2 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-playback.m4,
|
||||
1, SSP, 2,
|
||||
1, SSP, 2, SSP2-Codec,
|
||||
PIPELINE_SOURCE_1, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
# capture DAI is SSP2 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-capture.m4,
|
||||
2, SSP, 2,
|
||||
2, SSP, 2, SSP2-Codec,
|
||||
PIPELINE_SINK_2, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
|
|
|
@ -76,14 +76,14 @@ SectionGraph."pipe-cht-max98090" {
|
|||
# playback DAI is SSP2 using 2 periods
|
||||
# Buffers use s16le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-playback.m4,
|
||||
1, SSP, 2,
|
||||
1, SSP, 2, SSP2-Codec,
|
||||
PIPELINE_SOURCE_1, 2, s16le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
# capture DAI is SSP2 using 2 periods
|
||||
# Buffers use s16le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-capture.m4,
|
||||
2, SSP, 2,
|
||||
2, SSP, 2, SSP2-Codec,
|
||||
PIPELINE_SINK_2, 2, s16le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
|
|
|
@ -76,14 +76,14 @@ SectionGraph."pipe-cht-nocodec" {
|
|||
# playback DAI is SSP2 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-playback.m4,
|
||||
1, SSP, 2,
|
||||
1, SSP, 2, NoCodec,
|
||||
PIPELINE_SOURCE_1, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
# capture DAI is SSP2 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-capture.m4,
|
||||
2, SSP, 2,
|
||||
2, SSP, 2, NoCodec,
|
||||
PIPELINE_SINK_2, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
|
|
|
@ -47,14 +47,14 @@ PIPELINE_PCM_DAI_ADD(sof/pipe-volume-capture.m4,
|
|||
# playback DAI is SSP0 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-playback.m4,
|
||||
1, SSP, 0,
|
||||
1, SSP, 0, SSP0-Codec,
|
||||
PIPELINE_SOURCE_1, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
# capture DAI is SSP0 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-capture.m4,
|
||||
2, SSP, 0,
|
||||
2, SSP, 0, SSP0-Codec,
|
||||
PIPELINE_SINK_2, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
|
|
|
@ -76,14 +76,14 @@ SectionGraph."pipe-hsw-rt5640" {
|
|||
# playback DAI is SSP0 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-playback.m4,
|
||||
1, SSP, 0,
|
||||
1, SSP, 0, Codec,
|
||||
PIPELINE_SOURCE_1, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
# capture DAI is SSP0 using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-capture.m4,
|
||||
2, SSP, 0,
|
||||
2, SSP, 0, Codec,
|
||||
PIPELINE_SINK_2, 2, s24le,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ include(`pipeline.m4')
|
|||
#
|
||||
# DAI definitions
|
||||
#
|
||||
W_DAI_IN(DAI_TYPE, DAI_INDEX, DAI_FORMAT, 2, 0, 0, dai0c_plat_conf)
|
||||
W_DAI_IN(DAI_TYPE, DAI_INDEX, DAI_BE, DAI_FORMAT, 2, 0, 0, dai0c_plat_conf)
|
||||
|
||||
#
|
||||
# DAI pipeline - always use 0 for DAIs
|
||||
|
|
|
@ -8,7 +8,7 @@ include(`pipeline.m4')
|
|||
#
|
||||
# DAI definitions
|
||||
#
|
||||
W_DAI_OUT(DAI_TYPE, DAI_INDEX, DAI_FORMAT, 0, 2, 2, dai0p_plat_conf)
|
||||
W_DAI_OUT(DAI_TYPE, DAI_INDEX, DAI_BE, DAI_FORMAT, 0, 2, 2, dai0p_plat_conf)
|
||||
|
||||
#
|
||||
# DAI pipeline - always use 0 for DAIs
|
||||
|
|
|
@ -27,7 +27,7 @@ W_BUFFER(0, COMP_BUFFER_SIZE(2,
|
|||
#
|
||||
# DAI definitions
|
||||
#
|
||||
W_DAI_IN(DAI_TYPE, DAI_INDEX, DAI_FORMAT, 0, 2, 2, dai0c_plat_conf)
|
||||
W_DAI_IN(DAI_TYPE, DAI_INDEX, DAI_BE, DAI_FORMAT, 0, 2, 2, dai0c_plat_conf)
|
||||
|
||||
#
|
||||
# DAI pipeline - always use 0 for DAIs
|
||||
|
|
|
@ -27,7 +27,7 @@ W_BUFFER(0, COMP_BUFFER_SIZE(2,
|
|||
#
|
||||
# DAI definitions
|
||||
#
|
||||
W_DAI_OUT(DAI_TYPE, DAI_INDEX, DAI_FORMAT, 0, 2, 2, dai0p_plat_conf)
|
||||
W_DAI_OUT(DAI_TYPE, DAI_INDEX, DAI_BE, DAI_FORMAT, 0, 2, 2, dai0p_plat_conf)
|
||||
|
||||
#
|
||||
# DAI pipeline - always use 0 for DAIs
|
||||
|
|
|
@ -42,7 +42,7 @@ W_BUFFER(1, COMP_BUFFER_SIZE(4,
|
|||
#
|
||||
# DAI definitions
|
||||
#
|
||||
W_DAI_IN(DAI_TYPE, DAI_INDEX, DAI_FORMAT, 0, DAI_PERIODS,
|
||||
W_DAI_IN(DAI_TYPE, DAI_INDEX, DAI_BE, DAI_FORMAT, 0, DAI_PERIODS,
|
||||
DAI_PERIODS, dai0c_plat_conf)
|
||||
|
||||
#
|
||||
|
|
|
@ -42,7 +42,7 @@ W_BUFFER(1, COMP_BUFFER_SIZE(4,
|
|||
#
|
||||
# DAI definitions
|
||||
#
|
||||
W_DAI_OUT(DAI_TYPE, DAI_INDEX, DAI_FORMAT, 0, DAI_PERIODS,
|
||||
W_DAI_OUT(DAI_TYPE, DAI_INDEX, DAI_BE, DAI_FORMAT, 0, DAI_PERIODS,
|
||||
DAI_PERIODS, dai0p_plat_conf)
|
||||
|
||||
#
|
||||
|
|
|
@ -47,7 +47,7 @@ W_BUFFER(1, COMP_BUFFER_SIZE(2,
|
|||
#
|
||||
# DAI definitions
|
||||
#
|
||||
W_DAI_IN(DAI_TYPE, DAI_INDEX, DAI_FORMAT, 0, DAI_PERIODS,
|
||||
W_DAI_IN(DAI_TYPE, DAI_INDEX, DAI_BE, DAI_FORMAT, 0, DAI_PERIODS,
|
||||
DAI_PERIODS, dai0c_plat_conf)
|
||||
|
||||
#
|
||||
|
|
|
@ -47,7 +47,7 @@ W_BUFFER(1, COMP_BUFFER_SIZE(2,
|
|||
#
|
||||
# DAI definitions
|
||||
#
|
||||
W_DAI_OUT(DAI_TYPE, DAI_INDEX, DAI_FORMAT, 0, DAI_PERIODS,
|
||||
W_DAI_OUT(DAI_TYPE, DAI_INDEX, DAI_BE, DAI_FORMAT, 0, DAI_PERIODS,
|
||||
DAI_PERIODS, dai0p_plat_conf)
|
||||
|
||||
#
|
||||
|
|
|
@ -53,7 +53,7 @@ PIPELINE_PCM_DAI_ADD(sof/pipe-TEST_PIPE_NAME-capture.m4,
|
|||
# capture DAI is SSP TEST_SSP_PORT using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-capture.m4,
|
||||
2, SSP, TEST_SSP_PORT,
|
||||
2, SSP, TEST_SSP_PORT, TEST_DAI_LINK_NAME,
|
||||
PIPELINE_SINK_2, 2, TEST_SSP_FORMAT,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ PIPELINE_PCM_DAI_ADD(sof/pipe-TEST_PIPE_NAME-playback.m4,
|
|||
# playback DAI is SSP TEST_SSP_PORT using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-playback.m4,
|
||||
1, SSP, TEST_SSP_PORT,
|
||||
1, SSP, TEST_SSP_PORT, TEST_DAI_LINK_NAME,
|
||||
PIPELINE_SOURCE_1, 2, TEST_SSP_FORMAT,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
|
|
|
@ -64,14 +64,14 @@ PIPELINE_PCM_DAI_ADD(sof/pipe-TEST_PIPE_NAME-capture.m4,
|
|||
# playback DAI is SSP TEST_SSP_PORT using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-playback.m4,
|
||||
1, SSP, TEST_SSP_PORT,
|
||||
1, SSP, TEST_SSP_PORT, TEST_DAI_LINK_NAME,
|
||||
PIPELINE_SOURCE_1, 2, TEST_SSP_FORMAT,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
# capture DAI is SSP TEST_SSP_PORT using 2 periods
|
||||
# Buffers use s24le format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-capture.m4,
|
||||
2, SSP, TEST_SSP_PORT,
|
||||
2, SSP, TEST_SSP_PORT, TEST_DAI_LINK_NAME,
|
||||
PIPELINE_SINK_2, 2, TEST_SSP_FORMAT,
|
||||
48, 1000, 0, 0)
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ PIPELINE_ADD(sof/pipe-tone.m4,
|
|||
# playback DAI is SSP2 using 2 periods
|
||||
# Buffers use TEST_SSP_FORMAT format, with 48 frame per 1000us on core 0 with priority 0
|
||||
DAI_ADD(sof/pipe-dai-playback.m4,
|
||||
5, SSP, TEST_SSP_PORT,
|
||||
5, SSP, TEST_SSP_PORT, TEST_DAI_LINK_NAME,
|
||||
PIPELINE_SOURCE_5, 2, TEST_SSP_FORMAT,
|
||||
48, 1000, 2, 0)
|
||||
|
||||
|
|
Loading…
Reference in New Issue