From: Richard Fitzgerald <rf@opensource.cirrus.com>
To: <broonie@kernel.org>, <tiwai@suse.com>
Cc: <linux-sound@vger.kernel.org>, <alsa-devel@alsa-project.org>,
<linux-kernel@vger.kernel.org>, <patches@opensource.cirrus.com>,
"Richard Fitzgerald" <rf@opensource.cirrus.com>
Subject: [PATCH v2 0/6] ALSA: cs35l56: Apply calibration from EFI
Date: Fri, 23 Feb 2024 15:39:04 +0000 [thread overview]
Message-ID: <20240223153910.2063698-1-rf@opensource.cirrus.com> (raw)
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
Patch #6 is a KUnit test for the new cs-amp-lib library.
Richard Fitzgerald (6):
ASoC: wm_adsp: Add wm_adsp_start() and wm_adsp_stop()
ASoC: cs-amp-lib: Add helpers for factory calibration data
ASoC: cs35l56: Add helper functions for amp calibration
ASoC: cs35l56: Apply amp calibration from EFI data
ALSA: hda: cs35l56: Apply amp calibration from EFI data
ASoC: cs-amp-lib: Add KUnit test for calibration helpers
include/sound/cs-amp-lib.h | 66 +++
include/sound/cs35l56.h | 10 +
sound/pci/hda/Kconfig | 2 +
sound/pci/hda/cs35l56_hda.c | 39 +-
sound/soc/codecs/Kconfig | 17 +
sound/soc/codecs/Makefile | 4 +
sound/soc/codecs/cs-amp-lib-test.c | 715 +++++++++++++++++++++++++++++
sound/soc/codecs/cs-amp-lib.c | 277 +++++++++++
sound/soc/codecs/cs35l56-sdw.c | 20 +
sound/soc/codecs/cs35l56-shared.c | 83 ++++
sound/soc/codecs/cs35l56.c | 44 +-
sound/soc/codecs/wm_adsp.c | 27 +-
sound/soc/codecs/wm_adsp.h | 2 +
13 files changed, 1287 insertions(+), 19 deletions(-)
create mode 100644 include/sound/cs-amp-lib.h
create mode 100644 sound/soc/codecs/cs-amp-lib-test.c
create mode 100644 sound/soc/codecs/cs-amp-lib.c
--
2.30.2
next reply other threads:[~2024-02-23 15:40 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-23 15:39 Richard Fitzgerald [this message]
2024-02-23 15:39 ` [PATCH v2 1/6] ASoC: wm_adsp: Add wm_adsp_start() and wm_adsp_stop() Richard Fitzgerald
2024-02-23 15:39 ` [PATCH v2 2/6] ASoC: cs-amp-lib: Add helpers for factory calibration data Richard Fitzgerald
2024-02-23 15:39 ` [PATCH v2 3/6] ASoC: cs35l56: Add helper functions for amp calibration Richard Fitzgerald
2024-02-23 15:39 ` [PATCH v2 4/6] ASoC: cs35l56: Apply amp calibration from EFI data Richard Fitzgerald
2024-02-23 15:39 ` [PATCH v2 5/6] ALSA: hda: " Richard Fitzgerald
2024-02-23 15:39 ` [PATCH v2 6/6] ASoC: cs-amp-lib: Add KUnit test for calibration helpers Richard Fitzgerald
2024-02-23 16:47 ` Mark Brown
2024-02-23 17:02 ` Richard Fitzgerald
2024-02-23 18:15 ` Mark Brown
2024-02-24 2:57 ` (subset) [PATCH v2 0/6] ALSA: cs35l56: Apply calibration from EFI Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240223153910.2063698-1-rf@opensource.cirrus.com \
--to=rf@opensource.cirrus.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=patches@opensource.cirrus.com \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox