[PATCH] ucm2: hdadsp: add basic ucm config
Mateusz Gorski
mateusz.gorski at linux.intel.com
Fri Mar 6 12:30:31 CET 2020
Basic UCM configuration for HDA DSP generic enabling codec playback and
capture on both HDA codec and DMIC ports.
Signed-off-by: Mateusz Gorski <mateusz.gorski at linux.intel.com>
---
ucm2/hdadsp/hdadsp.conf | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 ucm2/hdadsp/hdadsp.conf
diff --git a/ucm2/hdadsp/hdadsp.conf b/ucm2/hdadsp/hdadsp.conf
new file mode 100644
index 0000000..4e98545
--- /dev/null
+++ b/ucm2/hdadsp/hdadsp.conf
@@ -0,0 +1,16 @@
+# UCM for Intel CAVS platforms
+# For Audio in HDA and DMIC mode
+
+ValueDefaults {
+ PlaybackChannels "2"
+ PlaybackPriority "1"
+ CaptureChannels "2"
+ CapturePriority "2"
+}
+
+SectionDefaults [
+ cdev "hw:hdadsp"
+ cset "name='codec0_out mo media0_in mi Switch' 1"
+ cset "name='media0_out mo codec0_in mi Switch' 1"
+ cset "name='mch_cap_out mo mch_cap_in mi Switch' 1"
+]
--
2.17.1
More information about the Alsa-devel
mailing list