[Sound-open-firmware] [PATCH V2 1/3] topology: Add SOF_TKN_DAI_LBM_KCONTROL for ssp loopback mode kcontrol

Xiuli Pan xiuli.pan at linux.intel.com
Wed Jun 20 11:32:11 CEST 2018


From: Pan Xiuli <xiuli.pan at linux.intel.com>

Add token SOF_TKN_DAI_LBM_KCONTROL for SSP loopback mode kcontrol

Signed-off-by: Pan Xiuli <xiuli.pan at linux.intel.com>

---
V2: Rename token
Work with patch set:
SOF-Kernel(7):
  ASoC: SOF: Add debug_mode flag in sof dev
  ASoC: SOF: debug: add debugmode debugfs for sof_dev debug_mode
  ASoC: SOF: uapi: topology: Add SOF_TKN_DAI_LBM_KCONTROL for ssp
    loopback mode kcontrol
  ASoC: SOF: add headers for switch control callback functions
  ASoC: SOF: add switch kcontrol callback functions
  ASoC: SOF: topology: Add DAI TOKEN string bool parser
  ASoC: SOF: topology: Add topology handler for dai lbm kcontrol

SOF(5):
  dai: add lbm status for dai ssp
  dai: add get_loopback_mode function
  DMIC: add empty get_loopback_mode function
  SSP: support for get/set_loopback_mode functions
  dai: add dai_cmd support for loopback mode switch

SOF-Tools(3):
  topology: Add SOF_TKN_DAI_LBM_KCONTROL for ssp loopback mode kcontrol
  topology: m4: add dai lbm kcotnrol support
  topology: test: Add loopback topology

test & santity test with:
Mininow max rt5651 and UP2 Hifiberry PRO and CNL nocodec
SOF master: 27795ece0ff9405795cef866fc28a7ab6db20d82
SOF-Tool master: bd7dc88231f31d385340310cef467f211a739eeb
sof-dev: df15329163229fe3436ad914561430c20f778cf1

---
 topology/sof/tokens.m4 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/topology/sof/tokens.m4 b/topology/sof/tokens.m4
index f0b3428..f17ed35 100644
--- a/topology/sof/tokens.m4
+++ b/topology/sof/tokens.m4
@@ -19,6 +19,7 @@ SectionVendorTokens."sof_dai_tokens" {
 	SOF_TKN_DAI_TYPE			"154"
 	SOF_TKN_DAI_INDEX			"155"
 	SOF_TKN_DAI_SAMPLE_BITS			"156"
+	SOF_TKN_DAI_LBM_KCONTROL		"157"
 }
 
 SectionVendorTokens."sof_sched_tokens" {
-- 
2.7.4



More information about the Sound-open-firmware mailing list