aboutsummaryrefslogtreecommitdiff
path: root/ucm2
diff options
context:
space:
mode:
authorLibin Yang <libin.yang@intel.com>2020-05-21 03:45:16 -0400
committerJaroslav Kysela <perex@perex.cz>2020-06-23 17:20:36 +0200
commit450bebd628975ffab153978b80f1493100910e53 (patch)
tree19a4d41de096a76a197135c70aa5d186bc78f5f1 /ucm2
parent6b0216d7b9ed5094a7bf28e6f643d90dd7e6fa62 (diff)
sof-hda-dsp: add initial kcontrol values
This patch adds the initial values of sof-hda-dsp card. Signed-off-by: Libin Yang <libin.yang@intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'ucm2')
-rw-r--r--ucm2/sof-hda-dsp/sof-hda-dsp.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/ucm2/sof-hda-dsp/sof-hda-dsp.conf b/ucm2/sof-hda-dsp/sof-hda-dsp.conf
index af966ef..24d0359 100644
--- a/ucm2/sof-hda-dsp/sof-hda-dsp.conf
+++ b/ucm2/sof-hda-dsp/sof-hda-dsp.conf
@@ -4,3 +4,24 @@ SectionUseCase."HiFi" {
File "HiFi.conf"
Comment "Play HiFi quality Music"
}
+
+# the kcontrols initial values, which will be set by `alsactl init`
+
+BootSequence [
+ cset "name='Master Playback Volume' 80"
+ cset "name='Headphone Playback Volume' 80"
+ cset "name='Speaker Playback Volume' 80"
+ cset "name='Auto-Mute Mode' off"
+]
+
+If.Dmic0 {
+ Condition {
+ Type ControlExists
+ Control "name='Dmic0 Capture Volume'"
+ }
+ True {
+ BootSequence [
+ cset "name='Dmic0 Capture Volume' 70"
+ ]
+ }
+}