]> git.alsa-project.org Git - alsa-ucm-conf.git/log
alsa-ucm-conf.git
11 months agoucm2: Intel: avs: Add UCM files for da7219 configuration
Amadeusz Sławiński [Tue, 18 Jun 2024 10:44:08 +0000 (12:44 +0200)]
ucm2: Intel: avs: Add UCM files for da7219 configuration

Add configs for devices using da7219 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>
11 months agoucm2: Intel: avs: Add UCM files for DMIC configuration
Amadeusz Sławiński [Tue, 18 Jun 2024 10:42:48 +0000 (12:42 +0200)]
ucm2: Intel: avs: Add UCM files for DMIC configuration

Add configs for devices using DMIC 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>
13 months agoucm2: sof-soundwire: Use the HdmiDevice macro for hdmi device creation
Peter Ujfalusi [Tue, 30 Apr 2024 11:06:25 +0000 (14:06 +0300)]
ucm2: sof-soundwire: Use the HdmiDevice macro for hdmi device creation

The duplicated code for the hdmi device creation can be removed by using
the HdmiDevice macro.

The macro needs Syntax 7 to work (variable as parameter support), update
the Syntax version of the file as well.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/413
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoucm2: Intel/sof-hda-dsp: Use the HdmiDevice macro for
Peter Ujfalusi [Tue, 30 Apr 2024 11:01:46 +0000 (14:01 +0300)]
ucm2: Intel/sof-hda-dsp: Use the HdmiDevice macro for

The duplicated code for the hdmi device creation can be removed by using
the HdmiDevice macro.

The macro needs Syntax 7 to work (variable as parameter support), update
the Syntax version of the file as well.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/413
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoucm2: common: pcm: hdmi: Add new macro to conditionally
Peter Ujfalusi [Tue, 30 Apr 2024 10:58:29 +0000 (13:58 +0300)]
ucm2: common: pcm: hdmi: Add new macro to conditionally

The new HdmiDevice macro can be used to create the hdmi PCM device for a
hardware PCM whose ID can be found in the Iec61937Devices comma separated
device ID list.
It is the caller's responsibility to pass correct device id of an HDMI PCM
as Dev.

The new macro needs Syntax 7 support.

Example for a use by sof-hda-dsp where the HDMI devices are 3, 4 and 5

Macro.0.HdmiDevice { Iec61937Devices "${var:Iec61937Pcms1}" Dev 3 Idx 0 }
Macro.1.HdmiDevice { Iec61937Devices "${var:Iec61937Pcms1}" Dev 4 Idx 1 }
Macro.2.HdmiDevice { Iec61937Devices "${var:Iec61937Pcms1}" Dev 5 Idx 2 }

If.HdmiIec61937 {
Condition {
Type RegexMatch
Regex "((^|,)[345](,|$))"
String "${var:Iec61937Pcms1}"
}
True.Macro.save_hdmi_cfg.HdmiPCMSave { Name "42-sof-hdmi" }
}

The Iec61937Pcms1 contains a match string of "5,4,3"

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/413
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoUSB-Audio: Add support for Motu 828
beatboxa [Mon, 13 May 2024 20:25:18 +0000 (16:25 -0400)]
USB-Audio: Add support for Motu 828

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/416
Signed-off-by: beatboxa <hardcoreburnz@yahoo.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agocommon: pcm/split: add support up to 32 / 8 channels
Jaroslav Kysela [Tue, 14 May 2024 14:42:26 +0000 (16:42 +0200)]
common: pcm/split: add support up to 32 / 8 channels

MOTU 828 has up to 32 hardware channels. Add support for this
configuration to common/pcm/split.conf.

Also, add support for up to 8 channels for the abstact devices
(like 7.1 surround).

Note that this change requires recent alsa-lib (Syntax 7).

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/417
Link: https://github.com/alsa-project/alsa-ucm-conf/pull/416
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoUSB-Audio: Add support for MOTU Ultralite mk5
clement-dufour [Mon, 27 May 2024 10:45:44 +0000 (12:45 +0200)]
USB-Audio: Add support for MOTU Ultralite mk5

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/422
Signed-off-by: Clement Dufour <clmnt.dufour@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoQualcomm: Add SM8550 HDK HiFi config
Neil Armstrong [Tue, 30 Jan 2024 16:27:58 +0000 (17:27 +0100)]
Qualcomm: Add SM8550 HDK HiFi config

Add UCM2 configs for the Qualcomm SM8550-HDK Board to handle:
- on-board Speakers
- Headphones speakers
- Headphones Microphones
- Top and Bottom on-board Microphones

Tested with PulseAudio 16.1

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/393
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agocodes: wcd938x: Add Analog Microphones 1 & 5 Sequences
Neil Armstrong [Thu, 1 Feb 2024 08:42:10 +0000 (09:42 +0100)]
codes: wcd938x: Add Analog Microphones 1 & 5 Sequences

Add Enable and Disable sequences for Analog microphones connected
to WCD989x Inputs 1 & 5.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/393
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoUSB-Audio: Add 0582:01d8 BOSS Katana HEAD MkII support
Alejandro Domínguez [Sat, 6 Jul 2024 18:55:22 +0000 (20:55 +0200)]
USB-Audio: Add 0582:01d8 BOSS Katana HEAD MkII support

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/430
Signed-off-by: Alejandro Domínguez <adomu4@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoUSB-Audio: Add support for Solid State Labs SSL 2+
Jeremy Kescher [Thu, 4 Jul 2024 00:08:08 +0000 (02:08 +0200)]
USB-Audio: Add support for Solid State Labs SSL 2+

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/429
Signed-off-by: Jeremy Kescher <jeremy@kescher.at>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoucm2/conf.d: add symlink for Qualcomm DB820c
Dmitry Baryshkov [Mon, 1 Jul 2024 17:21:44 +0000 (20:21 +0300)]
ucm2/conf.d: add symlink for Qualcomm DB820c

