]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
conf/ucm: bytcr-rt5651: Add bytcr-rt5651-stereo-spk-dmic-mic config
authorHans de Goede <hdegoede@redhat.com>
Mon, 24 Dec 2018 15:05:04 +0000 (16:05 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 24 Sep 2019 11:10:03 +0000 (13:10 +0200)
Add a config for boards which use a digital mic as internal mic,
combined with having the headset mic on in2.

An example of such a board is the Point of View TAB-P1006W-232 (v1.0) tablet.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
ucm/bytcr-rt5651-stereo-spk-dmic-mic/HiFi.conf [new file with mode: 0644]
ucm/bytcr-rt5651-stereo-spk-dmic-mic/bytcr-rt5651-stereo-spk-dmic-mic.conf [new file with mode: 0644]

diff --git a/ucm/bytcr-rt5651-stereo-spk-dmic-mic/HiFi.conf b/ucm/bytcr-rt5651-stereo-spk-dmic-mic/HiFi.conf
new file mode 100644 (file)
index 0000000..abf5fc7
--- /dev/null
@@ -0,0 +1,26 @@
+# Adapted from https://github.com/plbossart/UCM/tree/master/bytcr-rt5651
+
+
+SectionVerb {
+       EnableSequence [
+               cdev "hw:bytcrrt5651"
+               <platforms/bytcr/PlatformEnableSeq.conf>
+               <codecs/rt5651/EnableSeq.conf>
+       ]
+
+       DisableSequence [
+               cdev "hw:bytcrrt5651"
+               <platforms/bytcr/PlatformDisableSeq.conf>
+       ]
+
+       Value {
+               PlaybackPCM "hw:bytcrrt5651"
+               CapturePCM "hw:bytcrrt5651"
+       }
+}
+
+<codecs/rt5651/Speaker.conf>
+<codecs/rt5651/HeadPhones.conf>
+
+<codecs/rt5651/DigitalMic.conf>
+<codecs/rt5651/IN2-HeadsetMic.conf>
diff --git a/ucm/bytcr-rt5651-stereo-spk-dmic-mic/bytcr-rt5651-stereo-spk-dmic-mic.conf b/ucm/bytcr-rt5651-stereo-spk-dmic-mic/bytcr-rt5651-stereo-spk-dmic-mic.conf
new file mode 100644 (file)
index 0000000..de8d954
--- /dev/null
@@ -0,0 +1,10 @@
+# Adapted from https://github.com/plbossart/UCM/tree/master/bytcr-rt5651
+
+SectionUseCase."HiFi" {
+       File "../bytcr-rt5651-stereo-spk-dmic-mic/HiFi.conf"
+       Comment "Play HiFi quality Music"
+}
+
+SectionDefaults [
+       cdev "hw:bytcrrt5651"
+]