aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-02sdm845: add LENOVO Yoga C630 supportv1.2.4/c630Srinivas Kandagatla
LENOVO YOGA C630 has MultiMedia1 dai setup as primary Playback so add required HiFi configuration as well. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
2021-02-02ucm2: codecs: wcd938x: update enable disable sequenceSrinivas Kandagatla
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
2020-10-15ucm2: HDA-Intel - add error section when the HDA model is not supportedJaroslav Kysela
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-10-06bdw-rt5677: add SOF supportJoseph Burt
Completes 898602208888da63d758ff3c293b5ad2ec6e6c19 Signed-off-by: Joseph Burt <caseorum@gmail.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-10-06ucm2: USB-Audio: Add CaptureMixerElem for Lenovo ThinkStation P620Kai-Heng Feng
The Switch and Volume mixer start to work after device firmware update. Add MixerElem to support them. Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-09-29ucm.conf: The module name may not be available when the driver in built-in.Jaroslav Kysela
BugLink: https://github.com/alsa-project/alsa-ucm-conf/issues/52 Fixes: d001c8de287f ("ucm.conf: add support for the kernel module name tree") Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-09-09ucm2: USB-Audio: Add support for Lenovo ThinkStation P620 Rear AudioKai-Heng Feng
Add proper PCM assignment to Lenovo ThinkStation P620 Rear Audio. Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-09-09ucm2: Qualcomm sdm845 fixes HDMI select card and HiFi set DigitalVolAníbal Limón
Remove the duplicated PlaybackVolume entry. Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-09-07ucm2: Qualcomm sdm845 fixes HDMI select card and HiFi set DigitalVolAníbal Limón
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-09-07Add support for Lenovo ThinkStation P620 Main AudioKai-Heng Feng
This add support for its internal speaker and front headset. Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-09-07HDA-Intel: only add the acp dmic to the sound card with analog codecHui Wang
Without this change, the acp dmic will be added to both Intel sound card (with analog codec) and Nvidia Hdmi audio sound card. Signed-off-by: Hui Wang <hui.wang@canonical.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-09-01ucm2: HDA/acp - add Capture simple mixer element to the ACP Mic deviceJaroslav Kysela
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-08-19ucm2: module - rename rk3399-gru-sound.conf => snd_soc_rk3399_gru_sound.confJaroslav Kysela
We are using the real kernel module name for the first level selection now. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-08-19Revert "amd/renoir/acp: use the machine driver's name for top-level's conf"Jaroslav Kysela
This reverts commit 35277f419b1dc0f8500d3ab4bceabf6cad05c76d. We use the snd_acp3x_rn kernel module name again with the correct sysfs lookup. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-08-19ucm2: ucm.conf - fix the fix the sysfs kernel module pathJaroslav Kysela
The idea was to use the kernel module name not the driver name which may be different. BugLink: https://github.com/alsa-project/alsa-lib/pull/79 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-08-18Rockchip/rk3399-gru-sound: remove zero PCM subdeviceJaroslav Kysela
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-08-18USB-Audio: Dell-WD15-Dock: make input and output volume adjustableHui Wang
Recently we found the input volume is too low for some specific headset-mic, even we adjust the input volume to max from PA, we still can't record the sound from that headset-mic. That is because we change the input or output volume from PA, but the mixer's volume is not changed, only PA's soft-volume is changed. Checking the amixer controls for the sound card in the WD19, it supports MixerElem, Volume and Switch, and checking the sound card in the WD15, it doesn't have Volume and Switch for Headphone and Line, So adding the volume and switch control in the ucm conditionally. Signed-off-by: Hui Wang <hui.wang@canonical.com> BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/47 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-08-18HDA-Intel: HiFi-dual: Fix the Rear Mic's Jack nameHui Wang
On the LENOVO P520 (dual codecs machine), the Jack name of Rear Mic is "Rear Mic Jack" instead of "Mic Jack". Below is picked from alsa-info.txt on the LENOVO p520 machine: control.18 { iface CARD name 'Rear Mic Jack' value true comment { access read type BOOLEAN count 1 } } Signed-off-by: Hui Wang <hui.wang@canonical.com> BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/46 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-08-18Correct conflicting mic in max98090jacobopantoja
'mic' was conflicting 'mic' instead of 'headset', thus preventing correct configuration regarding microphones. With this corrected, introducing a headset enables 'headset' mic and disables internal 'mic', whereas releasing the headset disables 'headset' mic and enables internal 'mic' BugLink: https://github.com/alsa-project/alsa-ucm-conf/pull/43 From: acobopantoja@gmail.com Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-08-18amd/renoir/acp: Add Syntax 3 in the module/lib/Linked.confHui Wang
Otherwise the alsalib will report: parser.c: Syntax field not found in xxx.conf Signed-off-by: Hui Wang <hui.wang@canonical.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-08-18amd/renoir/acp: use the machine driver's name for top-level's confHui Wang
On the machines with amd renoir audio, the /sys/class/sound/card2/ device/driver links to /sys/bus/platform/drivers/acp_pdm_mach. Signed-off-by: Hui Wang <hui.wang@canonical.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-08-18ucm2: Add config for Rockchip/rk3399-gru-soundAlper Nebi Yasak
This is the internal card for a number of ChromeOS devices based on the Gru board. Config is taken from ChromeOS sources [1] and modified to mostly look like Rockchip/max98090. Tested on a Samsung Chromebook Plus (rk3399-gru-kevin) running Linux 5.7+. [1] https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/75cf7da335c11469956c84ddfa4e2ca73b268441/overlay-kevin/chromeos-base/chromeos-bsp-kevin/files/audio-config/ucm-config/rk3399-gru-sound Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-08-18update ucm2/README.md - more kernel module lookup clarificationsJaroslav Kysela
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-07-06hda hdmi: add HDMI4,HDMI5,HDMI6 devicesJaroslav Kysela
- fix the duplicate index value in the comment section - change priorities Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-07-01sof-hda-dsp: use sof-hda-dsp/Hdmi.confLibin Yang
sof-hda-dsp should use sof-hda-dsp/Hdmi.conf, not HDA-Intel/Hdmi.conf. HDA-Intel/Hdmi.conf is for legacy HDA. Signed-off-by: Libin Yang <libin.yang@intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-07-01sof-hda-dsp: fixup typo in Hdmi.confLibin Yang
It should be "/codecs/hda/hdmi.conf" instead of "/codec/hda/hdmi.conf" Signed-off-by: Libin Yang <libin.yang@intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-30DB820c: Correctly move DB820c to Qualcomm/apq8096Srinivas Kandagatla
DB820c belongs to APQ8096 SoC, so it should be moved to ucm2/apq8096 folder rather than apq8016. So correctly move it to apq8096 to reflect the correct SoC. Fixes: 73c105b4707b ("DB820c/DB845c: move to Qualcomm/ tree") Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-28chtrt5645: Restore stereo sound output when switching from MonoSpeaker to ↵Hans de Goede
Headphones Commit fe3b0bdc2f43 ("chtrt5645: merge all possible configurations to HiFi.conf") missed the part of the removed HiFi-mono-speaker-analog-mic.conf file which restores stereo mixing (instead of mixing left + right to the left DAC mixer output) when switching from the mono speaker setup to the headphones output. This was causing both left and right channels to only be played on the left ear of the headphones. This commit fixes this. Fixes: fe3b0bdc2f43 ("chtrt5645: merge all possible configurations to HiFi.conf") Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-28cht-bsw-rt5672: Boost ADC volume a bitHans de Goede
Both the DMICs and the headset mic are quite soft, even with the 20 dB IN1 boost we already congfigure for the headset. This commit sets the ADC Boost gain (range 0-3) to 1 = 12 dB, which makes the volume a lot better. The next step of the ADC Boost gain setting is 24 dB which is a bit too much. This has been tested with both the builtin DMIC and with a headset mic on the following devices: Lenovo Miix 2 10 Lenovo Thinkpad 8 Lenovo Thinkpad 10 (gen 1) Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-28cht-bsw-rt5672: Add Lenovo ThinkPad 10 specific configurationHans de Goede
The Lenovo ThinkPad 10 (first gen) has stereo speakers and the stereo DMICs in the top-edge of the tablet are connected to DMIC1. Add a RegexMatch for this, so that users do not have to select the right settings manually. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-28cht-bsw-rt5672: Add Lenovo Miix 2 10 specific configurationHans de Goede
By default the cht-bsw-rt5672 config lets the user figure out if a device has a Mono spaker or Stereo speakers and which DMIC input is used. Since this is not very user-friendly we do regex matches on the DMI derived longname to automaticaly select the right options (and to only advertise those options). This commit adds support for automatically selecting the right options on the Lenovo Miix 2 10 tablet. Since this is the first device for which we do longname matching using a DMIC on DMIC1, this also fixes a fixme :) Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-28Fix invalid "Regex" Type in various Condition blocksHans de Goede
Regex is not a valid Condition type, using it leads to errors like these: ALSA lib ucm_cond.c:300:(if_eval) unknown If.Condition.Type ALSA lib main.c:983:(snd_use_case_mgr_open) error: failed to import cht-bsw-rt5672 use case configuration -22 alsaucm: error failed to open sound card cht-bsw-rt5672: Invalid argument Replacing it with "RegexMatch" fixes this. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-25SDP4430: Move to OMAP/abe-twl6040/SDP4430 treeJaroslav Kysela
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-25GoogleNyan: move to Tegra/max98090Jaroslav Kysela
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-25Pandaboard(ES): move to OMAP/abe-twl6040 treeJaroslav Kysela
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-25VEYRON-I2C: move to Rockchip/max98090 treeJaroslav Kysela
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-25PAZ00/tegraalc5632: move to Tegra/alc5632 treeJaroslav Kysela
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-25DB820c/DB845c: move to Qualcomm/ treeJaroslav Kysela
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-25DB410c: move to Qualcomm/apq8016-sbcJaroslav Kysela
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-25DAISY-I2S: move to Samsung/snow/snow.confJaroslav Kysela
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-25HDA-Intel: add support for AMD acp microphone devicesJaroslav Kysela
- move the generic HDA code from sof-hda-dsp to HDA-Intel - add generic codecs/hda/hdmi.conf Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-24sof-hda-dsp: fix the device order (Hdmi devices)Jaroslav Kysela
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-24sof-soundwire: rewrite for 'syntax 3'Jaroslav Kysela
The codec/ sequences must not have the platform specific checks. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-24sof-soundwire: cleanups recommended by the ucm-validatorJaroslav Kysela
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-24sof-soundwire: initial UCM2 versionPierre-Louis Bossart
Add support for sof-soundwire driver, with conditional inclusion of sections for RT700, RT711, RT5682, RT1308, RT715. Signed-off-by: Libin Yang <libin.yang@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-24broadwell-rt286: add SOF supportPierre-Louis Bossart
Include legacy configuration using SOF driver name and card check Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-24bdw-rt5677: add support for legacy and SOF driversPierre-Louis Bossart
Use inclusion mechanism defined for Baytrail and reuse same configuration. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-24sof-hda-dsp: make the boot init optional for all controlsJaroslav Kysela
Also don't initialize "Auto-Mute Mode" in the HiFi verb. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-23sof-hda-dsp: add initial kcontrol valuesLibin Yang
This patch adds the initial values of sof-hda-dsp card. Signed-off-by: Libin Yang <libin.yang@intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2020-06-23sof-hda-dsp: make Headphone Playback Switch conditionalKai Vehmanen
The Headphone Playback Switch control is not present in all HDA codecs. Allow the Headphones definition to work also on such systems. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>