OSDN Git Service

android-x86/external-alsa-ucm-conf.git
4 years agosof-hda-dsp: corrections and fixes
Jaroslav Kysela [Wed, 5 Feb 2020 02:24:00 +0000 (03:24 +0100)]
sof-hda-dsp: corrections and fixes

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agobytcht-es8316: corrections and fixes
Jaroslav Kysela [Wed, 5 Feb 2020 02:19:33 +0000 (03:19 +0100)]
bytcht-es8316: corrections and fixes

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agobytcr-rt5640: corrections and fixes
Jaroslav Kysela [Wed, 5 Feb 2020 02:13:06 +0000 (03:13 +0100)]
bytcr-rt5640: corrections and fixes

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agokblrt5660: corrections and fixes
Jaroslav Kysela [Wed, 5 Feb 2020 01:54:11 +0000 (02:54 +0100)]
kblrt5660: corrections and fixes

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoPandaBoardES: corrections and fixes
Jaroslav Kysela [Tue, 4 Feb 2020 18:21:47 +0000 (19:21 +0100)]
PandaBoardES: corrections and fixes

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoPandaBoard: corrections and fixes
Jaroslav Kysela [Tue, 4 Feb 2020 18:11:10 +0000 (19:11 +0100)]
PandaBoard: corrections and fixes

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoSDP4430: corrections and fixes
Jaroslav Kysela [Tue, 4 Feb 2020 17:58:27 +0000 (18:58 +0100)]
SDP4430: corrections and fixes

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoPAZ00: corrections and fixes
Jaroslav Kysela [Tue, 4 Feb 2020 17:52:18 +0000 (18:52 +0100)]
PAZ00: corrections and fixes

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoGoogleNyan: corrections and fixes
Jaroslav Kysela [Tue, 4 Feb 2020 17:48:05 +0000 (18:48 +0100)]
GoogleNyan: corrections and fixes

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agochtrt5645: corrections and fixes
Jaroslav Kysela [Tue, 4 Feb 2020 17:44:49 +0000 (18:44 +0100)]
chtrt5645: corrections and fixes

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoSDP4430: corrections and fixes
Jaroslav Kysela [Tue, 4 Feb 2020 16:52:37 +0000 (17:52 +0100)]
SDP4430: corrections and fixes

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoVEYRON-I2S: corrections and fixes
Jaroslav Kysela [Tue, 4 Feb 2020 16:48:10 +0000 (17:48 +0100)]
VEYRON-I2S: corrections and fixes

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoGoogleNyan: comment CaptureControl, what is this?
Jaroslav Kysela [Tue, 28 Jan 2020 17:16:54 +0000 (18:16 +0100)]
GoogleNyan: comment CaptureControl, what is this?

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agobroadwell-rt286: add correct prefix to Priority field names
Jaroslav Kysela [Tue, 28 Jan 2020 17:15:22 +0000 (18:15 +0100)]
broadwell-rt286: add correct prefix to Priority field names

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-hda-dsp: fix typo (PlaybackMixerMaster -> PlaybackMasterElem)
Jaroslav Kysela [Tue, 28 Jan 2020 16:57:43 +0000 (17:57 +0100)]
sof-hda-dsp: fix typo (PlaybackMixerMaster -> PlaybackMasterElem)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoSDP4430: corrections and fixes
Jaroslav Kysela [Mon, 27 Jan 2020 15:06:25 +0000 (16:06 +0100)]
SDP4430: corrections and fixes

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoskylake-rt286: fixes and corrections
Jaroslav Kysela [Mon, 27 Jan 2020 15:01:21 +0000 (16:01 +0100)]
skylake-rt286: fixes and corrections

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agochtnau8824: fixes and corrections
Jaroslav Kysela [Fri, 24 Jan 2020 13:39:26 +0000 (14:39 +0100)]
chtnau8824: fixes and corrections

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agocht-bsw-rt5672: fixes and corrections
Jaroslav Kysela [Fri, 24 Jan 2020 13:35:10 +0000 (14:35 +0100)]
cht-bsw-rt5672: fixes and corrections

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoHDA-Intel/HiFi-dual: fixes and corrections
Jaroslav Kysela [Fri, 24 Jan 2020 10:06:29 +0000 (11:06 +0100)]
HDA-Intel/HiFi-dual: fixes and corrections

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoDell-WD15-Dock: cleaups and corrections
Jaroslav Kysela [Fri, 24 Jan 2020 09:15:58 +0000 (10:15 +0100)]
Dell-WD15-Dock: cleaups and corrections

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoDB820c: cleanups and corrections
Jaroslav Kysela [Fri, 24 Jan 2020 09:14:41 +0000 (10:14 +0100)]
DB820c: cleanups and corrections

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoDB410c: cleanups and corrections
Jaroslav Kysela [Fri, 24 Jan 2020 09:07:14 +0000 (10:07 +0100)]
DB410c: cleanups and corrections

