Skip to content

Commit

Permalink
sof-soundwire: Add basic support for cs42l43's speaker
Browse files Browse the repository at this point in the history
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
charleskeepax authored and perexg committed Apr 24, 2024
1 parent 5285e10 commit 035d920
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions ucm2/sof-soundwire/cs42l43-spk.conf
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"
}
}

0 comments on commit 035d920

Please sign in to comment.