Since the release 6.3 Linux kernel uses driver name apq8096 for Qualcomm
Dragonboard 820c. This makes alsaucm look for conf.d/apq8096/DB820c.conf
and then for conf.d/apq8096/apq8096.conf, while alsa-ucm-conf has
historical conf.d/DB820c/DB820c.conf symlink. Add symlink to provide
correct configuration for the device.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/428
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoucm2: Qualcomm: x1e80100: add Headset capture
Krzysztof Kozlowski [Tue, 11 Jun 2024 14:57:10 +0000 (16:57 +0200)]
ucm2: Qualcomm: x1e80100: add Headset capture

Add device for recording via headset (AMIC2 analogue microphone).

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/423
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoucm2: codecs: wcd938x: correct 'cset' command
Krzysztof Kozlowski [Tue, 11 Jun 2024 14:55:18 +0000 (16:55 +0200)]
ucm2: codecs: wcd938x: correct 'cset' command

Intention was to use 'cset':

  ALSA lib parser.c:1224:(parse_sequence) error: sequence command 'set' is ignored

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/423
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoucm2: Qualcomm: x1e80100: add USB DisplayPort playback
Krzysztof Kozlowski [Tue, 4 Jun 2024 12:06:47 +0000 (14:06 +0200)]
ucm2: Qualcomm: x1e80100: add USB DisplayPort playback

Add two DisplayPort (over USB) playback devices, conflicting with the
headset, because they use the same Multimedia1 frontend.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/423
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
13 months agoUSB-Audio: ALC4080: Add 0db0:543d MSI TRX40 Pro 10G
Jaroslav Kysela [Fri, 2 Aug 2024 10:26:09 +0000 (12:26 +0200)]
USB-Audio: ALC4080: Add 0db0:543d MSI TRX40 Pro 10G

Closes: https://github.com/alsa-project/alsa-ucm-conf/issues/427
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
14 months agosof-soundwire: Add support for cs42l43/cs35l56 bridge configuration
Charles Keepax [Mon, 8 Jul 2024 11:59:19 +0000 (12:59 +0100)]
sof-soundwire: Add support for cs42l43/cs35l56 bridge configuration

The cs42l43 has both a SPI master and an I2S interface, in some
configurations 2 cs35l56 amplifiers are connected to these to provide
bass speakers whilst the cs42l43's internal speaker drivers are used for
the tweeters. Add UCM configuration for this type of system.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
14 months agosof-soundwire: Add missing match for cs42l43 speakers
Charles Keepax [Mon, 8 Jul 2024 11:59:18 +0000 (12:59 +0100)]
sof-soundwire: Add missing match for cs42l43 speakers

The cs42l43 reports as cs42l43-spk in the speaker case, the regex in
sof-soundwire needs updated to recognise that.

Fixes: 035d9206cffd ("sof-soundwire: Add basic support for cs42l43's speaker")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
14 months agoREADME: document the ALSA state file clearing
Jaroslav Kysela [Wed, 19 Jun 2024 07:05:39 +0000 (09:05 +0200)]
README: document the ALSA state file clearing

Link: https://github.com/alsa-project/alsa-ucm-conf/issues/425
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
14 months agosof-hda-dsp: Fix the case where sysfs dmi sys_vendor attribute is not set
Jaroslav Kysela [Wed, 19 Jun 2024 06:45:57 +0000 (08:45 +0200)]
sof-hda-dsp: Fix the case where sysfs dmi sys_vendor attribute is not set

BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=2292583
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 months agoRelease v1.2.12 v1.2.12
Jaroslav Kysela [Mon, 10 Jun 2024 12:13:03 +0000 (14:13 +0200)]
Release v1.2.12

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 months agosof-soundwire: fix missing MultiCodec1 initialization and Empty condition
Jaroslav Kysela [Mon, 10 Jun 2024 06:47:23 +0000 (08:47 +0200)]
sof-soundwire: fix missing MultiCodec1 initialization and Empty condition

Fixes: ab2b4f1 ("ucm2: soundwire: add rt722 SDCA device")
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 months agoUCM2: Intel: sof-hda-dsp: Control SOF processing from UCM
Seppo Ingalsuo [Thu, 30 May 2024 15:28:10 +0000 (18:28 +0300)]
UCM2: Intel: sof-hda-dsp: Control SOF processing from UCM

This patch adds to Intel/sof-hda-dsp/HiFi.conf inclusion of
HiFi-sof.conf that by redefine of headphone and speaker handling
adds to UCM control of DRC and EQ SOF processing components.

The modified setting are applied in case of SOF processing
components' controls are detected. There is no change to operation
if no controls are present e.g. with legacy SOF topology.

If DRC control is found, it is assumed that also FIR and IIR
also exist. If there is no DRC but FIR is found, then it is assumed
that IIR also exists. This matches SOF FW builds for IPC3 (FIR, IIR)
and IPC4 (DRC, FIR, IIR). The controls names are different in IPC3
and IPC4 topologies. Also the configuration blobs differ.

The speaker mode is by default set up with 100 Hz high-pass IIR. The
DRC is set to a default speaker setting that boosts playback loudness.
The FIR is bypassed.

In the headphone mode all the processing is set to bypass and DRC
switch is set off.