4 years agoDAISY-I2S: added back PCM devices
Jaroslav Kysela [Thu, 23 Jan 2020 18:56:19 +0000 (19:56 +0100)]
DAISY-I2S: added back PCM devices

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agobytcht-es8316: cleanups and corrections
Jaroslav Kysela [Thu, 23 Jan 2020 18:53:52 +0000 (19:53 +0100)]
bytcht-es8316: cleanups and corrections

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agobytcht-cx2072x: cleanups and corrections
Jaroslav Kysela [Thu, 23 Jan 2020 18:45:00 +0000 (19:45 +0100)]
bytcht-cx2072x: cleanups and corrections

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agobytcr-rt5651: cleanups and corrections
Jaroslav Kysela [Thu, 23 Jan 2020 18:39:08 +0000 (19:39 +0100)]
bytcr-rt5651: cleanups and corrections

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agobytcr-rt5640: cleanups and corrections
Jaroslav Kysela [Thu, 23 Jan 2020 18:03:53 +0000 (19:03 +0100)]
bytcr-rt5640: cleanups and corrections

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agobroxton-rt298: corrections, cleanups
Jaroslav Kysela [Thu, 23 Jan 2020 13:13:10 +0000 (14:13 +0100)]
broxton-rt298: corrections, cleanups

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agobroadwell-rt286: add support for hardware volume, conformance fixes
Jaroslav Kysela [Tue, 10 Dec 2019 16:08:37 +0000 (17:08 +0100)]
broadwell-rt286: add support for hardware volume, conformance fixes

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoucm2: fix the verb path in chtrt5645/chtrt5645-dmic2.conf
Jaroslav Kysela [Mon, 13 Jan 2020 12:36:55 +0000 (13:36 +0100)]
ucm2: fix the verb path in chtrt5645/chtrt5645-dmic2.conf

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agobytcht-es8316: Fix missing including of HeadPhones.conf after ucm2 conversion
Hans de Goede [Mon, 6 Jan 2020 13:11:59 +0000 (14:11 +0100)]
bytcht-es8316: Fix missing including of HeadPhones.conf after ucm2 conversion

The conversion to ucm2 format missed adding an include for:

codecs/es8316/HeadPhones.conf

Leading to no sound on the headphones output, this commit adds the missing
include fixing this.

Cc: youling 257 <youling257@gmail.com>
Reported-by: youling 257 <youling257@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoREADME: remove topologies note
Jaroslav Kysela [Fri, 6 Dec 2019 10:15:37 +0000 (11:15 +0100)]
README: remove topologies note

4 years agosof-hda-dsp: Use more strict names according latest use-case.h
Jaroslav Kysela [Fri, 6 Dec 2019 10:12:39 +0000 (11:12 +0100)]
sof-hda-dsp: Use more strict names according latest use-case.h

Also remove ConflictinDevice section from the digital microphone.
Those paths are independent.

BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/7
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-hda-dsp: Fix the Dmic0 CaptureMixerElem for v1.4.1 firmware
Jaroslav Kysela [Thu, 5 Dec 2019 16:46:53 +0000 (17:46 +0100)]
sof-hda-dsp: Fix the Dmic0 CaptureMixerElem for v1.4.1 firmware

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoucm2: remove the old SectionDevice syntax (additional .0)
Jaroslav Kysela [Fri, 29 Nov 2019 15:33:52 +0000 (16:33 +0100)]
ucm2: remove the old SectionDevice syntax (additional .0)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoucm2: change 'Headphone' to 'Headphones'
Jaroslav Kysela [Fri, 29 Nov 2019 15:24:44 +0000 (16:24 +0100)]
ucm2: change 'Headphone' to 'Headphones'

