Skip to content

ASoC: cs35l56: Handle vendor-specific UEFI variables

Richard Fitzgerald linux-sound lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 0 repliesNew
  2. v16 patches 0 repliesSuperseded

Changes in v2 from the cover letter

Removed unused target_uid variable and code that set it in patch 6.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ASoC: cs-amp-lib: Rename defines for Cirrus Logic EFIsound/soc/codecs/cs-amp-lib.c+8 -50 replies
2/6ASoC: cs-amp-lib: Add handling for Lenovo and HP UEFI speaker IDinclude/sound/cs-amp-lib.h sound/soc/codecs/cs-amp-lib.c+102 -00 replies
3/6ASoC: cs35l56: Check for vendor-specific speaker ID valuesound/soc/codecs/cs35l56-shared.c+11 -10 replies
4/6ASoC: cs-amp-lib-test: Add tests for cs_amp_get_vendor_spkid()sound/soc/codecs/cs-amp-lib-test.c+196 -00 replies
5/6ASoC: cs-amp-lib: Add HP-specific EFI variable for calibration datasound/soc/codecs/cs-amp-lib-test.c sound/soc/codecs/cs-amp-lib.c+33 -90 replies
6/6ASoC: cs-amp-lib-test: Add test for getting cal data from HP EFIsound/soc/codecs/cs-amp-lib-test.c+51 -00 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] ASoC: cs35l56: Handle vendor-specific UEFI variables

This series adds handling for vendor-specific UEFI variables from Lenovo and HP. These vendors will switch to using their UEFI variables instead of the normal Cirrus Logic-defined mechanisms.

The model of speaker fitted (Speaker ID) is normally signaled by a GPIO, and the driver is given access to this GPIO. Lenovo and HP will both stop giving the driver access to the GPIO and instead the BIOS will create a UEFI variable giving the value of the GPIO.

HP will also start using their own UEFI variable to store amp calibration data. The content of the variable is the same as the Cirrus Logic variable, only the UEFI name and GUID are changed.

Change in v2:
Removed unused target_uid variable and code that set it in patch 6.

Richard Fitzgerald (6):
ASoC: cs-amp-lib: Rename defines for Cirrus Logic EFI
ASoC: cs-amp-lib: Add handling for Lenovo and HP UEFI speaker ID
ASoC: cs35l56: Check for vendor-specific speaker ID value
ASoC: cs-amp-lib-test: Add tests for cs_amp_get_vendor_spkid()
ASoC: cs-amp-lib: Add HP-specific EFI variable for calibration data
ASoC: cs-amp-lib-test: Add test for getting cal data from HP EFI

 include/sound/cs-amp-lib.h         |   1 +
 sound/soc/codecs/cs-amp-lib-test.c | 252 ++++++++++++++++++++++++++++-
 sound/soc/codecs/cs-amp-lib.c      | 139 +++++++++++++++-
 sound/soc/codecs/cs35l56-shared.c  |  12 +-
 4 files changed, 395 insertions(+), 9 deletions(-)
Signature · 1 line
2.39.5