The processing can be customized for products with UCM scripts placed
into blobs/sof/product_configs. The file path should be
<sys_vendor>/<product_name>.conf from DMI ID. An user configuration can
be similarly placed into blobs/sof/user_configs directory to e.g. avoid
it being overwritten by distribution.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/419
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 months agoUCM2: SOF: Add example blobs customization for AAEON
Seppo Ingalsuo [Thu, 30 May 2024 15:25:41 +0000 (18:25 +0300)]
UCM2: SOF: Add example blobs customization for AAEON

This example shows how to define IIR, FIR, and DRC processing for
speaker and headphone endpoints.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/419
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 months agoUCM2: Add sample SOF processing configuration blobs
Seppo Ingalsuo [Thu, 30 May 2024 15:25:04 +0000 (18:25 +0300)]
UCM2: Add sample SOF processing configuration blobs

The example set contains passthrough configuration blobs with SOF IPC3
and IPC4 headers for DRC, FIR, and IIR. A few high-pass configurations
are added for IIR to be used e.g. for speakers. A DRC blob is added
that can be used to boost speaker playback loudness.

The blobs are all in binary format.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/419
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 months agocodecs: qcom-lpass/tx-macro: Move TX1 MODE ctrl to
Mohammad Rafi Shaik [Mon, 27 May 2024 16:43:17 +0000 (22:13 +0530)]
codecs: qcom-lpass/tx-macro: Move TX1 MODE ctrl to

The tx-macro is a common interface for WCD937x and wcd938x and
also the TX1 MODE setting is not applicable for WCD937x codec.

The TX1 MODE mixer controller is derived in WCD938x codec driver,
So move TX1 MODE mixer control to wcd938x.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/421
Signed-off-by: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 months agoucm2: codecs: wcd937x: add codec sequences
Mohammad Rafi Shaik [Tue, 28 May 2024 04:16:38 +0000 (09:46 +0530)]
ucm2: codecs: wcd937x: add codec sequences

Add default, enable/disable codec sequence for Headphone and Mic on
WCD937x codec

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/421
Signed-off-by: Mohammad Rafi Shaik <quic_mohs@quicinc.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 months agoucm2: soundwire: add rt722 SDCA device
Jack Yu [Mon, 27 May 2024 05:21:55 +0000 (13:21 +0800)]
ucm2: soundwire: add rt722 SDCA device

Add support of ucm to rt722 SDCA.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/409
Signed-off-by: Jack Yu <jack.yu@realtek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
15 months agoucm2: Qualcomm: x1e80100: add recording via DMIC01
Krzysztof Kozlowski [Wed, 8 May 2024 12:33:12 +0000 (14:33 +0200)]
ucm2: Qualcomm: x1e80100: add recording via DMIC01

Add support for Digital Microphones DMIC01 on Qualcomm X1E80100 CRD
board.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/414
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoucm2: sof-soundwire: Create ALSA config file for hdmi:
Peter Ujfalusi [Thu, 11 Apr 2024 12:07:30 +0000 (15:07 +0300)]
ucm2: sof-soundwire: Create ALSA config file for hdmi:

If the HDMI PCM index (3-5) is found in iec61937-pcm list of the card's
components list then use the HdmiPCM/HdmiPCMSave macros to create the
configuration file.

The PCMs that will be created are:
aplay -L | grep hdmi

hdmi:CARD=sofsoundwire,DEV=0
hdmi:CARD=sofsoundwire,DEV=1
hdmi:CARD=sofsoundwire,DEV=2

Audio servers (Pulseaudio, Pipewrire) or applications then can use these for
bytestream passthrough, for example:
mplayer -ao alsa:device=hdmi=sofsoundwire,DEV=0 -ac hwdts <video with dts>

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/411
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoucm2: Intel/sof-hda-dsp: Create ALSA config file for
Peter Ujfalusi [Thu, 11 Apr 2024 12:06:42 +0000 (15:06 +0300)]
ucm2: Intel/sof-hda-dsp: Create ALSA config file for

If the HDMI PCM index (3-5) is found in iec61937-pcm list of the card's
components list then use the HdmiPCM/HdmiPCMSave macros to create the
configuration file.

The PCMs that will be created are:
aplay -L | grep hdmi

hdmi:CARD=sofhdadsp,DEV=0
hdmi:CARD=sofhdadsp,DEV=1
hdmi:CARD=sofhdadsp,DEV=2

Audio servers (Pulseaudio, Pipewrire) or applications then can use these for
bytestream passthrough, for example:
mplayer -ao alsa:device=hdmi=sofhdadsp,DEV=0 -ac hwdts <video with dts>

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/411
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoucm2: common: pcm: Add hdmi.conf to handle the creation
Peter Ujfalusi [Wed, 24 Apr 2024 10:34:13 +0000 (13:34 +0300)]
ucm2: common: pcm: Add hdmi.conf to handle the creation

User space expect to see hdmi: PCM devices to be able to use bytestream
passthrough.

The common/pcm/hdmi.conf provides two macros:
HdmiPCM: to generate an ALSA conf section for an hdmi: PCM device
HdmiPCMSave: to save the generated config

Example of use (sof-hda-dsp card with hardware HDMI PCMs: 3-5):
Macro.0.HdmiPCM { Device 3 Index 0 }
Macro.1.HdmiPCM { Device 4 Index 1 }
Macro.2.HdmiPCM { Device 5 Index 2 }
Macro.3.HdmiPCMSave { }

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/411
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agosof-soundwire: Add basic support for cs42l43's speaker
Charles Keepax [Tue, 23 Apr 2024 15:43:05 +0000 (16:43 +0100)]
sof-soundwire: Add basic support for cs42l43's speaker

Previous support was added for the mics and headset on cs42l43, expand
this support with additional configuration for the speaker output.

Link: https://lore.kernel.org/alsa-devel/20240423154305.2782347-1-ckeepax@opensource.cirrus.com/
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoqcom: sdm845: MM1: enable jack detection
Anton Bambura [Sat, 6 Apr 2024 21:17:03 +0000 (00:17 +0300)]
qcom: sdm845: MM1: enable jack detection

This has been added to kernel recently, so make use of it here.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/408
Signed-off-by: Anton Bambura <jenneron@postmarketos.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoqcom: sdm845: MM1: use analog volume controls instead of
Anton Bambura [Sat, 6 Apr 2024 21:16:40 +0000 (00:16 +0300)]
qcom: sdm845: MM1: use analog volume controls instead of

Besides the improvement by using analog volume control, it also makes
volume levels normal instead of insanely high levels reached by this
digital mixer.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/408
Signed-off-by: Anton Bambura <jenneron@postmarketos.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoucm2: Qualcomm: x1e80100: correct headphones
Krzysztof Kozlowski [Fri, 16 Feb 2024 10:29:26 +0000 (11:29 +0100)]
ucm2: Qualcomm: x1e80100: correct headphones

Fix wireplumber warnings:

  Path HP Digital is not a volume or mute control

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/396
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoucm2: Qualcomm: x1e80100: add number of channels
Krzysztof Kozlowski [Fri, 16 Feb 2024 10:25:42 +0000 (11:25 +0100)]
ucm2: Qualcomm: x1e80100: add number of channels

Describe number of playback channels for speakers (where it is not
obvious: 4 channels) and headphones.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/396
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoAdd support for Coachz with HDMI disabled
Pulak Kumar Das [Mon, 11 Mar 2024 19:06:04 +0000 (00:36 +0530)]
Add support for Coachz with HDMI disabled

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/403
Signed-off-by: Pulak Kumar Das <pulak1901@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoUSB-Audio: ALC4080: Add support for MSI MEG Z790 Ace
Liran Funaro [Mon, 18 Mar 2024 11:01:44 +0000 (13:01 +0200)]
USB-Audio: ALC4080: Add support for MSI MEG Z790 Ace

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/405
Signed-off-by: Liran Funaro <liran.funaro@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
16 months agoucm2: MediaTek: mt8195-sof: Add support for Tomato RT5682s
AngeloGioacchino Del Regno [Tue, 26 Mar 2024 10:38:45 +0000 (11:38 +0100)]
ucm2: MediaTek: mt8195-sof: Add support for Tomato RT5682s

A later revision of the MT8195 Cherry Tomato Chromebook (Acer Chromebook
Spin 513 CP513-2H, Revision 3 and 4) are using the RT5682s codec instead
of RT5682i.

The differences are only about a couple of missing switches, where the
'i' variant had a switch for the L/R Headphone output and a configurable
DAC L/R Mux, while the 's' one misses the mux control and solely relies
on the main Headphone Switch.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/406
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
18 months agosof-soundwire: rt1316/rt1318 - fix channel selection for one amp
Jaroslav Kysela [Mon, 11 Mar 2024 12:09:08 +0000 (13:09 +0100)]
sof-soundwire: rt1316/rt1318 - fix channel selection for one amp

Like in commit 9e29f9e27f4e27dce40d8d6803031bb4f7be3c48, use L-R
channel selection when single amp is present.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
18 months agosof-soundwire: rt1308: Fix single amp configuration
Peter Ujfalusi [Mon, 11 Mar 2024 09:02:00 +0000 (11:02 +0200)]
sof-soundwire: rt1308: Fix single amp configuration

If the device have single rt1308 amp then the codec's Channel Select should
be set to "LR" and not to "LL". "LL" is only valid if we have 2 amps, in
that case one is the Left and the other is the Right channel.

This fixes for example Dell Latitude 9520 which only played on the Left
speaker, Right is silent.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/402
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Suggested-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
18 months agosof-soundwire: fix rt1318 config copy-n-paste error in rt1318spk macro
Jaroslav Kysela [Mon, 11 Mar 2024 11:06:44 +0000 (12:06 +0100)]
sof-soundwire: fix rt1318 config copy-n-paste error in rt1318spk macro

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
18 months agosof-soundwire: fix rt1318 config typo in rt1318spk macro
Jaroslav Kysela [Mon, 11 Mar 2024 10:06:15 +0000 (11:06 +0100)]
sof-soundwire: fix rt1318 config typo in rt1318spk macro

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
18 months agoUSB-Audio: ALC4080: add 0b05:1af1 ASUS ROG Strix Z790-A Gaming Wifi II
Jaroslav Kysela [Mon, 12 Feb 2024 11:47:47 +0000 (12:47 +0100)]
USB-Audio: ALC4080: add 0b05:1af1 ASUS ROG Strix Z790-A Gaming Wifi II

Fixes: https://github.com/alsa-project/alsa-ucm-conf/issues/394
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoRelease v1.2.11 v1.2.11
Jaroslav Kysela [Mon, 29 Jan 2024 12:57:47 +0000 (13:57 +0100)]
Release v1.2.11

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoucm2: acp3x-es83xx: introduce UCM support for acp3x-es83xx
Marian Postevca [Sat, 30 Dec 2023 16:01:41 +0000 (18:01 +0200)]
ucm2: acp3x-es83xx: introduce UCM support for acp3x-es83xx

Based on already existing UCM support in ucm2/Intel/sof-essx8336

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/391
Signed-off-by: Marian Postevca <posteuca@mutex.one>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoQualcomm: Add SM8650 MTP HiFi config
Neil Armstrong [Fri, 26 Jan 2024 10:28:53 +0000 (11:28 +0100)]
Qualcomm: Add SM8650 MTP HiFi config