It is more correct name and it is listed in use-case.h.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-hda-dsp: Use more strict check for Input Source (ControlEnum)
Jaroslav Kysela [Fri, 29 Nov 2019 08:40:35 +0000 (09:40 +0100)]
sof-hda-dsp: Use more strict check for Input Source (ControlEnum)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-hda-dsp: use CardComponents to detect the four digital microphones
Jaroslav Kysela [Thu, 28 Nov 2019 18:21:47 +0000 (19:21 +0100)]
sof-hda-dsp: use CardComponents to detect the four digital microphones

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-hda-dsp: fix the default verbs
Jaroslav Kysela [Thu, 28 Nov 2019 18:21:04 +0000 (19:21 +0100)]
sof-hda-dsp: fix the default verbs

- do not set 'Capture Switch', it should be handled by the app
- disable the 'Auto-Mute Mode' in the driver
- remove JackHWMute for speaker, it is no longer valid

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-hda-dsp: add priority values
Jaroslav Kysela [Thu, 28 Nov 2019 17:23:23 +0000 (18:23 +0100)]
sof-hda-dsp: add priority values

From: Jaska Uimonen <jaska.uimonen@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-hda-dsp: add support for mono microphone (HeadphoneMic = stereo, HeadsetMic ...
Jaroslav Kysela [Thu, 28 Nov 2019 16:37:47 +0000 (17:37 +0100)]
sof-hda-dsp: add support for mono microphone (HeadphoneMic = stereo, HeadsetMic = mono)

Idea-by: Jaska Uimonen <jaska.uimonen@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-hda-dsp: Return back HDMI devices to the HiFi verb
Jaroslav Kysela [Thu, 28 Nov 2019 16:04:21 +0000 (17:04 +0100)]
sof-hda-dsp: Return back HDMI devices to the HiFi verb

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-hda-dsp: remove standalone Bass Speaker, fix mixer values
Jaroslav Kysela [Thu, 28 Nov 2019 16:01:50 +0000 (17:01 +0100)]
sof-hda-dsp: remove standalone Bass Speaker, fix mixer values

Use the mixer values MixerElem and MasterElem by the latest use-case.h.
Merge the Bass Speaker to Speaker. The standalone Speaker is unusable
on Lenovo Carbon X1 7th gen.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agotreewide: Remove OutputDspName values
Jaroslav Kysela [Thu, 28 Nov 2019 15:43:43 +0000 (16:43 +0100)]
treewide: Remove OutputDspName values

Those values are not defined in use-case.h.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agotreewide: Remove JackName, JackType and JackSwitch values
Jaroslav Kysela [Thu, 28 Nov 2019 15:40:09 +0000 (16:40 +0100)]
treewide: Remove JackName, JackType and JackSwitch values

Those values are not defined in use-case.h.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-hda-dsp: rename PlaybackMixerId to PlaybackMixerID (per use-case.h)
Jaroslav Kysela [Sat, 23 Nov 2019 14:44:19 +0000 (15:44 +0100)]
sof-hda-dsp: rename PlaybackMixerId to PlaybackMixerID (per use-case.h)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoSDP4430: fix ${CardID} -> ${CardId} typo
Jaroslav Kysela [Thu, 21 Nov 2019 14:02:20 +0000 (15:02 +0100)]
SDP4430: fix ${CardID} -> ${CardId} typo

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoPAZ00: remove extra cdev
Jaroslav Kysela [Thu, 21 Nov 2019 14:01:17 +0000 (15:01 +0100)]
PAZ00: remove extra cdev

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoDB820c: fix HDMI.conf (remove cdev and fix PCM devices)
Jaroslav Kysela [Thu, 21 Nov 2019 14:00:18 +0000 (15:00 +0100)]
DB820c: fix HDMI.conf (remove cdev and fix PCM devices)

4 years agoskylake-rt286: adapt more to ucm2
Jaroslav Kysela [Thu, 21 Nov 2019 13:57:19 +0000 (14:57 +0100)]
skylake-rt286: adapt more to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agochtrt5645: adapt to ucm2
Jaroslav Kysela [Thu, 21 Nov 2019 13:14:08 +0000 (14:14 +0100)]
chtrt5645: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agochtrt5650: adapt to ucm2
Jaroslav Kysela [Thu, 21 Nov 2019 13:05:23 +0000 (14:05 +0100)]
chtrt5650: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agocht-bsw-rt5672: adapt to ucm2
Jaroslav Kysela [Thu, 21 Nov 2019 12:56:40 +0000 (13:56 +0100)]
cht-bsw-rt5672: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agocht-bsw-rt5672: adapt to ucm2
Jaroslav Kysela [Thu, 21 Nov 2019 12:51:58 +0000 (13:51 +0100)]
cht-bsw-rt5672: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agobytcht-cx2072x: adapt to ucm2
Jaroslav Kysela [Thu, 21 Nov 2019 12:36:50 +0000 (13:36 +0100)]
bytcht-cx2072x: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agotegraalc5632: adapt to ucm2
Jaroslav Kysela [Thu, 21 Nov 2019 12:23:40 +0000 (13:23 +0100)]
tegraalc5632: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agochtnau8824: adapt to ucm2
Jaroslav Kysela [Thu, 21 Nov 2019 07:04:55 +0000 (08:04 +0100)]
chtnau8824: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agokblrt5660: adapt to ucm2
Jaroslav Kysela [Wed, 20 Nov 2019 19:58:24 +0000 (20:58 +0100)]
kblrt5660: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agobytcht-es8316: adapt to ucm2
Jaroslav Kysela [Wed, 20 Nov 2019 18:32:56 +0000 (19:32 +0100)]
bytcht-es8316: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agobytcr-rt5651: adapt to ucm2
Jaroslav Kysela [Wed, 20 Nov 2019 17:59:00 +0000 (18:59 +0100)]
bytcr-rt5651: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agobytcr-rt5640: adapt to ucm2
Jaroslav Kysela [Tue, 19 Nov 2019 20:19:39 +0000 (21:19 +0100)]
bytcr-rt5640: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoplatform/bytcr: move to ucm2 tree
Jaroslav Kysela [Thu, 21 Nov 2019 13:39:55 +0000 (14:39 +0100)]
platform/bytcr: move to ucm2 tree

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoucm2: move HDAudio-*DualCodecs configs to the right card name directory
Jaroslav Kysela [Thu, 21 Nov 2019 07:20:37 +0000 (08:20 +0100)]
ucm2: move HDAudio-*DualCodecs configs to the right card name directory

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-hda-dsp: add MixerId values, change order for BassSpeaker
Jaroslav Kysela [Thu, 14 Nov 2019 17:03:15 +0000 (18:03 +0100)]
sof-hda-dsp: add MixerId values, change order for BassSpeaker

- do not set the speaker volume for the BassSpeaker
- do not set ConflictingDevice for HeadphoneMic
  (one way should be enough in DigitalMic)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoadd ucm/README.md and ucm2/README.md
Jaroslav Kysela [Mon, 11 Nov 2019 12:01:48 +0000 (13:01 +0100)]
add ucm/README.md and ucm2/README.md

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoVEYRON-I2S: adapt to ucm2
Jaroslav Kysela [Mon, 11 Nov 2019 11:55:53 +0000 (12:55 +0100)]
VEYRON-I2S: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoskylake-rt286: adapt to ucm2
Jaroslav Kysela [Mon, 11 Nov 2019 11:45:17 +0000 (12:45 +0100)]
skylake-rt286: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoSDP4430: adapt to ucm2
Jaroslav Kysela [Mon, 11 Nov 2019 11:40:48 +0000 (12:40 +0100)]
SDP4430: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoPAZ00: adapt to ucm2
Jaroslav Kysela [Mon, 11 Nov 2019 11:36:02 +0000 (12:36 +0100)]
PAZ00: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoPandaBoardES: adapt to ucm2
Jaroslav Kysela [Mon, 11 Nov 2019 07:58:15 +0000 (08:58 +0100)]
PandaBoardES: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoPandaBoard: adapt to ucm2
Jaroslav Kysela [Mon, 11 Nov 2019 07:53:41 +0000 (08:53 +0100)]
PandaBoard: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoHDAudio-Lenovo-DualCodecs: adapt to ucm2
Jaroslav Kysela [Mon, 11 Nov 2019 07:47:44 +0000 (08:47 +0100)]
HDAudio-Lenovo-DualCodecs: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoHDAudio-Gigabyte-ALC1220DualCodecs: adapt to ucm2
Jaroslav Kysela [Mon, 11 Nov 2019 07:46:33 +0000 (08:46 +0100)]
HDAudio-Gigabyte-ALC1220DualCodecs: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoGoogleNyan: adapt to ucm2
Jaroslav Kysela [Sun, 10 Nov 2019 20:14:46 +0000 (21:14 +0100)]
GoogleNyan: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoDell-WD15-Dock: adapt to ucm2
Jaroslav Kysela [Sun, 10 Nov 2019 20:12:53 +0000 (21:12 +0100)]
Dell-WD15-Dock: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoDB820c: adapt to ucm2
Jaroslav Kysela [Sun, 10 Nov 2019 20:07:36 +0000 (21:07 +0100)]
DB820c: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoDB410c: adapt to ucm2
Jaroslav Kysela [Sun, 10 Nov 2019 20:02:24 +0000 (21:02 +0100)]
DB410c: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoDAISY-I2S: adapt to ucm2
Jaroslav Kysela [Sun, 10 Nov 2019 19:56:23 +0000 (20:56 +0100)]
DAISY-I2S: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agobroxton-rt298: adapt to ucm2
Jaroslav Kysela [Sun, 10 Nov 2019 19:28:23 +0000 (20:28 +0100)]
broxton-rt298: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agobroadwell-rt286: adapt to ucm2
Jaroslav Kysela [Sun, 10 Nov 2019 19:23:30 +0000 (20:23 +0100)]
broadwell-rt286: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-hda-dsp: adapt to latest alsa-lib
Jaroslav Kysela [Tue, 5 Nov 2019 19:09:21 +0000 (20:09 +0100)]
sof-hda-dsp: adapt to latest alsa-lib

- move to ucm2
- add 'Syntax 2' to the main configuration files
- use condition for 'Headphone Jack' / 'Headphone Mic Jack' selection
- remove cdev (not required)
- use ${CardId} where appropriate
- merge config for Lenovo Carbon X1 7th gen to main HiFi.conf

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-hda-dsp: the JackHWMute definition should be in the Headphone device
Jaroslav Kysela [Wed, 6 Nov 2019 11:56:57 +0000 (12:56 +0100)]
sof-hda-dsp: the JackHWMute definition should be in the Headphone device

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-hda-dsp: fix the volume/switch values in HiFi
Jaroslav Kysela [Sat, 2 Nov 2019 08:43:00 +0000 (09:43 +0100)]
sof-hda-dsp: fix the volume/switch values in HiFi

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-hda-dsp: add ValueDefaults sections with correct CTL devices
Jaroslav Kysela [Thu, 31 Oct 2019 17:34:43 +0000 (18:34 +0100)]
sof-hda-dsp: add ValueDefaults sections with correct CTL devices

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-hda-dsp: do not touch the analog part for HDMI/DP
Jaroslav Kysela [Thu, 31 Oct 2019 17:31:06 +0000 (18:31 +0100)]
sof-hda-dsp: do not touch the analog part for HDMI/DP

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-hda-dsp: use more user friendly names for Dmic
Jaroslav Kysela [Thu, 31 Oct 2019 17:07:10 +0000 (18:07 +0100)]
sof-hda-dsp: use more user friendly names for Dmic

Also correct the names in ConflictingDevice sections
(must be device name - not comment text).

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-hda-dsp: Fix the Hdmi config for the Lenovo Carbon X1 (7th gen)
Jaroslav Kysela [Thu, 31 Oct 2019 16:51:25 +0000 (17:51 +0100)]
sof-hda-dsp: Fix the Hdmi config for the Lenovo Carbon X1 (7th gen)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-hda-dsp: improve the Hdmi use case comment
Jaroslav Kysela [Thu, 31 Oct 2019 16:41:01 +0000 (17:41 +0100)]
sof-hda-dsp: improve the Hdmi use case comment

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-hda-dsp: fix the capture device names (use sofhdadsp)
Jaroslav Kysela [Thu, 31 Oct 2019 16:36:57 +0000 (17:36 +0100)]
sof-hda-dsp: fix the capture device names (use sofhdadsp)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoSOF/HDA/SKL UCM: rename from sof-skl_hda_card to sof-hda-dsp
Jaroslav Kysela [Thu, 31 Oct 2019 15:44:18 +0000 (16:44 +0100)]
SOF/HDA/SKL UCM: rename from sof-skl_hda_card to sof-hda-dsp

Follow the kernel change and rename everything to more clear
sof-hda-dsp.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-skl_hda: change to use common HDMI codec driver
Kai Vehmanen [Wed, 23 Oct 2019 15:27:33 +0000 (18:27 +0300)]
sof-skl_hda: change to use common HDMI codec driver

Modify UCM sequences to use user-space interface of the common
HDMI codec driver. Use of hdac-hdmi driver is no longer supported
by this UCM file.

To use this UCM file, kernel must be compiled with
SND_SOC_SOF_HDA_COMMON_HDMI_CODEC

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-skl_hda: move hdmi as separate use case
Jaska Uimonen [Fri, 25 Oct 2019 17:23:56 +0000 (20:23 +0300)]
sof-skl_hda: move hdmi as separate use case

Move hdmi definitions as separate use case and conf file. This will
enable Pulseaudio to create separate profile for hdmi and make routing
much more fluent than with single profile.

Signed-off-by: Jaska Uimonen <jaska.uimonen@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-skl_hda: add PlaybackVolume and CaptureVolume definitions
Jaska Uimonen [Fri, 27 Sep 2019 13:18:07 +0000 (16:18 +0300)]
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>
4 years agosof-skl_hda: add device definition to speaker disable sequence
Jaska Uimonen [Fri, 27 Sep 2019 13:19:59 +0000 (16:19 +0300)]
sof-skl_hda: add device definition to speaker disable sequence

For example Pulseaudio is not able to run the disable sequence
if the device is not defined. So add the definition.

Signed-off-by: Jaska Uimonen <jaska.uimonen@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agosof-skl_hda: remove volume setting in enable/disable sequences
Jaska Uimonen [Fri, 27 Sep 2019 13:26:52 +0000 (16:26 +0300)]
sof-skl_hda: remove volume setting in enable/disable sequences

If the volume setting is defined in enable sequence you will
always get that exact volume when switching outputs in some
user space software like Pulseaudio. Pulseaudio will itself
keep track of the volume previously set.

Signed-off-by: Jaska Uimonen <jaska.uimonen@linux.intel.com>
Signed-off-by: Liam Girdwood <lgirdwood@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agoskylake-rt298: cleanups, add .conf suffixes
Jaroslav Kysela [Fri, 27 Sep 2019 09:17:04 +0000 (11:17 +0200)]
skylake-rt298: cleanups, add .conf suffixes

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agobroxton-rt298: cleanups, add .conf suffixes
Jaroslav Kysela [Fri, 27 Sep 2019 09:16:35 +0000 (11:16 +0200)]
broxton-rt298: cleanups, add .conf suffixes

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agokblrt5660: cleanups, add .conf suffixes
Jaroslav Kysela [Fri, 27 Sep 2019 09:15:10 +0000 (11:15 +0200)]
kblrt5660: cleanups, add .conf suffixes

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
4 years agobroadwell-rt286: cleanups, add .conf suffixes
Jaroslav Kysela [Fri, 27 Sep 2019 09:14:21 +0000 (11:14 +0200)]
broadwell-rt286: cleanups, add .conf suffixes

Signed-off-by: Jaroslav Kysela <perex@perex.cz>