From: Srinivas Kandagatla Date: Thu, 5 Mar 2020 13:32:22 +0000 (+0000) Subject: ucm2: DB845c: Add ucm for DB845c board X-Git-Tag: v1.2.3~1 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=dc4840786b8f9a611f03b894cccd88cbb1d87d4c;p=alsa-ucm-conf.git ucm2: DB845c: Add ucm for DB845c board DB845c board by default has two WSA881x speakers and HDMI audio connections. Signed-off-by: Srinivas Kandagatla Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/DB845c/DB845c.conf b/ucm2/DB845c/DB845c.conf new file mode 100644 index 0000000..bfd1ee5 --- /dev/null +++ b/ucm2/DB845c/DB845c.conf @@ -0,0 +1,11 @@ +Syntax 2 + +SectionUseCase."HiFi" { + File "HiFi.conf" + Comment "HiFi quality Music." +} + +SectionUseCase."HDMI" { + File "HDMI.conf" + Comment "HDMI output." +} diff --git a/ucm2/DB845c/HDMI.conf b/ucm2/DB845c/HDMI.conf new file mode 100644 index 0000000..1497178 --- /dev/null +++ b/ucm2/DB845c/HDMI.conf @@ -0,0 +1,26 @@ +# Use case configuration for DB845c board. +# Author: Srinivas Kandagatla + +SectionVerb { + EnableSequence [ + cset "name='QUAT_MI2S_RX Audio Mixer MultiMedia1' 1" + ] + + DisableSequence [ + cset "name='QUAT_MI2S_RX Audio Mixer MultiMedia1' 0" + ] + + Value { + TQ "HiFi" + } +} + +SectionDevice."HDMI" { + #Name "HDMI" + Comment "HDMI Digital Stereo Output" + + Value { + PlaybackPCM "hw:${CardId}" + PlaybackPriority 200 + } +} diff --git a/ucm2/DB845c/HiFi.conf b/ucm2/DB845c/HiFi.conf new file mode 100644 index 0000000..7b62e37 --- /dev/null +++ b/ucm2/DB845c/HiFi.conf @@ -0,0 +1,40 @@ +# Use case configuration for DB845c. +# Author: Srinivas Kandagatla + +SectionVerb { + + EnableSequence [ + cset "name='SLIMBUS_0_RX Audio Mixer MultiMedia2' 1" + + + + ] + + DisableSequence [ + + cset "name='SLIMBUS_0_RX Audio Mixer MultiMedia2' 0" + ] + + Value { + TQ "HiFi" + } +} + +SectionDevice."Speaker" { + Comment "Speaker playback" + + EnableSequence [ + + + ] + + DisableSequence [ + + + ] + + Value { + PlaybackPriority 100 + PlaybackPCM "hw:${CardId},1" + } +}