From 32725f397d75320726a4f4959717f601f4f9517d Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Thu, 28 May 2020 17:59:01 -0500 Subject: [PATCH] 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 --- ucm2/SOF/HiFi.conf | 11 +++++++++++ ucm2/chtmax98090/HiFi.conf | 26 ++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 ucm2/chtmax98090/HiFi.conf diff --git a/ucm2/SOF/HiFi.conf b/ucm2/SOF/HiFi.conf index 66f0cb95..ed4b163d 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 00000000..f4a81386 --- /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 [ + + ] +} + + + + +