alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ucm2: hdadsp: add basic ucm config
@ 2020-03-06 11:30 Mateusz Gorski
  2020-03-09 13:01 ` Jaroslav Kysela
  0 siblings, 1 reply; 10+ messages in thread
From: Mateusz Gorski @ 2020-03-06 11:30 UTC (permalink / raw)
  To: alsa-devel; +Cc: cezary.rojewski, Mateusz Gorski, tiwai

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@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


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-03-25 12:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-06 11:30 [PATCH] ucm2: hdadsp: add basic ucm config Mateusz Gorski
2020-03-09 13:01 ` Jaroslav Kysela
2020-03-13 10:59   ` Gorski, Mateusz
2020-03-13 11:14     ` Jaroslav Kysela
2020-03-17 11:45       ` Gorski, Mateusz
2020-03-17 13:23         ` Jaroslav Kysela
2020-03-18 10:25           ` Gorski, Mateusz
2020-03-25 12:21             ` Gorski, Mateusz
2020-03-18 15:34         ` Kai Vehmanen
2020-03-19  8:21           ` Gorski, Mateusz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).