Skip to content

ALSA: cs35l56: Apply calibration from EFI

Richard Fitzgerald alsa-devel linux-sound lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 4 repliesIn review
  2. v19 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ASoC: wm_adsp: Add wm_adsp_start() and wm_adsp_stop()sound/soc/codecs/wm_adsp.c sound/soc/codecs/wm_adsp.h+20 -90 replies
2/6ASoC: cs-amp-lib: Add helpers for factory calibration datainclude/sound/cs-amp-lib.h sound/soc/codecs/Kconfig sound/soc/codecs/Makefile +1 more+320 -00 replies
3/6ASoC: cs35l56: Add helper functions for amp calibrationinclude/sound/cs35l56.h sound/soc/codecs/Kconfig sound/soc/codecs/cs35l56-shared.c+94 -00 replies
4/6ASoC: cs35l56: Apply amp calibration from EFI datasound/soc/codecs/cs35l56-sdw.c sound/soc/codecs/cs35l56.c+61 -30 replies
5/6ALSA: hda: cs35l56: Apply amp calibration from EFI datasound/pci/hda/Kconfig sound/pci/hda/cs35l56_hda.c+34 -70 replies
6/6ASoC: cs-amp-lib: Add KUnit test for calibration helpersinclude/sound/cs-amp-lib.h sound/soc/codecs/Kconfig sound/soc/codecs/Makefile +2 more+760 -23 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] ALSA: cs35l56: Apply calibration from EFI

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
Signature · 1 line
2.30.2