topology: Update physical link configurations in Broadwell text conf file
diff mbox

Message ID 1480051202-32198-1-git-send-email-mengdong.lin@linux.intel.com
State New
Headers show

Commit Message

mengdong.lin@linux.intel.com Nov. 25, 2016, 5:20 a.m. UTC
From: Mengdong Lin <mengdong.lin@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@linux.intel.com>

Comments

Takashi Iwai Nov. 25, 2016, 9:24 a.m. UTC | #1
On Fri, 25 Nov 2016 06:20:02 +0100,
mengdong.lin@linux.intel.com wrote:
> 
> From: Mengdong Lin <mengdong.lin@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@linux.intel.com>

Applied, thanks.


Takashi

Patch
diff mbox

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"
+}