]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: cs-amp-lib: Support Dell SSIDExV2 UEFI variable
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Wed, 21 Jan 2026 13:22:39 +0000 (13:22 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 21 Jan 2026 13:41:20 +0000 (13:41 +0000)
commit00fd40bc7acecf9f41d645aa0b35ddc7fd7679b6
treeb46f6d96a3c7caa29d98ebb762f42343e69a56fd
parent9ef552fcf0e0fbc0d8a7d6a5903a08a90eb97f34
ASoC: cs-amp-lib: Support Dell SSIDExV2 UEFI variable

Add a function cs_amp_devm_get_vendor_specific_variant_id() to return
a vendor-specific hardware identifier string (if there is one) and use
it to fetch an identifier from Dell SSIDExV2 UEFI variable content.

Dell use the same PCI SSID on multiple products that might have different
audio hardware and thus need different firmware for the amplifier DSP.
The SSIDExV2 string contains additional system identifiers, and the
second field is a 2-character audio hardware identifier.

There are older Dell models with Cirrus Logic amplifiers that have the
SSIDExV2 UEFI variable but do not have the 2-character audio ID in the
second field. The SSIDExV2 is ignored if the second field is not
2 characters.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20260121132243.1256019-2-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/cs-amp-lib.h
sound/soc/codecs/cs-amp-lib.c