aboutsummaryrefslogtreecommitdiff
path: root/ucm2
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2019-11-21 13:56:40 +0100
committerJaroslav Kysela <perex@perex.cz>2019-11-21 14:57:59 +0100
commite130896de15396bcd19a0bdce1c032e2e31ab784 (patch)
tree0dd6f8b7ad928aafbc0c285cd570aa08be531abb /ucm2
parent9d797e49b4d8ef8d1bc94561926506250a6fffe4 (diff)
cht-bsw-rt5672: adapt to ucm2
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'ucm2')
-rw-r--r--ucm2/cht-bsw-rt5672/HiFi-stereo-dmic2.conf23
l---------ucm2/cht-bsw-rt5672/LENOVO-20BN002QGE-ThinkPad8-20BN002QGE.conf1
l---------ucm2/cht-bsw-rt5672/LENOVO-20BN002QGE-ThinkPad8.conf1
-rw-r--r--ucm2/cht-bsw-rt5672/cht-bsw-rt5672-stereo-dmic2.conf6
4 files changed, 31 insertions, 0 deletions
diff --git a/ucm2/cht-bsw-rt5672/HiFi-stereo-dmic2.conf b/ucm2/cht-bsw-rt5672/HiFi-stereo-dmic2.conf
new file mode 100644
index 0000000..2916490
--- /dev/null
+++ b/ucm2/cht-bsw-rt5672/HiFi-stereo-dmic2.conf
@@ -0,0 +1,23 @@
+# Adapted from https://github.com/plbossart/UCM/tree/master/cht-bsw-rt5672
+
+SectionVerb {
+ EnableSequence [
+ <platforms/bytcr/PlatformEnableSeq.conf>
+ <codecs/rt5672/EnableSeq.conf>
+ ]
+
+ DisableSequence [
+ <platforms/bytcr/PlatformDisableSeq.conf>
+ ]
+
+ Value {
+ PlaybackPCM "hw:${CardId}"
+ CapturePCM "hw:${CardId}"
+ }
+}
+
+<codecs/rt5672/Speaker.conf>
+<codecs/rt5672/HeadPhones.conf>
+
+<codecs/rt5672/DMIC2.conf>
+<codecs/rt5672/HeadsetMic.conf>
diff --git a/ucm2/cht-bsw-rt5672/LENOVO-20BN002QGE-ThinkPad8-20BN002QGE.conf b/ucm2/cht-bsw-rt5672/LENOVO-20BN002QGE-ThinkPad8-20BN002QGE.conf
new file mode 120000
index 0000000..461f0c4
--- /dev/null
+++ b/ucm2/cht-bsw-rt5672/LENOVO-20BN002QGE-ThinkPad8-20BN002QGE.conf
@@ -0,0 +1 @@
+cht-bsw-rt5672-stereo-dmic2.conf \ No newline at end of file
diff --git a/ucm2/cht-bsw-rt5672/LENOVO-20BN002QGE-ThinkPad8.conf b/ucm2/cht-bsw-rt5672/LENOVO-20BN002QGE-ThinkPad8.conf
new file mode 120000
index 0000000..461f0c4
--- /dev/null
+++ b/ucm2/cht-bsw-rt5672/LENOVO-20BN002QGE-ThinkPad8.conf
@@ -0,0 +1 @@
+cht-bsw-rt5672-stereo-dmic2.conf \ No newline at end of file
diff --git a/ucm2/cht-bsw-rt5672/cht-bsw-rt5672-stereo-dmic2.conf b/ucm2/cht-bsw-rt5672/cht-bsw-rt5672-stereo-dmic2.conf
new file mode 100644
index 0000000..68837b2
--- /dev/null
+++ b/ucm2/cht-bsw-rt5672/cht-bsw-rt5672-stereo-dmic2.conf
@@ -0,0 +1,6 @@
+Syntax 2
+
+SectionUseCase."HiFi" {
+ File "HiFi-stereo-dmic2.conf"
+ Comment "Play HiFi quality Music"
+}