Add UCM2 configs for the Qualcomm SM8650-MTP Board:
- on-board Speakers

Linux devicetree changes:
https://lore.kernel.org/all/20240125-topic-sm8650-upstream-audio-dt-v1-2-c24d23ae5763@linaro.org/

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/390
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoQualcomm: Add SM8650 QRD HiFi config
Neil Armstrong [Mon, 4 Dec 2023 11:31:21 +0000 (12:31 +0100)]
Qualcomm: Add SM8650 QRD HiFi config

Add UCM2 configs for the Qualcomm SM8650-QRD Board:
- on-board Speakers
- on-board Bottom and Back microphones
- Headphones Speakers and Microphone

Linux devicetree changes:
https://lore.kernel.org/all/20240125-topic-sm8650-upstream-audio-dt-v1-1-c24d23ae5763@linaro.org/

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/390
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agocodecs: qcom-lpass/tx-macro: Add Soundwire Analog
Neil Armstrong [Mon, 4 Dec 2023 11:30:51 +0000 (12:30 +0100)]
codecs: qcom-lpass/tx-macro: Add Soundwire Analog

Add configs to enable/disable Analog Microphones.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/390
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agocodecs: wcd939x: Add wcd939x configs
Neil Armstrong [Mon, 4 Dec 2023 10:58:04 +0000 (11:58 +0100)]
codecs: wcd939x: Add wcd939x configs

Add UCM2 configs for the Qualcomm WCD939x codecs:
- Analog Microphones
- Headphones Speaker and Microphone

Linux accepted Codec patchset:
https://lore.kernel.org/all/20231219-topic-sm8650-upstream-wcd939x-codec-v4-0-1c3bbff2d7ab@linaro.org/

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/390
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agocodecs: wsa884x: add two-speakers DefaultEnableSeq.conf
Neil Armstrong [Fri, 26 Jan 2024 09:52:15 +0000 (10:52 +0100)]
codecs: wsa884x: add two-speakers DefaultEnableSeq.conf

Add the DefaultEnableSeq.conf for the two-speakers setup
the same way done for the four-speakers setup.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/390
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoUSB-Audio: ALC4080: Add support for MSI MPG B650 Carbon Wifi
Alexander Langer [Mon, 29 Jan 2024 08:53:09 +0000 (09:53 +0100)]
USB-Audio: ALC4080: Add support for MSI MPG B650 Carbon Wifi

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/392
Signed-off-by: Alexander Langer <alexander.langer@mestus.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoucm: MediaTek: mt8395-evk: Add HDMIRX config
Zoran Zhan [Mon, 22 Jan 2024 09:52:05 +0000 (17:52 +0800)]
ucm: MediaTek: mt8395-evk: Add HDMIRX config

Add HDMI RX config and modify the priority value
of the capture devices.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/389
Signed-off-by: Zoran Zhan <zoran.zhan@mediatek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoUSB-Audio: ALC4080: Add support for Asus ROG Maximus Z790 Apex Encore motherboard...
Joe Rouvier [Tue, 23 Jan 2024 15:57:47 +0000 (07:57 -0800)]
USB-Audio: ALC4080: Add support for Asus ROG Maximus Z790 Apex Encore motherboard (0b05:1a97)

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/388
Signed-off-by: Joe Rouvier <joe@rouvier.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoucm2: Qualcomm: Lenovo-X13s: reduce default headphones volume further
Johan Hovold [Mon, 22 Jan 2024 10:02:42 +0000 (11:02 +0100)]
ucm2: Qualcomm: Lenovo-X13s: reduce default headphones volume further

A recent change reduced the default headphones volume from setting 20
(0 dB) to 10 (-15 dB) but also this setting can be quite loud and cause
distortion with some headphones.

Reduce the default volume further to setting 2 (-27 dB), which results
in more comfortable volume levels with such headphones.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/387
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoucm2: conf.d: mt8370-evk: Fix the type of mt8370-evk.conf
Zoran Zhan [Mon, 22 Jan 2024 03:49:08 +0000 (11:49 +0800)]
ucm2: conf.d: mt8370-evk: Fix the type of mt8370-evk.conf

Fix the type of mt8370-evk.conf at /ucm2/conf.d, to let the
symbolic link can correctly point to the conf.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/386
Signed-off-by: Zoran Zhan <zoran.zhan@mediatek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agosof-soundwire: Add basic support for cs42l43
Charles Keepax [Wed, 17 Jan 2024 14:21:25 +0000 (14:21 +0000)]
sof-soundwire: Add basic support for cs42l43

cs42l43 is a codec device, add basic support for it. Including a dual
channel DMIC input, stereo headphones, and a mono headset microphone.

Link: https://lore.kernel.org/alsa-devel/20240117142125.1080500-1-ckeepax@opensource.cirrus.com/
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoucm2: MediaTek: mt8370-evk: Add alsa-ucm support
Zoran Zhan [Wed, 10 Jan 2024 12:16:17 +0000 (20:16 +0800)]
ucm2: MediaTek: mt8370-evk: Add alsa-ucm support

Add alsa-ucm support for the MediaTek mt8370-evk platform.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/380
Signed-off-by: Zoran Zhan <zoran.zhan@mediatek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoucm2: MediaTek: mt8395-evk: Add alsa-ucm support
Zoran Zhan [Thu, 1 Jun 2023 07:48:33 +0000 (15:48 +0800)]
ucm2: MediaTek: mt8395-evk: Add alsa-ucm support

