sof-skl_hda: add PlaybackVolume and CaptureVolume definitions

PlaybackVolume and CaptureVolume are not defined currently and these are
needed in the future for example with Pulseaudio to enable hardware
volume control.

Signed-off-by: Jaska Uimonen <jaska.uimonen@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaska Uimonen 2019-09-27 16:18:07 +03:00 committed by Jaroslav Kysela
commit c8808f6d60

View file

@ -28,6 +28,8 @@ SectionDevice."Headphone" {
Value {
PlaybackPCM "hw:sofsklhdacard,0"
PlaybackVolume "Headphone"
PlaybackSwitch "Headphone Playback Switch"
PlaybackChannels "2"
JackName "sof-skl_hda_card Headphone"
JackType "gpio"
@ -51,6 +53,8 @@ SectionDevice."Speaker" {
Value {
PlaybackPCM "hw:sofsklhdacard,0"
PlaybackVolume "Speaker"
PlaybackSwitch "Speaker Playback Switch"
JackHWMute "Headphone"
PlaybackChannels "2"
}
@ -73,6 +77,8 @@ SectionDevice."Headset" {
Value {
CapturePCM "hw:0,0"
CaptureVolume "Capture"
CaptureSwitch "Capture Switch"
CaptureChannels "2"
JackControl "Mic Jack"
}
@ -95,6 +101,8 @@ SectionDevice."Dmic" {
Value {
CapturePCM "hw:0,6"
CaptureVolume "Dmic0 Capture Volume"
CaptureSwitch "Dmic0 Capture Switch"
CaptureChannels "2"
}
}