[Sound-open-firmware] [PATCH 2/3] topology: m4: Add option for loopback mode in DAI config
Xiuli Pan
xiuli.pan at linux.intel.com
Mon Jun 4 08:39:13 CEST 2018
From: Pan Xiuli <xiuli.pan at linux.intel.com>
Add a option for loopback mode in DAI config
Signed-off-by: Pan Xiuli <xiuli.pan at linux.intel.com>
---
Work with patch set:
SOF-Kernel:
ASoC: SOF: upai: ipc: Add lbm in sof_ipc_dai_config
ASoC: SOF: uapi: topology: Add SOF_TKN_DAI_LBM for ssp loopback mode
ASoC: SOF: topology: Add topology handler for dai config loopback mode
SOF:
uapi: ipc: Add lbm in sof_ipc_dai_config
IPC: Add IPC handler for dai config loopback mode
SOF-Tools:
topology: Add SOF_TKN_DAI_LBM for ssp loopback mode
topology: m4: Add option for loopback mode in DAI config
topology: test: Add loopback topology
test & santity test with:
Mininow max rt5651 and UP2 Hifiberry PRO and CNL nocodec
SOF master: 65ddcddfcc9a20f5b622cf3ba93dc326387a9d5d
SOF-Tool master: 07d290c8ac6026af28bada021ac2215e3453fa88
https://github.com/plbossart/sound/tree/topic/sof-v4.14:
3ffd39334cb53aced88b8aba17cae3df9ee2736f
---
topology/m4/dai.m4 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/topology/m4/dai.m4 b/topology/m4/dai.m4
index a349a3c..02e6562 100644
--- a/topology/m4/dai.m4
+++ b/topology/m4/dai.m4
@@ -218,7 +218,7 @@ $11
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, ssp_config/dmic_config, loopbackmode)
define(`DAI_CONFIG',
`SectionHWConfig."'$1$2`" {'
`'
@@ -230,6 +230,7 @@ define(`DAI_CONFIG',
` tokens "sof_dai_tokens"'
` tuples."string" {'
` SOF_TKN_DAI_TYPE' STR($1)
+`ifelse($6,`',`' , ` SOF_TKN_DAI_LBM "TRUE"')'
` }'
`}'
`SectionData."'N_DAI_CONFIG($1$2)`_data_str" {'
--
2.7.4
More information about the Sound-open-firmware
mailing list