conf/ucm: bytcr-rt5640: Add default DisableSequence

Add a disable sequence powering off the SST mixer elements, loosely
based on the default DisableSequence from:
https://github.com/plbossart/UCM/blob/master/chtnau8824/HiFi.conf

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Hans de Goede 2018-05-31 17:10:24 +02:00 committed by Jaroslav Kysela
parent a5343f6fb6
commit 642b360add
9 changed files with 35 additions and 1 deletions

View file

@ -11,6 +11,8 @@ SectionVerb {
]
DisableSequence [
cdev "hw:bytcrrt5640"
<bytcr/PlatformDisableSeq.conf>
]
Value {

View file

@ -11,6 +11,8 @@ SectionVerb {
]
DisableSequence [
cdev "hw:bytcrrt5640"
<bytcr/PlatformDisableSeq.conf>
]
Value {

View file

@ -11,6 +11,8 @@ SectionVerb {
]
DisableSequence [
cdev "hw:bytcrrt5640"
<bytcr/PlatformDisableSeq.conf>
]
Value {

View file

@ -11,6 +11,8 @@ SectionVerb {
]
DisableSequence [
cdev "hw:bytcrrt5640"
<bytcr/PlatformDisableSeq.conf>
]
Value {

View file

@ -11,6 +11,8 @@ SectionVerb {
]
DisableSequence [
cdev "hw:bytcrrt5640"
<bytcr/PlatformDisableSeq.conf>
]
Value {

View file

@ -11,6 +11,8 @@ SectionVerb {
]
DisableSequence [
cdev "hw:bytcrrt5640"
<bytcr/PlatformDisableSeq.conf>
]
Value {

View file

@ -11,6 +11,8 @@ SectionVerb {
]
DisableSequence [
cdev "hw:bytcrrt5640"
<bytcr/PlatformDisableSeq.conf>
]
Value {

View file

@ -1,4 +1,4 @@
alsaconfigdir = @ALSA_CONFIG_DIR@
ucmdir = $(alsaconfigdir)/ucm/bytcr
ucm_DATA = PlatformEnableSeq.conf
ucm_DATA = PlatformEnableSeq.conf PlatformDisableSeq.conf
EXTRA_DIST = $(ucm_DATA)

View file

@ -0,0 +1,20 @@
# disable audio output path
cset "name='codec_out0 mix 0 pcm0_in Switch' off"
cset "name='modem_out mix 0 pcm0_in Switch' off"
cset "name='media0_out mix 0 media0_in Switch' off"
cset "name='media0_out mix 0 media1_in Switch' off"
cset "name='media0_out mix 0 media3_in Switch' off"
cset "name='media0_in Gain 0 Switch' off"
cset "name='media1_in Gain 0 Switch' off"
cset "name='media3_in Gain 0 Switch' off"
cset "name='pcm0_in Gain 0 Switch' off"
cset "name='codec_out0 Gain 0 Switch' off"
cset "name='modem_out Gain 0 Switch' off"
# disable audio input path
cset "name='pcm1_out Gain 0 Switch' off"
cset "name='codec_in0 Gain 0 Switch' off"
cset "name='modem_in Gain 0 Switch' off"