* [PATCH alsa-ucm-conf] sof-soundwire: Add basic support for cs42l43's speaker
@ 2024-04-23 15:43 Charles Keepax
2024-04-24 11:07 ` Jaroslav Kysela
0 siblings, 1 reply; 2+ messages in thread
From: Charles Keepax @ 2024-04-23 15:43 UTC (permalink / raw)
To: perex; +Cc: pierre-louis.bossart, bard.liao, alsa-devel, patches
Previous support was added for the mics and headset on cs42l43, expand
this support with additional configuration for the speaker output.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
---
ucm2/sof-soundwire/cs42l43-spk.conf | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 ucm2/sof-soundwire/cs42l43-spk.conf
diff --git a/ucm2/sof-soundwire/cs42l43-spk.conf b/ucm2/sof-soundwire/cs42l43-spk.conf
new file mode 100644
index 0000000..73f1299
--- /dev/null
+++ b/ucm2/sof-soundwire/cs42l43-spk.conf
@@ -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"
+ }
+}
--
2.39.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH alsa-ucm-conf] sof-soundwire: Add basic support for cs42l43's speaker
2024-04-23 15:43 [PATCH alsa-ucm-conf] sof-soundwire: Add basic support for cs42l43's speaker Charles Keepax
@ 2024-04-24 11:07 ` Jaroslav Kysela
0 siblings, 0 replies; 2+ messages in thread
From: Jaroslav Kysela @ 2024-04-24 11:07 UTC (permalink / raw)
To: Charles Keepax; +Cc: pierre-louis.bossart, bard.liao, alsa-devel, patches
On 23. 04. 24 17:43, Charles Keepax wrote:
> Previous support was added for the mics and headset on cs42l43, expand
> this support with additional configuration for the speaker output.
>
> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Thanks. Applied.
Jaroslav
--
Jaroslav Kysela <perex@perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-24 11:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-23 15:43 [PATCH alsa-ucm-conf] sof-soundwire: Add basic support for cs42l43's speaker Charles Keepax
2024-04-24 11:07 ` Jaroslav Kysela
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).