Add alsa-ucm support for the MediaTek mt8395-evk platform.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/322
Signed-off-by: Zoran Zhan <zoran.zhan@mediatek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoucm2: MediaTek: mt8390-evk: Add alsa-ucm support
Zoran Zhan [Thu, 1 Jun 2023 07:37:14 +0000 (15:37 +0800)]
ucm2: MediaTek: mt8390-evk: Add alsa-ucm support

Add alsa-ucm support for the MediaTek mt8390-evk platform.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/321
Signed-off-by: Zoran Zhan <zoran.zhan@mediatek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoucm2: Qualcomm: sc8280xp: rename include identifier
Johan Hovold [Mon, 15 Jan 2024 10:55:15 +0000 (11:55 +0100)]
ucm2: Qualcomm: sc8280xp: rename include identifier

Rename the WSA macro include identifier, which has nothing to do with
the WCD headphone codec, for consistency.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/382
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoucm2: Qualcomm: Lenovo-X13s: reduce default headphones volume
Johan Hovold [Mon, 15 Jan 2024 10:55:06 +0000 (11:55 +0100)]
ucm2: Qualcomm: Lenovo-X13s: reduce default headphones volume

Reduce the default heaphones volume to something more reasonable as the
current setting (0 dB) can be quite loud.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/382
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoucm2: Qualcomm: sc8280xp/x1e80100: fix default volume settings
Johan Hovold [Tue, 9 Jan 2024 16:52:14 +0000 (17:52 +0100)]
ucm2: Qualcomm: sc8280xp/x1e80100: fix default volume settings

Default volume settings should be specified in the BootSequence rather
than in device enable sequences to allow users to override the defaults.

Add machine specific BootSequences to set up reasonable defaults for the
Lenovo ThinkPad X13s and X1E80100 CRD. Note that the settings depends on
the actual hardware configuration and should therefore not be specified
in the (potentially shared) codec init files.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/382
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoucm2: Qualcomm: x1e80100: fix hardware volume control
Johan Hovold [Mon, 15 Jan 2024 11:23:56 +0000 (12:23 +0100)]
ucm2: Qualcomm: x1e80100: fix hardware volume control

The lazy include of the four codec initialisation files are incorrectly
specified using the same identifier which means that only the last one
is actually included.

This specifically means that the sound server falls back to software
mixing as the Speaker and Headphones mixer elements are not defined.

The default Mic volume and Speaker digital volume are also never set by
the BootSequence as intended (even if the Mic volume is currently
overridden in the enable sequence).

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/382
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoucm2: Qualcomm: sc8280xp: fix hardware volume control
Johan Hovold [Tue, 9 Jan 2024 16:51:52 +0000 (17:51 +0100)]
ucm2: Qualcomm: sc8280xp: fix hardware volume control

The lazy include of the four codec initialisation files are incorrectly
specified using the same identifier which means that only the last one
is actually included.

This specifically means that the sound server falls back to software
mixing as the Speaker and Headphones mixer elements are not defined.

The default Mic volume and Speaker digital volume are also never set by
the BootSequence as intended (even if the Mic volume is currently
overridden in the enable sequence).

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/382
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoUSB-Audio: Fix ProfileName for HeadphonesOnly for Topping DX3 Pro+
Alexander Koskovich [Mon, 15 Jan 2024 16:36:11 +0000 (11:36 -0500)]
USB-Audio: Fix ProfileName for HeadphonesOnly for Topping DX3 Pro+

Doesn't take effect otherwise on my DX3 Pro+.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/383
Signed-off-by: Alexander Koskovich <akoskovich@pm.me>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoUSB-Audio: Move Topping DX3 Pro+ config to Common/Headphones
Jaroslav Kysela [Mon, 15 Jan 2024 13:59:40 +0000 (14:59 +0100)]
USB-Audio: Move Topping DX3 Pro+ config to Common/Headphones

The configuration is too generic. We can expect that more
hardware will follow this configuration.

Link: https://github.com/alsa-project/alsa-ucm-conf/pull/362
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoUSB-Audio: Add UCM2 configuration for Topping DX3 Pro+
Alexander Koskovich [Mon, 23 Oct 2023 21:52:53 +0000 (17:52 -0400)]
USB-Audio: Add UCM2 configuration for Topping DX3 Pro+

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/362
Signed-off-by: Sophie Tauchert <sophie@999eagle.moe>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoUSB-Audio: move zedi10 block to follow USB ID sort order
Jaroslav Kysela [Mon, 15 Jan 2024 13:40:53 +0000 (14:40 +0100)]
USB-Audio: move zedi10 block to follow USB ID sort order

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoUSB-Audio: Add support for Solid State Labs SSL 2
Sophie Tauchert [Wed, 10 Jan 2024 09:07:14 +0000 (10:07 +0100)]
USB-Audio: Add support for Solid State Labs SSL 2

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/377
Signed-off-by: Sophie Tauchert <sophie@999eagle.moe>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoUSB-Audio: add MOTU M6 config
Davide Cavalca [Thu, 11 Jan 2024 05:38:47 +0000 (21:38 -0800)]
USB-Audio: add MOTU M6 config

This card shares the same ID as the MOTU M2 and M4, so we use the long
card name to identify it.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/378
Signed-off-by: Davide Cavalca <davide@cavalca.name>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoUSB-Audio: fix comment in MOTU M4 config
Davide Cavalca [Fri, 12 Jan 2024 04:20:09 +0000 (20:20 -0800)]
USB-Audio: fix comment in MOTU M4 config

Mic2 is 2R, not 1R, so update the Stereo entry accordingly. This makes
it consistent with the M2 and M6 configs.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/379
Signed-off-by: Davide Cavalca <davide@cavalca.name>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoUSB-Audio: ALC4080: Add MSI MEG Z690 ACE support (0db0:124b)
Rome Reginelli [Mon, 15 Jan 2024 00:29:46 +0000 (16:29 -0800)]
USB-Audio: ALC4080: Add MSI MEG Z690 ACE support (0db0:124b)

