From: Pierre-Louis Bossart Date: Thu, 28 May 2020 22:59:01 +0000 (-0500) Subject: ucm2: chtmax98090: add generic HiFi.conf and SOF support X-Git-Tag: v1.2.3~5 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=cf5171b2bf69369c3b7c03495887b372e1ba1f2b;p=alsa-ucm-conf.git ucm2: chtmax98090: add generic HiFi.conf and SOF support Tested on Cyan Chromebook with both SOF and SST drivers. Signed-off-by: Pierre-Louis Bossart Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/SOF/HiFi.conf b/ucm2/SOF/HiFi.conf index 66f0cb9..ed4b163 100644 --- a/ucm2/SOF/HiFi.conf +++ b/ucm2/SOF/HiFi.conf @@ -86,3 +86,14 @@ If.bytcht_rt5650 { } } + +If.bytcht_max98090 { + Condition { + Type String + Haystack "${CardName}" + Needle "bytcht max98090" + } + True { + + } +} diff --git a/ucm2/chtmax98090/HiFi.conf b/ucm2/chtmax98090/HiFi.conf new file mode 100644 index 0000000..f4a8138 --- /dev/null +++ b/ucm2/chtmax98090/HiFi.conf @@ -0,0 +1,26 @@ +SectionVerb { + Value { + TQ "HiFi" + } + + If.platform { + Condition { + Type ControlExists + Control "name='media0_in Gain 0 Switch'" + } + True { + EnableSequence [ + + ] + } + } + + EnableSequence [ + + ] +} + + + + +