Add configs for devices using max98927 codec.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/418
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
--- /dev/null
+SectionDevice."Speaker" {
+ Comment "Speakers"
+
+ Value {
+ PlaybackPCM "hw:${CardId},1"
+ PlaybackChannels 2
+ PlaybackMixerElem "DSP"
+ }
+}
--- /dev/null
+Syntax 6
+
+SectionUseCase."HiFi" {
+ File "/Intel/avs/avs_max98927/Google-Eve-1.0-HiFi.conf"
+ Comment "Play HiFi quality Music"
+}
+
+BootSequence [
+ cset "name='Left DAI Sel Mux' Left"
+ cset "name='Right DAI Sel Mux' Right"
+ cset "name='Left Speaker Volume' 3"
+ cset "name='Right Speaker Volume' 3"
+ cset "name='Left Digital Volume' 60"
+ cset "name='Right Digital Volume' 60"
+ cset "name='Left Spk Switch' on"
+ cset "name='Right Spk Switch' on"
+ cset "name='Left Boost Output Voltage' 0"
+ cset "name='Right Boost Output Voltage' 0"
+ cset "name='Left Current Limit' 7"
+ cset "name='Right Current Limit' 7"
+]
+
+
--- /dev/null
+SectionDevice."Speaker" {
+ Comment "Speakers"
+
+ Value {
+ PlaybackPCM "hw:${CardId},1"
+ PlaybackChannels 2
+ PlaybackMixerElem "DSP"
+ }
+ EnableSequence [
+ cset "name='Left VI Sense Switch' on"
+ cset "name='Right VI Sense Switch' on"
+ ]
+ DisableSequence [
+ cset "name='Left VI Sense Switch' off"
+ cset "name='Right VI Sense Switch' off"
+ ]
+}
--- /dev/null
+Syntax 6
+
+SectionUseCase."HiFi" {
+ File "/Intel/avs/avs_max98927/HP-Soraka-1.0-HiFi.conf"
+ Comment "Play HiFi quality Music"
+}
+
+BootSequence [
+ cset "name='Left DAI Sel Mux' Left"
+ cset "name='Right DAI Sel Mux' Right"
+ cset "name='Left Speaker Volume' 5"
+ cset "name='Right Speaker Volume' 5"
+ cset "name='Left Digital Volume' 56"
+ cset "name='Right Digital Volume' 56"
+ cset "name='Left Spk Switch' on"
+ cset "name='Right Spk Switch' on"
+ cset "name='Left Current Limit' 3.00A"
+ cset "name='Right Current Limit' 3.00A"
+]
+
+
--- /dev/null
+../../Intel/avs/avs_max98927/Google-Eve-1.0.conf
\ No newline at end of file
--- /dev/null
+../../Intel/avs/avs_max98927/HP-Soraka-1.0.conf
\ No newline at end of file