Tested this out on my motherboard and it fixed my problem with
the onboard sound being treated as a generic USB device.
Fixing it allowed me to record from line-in, among other things.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/381
Signed-off-by: Rome Reginelli <mduo13@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
19 months agoUSB-Audio: ALC4080 - disable S/PDIF for 0db0:36e7 (MSI MPG B650I EDGE WIFI)
Jaroslav Kysela [Thu, 11 Jan 2024 14:17:36 +0000 (15:17 +0100)]
USB-Audio: ALC4080 - disable S/PDIF for 0db0:36e7 (MSI MPG B650I EDGE WIFI)

Link: https://github.com/alsa-project/alsa-ucm-conf/issues/281
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agoInitialise AIF2 ADC Stereo Capture Route
Boud Roukema [Wed, 1 Nov 2023 00:58:49 +0000 (01:58 +0100)]
Initialise AIF2 ADC Stereo Capture Route

As pointed out in issue #351 [1], the parameter 'AIF2 ADC Stereo
Capture Route' was previously uninitialised. I'm not very convinced
that this particular value (Mix Mono) is the best combination with
the other PinePhone settings, but better that there is at least
a value rather than no value, so that people can provide bug
reports based on tests that are closer to being reproducible.
As described in [1], there is circumstantial evidence favouring
this value.

This commit does not set a value for HiFi.conf - presumably
the value is irrelevant for HiFi, which does not appear to
be as buggy as VoiceCall.

[1] https://github.com/alsa-project/alsa-ucm-conf/issues/351

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/365
Signed-off-by: Boud Roukema <boud@cosmo.torun.pl>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agoDocumentation: Add ucm URL
Boud Roukema [Fri, 3 Nov 2023 16:15:03 +0000 (17:15 +0100)]
Documentation: Add ucm URL

This commit adds the main alsa-ucm-conf documentation
URL to PinePhone.conf, and clarifies the relevance of
the other three URLs.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/366
Signed-off-by: Boud Roukema <boud@cosmo.torun.pl>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agoucm2: Qualcomm: x1e80100: add Qualcomm X1E80100 CRD
Krzysztof Kozlowski [Fri, 27 Oct 2023 15:28:44 +0000 (17:28 +0200)]
ucm2: Qualcomm: x1e80100: add Qualcomm X1E80100 CRD

Add support to Qualcomm X1E80100 CRD with four smart speakers and a
headset connector.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/369
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agoucm2: codecs: wsa-macro: add 2xWSA arrangements
Krzysztof Kozlowski [Thu, 2 Nov 2023 11:31:30 +0000 (12:31 +0100)]
ucm2: codecs: wsa-macro: add 2xWSA arrangements

On four-speaker setups we have two instances of WSA macro codecs with
sound-name-prefix ("WSA" and "WSA2").  Add sequences for such
configuration.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/369
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agoucm2: codecs: wsa884x: add codec sequences
Krzysztof Kozlowski [Fri, 27 Oct 2023 15:27:33 +0000 (17:27 +0200)]
ucm2: codecs: wsa884x: add codec sequences

Add enable and disable codec sequence for wsa884x codecs in two and four
speaker configurations.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agosof-soundwire: Add basic support for basic cs35l56 configurations
Charles Keepax [Wed, 6 Dec 2023 16:46:12 +0000 (16:46 +0000)]
sof-soundwire: Add basic support for basic cs35l56 configurations

cs35l56 is a boosted speaker amp, add UCM support for configurations
with up to 8 amps.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/370
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agosof-soundwire: Use one file for speaker codec initialization
Jaroslav Kysela [Wed, 6 Dec 2023 14:53:38 +0000 (15:53 +0100)]
sof-soundwire: Use one file for speaker codec initialization

Use macros to minimize configuration blocks.

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/370
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agoacp5x: add Stream Deck OLED Model
guylamar2006 [Fri, 29 Dec 2023 01:08:55 +0000 (19:08 -0600)]
acp5x: add Stream Deck OLED Model

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/373
Signed-off-by: guylamar2006 <guychronister@outlook.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agoArturia Minifuse 4: Use forced S32_LE format like for Minifuse 1 and 2
Jaroslav Kysela [Tue, 9 Jan 2024 14:18:47 +0000 (15:18 +0100)]
Arturia Minifuse 4: Use forced S32_LE format like for Minifuse 1 and 2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agoUSB-Audio: ALC4080: Fix S/PDIF for 0b05:1a5c
Jaroslav Kysela [Tue, 9 Jan 2024 13:58:26 +0000 (14:58 +0100)]
USB-Audio: ALC4080: Fix S/PDIF for 0b05:1a5c

Closes: https://github.com/alsa-project/alsa-ucm-conf/issues/342
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agoUSB-Audio: ALC4080: Fix S/PDIF for 0b05:1a53
Jaroslav Kysela [Tue, 9 Jan 2024 13:53:07 +0000 (14:53 +0100)]
USB-Audio: ALC4080: Fix S/PDIF for 0b05:1a53

Link: https://github.com/alsa-project/alsa-ucm-conf/issues/350#issuecomment-1712886745
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
20 months agoUSB-Audio: ALC4080: add MPG Z590M GAMING EDGE WIFI
Miroslav Hubenko [Mon, 8 Jan 2024 11:45:53 +0000 (13:45 +0200)]
USB-Audio: ALC4080: add MPG Z590M GAMING EDGE WIFI

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/376
Signed-off-by: Miroslav Hubenko <miroslavgubenko@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
22 months agobytcr-wm5102: Add support for different microphone routes
Hans de Goede [Sat, 21 Oct 2023 21:16:14 +0000 (23:16 +0200)]
bytcr-wm5102: Add support for different microphone routes

