From: Charles Keepax <ckeepax@opensource.cirrus.com>
To: <perex@perex.cz>
Cc: <pierre-louis.bossart@linux.intel.com>, <bard.liao@intel.com>,
<alsa-devel@alsa-project.org>, <patches@opensource.cirrus.com>
Subject: [PATCH alsa-ucm-conf] sof-soundwire: Add basic support for cs42l43's speaker
Date: Tue, 23 Apr 2024 16:43:05 +0100 [thread overview]
Message-ID: <20240423154305.2782347-1-ckeepax@opensource.cirrus.com> (raw)
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
next reply other threads:[~2024-04-23 15:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-23 15:43 Charles Keepax [this message]
2024-04-24 11:07 ` [PATCH alsa-ucm-conf] sof-soundwire: Add basic support for cs42l43's speaker Jaroslav Kysela
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240423154305.2782347-1-ckeepax@opensource.cirrus.com \
--to=ckeepax@opensource.cirrus.com \
--cc=alsa-devel@alsa-project.org \
--cc=bard.liao@intel.com \
--cc=patches@opensource.cirrus.com \
--cc=perex@perex.cz \
--cc=pierre-louis.bossart@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).