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 0/9] ALSA: cs35l56: Apply calibration from EFI
Date: Wed, 21 Feb 2024 15:04:58 +0000 [thread overview]
Message-ID: <20240221150507.1039979-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.
Patch #1 and #2 are bugfixes that are prerequisites.
The HDA patches #7 and #8 depend on the ASoC patches.
Patch #9 is a KUnit test for the new cs-amp-lib library.
Richard Fitzgerald (8):
ASoC: wm_adsp: Fix missing mutex_lock in wm_adsp_write_ctl()
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: hda_cs_dsp_ctl: Add helper function to write calibration
ALSA: hda: cs35l56: Apply amp calibration from EFI data
ASoC: cs-amp-lib: Add KUnit test for calibration helpers
Simon Trimmer (1):
ALSA: hda: hda_cs_dsp_ctl: Only call notify when a control has been
added to a card
include/sound/cs-amp-lib.h | 66 +++
include/sound/cs35l56.h | 10 +
sound/pci/hda/Kconfig | 2 +
sound/pci/hda/cs35l56_hda.c | 36 +-
sound/pci/hda/hda_cs_dsp_ctl.c | 52 ++-
sound/pci/hda/hda_cs_dsp_ctl.h | 4 +
sound/soc/codecs/Kconfig | 18 +
sound/soc/codecs/Makefile | 4 +
sound/soc/codecs/cs-amp-lib-test.c | 709 +++++++++++++++++++++++++++++
sound/soc/codecs/cs-amp-lib.c | 270 +++++++++++
sound/soc/codecs/cs35l56-sdw.c | 20 +
sound/soc/codecs/cs35l56-shared.c | 83 ++++
sound/soc/codecs/cs35l56.c | 43 +-
sound/soc/codecs/wm_adsp.c | 30 +-
sound/soc/codecs/wm_adsp.h | 2 +
15 files changed, 1328 insertions(+), 21 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-21 15:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-21 15:04 Richard Fitzgerald [this message]
2024-02-21 15:04 ` [PATCH 1/9] ASoC: wm_adsp: Fix missing mutex_lock in wm_adsp_write_ctl() Richard Fitzgerald
2024-02-21 15:05 ` [PATCH 2/9] ALSA: hda: hda_cs_dsp_ctl: Only call notify when a control has been added to a card Richard Fitzgerald
2024-02-21 15:05 ` [PATCH 3/9] ASoC: wm_adsp: Add wm_adsp_start() and wm_adsp_stop() Richard Fitzgerald
2024-02-21 15:05 ` [PATCH 4/9] ASoC: cs-amp-lib: Add helpers for factory calibration data Richard Fitzgerald
2024-02-21 15:05 ` [PATCH 5/9] ASoC: cs35l56: Add helper functions for amp calibration Richard Fitzgerald
2024-02-21 15:05 ` [PATCH 6/9] ASoC: cs35l56: Apply amp calibration from EFI data Richard Fitzgerald
2024-02-21 15:05 ` [PATCH 7/9] ALSA: hda: hda_cs_dsp_ctl: Add helper function to write calibration Richard Fitzgerald
2024-02-21 15:05 ` [PATCH 8/9] ALSA: hda: cs35l56: Apply amp calibration from EFI data Richard Fitzgerald
2024-02-21 15:05 ` [PATCH 9/9] ASoC: cs-amp-lib: Add KUnit test for calibration helpers Richard Fitzgerald
2024-02-27 3:14 ` kernel test robot
2024-02-22 9:03 ` [PATCH 0/9] ALSA: cs35l56: Apply calibration from EFI Takashi Iwai
2024-02-22 14:40 ` Richard Fitzgerald
2024-02-26 16:42 ` 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=20240221150507.1039979-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