On 06. 12. 23 17:46, Charles Keepax wrote:
cs42l43 is a codec device, add basic support for it. Including a dual channel DMIC input, stereo headphones, and a mono headset microphone.
Signed-off-by: Charles Keepax ckeepax@opensource.cirrus.com
No changes since v2.
Thanks, Charles
ucm2/sof-soundwire/cs42l43-dmic.conf | 28 +++++++++++++++++ ucm2/sof-soundwire/cs42l43.conf | 47 ++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 ucm2/sof-soundwire/cs42l43-dmic.conf create mode 100644 ucm2/sof-soundwire/cs42l43.conf
diff --git a/ucm2/sof-soundwire/cs42l43-dmic.conf b/ucm2/sof-soundwire/cs42l43-dmic.conf new file mode 100644 index 0000000..bf59eca --- /dev/null +++ b/ucm2/sof-soundwire/cs42l43-dmic.conf @@ -0,0 +1,28 @@ +# Use case Configuration for sof-soundwire card
+SectionDevice."Mic" {
- Comment "Microphones"
- ConflictingDevice [
"Headset"
- ]
- EnableSequence [
cset "name='cs42l43 DP1TX1 Input' 'Decimator 3'"
cset "name='cs42l43 DP1TX2 Input' 'Decimator 4'"
cset "name='cs42l43 Decimator 3 Switch' on"
cset "name='cs42l43 Decimator 4 Switch' on"
- ]
- DisableSequence [
cset "name='cs42l43 Decimator 3 Switch' off"
cset "name='cs42l43 Decimator 4 Switch' off"
cset "name='cs42l43 DP1TX1 Input' 'None'"
cset "name='cs42l43 DP1TX2 Input' 'None'"
- ]
- Value {
CapturePriority 100
CapturePCM "hw:${CardId},4"
- }
+}
Just curious: Why dmic input does not have Decimator switch/volume controls like Headset output?
We can combine mono controls to one stereo in latest UCM.
Jaroslav