Peter Ujfalusi [Tue, 10 Dec 2024 09:04:31 +0000 (11:04 +0200)]
ucm2: sof-soundwire: Correct FixedBootSequence for dmic info
Replace the curly brackets with square brackets.
The curly ones break the FixedBootSequence parsing by resetting the
sequence.
If the /var/lib/alsa/card0.conf.d is not present then UCM will fail because
all sequences before the dmic is lost, including the card-init:
# alsactl init
alsa-lib main.c:619:(execute_cfgsave) unable to open file '/var/lib/alsa/card0.conf.d/42-sof-hdmi.conf': No such file or directory
alsa-lib main.c:2456:(set_fixedboot_user) Unable to execute force boot sequence
The full sequence supposed to be:
card-init
ctl-remap
cs42l43
dmic
hdmi
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/485 Fixes: 9fa70add7638 ("sof-hda-dsp,sof-soundwire: add CaptureMicInfoFile fields for dmics") Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jaroslav Kysela [Wed, 4 Dec 2024 09:20:51 +0000 (10:20 +0100)]
sof-hda-dsp: Add back missing .conf suffix for product/user specific configs
Fixes: 6397c66 ("sof-hda-dsp: Fix the case where sysfs dmi product_name attribute is not set") Closes: https://github.com/alsa-project/alsa-ucm-conf/issues/482 Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Charles Keepax [Wed, 20 Nov 2024 10:06:06 +0000 (10:06 +0000)]
sof-soundwire: cs42l43: Correct CapturePCM and routing
For headset microphone capture the correct PCM device to use is
"hw:${CardId},1", "hw:${CardId},4" is for built in microphone capture.
Adjust the routing as well since :0,1 is connected to data port 2 on the
codec.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/466 Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Peter Ujfalusi [Tue, 19 Nov 2024 09:51:15 +0000 (11:51 +0200)]
sof-soundwire: cs42l43-spk: Correct PlaybackPCM and routing
For speaker the correct PCM device to use is "hw:${CardId},2", the
"hw:${CardId},0" is for headset playback.
Adjust the routing as well since with :0,2 the DP6RX1/2 needs to be
selected for the speaker.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/465 Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Fixes: 13022a97711d ("sof-hda-dsp: Fix the case where sysfs dmi
sys_vendor attribute is not set")
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/463 Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Zoran Zhan [Fri, 2 Aug 2024 06:12:18 +0000 (14:12 +0800)]
ucm2: MediaTek: mt8395-evk: Add dynamic configuration for
If mt8395-evk doesn't load the HDMI/DP dtbo, the 'unknown'
available status will be shown on the Ubuntu GNOME.
To solve this issue, add the dynamic configuration to detect
whether the system is loading HDMI/DP dtbo or not.
The HDMI/DP device would be configured only if the related
dtbo has been loaded by the system.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/456 Signed-off-by: Zoran Zhan <zoran.zhan@mediatek.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Zoran Zhan [Fri, 2 Aug 2024 06:10:57 +0000 (14:10 +0800)]
ucm2: MediaTek: mt8390-evk: Add dynamic configuration for
If mt8390-evk doesn't load the HDMI/DP dtbo, the 'unknown'
available status will be shown on the Ubuntu GNOME.
To solve this issue, add the dynamic configuration to detect
whether the system is loading HDMI/DP dtbo or not.
The HDMI/DP device would be configured only if the related
dtbo has been loaded by the system.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/456 Signed-off-by: Zoran Zhan <zoran.zhan@mediatek.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Zoran Zhan [Fri, 2 Aug 2024 06:03:04 +0000 (14:03 +0800)]
ucm2: MediaTek: mt8370-evk: Add dynamic configuration for
If mt8370-evk doesn't load the HDMI/DP dtbo, the 'unknown'
available status will be shown on the Ubuntu GNOME.
To solve this issue, add the dynamic configuration to detect
whether the system is loading HDMI/DP dtbo or not.
The HDMI/DP device would be configured only if the related
dtbo has been loaded by the system.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/456 Signed-off-by: Zoran Zhan <zoran.zhan@mediatek.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
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 Speakers and Headphone stereo mixer
elements are never defined and cannot be used for hardware volume
control.
The default Speaker digital volume is also never set by the BootSequence
as intended.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/454 Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
The lazy include of the two 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 Speakers stereo mixer element is never
defined and cannot be used for hardware volume control.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/454 Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
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 Speakers and Headphone stereo mixer
elements are never defined and cannot be used for hardware volume
control.
The default Speaker digital volume is also never set by the BootSequence
as intended.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/454 Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
The recently added DisplayPort support depends on kernel changes that
never made it upstream and has some usability issues that remain to be
resolved.
Revert for now to avoid breaking existing setups.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/453 Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Starting with ACP 7.0 there is a generic 'acppdmmach' driver that
will be utilized.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/452 Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Maciej Strozek [Thu, 17 Oct 2024 12:20:26 +0000 (13:20 +0100)]
sof-soundwire: Change map control names to make them unique and user friendly
Both 'Speaker Digital' and 'cs42l43 PDM2' names were found in other alsa
controls, confusing the MixerElems paths. Make them unique to avoid errors for
hardware mutes. Also add 'Capture' string into microphone controls to make
them work properly.
Shuming Fan [Wed, 25 Sep 2024 02:16:27 +0000 (10:16 +0800)]
rt722: add mic led support
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/443 Signed-off-by: Shuming Fan <shumingf@realtek.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Jos Dehaes [Mon, 14 Oct 2024 20:16:26 +0000 (22:16 +0200)]
ucm2: wsa884x: fix typo in mixer names
DTS fix for x1e80100-CRD will be submitted upstream separately
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/450 Signed-off-by: Jos Dehaes <jos.dehaes@gmail.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Similar to UR24C and UR44C, but with 2 inputs 2 outputs.
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/446 Signed-off-by: Celeste Liu <CoelacanthusHex@gmail.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/445 Signed-off-by: Fredrik Pettersen <fredrik.fumler@gmail.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Shuming Fan [Tue, 4 Jun 2024 07:52:27 +0000 (15:52 +0800)]
ucm2: sof-soundwire: add RT1320 amplifier
Add support for rt1320 amplifier
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/439 Signed-off-by: Shuming Fan <shumingf@realtek.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Shuming Fan [Thu, 1 Aug 2024 07:35:24 +0000 (15:35 +0800)]
ucm2: sof-soundwire: add rt712 VA device
Add support headphone/headset mic/speaker/dmic for rt712 VA
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/435 Signed-off-by: Shuming Fan <shumingf@realtek.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Chris Lane [Wed, 21 Aug 2024 21:23:40 +0000 (22:23 +0100)]
USB-Audio: Add support for Focusrite 4th Gen devices
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/438 Signed-off-by: Chris Lane <git@chrislane.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Patrick Lang [Sun, 21 Aug 2022 22:03:37 +0000 (15:03 -0700)]
bug: Fix verbose logging in GitHub Workflow
Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/202 Signed-off-by: Patrick Lang <patrick.lang@sdf.org> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>