Unlike all designs supported sofar the Lenovo Yoga Tab 3 YT3-X90 does not
have its internal microphone (intmic) on IN3L with the headset microphone
on IN1L. Instead this tablet has the intmic on IN1L and the hsmic on IN2L.

Add IN1-InternalMic.conf and IN2-HeadsetMic.conf config snippets
under ucm2/codecs/wm5102/ for this and check the components string
to determine which microphone routes should be used.

Link: https://lore.kernel.org/alsa-devel/20231021211614.115152-2-hdegoede@redhat.com/
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
22 months agobytcr-wm5102: Add support for speakers connected to HPOUT2
Hans de Goede [Sat, 21 Oct 2023 21:16:13 +0000 (23:16 +0200)]
bytcr-wm5102: Add support for speakers connected to HPOUT2

On the Lenovo Yoga Tab 3 YT3-X90 the speaker amplifiers are connected
to the HPOUT2 output pins instead of the the SPK output pins.

Check for "cfg-spk:hpout2" in the components string which indicates
this setup and add a ucm2/codecs/wm5102/HPOut2-Speaker.conf file
for this setup.

Link: https://lore.kernel.org/alsa-devel/20231021211614.115152-1-hdegoede@redhat.com/
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
22 months agochtnau8824: Mono speaker fixes
Hans de Goede [Sat, 21 Oct 2023 14:31:09 +0000 (16:31 +0200)]
chtnau8824: Mono speaker fixes

2 mono speaker setup fixes:

1. Use the kernel's components string to check for a mono-speaker device
when the board has a components string.

2. So far known nau8824 boards with a mono speaker where using the right
speaker channel, which is unusual. Normally mono speaker setups use
only the left speaker channel. The Cyberbook T116 tablet is a nau8824
based model, which indeed uses the left speaker channel for its single
speaker.

Modify ucm2/codecs/nau8824/MonoSpeaker.conf to send a left+right
channel mix to both speaker channels, so that things will work
independent of which speaker channel is used for a mono setup.

Link: https://lore.kernel.org/alsa-devel/20231021143109.52210-1-hdegoede@redhat.com/
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
22 months agocodecs/es8316: Fix mono speaker settings from previous boot getting applied
Hans de Goede [Sun, 29 Oct 2023 14:50:07 +0000 (15:50 +0100)]
codecs/es8316: Fix mono speaker settings from previous boot getting applied

When codecs/es8316/MonoSpeaker.conf's EnableSeq was run last before
shutdown the 'Playback Polarity' and 'DAC Mono Mix Switch' controls for
Mono Speaker output get saved and restored on the next boot.

These settings are undone by the MonoSpeaker DisableSeq, but that never
runs when an updated kernel switches from the default "cfg-spk:1" in
components to "cfg-spk:2" for devices which do actually have 2 speakers,
which causes the ucm profile to use codecs/es8316/Speaker.conf instead.

Set the 'Playback Polarity' and 'DAC Mono Mix Switch' controls to their
defaults in codecs/es8316/EnableSeq.conf to avoid them getting stuck
in Mono mix mode in this scenario.

Link: https://lore.kernel.org/alsa-devel/20231029145007.24106-1-hdegoede@redhat.com/
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
22 months agoucm2: acpd7219m98357: Use common da7219 BootSequence
WeirdTreeThing [Mon, 30 Oct 2023 12:39:06 +0000 (08:39 -0400)]
ucm2: acpd7219m98357: Use common da7219 BootSequence

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/361
Signed-off-by: WeirdTreeThing <bradyn127@protonmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
22 months agoucm2: add acpd7219m98357
WeirdTreeThing [Wed, 18 Oct 2023 22:56:27 +0000 (18:56 -0400)]
ucm2: add acpd7219m98357

For "grunt" chromebooks

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/361
Signed-off-by: WeirdTreeThing <bradyn127@protonmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
22 months agoucm2: soundwire: add rt713 SDCA device
Shuming Fan [Thu, 12 Oct 2023 02:07:36 +0000 (10:07 +0800)]
ucm2: soundwire: add rt713 SDCA device

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/363
Signed-off-by: Shuming Fan <shumingf@realtek.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
22 months agoAdd UCM2 configuration for Behringer UMC404HD
Janis Jansons [Wed, 11 Oct 2023 00:33:55 +0000 (03:33 +0300)]
Add UCM2 configuration for Behringer UMC404HD

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/358
Signed-off-by: Janis Jansons <janhouse@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
22 months agoucm2: acp3xalc5682m98: Add priority values
Akihiko Odaki [Thu, 19 Oct 2023 10:48:39 +0000 (19:48 +0900)]
ucm2: acp3xalc5682m98: Add priority values

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/357
Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
22 months agoucm2: acp3xalc5682m98: Add JackControls
Akihiko Odaki [Mon, 3 Oct 2022 09:07:53 +0000 (18:07 +0900)]
ucm2: acp3xalc5682m98: Add JackControls

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/357
Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
22 months agomeson: add initial libretech cc support
Jerome Brunet [Sun, 23 Jan 2022 18:37:26 +0000 (19:37 +0100)]
meson: add initial libretech cc support

Add support for the libretech-cc based on the amlogic s905x

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/355
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
22 months agomeson: add initial p241 support
Jerome Brunet [Mon, 27 Sep 2021 20:23:40 +0000 (22:23 +0200)]
meson: add initial p241 support

Add support for the p241 board, the amlogic s905x reference design

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/355
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>