[alsa-devel] [PATCH] topology: Update physical link configurations in Broadwell text conf file

mengdong.lin at linux.intel.com mengdong.lin at linux.intel.com
Fri Nov 25 06:20:02 CET 2016


From: Mengdong Lin <mengdong.lin at linux.intel.com>

To make this conf file a better example, add configurations for the
physical link "Codec", same as that defined by Intel Broadwell upstream
machine driver.

Signed-off-by: Mengdong Lin <mengdong.lin at linux.intel.com>

diff --git a/src/conf/topology/broadwell/broadwell.conf b/src/conf/topology/broadwell/broadwell.conf
index eb89377..b8405d9 100644
--- a/src/conf/topology/broadwell/broadwell.conf
+++ b/src/conf/topology/broadwell/broadwell.conf
@@ -389,3 +389,22 @@ SectionGraph."dsp" {
 		"Analog Capture, , SSP0 CODEC IN"
 	]
 }
+
+SectionHWConfig."CodecHWConfig" {
+	id "1"
+	format "I2S"		# physical audio format.
+	bclk   "master"		# Platform is master of bit clock
+	fsync  "master"		# platform is master of fsync
+}
+
+SectionLink."Codec" {
+
+	# used for binding to the physical link
+	id "0"
+
+	hw_configs [
+		"CodecHWConfig"
+	]
+
+	default_hw_conf_id "1"
+}
-- 
2.5.0



More information about the Alsa-devel mailing list