-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sof-soundwire: Add basic support for cs42l43's speaker
Previous support was added for the mics and headset on cs42l43, expand this support with additional configuration for the speaker output. Link: https://lore.kernel.org/alsa-devel/[email protected]/ Signed-off-by: Charles Keepax <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
- Loading branch information
1 parent
5285e10
commit c56d0a4
Showing
3 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Use case Configuration for sof-soundwire card | ||
|
||
SectionDevice."Speaker" { | ||
Comment "Speaker" | ||
|
||
ConflictingDevice [ | ||
"Headphones" | ||
] | ||
|
||
EnableSequence [ | ||
cset "name='cs42l43 Speaker L Input 1' 'DP5RX1'" | ||
cset "name='cs42l43 Speaker R Input 1' 'DP5RX2'" | ||
] | ||
|
||
DisableSequence [ | ||
cset "name='cs42l43 Speaker L Input 1' 'None'" | ||
cset "name='cs42l43 Speaker R Input 1' 'None'" | ||
] | ||
|
||
Value { | ||
PlaybackPriority 100 | ||
PlaybackPCM "hw:${CardId},0" | ||
PlaybackMixerElem "cs42l43 Speaker Digital" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters