conf/ucm: Add UCM profile for bytcht-es8316 boards

Add an UCM profile for Bay Trail and Cherry Trail boards with an
ES8316 codec.

Re-use the existing platform enable and disable sequences for BYT/CHT SST
support and add a codecs/es8316 dir with codec specific enable / disable
sequences for the various inputs and outputs.

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 2019-01-03 14:50:14 +01:00 committed by Jaroslav Kysela
parent b4c0a51505
commit 506cca6eaa
15 changed files with 252 additions and 0 deletions

View file

@ -0,0 +1,19 @@
# Disable all inputs / outputs
cset "name='Speaker Switch' off"
cset "name='Headphone Switch' off"
cset "name='Headset Mic Switch' off"
cset "name='Internal Mic Switch' off"
# Set HP vol to 0 dB (3/3)
cset "name='Headphone Playback Volume' 3"
# Set HP mixer vol to -6 dB (4/7) louder does not work
cset "name='Headphone Mixer Volume' 4"
# Set DAC vol to 0 dB (192/192)
cset "name='DAC Playback Volume' 192"
# Set ADC vold to 0 dB (10/10)
cset "name='ADC PGA Gain Volume' 10"
# Setup muxes / switches
cset "name='Left Headphone Mixer Left DAC Switch' on"
cset "name='Right Headphone Mixer Right DAC Switch' on"
cset "name='ALC Capture Switch' on"