]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
conf/ucm: cht-bsw-rt5672: Add board specific profile for Lenovo Thinkpad 8 tablet
authorHans de Goede <hdegoede@redhat.com>
Sat, 31 Aug 2019 14:58:42 +0000 (16:58 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 27 Sep 2019 08:31:07 +0000 (10:31 +0200)
The Lenovo Thinkpad 8 tablet has stereo speakers and its internal DMIC
on DMIC1, at a device specific profile for this.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm/LENOVO-20BN002QGE-ThinkPad8-20BN002QGE/HiFi.conf [new file with mode: 0644]
ucm/LENOVO-20BN002QGE-ThinkPad8-20BN002QGE/LENOVO-20BN002QGE-ThinkPad8-20BN002QGE.conf [new file with mode: 0644]

diff --git a/ucm/LENOVO-20BN002QGE-ThinkPad8-20BN002QGE/HiFi.conf b/ucm/LENOVO-20BN002QGE-ThinkPad8-20BN002QGE/HiFi.conf
new file mode 100644 (file)
index 0000000..43c3c0d
--- /dev/null
@@ -0,0 +1,23 @@
+SectionVerb {
+       EnableSequence [
+               cdev "hw:chtbswrt5672"
+               <platforms/bytcr/PlatformEnableSeq.conf>
+               <codecs/rt5672/EnableSeq.conf>
+       ]
+
+       DisableSequence [
+               cdev "hw:chtbswrt5672"
+               <platforms/bytcr/PlatformDisableSeq.conf>
+       ]
+
+       Value {
+               PlaybackPCM "hw:chtbswrt5672"
+               CapturePCM "hw:chtbswrt5672"
+       }
+}
+
+<codecs/rt5672/Speaker.conf>
+<codecs/rt5672/HeadPhones.conf>
+
+<codecs/rt5672/DMIC2.conf>
+<codecs/rt5672/HeadsetMic.conf>
diff --git a/ucm/LENOVO-20BN002QGE-ThinkPad8-20BN002QGE/LENOVO-20BN002QGE-ThinkPad8-20BN002QGE.conf b/ucm/LENOVO-20BN002QGE-ThinkPad8-20BN002QGE/LENOVO-20BN002QGE-ThinkPad8-20BN002QGE.conf
new file mode 100644 (file)
index 0000000..1c3a766
--- /dev/null
@@ -0,0 +1,4 @@
+SectionUseCase."HiFi" {
+       File "../LENOVO-20BN002QGE-ThinkPad8-20BN002QGE/HiFi.conf"
+       Comment "Play HiFi quality Music"
+}