topology: Extend DAI_CONFIG to allow ESAI DAI

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
This commit is contained in:
Daniel Baluta 2019-10-01 14:18:06 +03:00 committed by Daniel Baluta
parent 2b4b40587c
commit 1adc257ff7
1 changed files with 2 additions and 2 deletions

View File

@ -125,13 +125,13 @@ define(`D_DAI', `SectionDAI."'N_DAI`" {'
dnl DAI Config)
define(`N_DAI_CONFIG', `DAICONFIG.'$1)
dnl DAI_CONFIG(type, idx, link_id, name, ssp_config/dmic_config)
dnl DAI_CONFIG(type, idx, link_id, name, esai_config/ssp_config/dmic_config)
define(`DO_DAI_CONFIG',
`SectionHWConfig."'$1$2`" {'
`'
` id "'$3`"'
`'
` ifelse($1, `SSP', $5, `}')'
` ifelse($1, `SSP', $5, $1, `ESAI', $5, `}')'
`ifelse($1, `DMIC', $5, `')'
`SectionVendorTuples."'N_DAI_CONFIG($1$2)`_tuples_common" {'
` tokens "sof_dai_tokens"'