mirror of
				https://github.com/alsa-project/alsa-lib.git
				synced 2025-11-03 09:01:52 -05:00 
			
		
		
		
	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>
This commit is contained in:
		
							parent
							
								
									25d6f8e6a8
								
							
						
					
					
						commit
						76af5bf833
					
				
					 1 changed files with 25 additions and 9 deletions
				
			
		| 
						 | 
					@ -272,18 +272,22 @@ SectionPCMCapabilities."Offload0 Playback" {
 | 
				
			||||||
SectionPCMCapabilities."Offload1 Playback" {
 | 
					SectionPCMCapabilities."Offload1 Playback" {
 | 
				
			||||||
	formats "S24_LE,S16_LE"
 | 
						formats "S24_LE,S16_LE"
 | 
				
			||||||
	rate_min "8000"
 | 
						rate_min "8000"
 | 
				
			||||||
	rate_max "48000"
 | 
						rate_max "192000"
 | 
				
			||||||
	channels_min "2"
 | 
						channels_min "2"
 | 
				
			||||||
	channels_max "2"
 | 
						channels_max "2"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# PCM devices exported by Firmware
 | 
					# PCM devices exported by Firmware
 | 
				
			||||||
SectionPCM."System Pin" {
 | 
					SectionPCM."System Playback/Capture" {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	index "1"
 | 
						index "1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	# used for binding to the PCM
 | 
						# used for binding to the PCM
 | 
				
			||||||
	ID "0"
 | 
						id "0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						dai."System Pin" {
 | 
				
			||||||
 | 
							id "0"
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	pcm."playback" {
 | 
						pcm."playback" {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -307,12 +311,16 @@ SectionPCM."System Pin" {
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SectionPCM."Offload0 Pin" {
 | 
					SectionPCM."Offload0 Playback" {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	index "1"
 | 
						index "1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	# used for binding to the PCM
 | 
						# used for binding to the PCM
 | 
				
			||||||
	ID "1"
 | 
						id "1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						dai."Offload0 Pin" {
 | 
				
			||||||
 | 
							id "1"
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	pcm."playback" {
 | 
						pcm."playback" {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -325,12 +333,16 @@ SectionPCM."Offload0 Pin" {
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SectionPCM."Offload1 Pin" {
 | 
					SectionPCM."Offload1 Playback" {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	index "1"
 | 
						index "1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	# used for binding to the PCM
 | 
						# used for binding to the PCM
 | 
				
			||||||
	ID "2"
 | 
						id "2"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						dai."Offload1 Pin" {
 | 
				
			||||||
 | 
							id "2"
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	pcm."playback" {
 | 
						pcm."playback" {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -343,12 +355,16 @@ SectionPCM."Offload1 Pin" {
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
SectionPCM."Loopback Pin" {
 | 
					SectionPCM."Loopback PCM" {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	index "1"
 | 
						index "1"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	# used for binding to the PCM
 | 
						# used for binding to the PCM
 | 
				
			||||||
	ID "3"
 | 
						id "3"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						dai."Loopback Pin" {
 | 
				
			||||||
 | 
							id "3"
 | 
				
			||||||
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	pcm."capture" {
 | 
						pcm."capture" {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue