<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/sound/soc/codecs/Makefile, branch linux-6.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.9.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.9.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2024-03-04T20:27:35Z</updated>
<entry>
<title>ASoC: cs-amp-lib: Add KUnit test for calibration helpers</title>
<updated>2024-03-04T20:27:35Z</updated>
<author>
<name>Richard Fitzgerald</name>
</author>
<published>2024-03-04T14:37:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=177862317a98adde284233aee074fc6e6a51cf95'/>
<id>urn:sha1:177862317a98adde284233aee074fc6e6a51cf95</id>
<content type='text'>
Add a KUnit test for the cs-amp-lib library. This has test cases
for cs_amp_get_efi_calibration_data() and cs_amp_write_cal_coeffs().

A KUNIT_STATIC_STUB_REDIRECT() has been added to
cs_amp_get_efi_variable() and cs_amp_write_cal_coeff() so that the
KUnit test can redirect these to test harness functions.

Much of the testing involves invoking the same function with different
parameters, i.e. the number of amps and the amp index within the array.
This uses parameterization rather than looping. The idea is to avoid
looping over configurations within one test case as that has a higher
chance of having a bug that doesn't actually test all the expected cases.
Having the test run exactly one configuration, and then tear-down, is less
prone to accidentally skipped configurations.

Signed-off-by: Richard Fitzgerald &lt;rf@opensource.cirrus.com&gt;
Link: https://msgid.link/r/20240304143705.26362-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ALSA: cs35l56: Apply calibration from EFI</title>
<updated>2024-02-24T01:58:40Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2024-02-24T01:58:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0c4ebb28b3db4f435ddb68e1f4185f8c86b149ef'/>
<id>urn:sha1:0c4ebb28b3db4f435ddb68e1f4185f8c86b149ef</id>
<content type='text'>
Merge series from Richard Fitzgerald &lt;rf@opensource.cirrus.com&gt;:

Factory calibration of the speakers stores the calibration information
into an EFI variable.

This set of patches adds support for applying speaker calibration
data from that EFI variable.

The HDA patch (#5) depends on the ASoC patches #2 and #3
</content>
</entry>
<entry>
<title>ASoC: cs-amp-lib: Add helpers for factory calibration data</title>
<updated>2024-02-23T17:21:39Z</updated>
<author>
<name>Richard Fitzgerald</name>
</author>
<published>2024-02-23T15:39:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1cad8725f2b98965ed3658bc917090b30adb14fa'/>
<id>urn:sha1:1cad8725f2b98965ed3658bc917090b30adb14fa</id>
<content type='text'>
Create a new library for code that is used by multiple Cirrus Logic
amps. This initially implements extracting amp calibration data
from EFI and writing it to firmware controls.

During factory calibration of built-in speakers the firmware
calibration constants are stored in an EFI file. The file contains
an array of calibration constants for each of the speakers.
cs_amp_get_calibration_data() searches for an entry matching the
requested UID stamp, otherwise by array index. If the data is found in
EFI the constants for that speaker are copied back to the caller.

If EFI is not enabled, the cs_amp_get_calibration_data() implementation
will compile to simply return -ENOENT and the linker can drop the code.

The code to write calibration controls uses cs_dsp. Building of cs_dsp
is not forced. Instead, the code will compile away the calls to
cs_dsp if cs_dsp is not reachable.

This strategy of conditional code allows cs-amp-lib to be shared by
multiple drivers without forcing inclusion of other modules that might
be unnecessary.

The calls to efi.get_variable() and cs_dsp are in small wrapper
functions. This is so that a KUNIT_STATIC_STUB_REDIRECT can be added in
a future patch to redirect these calls to replacement functions for
KUnit testing.

Signed-off-by: Richard Fitzgerald &lt;rf@opensource.cirrus.com&gt;
Link: https://lore.kernel.org/r/20240223153910.2063698-3-rf@opensource.cirrus.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: codecs: Add support for the framer codec</title>
<updated>2024-01-23T18:16:23Z</updated>
<author>
<name>Herve Codina</name>
</author>
<published>2024-01-23T16:56:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a9a0303dfe3fe2bc04512c4ce6a589131845d386'/>
<id>urn:sha1:a9a0303dfe3fe2bc04512c4ce6a589131845d386</id>
<content type='text'>
The framer codec interacts with a framer.
It allows to use some of the framer timeslots as audio channels to
transport audio data over the framer E1/T1/J1 lines.
It also reports line carrier detection events through the ALSA jack
detection feature.

Signed-off-by: Herve Codina &lt;herve.codina@bootlin.com&gt;
Reviewed-by: Christophe Leroy &lt;christophe.leroy@csgroup.eu&gt;
Link: https://msgid.link/r/20240123165615.250303-2-herve.codina@bootlin.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: codecs: Add WCD939x Codec driver</title>
<updated>2024-01-22T00:06:19Z</updated>
<author>
<name>Neil Armstrong</name>
</author>
<published>2023-12-19T12:45:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=10f514bd172a40b9d03d759678e4711612d671a1'/>
<id>urn:sha1:10f514bd172a40b9d03d759678e4711612d671a1</id>
<content type='text'>
Add the main WCD9390/WCD9395 Audio Codec driver to support:
- 4 ADC inputs for up to 5 Analog Microphones
- 4 DMIC inputs for up to 8 Digital Microphones
- 4 Microphone BIAS
- Stereo Headphone output
- Mono EAR output
- MBHC engine for Headset Detection

It makes usage of the generic MBHC and CLSH generic code and
the USB Type-C mux and switch helpers to gather USB-C Events
in order to properly setup Headset Detection mechanism
when connected behind the separate USB-C Mux subsystem.

WCD9390/WCD9395 supports a PCM path for Playback instead
of the actually implemented PDM playback, it will be
implemented later.

Signed-off-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt;
Link: https://msgid.link/r/20231219-topic-sm8650-upstream-wcd939x-codec-v4-5-1c3bbff2d7ab@linaro.org
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: codecs: Add WCD939x Soundwire devices driver</title>
<updated>2024-01-22T00:06:18Z</updated>
<author>
<name>Neil Armstrong</name>
</author>
<published>2023-12-19T12:45:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=be2af391cea018eaea61f929eaef9394c78faaf2'/>
<id>urn:sha1:be2af391cea018eaea61f929eaef9394c78faaf2</id>
<content type='text'>
Add Soundwire Slave driver for the WCD9390/WCD9395 Audio Codec.

The WCD9390/WCD9395 Soundwire devices will be used by the
main WCD9390/WCD9395 Audio Codec driver to access registers
and configure Soundwire RX and TX ports.

Signed-off-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt;
Link: https://msgid.link/r/20231219-topic-sm8650-upstream-wcd939x-codec-v4-4-1c3bbff2d7ab@linaro.org
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: es83xx: add ACPI DSM helper module</title>
<updated>2023-12-04T17:20:28Z</updated>
<author>
<name>Pierre-Louis Bossart</name>
</author>
<published>2023-12-02T12:39:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c8bec3b63255ca04e5dad87471a35790aec06dc'/>
<id>urn:sha1:9c8bec3b63255ca04e5dad87471a35790aec06dc</id>
<content type='text'>
Most of the ES83xx codec configuration is exposed in the DSDT table
and accessible via a _DSM method. Start adding basic definitions and
helpers to dump the information.

Reviewed-by: Mauro Carvalho Chehab &lt;mchehab@kernel.org&gt;
Co-developed-by: David Yang &lt;yangxiaohua@everest-semi.com&gt;
Signed-off-by: David Yang &lt;yangxiaohua@everest-semi.com&gt;
Signed-off-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Reviewed-by: Pierre-Louis Bossart &lt;pierre-louis.bossart@linux.intel.com&gt;
Link: https://lore.kernel.org/r/20231202123946.54347-2-hdegoede@redhat.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: codecs: Add aw88399 amplifier driver</title>
<updated>2023-10-25T12:39:26Z</updated>
<author>
<name>Weidong Wang</name>
</author>
<published>2023-10-25T11:26:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8ade6cc7e26175529474690fdbc1965901ec2024'/>
<id>urn:sha1:8ade6cc7e26175529474690fdbc1965901ec2024</id>
<content type='text'>
Add i2c and amplifier registration for
aw88399 and their associated operation functions.

Signed-off-by: Weidong Wang &lt;wangweidong.a@awinic.com&gt;
Link: https://lore.kernel.org/r/20231025112625.959587-4-wangweidong.a@awinic.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: codecs: Add aw87390 amplifier driver</title>
<updated>2023-09-28T11:38:37Z</updated>
<author>
<name>Weidong Wang</name>
</author>
<published>2023-09-28T10:57:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4717636f3fc257f2d35acbf5b5c21d0831d701da'/>
<id>urn:sha1:4717636f3fc257f2d35acbf5b5c21d0831d701da</id>
<content type='text'>
Add i2c and amplifier registration for aw87390 and
their associated operation functions.

Signed-off-by: Weidong Wang &lt;wangweidong.a@awinic.com&gt;
Link: https://lore.kernel.org/r/20230928105727.47273-11-wangweidong.a@awinic.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>ASoC: codecs: Add Richtek rtq9128 audio amplifier support</title>
<updated>2023-09-21T11:50:23Z</updated>
<author>
<name>ChiYuan Huang</name>
</author>
<published>2023-09-20T03:50:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=736064c64cf3fc51c6090884a9f4efe047f9f616'/>
<id>urn:sha1:736064c64cf3fc51c6090884a9f4efe047f9f616</id>
<content type='text'>
Add Richtek rtq9128 automotive audio amplifier.

Signed-off-by: ChiYuan Huang &lt;cy_huang@richtek.com&gt;
Link: https://lore.kernel.org/r/1695181834-5809-3-git-send-email-cy_huang@richtek.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
