summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMengdong Lin <mengdong.lin@linux.intel.com>2016-04-29 11:03:45 +0800
committerTakashi Iwai <tiwai@suse.de>2016-05-09 10:30:40 +0200
commit76af5bf833323d8ae1caa23d592a959e74990932 (patch)
tree903bdd26ebc03d20437a5e5c877e959e81b71c30
parent25d6f8e6a8e162259dcf84600496dc8ebd8196e7 (diff)
downloadalsa-lib-76af5bf833323d8ae1caa23d592a959e74990932.tar.gz
topology: Update PCM configurations in Broadwell text conf file
To make this conf file a better example, update the name & ID of PCMs (front-end DAI link) and their cpu DAI (front-end DAI), same as those defined by Broadwell upstream driver. Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--src/conf/topology/broadwell/broadwell.conf34
1 files changed, 25 insertions, 9 deletions
diff --git a/src/conf/topology/broadwell/broadwell.conf b/src/conf/topology/broadwell/broadwell.conf
index 05b3889b..eb89377d 100644
--- a/src/conf/topology/broadwell/broadwell.conf
+++ b/src/conf/topology/broadwell/broadwell.conf
@@ -272,18 +272,22 @@ SectionPCMCapabilities."Offload0 Playback" {
SectionPCMCapabilities."Offload1 Playback" {
formats "S24_LE,S16_LE"
rate_min "8000"
- rate_max "48000"
+ rate_max "192000"
channels_min "2"
channels_max "2"
}
# PCM devices exported by Firmware
-SectionPCM."System Pin" {
+SectionPCM."System Playback/Capture" {
index "1"
# used for binding to the PCM
- ID "0"
+ id "0"
+
+ dai."System Pin" {
+ id "0"
+ }
pcm."playback" {
@@ -307,12 +311,16 @@ SectionPCM."System Pin" {
}
}
-SectionPCM."Offload0 Pin" {
+SectionPCM."Offload0 Playback" {
index "1"
# used for binding to the PCM
- ID "1"
+ id "1"
+
+ dai."Offload0 Pin" {
+ id "1"
+ }
pcm."playback" {
@@ -325,12 +333,16 @@ SectionPCM."Offload0 Pin" {
}
}
-SectionPCM."Offload1 Pin" {
+SectionPCM."Offload1 Playback" {
index "1"
# used for binding to the PCM
- ID "2"
+ id "2"
+
+ dai."Offload1 Pin" {
+ id "2"
+ }
pcm."playback" {
@@ -343,12 +355,16 @@ SectionPCM."Offload1 Pin" {
}
}
-SectionPCM."Loopback Pin" {
+SectionPCM."Loopback PCM" {
index "1"
# used for binding to the PCM
- ID "3"
+ id "3"
+
+ dai."Loopback Pin" {
+ id "3"
+ }
pcm."capture" {